/* ===== Base ===== */
:root {
  --header-h: 88px;
}
@media (max-width: 559px) {
  :root {
    --header-h: 72px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
}
body {
  background: #f3efe7;
  color: #101a17;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #16453a;
  text-decoration: none;
}
a:hover {
  color: #c79a4e;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
[id] {
  scroll-margin-top: var(--header-h);
}

.header {
  background: #16453a;
}

/* ===== Section ===== */
.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 56px);
}
.section--white {
  background: #ffffff;
}
.section--cream {
  background: #f3efe7;
}
.section--green {
  background: #16453a;
  color: #f3efe7;
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
}

/* ===== Split (two columns from 960px) ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
}
.split--hero {
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.split--center {
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Tiles (hairline grid, 3 columns from 900px) ===== */
.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: rgba(199, 154, 78, 0.35);
  border: 1px solid rgba(199, 154, 78, 0.35);
}
.tiles--light {
  background: rgba(243, 239, 231, 0.16);
  border-color: rgba(243, 239, 231, 0.16);
}
@media (min-width: 900px) {
  .tiles--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== Photo ===== */
.hero .photo {
  position: relative;
  margin: 0;
  min-height: 300px;
  background: #eae4d8;
  overflow: hidden;
}
.hero .photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 560px) {
  .hero .photo {
    min-height: clamp(420px, 44vw, 600px);
  }
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow__line {
  flex: none;
  width: 32px;
  height: 1px;
  background: #c79a4e;
}
.eyebrow__text {
  font:
    500 12px/1.5 Inter,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c79a4e;
}

/* ===== Heading ===== */
.heading {
  margin: 0;
  font:
    600 clamp(36px, 4.6vw, 60px)/1.02 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.03em;
  color: #16453a;
  text-wrap: balance;
}
.heading--center {
  text-align: center;
}
.heading--light {
  color: #f3efe7;
}

/* ===== Button ===== */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  font:
    600 16px/1 "Plus Jakarta Sans",
    sans-serif;
  transition:
    background 0.22s,
    color 0.22s;
}
.button:active {
  transform: scale(0.985);
}
.button--gold {
  background: #c79a4e;
  color: #101a17;
}
.button--gold:hover {
  background: #f3efe7;
  color: #16453a;
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) clamp(20px, 4vw, 56px)
    clamp(56px, 7vw, 96px);
  background: #f3efe7;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-width: 0;
}
.hero__title {
  margin: 0;
  font:
    600 clamp(44px, 6vw, 84px)/1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.035em;
  color: #16453a;
}
.hero__text {
  margin: 0;
  max-width: 600px;
  font:
    400 clamp(17px, 1.4vw, 21px)/1.6 Inter,
    sans-serif;
  color: rgba(16, 26, 23, 0.78);
  text-wrap: pretty;
}

/* ===== Experience ===== */
.experience__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}
@media (min-width: 960px) {
  .experience__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
.experience__text {
  margin: 0;
  font:
    500 clamp(22px, 2.2vw, 30px)/1.45 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.015em;
  color: #16453a;
  text-wrap: pretty;
}
.experience__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.experience__ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(199, 154, 78, 0.6);
  border-radius: 999px;
}
.experience__number {
  font:
    600 80px/0.9 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.04em;
  color: #c79a4e;
}
.experience__unit {
  margin-top: 8px;
  font:
    600 clamp(18px, 1.6vw, 22px)/1 "Plus Jakarta Sans",
    sans-serif;
  color: #16453a;
}
@media (min-width: 560px) {
  .experience__ring {
    width: clamp(220px, 22vw, 280px);
    height: clamp(220px, 22vw, 280px);
  }
  .experience__number {
    font-size: clamp(88px, 8.5vw, 112px);
  }
}
.experience__caption {
  margin: 0;
  max-width: 380px;
  font:
    400 16px/1.6 Inter,
    sans-serif;
  color: rgba(16, 26, 23, 0.75);
  text-wrap: balance;
}

/* ===== Process (Cómo trabajamos) ===== */
.process__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 3vw, 44px);
  background: #f3efe7;
}
.process__number {
  font:
    600 clamp(44px, 4vw, 60px)/1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.03em;
  color: #c79a4e;
}
.process__text {
  margin: 0;
  font:
    600 clamp(20px, 1.7vw, 24px)/1.3 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.02em;
  color: #16453a;
  text-wrap: pretty;
}

/* ===== Guarantees ===== */
.guarantees__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 3vw, 44px);
  background: #16453a;
}
.guarantees__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(199, 154, 78, 0.6);
  border-radius: 999px;
}
.guarantees__text {
  margin: 0;
  font:
    400 16px/1.6 Inter,
    sans-serif;
  color: rgba(243, 239, 231, 0.86);
  text-wrap: pretty;
}
.guarantees__title {
  display: block;
  margin-bottom: 8px;
  font:
    600 clamp(20px, 1.7vw, 24px)/1.25 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.02em;
  color: #f3efe7;
}

/* ===== Gift ===== */
.gift__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.gift__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(199, 154, 78, 0.6);
  border-radius: 999px;
}

/* ===== Contacts ===== */
.contacts__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
@media (min-width: 960px) {
  .contacts__inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.contacts__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(199, 154, 78, 0.45);
}
.contacts__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 32px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(199, 154, 78, 0.45);
}
@media (min-width: 640px) {
  .contacts__row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.contacts__label {
  font:
    600 12px/1.6 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c79a4e;
}
.contacts__value {
  font:
    500 17px/1.45 Inter,
    sans-serif;
  color: #16453a;
}
.contacts__value--link:hover {
  color: #c79a4e;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
