:root {
  --green: #2d4127;
  --green-deep: #1e2c1a;
  --green-soft: #3d5340;
  --gold: #a68953;
  --gold-light: #c4a66a;
  --ivory: #f7f5ef;
  --ivory-deep: #ebe7dc;
  /* Superficies: impares (A) vs pares sin imagen (B, contraste) */
  --surface-a: #f7f5ef;
  --surface-b: #d8ddd2;
  --warm-gray: #6b6560;
  --ink: #24301f;
  --white: #fffcf7;
  --header-h: 4.75rem;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(30, 44, 26, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(166, 137, 83, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(45, 65, 39, 0.06), transparent 45%),
    var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Etiquetas temporales de sección (refactor) */
[data-section] {
  position: relative;
}

.section-tag {
  display: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header .brand-mark__name {
  color: var(--ivory);
  transition: color 0.3s;
}

.site-header .brand-mark__role {
  color: var(--gold-light);
}

.site-header .site-nav a {
  color: rgba(247, 245, 239, 0.88);
}

.site-header .nav-cta {
  color: var(--ivory) !important;
  border-color: rgba(198, 166, 106, 0.75);
}

.site-header .nav-toggle span {
  background: var(--ivory);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(45, 65, 39, 0.08);
}

.site-header.is-scrolled .brand-mark__name {
  color: var(--green);
}

.site-header.is-scrolled .brand-mark__role {
  color: var(--gold);
}

.site-header.is-scrolled .site-nav a {
  color: var(--green-soft);
}

.site-header.is-scrolled .nav-cta {
  color: var(--green) !important;
  border-color: var(--gold);
}

.site-header .nav-cta:hover,
.site-header.is-scrolled .nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-light) !important;
}

.site-header .site-nav a.is-active {
  color: var(--gold-light);
}

.site-header.is-scrolled .site-nav a.is-active {
  color: var(--gold);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--green);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  max-height: 100%;
  min-width: 0;
}

.brand-mark img {
  width: auto;
  height: calc(var(--header-h) - 1.15rem);
  max-height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.brand-mark__role {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-soft);
  transition: color 0.25s;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold);
  color: var(--green) !important;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-light) !important;
}

.site-nav a.is-active {
  color: var(--gold);
}

.nav-cta.is-active,
.site-header .nav-cta.is-active,
.site-header.is-scrolled .nav-cta.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-light) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--green);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  transform: scale(1.06);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(22, 32, 20, 0.55) 0%,
      rgba(22, 32, 20, 0.35) 28%,
      rgba(22, 32, 20, 0.4) 55%,
      rgba(22, 32, 20, 0.58) 100%
    ),
    radial-gradient(ellipse 58% 52% at 50% 45%, rgba(12, 18, 10, 0.55), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 2rem));
  padding: 6rem 0 5rem;
  animation: hero-rise 1.1s var(--ease) both;
}

.hero__crest {
  width: clamp(110px, 16vw, 160px);
  margin: 0 auto 1.25rem;
  background: transparent;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
  animation: crest-in 1.2s var(--ease) 0.15s both;
}

/* Misma imagen de campo; solo cambia la tonalidad */
.tone-campo {
  overflow: hidden;
}

.tone-campo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.tone-campo--verde img {
  filter: saturate(1.05) hue-rotate(-8deg) brightness(0.92) contrast(1.08);
}

.tone-campo--caqui img {
  filter: sepia(0.35) saturate(0.75) hue-rotate(8deg) brightness(0.9) contrast(1.05);
}

.tone-campo--verde-suave img {
  filter: saturate(0.95) hue-rotate(-4deg) brightness(0.88) contrast(1.04);
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 9.5vw, 6.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero__abogados {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero__abogados span {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}

.hero__specialty {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero__lead {
  margin: 1.75rem auto 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 42px;
  border: 1px solid rgba(198, 166, 106, 0.55);
  border-radius: 999px;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: var(--gold-light);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green);
  color: var(--ivory);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(198, 166, 106, 0.65);
}

.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Sections */
.section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section--ivory,
.section--surface-a {
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.96), rgba(247, 245, 239, 0.98)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(45, 65, 39, 0.015) 18px,
      rgba(45, 65, 39, 0.015) 19px
    );
  background-color: var(--surface-a);
}

/* Secciones pares sin imagen: contraste verde suave de la paleta */
.section--surface-b {
  background-color: var(--surface-b);
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(166, 137, 83, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 100%, rgba(45, 65, 39, 0.08), transparent 50%);
}

.section--social {
  text-align: center;
}

.section--social .section-lead {
  margin-inline: auto;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.35rem;
  margin-top: 2.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 10.5rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(166, 137, 83, 0.45);
  color: var(--green);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ivory);
}

.social-link__icon {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
}

.social-link__icon svg {
  width: 100%;
  height: 100%;
}

.social-link__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--light {
  color: var(--gold-light);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--green);
}

.section-title--light {
  color: var(--ivory);
}

.section-lead {
  margin: 1.25rem 0 0;
  max-width: 52ch;
  color: var(--warm-gray);
  font-weight: 300;
}

.section-lead--light {
  color: rgba(247, 245, 239, 0.82);
  margin-inline: auto;
  text-align: center;
}

.ornament {
  width: 72px;
  height: 10px;
  margin: 1.25rem auto 0;
  background:
    linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent),
    radial-gradient(circle at center, var(--gold) 0 2px, transparent 2.5px);
  background-size: 100% 1px, 10px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.ornament--left {
  margin-left: 0;
}

.ornament--light {
  background:
    linear-gradient(90deg, transparent, var(--gold-light) 30%, var(--gold-light) 70%, transparent),
    radial-gradient(circle at center, var(--gold-light) 0 2px, transparent 2.5px);
  background-size: 100% 1px, 10px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--warm-gray);
  font-weight: 300;
}

.prose p:last-child {
  margin-bottom: 0;
}

.section.section--values .section-lead,
.section.section--services .section-lead,
.section.section--contact .section-lead {
  margin-inline: 0;
  text-align: left;
}

#diferencia .section-lead {
  margin-inline: auto;
  text-align: center;
}

.section.section--surface-a .section-title,
.section.section--surface-b .section-title,
.section.section--ivory .section-title,
.section.section--persona .section-title {
  text-align: center;
}

.section.section--surface-a .eyebrow,
.section.section--surface-b .eyebrow,
.section.section--ivory .eyebrow,
.section.section--persona .eyebrow {
  text-align: center;
}

.section.section--surface-a .prose,
.section.section--surface-b .prose,
.section.section--ivory .prose,
.section.section--persona .prose {
  margin-top: 2rem;
  text-align: left;
}

/* Feeling band */
.section--feeling {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--ivory);
  background: var(--green-deep);
}

.section--feeling__bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.section--feeling__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(70, 58, 36, 0.45);
}

.section--feeling .container {
  position: relative;
  z-index: 1;
}

.quote {
  margin: 2.5rem auto 0;
  max-width: 36ch;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.4;
  color: var(--gold-light);
}

.feeling-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.75rem;
  margin-top: 2.5rem;
}

.feeling-list li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.78);
}

.feeling-list li::before {
  content: "◆";
  margin-right: 0.55rem;
  font-size: 0.45rem;
  vertical-align: middle;
  color: var(--gold);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pillar {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(166, 137, 83, 0.45);
}

.pillar__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--green);
}

.pillar p {
  margin: 0;
  font-weight: 300;
  color: var(--warm-gray);
}

/* Mission / Vision split */
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-band__panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.split-band__media {
  position: absolute;
  inset: 0;
}

.split-band__media img {
  transition: transform 8s var(--ease);
}

.split-band__panel:hover .split-band__media img {
  transform: scale(1.04);
}

.split-band__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 44, 26, 0.2) 0%, rgba(30, 44, 26, 0.84) 72%);
}

.split-band__panel:nth-child(2)::after {
  background: linear-gradient(180deg, rgba(70, 58, 36, 0.25) 0%, rgba(55, 45, 28, 0.86) 72%);
}

.split-band__body {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--ivory);
}

.split-band__body .section-title {
  color: var(--ivory);
}

.split-band__body .ornament {
  background:
    linear-gradient(90deg, var(--gold-light), transparent),
    radial-gradient(circle at left, var(--gold-light) 0 2px, transparent 2.5px);
  background-size: 64px 1px, 10px 10px;
  background-position: left center, left center;
  background-repeat: no-repeat;
}

.split-band__body p:last-child {
  margin: 1.5rem 0 0;
  max-width: 42ch;
  font-weight: 300;
  color: rgba(247, 245, 239, 0.88);
}

/* Values */
.section--values {
  background: var(--ivory);
}

.values-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.values-intro__art {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-soft);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 65, 39, 0.12);
}

.values-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 0.5rem;
  text-align: center;
}

.values-grid svg {
  width: 40px;
  height: 40px;
  fill: var(--green);
}

.values-grid span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.prose--single {
  margin-top: 2rem;
  text-align: center;
}

.prose--single p {
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 58ch;
  margin-inline: auto;
}

.essence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
  align-items: stretch;
  text-align: left;
}

.essence-col {
  display: flex;
  padding: 0.25rem 0;
}

.essence-col + .essence-col {
  border-left: 1px solid rgba(166, 137, 83, 0.28);
  padding-left: 3rem;
}

.essence-col p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--warm-gray);
}

.essence-thought {
  position: relative;
  width: min(42rem, 100%);
  margin: 3rem auto 0;
  padding: 1.75rem 1.5rem 0.25rem;
  border: 0;
  text-align: center;
}

.essence-thought::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.35rem;
  background: var(--gold);
}

.essence-thought p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--green);
}

.diff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.75rem;
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ivory);
}

.brand-dialog {
  width: min(560px, calc(100% - 2rem));
  padding: 0;
  border: 1px solid rgba(166, 137, 83, 0.35);
  background: var(--surface-a);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.brand-dialog::backdrop {
  background: rgba(30, 44, 26, 0.55);
  backdrop-filter: blur(4px);
}

.brand-dialog__inner {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
}

.brand-dialog__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.brand-dialog .section-title {
  font-size: 1.85rem;
  text-align: left;
}

.brand-dialog .eyebrow {
  text-align: left;
}

.brand-dialog p:last-child {
  margin: 1.25rem 0 0;
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-gray);
}

@media (max-width: 800px) {
  .essence-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .essence-col + .essence-col {
    border-left: 0;
    border-top: 1px solid rgba(166, 137, 83, 0.28);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .essence-thought {
    margin-top: 2.25rem;
  }
}

/* Equipo */
.section--team {
  text-align: center;
}

.section--team .section-lead {
  margin-inline: auto;
  text-align: center;
}

.team-groups {
  display: grid;
  gap: 3.5rem;
  margin-top: 3rem;
}

.team-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  align-items: start;
}

.team-group--two {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  max-width: 100%;
  margin-inline: auto;
  gap: 2.5rem clamp(3rem, 8vw, 7rem);
}

.team-col {
  min-width: 0;
}

.team-card {
  display: grid;
  gap: 1.15rem;
  text-align: left;
}

.team-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--green-deep), var(--green-soft));
}

.team-card__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(198, 166, 106, 0.85);
}

.team-card__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__body {
  min-width: 0;
}

.team-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}

.team-card__role {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-card__bio {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--warm-gray);
}

@media (max-width: 900px) {
  .team-group {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .team-card {
    text-align: center;
  }
}

/* Services — tres columnas (estilo flyer) */
.section--services {
  text-align: center;
}

.section--services .section-lead {
  margin-inline: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  align-items: start;
}

.service-col {
  padding: 0.5rem 1.75rem 1rem;
  text-align: center;
}

.service-col + .service-col {
  border-left: 1px solid rgba(45, 65, 39, 0.18);
}

.service-col__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
}

.service-col__icon svg {
  width: 2.1rem;
  height: 2.1rem;
}

.service-col h3 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.service-col ul {
  display: grid;
  gap: 0.55rem;
  text-align: left;
  max-width: 18rem;
  margin-inline: auto;
}

.service-col li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--green);
}

.service-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Promise */
.section--promise {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--green-deep);
  color: var(--ivory);
}

.section--promise__bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.section--promise__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 44, 26, 0.42);
}

.section--promise .container {
  position: relative;
  z-index: 1;
}

.promise-philosophy {
  margin: 2rem auto 0;
  max-width: 40ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--gold-light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-meta {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.contact-meta li {
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 65, 39, 0.12);
  font-weight: 300;
  color: var(--warm-gray);
}

.contact-meta span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(160deg, var(--white), var(--ivory-deep));
  border: 1px solid rgba(166, 137, 83, 0.28);
  box-shadow: var(--shadow-soft);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(45, 65, 39, 0.18);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(166, 137, 83, 0.15);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--warm-gray);
}

.form-status:not(:empty) {
  padding: 0.85rem 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--green);
  background: rgba(45, 65, 39, 0.08);
  border: 1px solid rgba(45, 65, 39, 0.15);
}

.form-status.is-error {
  color: #7d2d27;
  background: rgba(125, 45, 39, 0.08);
  border-color: rgba(125, 45, 39, 0.2);
}

/* Superposición de espera durante el envío del formulario */
.sending-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(30, 44, 26, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sending-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.sending-overlay__box {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  padding: 2.25rem 3rem;
  background: var(--white);
  border: 1px solid rgba(166, 137, 83, 0.35);
  box-shadow: 0 30px 70px rgba(20, 30, 17, 0.35);
  text-align: center;
}

.sending-overlay__box p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
}

.sending-overlay__spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(166, 137, 83, 0.25);
  border-top-color: var(--gold);
  animation: sending-spin 0.8s linear infinite;
}

@keyframes sending-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--green-deep);
  color: rgba(247, 245, 239, 0.78);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.footer-brand img {
  width: 84px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
}

.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-motto {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes crest-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(0, -1.2%, 0);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(14px);
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__content,
  .hero__crest,
  .hero__media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .pillars,
  .split-band,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-col + .service-col {
    border-left: 0;
    border-top: 1px solid rgba(45, 65, 39, 0.18);
    padding-top: 2rem;
    margin-top: 0.5rem;
  }

  .service-col ul {
    text-align: center;
  }

  .service-col li {
    padding-left: 0;
  }

  .service-col li::before {
    display: none;
  }

  .split-band__panel {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
    z-index: 120;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    background: rgba(247, 245, 239, 0.97);
    backdrop-filter: blur(14px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav.is-open a {
    color: var(--green-soft);
    font-size: 1rem;
  }

  .site-nav.is-open .nav-cta {
    color: var(--green) !important;
    border-color: var(--gold);
  }

  .site-nav.is-open .nav-cta:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--gold-light) !important;
  }

  .site-nav.is-open a.is-active {
    color: var(--gold);
  }

  .site-header:not(.is-scrolled) .nav-toggle[aria-expanded="true"] span {
    background: var(--green);
  }

  .brand-mark img {
    height: calc(var(--header-h) - 1.35rem);
  }

  .brand-mark__text {
    display: none;
  }

  .hero__brand {
    letter-spacing: 0.08em;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }
}

/* Navegación lateral entre secciones */
.section-nav {
  position: fixed;
  top: 50%;
  right: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(-50%);
}

.section-nav__dots {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.section-nav__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.section-nav__dots button.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.section-nav__arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(166, 137, 83, 0.55);
  background: rgba(247, 245, 239, 0.88);
  color: var(--green);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.section-nav__arrow:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--gold-light);
}

.section-nav__arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 900px) {
  .section-nav {
    right: 0.55rem;
  }
}

@media (max-width: 640px) {
  .section-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .contact-form {
    padding: 1.25rem;
  }
}
