@charset "UTF-8";
/* ============================================================
   XPLORA - Styles
   Archetype: Editorial Dark Warm (adapted)
   Palette: Terracota / Oliva / Crema / Oscuro
   Fonts: Museomoderno (titles) + Sora (body)
   ============================================================ */

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* -- Custom properties -- */
:root {
  --bg:       #2D2C2C;
  --bg-2:     #383636;
  --bg-3:     #444242;
  --cream:    #F2E8D9;
  --cream-2:  #E8D8C4;
  --cream-3:  #C4B09A;
  --terra:    #C4603A;
  --terra-2:  #E07A52;
  --terra-3:  #A04C2C;
  --oliva:    #7A8A50;
  --oliva-2:  #9AAA68;
  --ink:      #1E1D1D;
  --line-dark: rgba(242,232,217,.10);
  --line-cream: rgba(45,44,44,.12);
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 1, 1);

  --ff-display: 'Museomoderno', sans-serif;
  --ff-body:    'Sora', sans-serif;

  --nav-h: 72px;
}

/* -- Base -- */
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--cream);
  overflow-x: clip;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* -- Layout -- */
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* -- Reveal animation -- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Safety override for reveal + data-split (gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }

/* -- Custom cursor -- */
.cursor {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s;
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  transform: translate3d(0,0,0);
  will-change: transform;
}
.cursor-ring {
  position: absolute;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,96,58,.5);
  transform: translate3d(-13px,-13px,0);
  will-change: transform;
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s;
}
.cursor.is-hover .cursor-ring {
  width: 48px; height: 48px;
  transform: translate3d(-21px,-21px,0);
  border-color: var(--terra);
}

/* -----------------------------------------
   NAV
----------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(45,44,44,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 28px;
  width: auto;
}
.nav-x-svg { width: 32px; height: 32px; flex-shrink: 0; }
.nav-brand {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: .875rem;
  font-weight: 400;
  color: var(--cream-3);
  letter-spacing: .02em;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta-link {
  color: var(--terra-2) !important;
  font-weight: 500 !important;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  background: rgba(45,44,44,.98);
  transition: max-height .45s var(--ease), padding .45s var(--ease);
  border-top: 1px solid var(--line-dark);
}
.nav-mobile.is-open { max-height: 400px; padding-block: 1.5rem; }
.nav-mobile a {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cream);
  padding: .6rem clamp(1.25rem, 4vw, 3rem);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--terra-2); }

/* -----------------------------------------
   HERO
----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  padding: var(--nav-h) 1.5rem 4rem;
}
.hero-mesh {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(196,96,58,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 80% 70%, rgba(122,138,80,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 55% 10%, rgba(196,96,58,.12) 0%, transparent 55%);
  filter: blur(60px);
  animation: meshDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes meshDrift {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.15) rotate(8deg); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .035;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-logo-block { display: flex; flex-direction: column; align-items: center; }
.hero-logo-img {
  height: clamp(60px, 12vw, 100px);
  width: auto;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero-logo-img.is-visible { opacity: 1; transform: scale(1); }
.hero-x-svg {
  width: clamp(70px, 14vw, 110px);
  height: clamp(70px, 14vw, 110px);
  opacity: 0;
  transform: scale(.7);
  transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s;
}
.hero-x-svg.is-visible { opacity: 1; transform: scale(1); }
.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease) .6s, transform .7s var(--ease) .6s;
}
.hero-eyebrow.is-visible { opacity: 1; transform: none; }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -.02em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease) .8s, transform .9s var(--ease) .8s;
}
.hero-title.is-visible { opacity: 1; transform: none; }
.hero-title em {
  font-style: italic;
  color: var(--terra-2);
}
.hero-title-sub {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--cream);
  margin-bottom: .05em;
}
.hero-title-main {
  color: var(--terra-2);
}
.hero-sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--cream-3);
  max-width: 44ch;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease) 1.1s, transform .7s var(--ease) 1.1s;
}
.hero-sub.is-visible { opacity: 1; transform: none; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 100px;
  padding: .85rem 2rem;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); }

/* Hero button - entrance animation only */
.hero-inner .btn {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease) 1.3s, transform .7s var(--ease) 1.3s;
}
.hero-inner .btn.is-visible {
  opacity: 1;
  transform: none;
}
.hero-inner .btn.is-visible:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--terra);
  color: var(--cream);
  box-shadow: 0 0 0 0 rgba(196,96,58,0);
}
.btn-primary:hover {
  background: var(--terra-2);
  box-shadow: 0 8px 32px rgba(196,96,58,.35);
}
.btn-dark {
  background: var(--bg);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--bg-2);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.btn-outline-dark {
  background: transparent;
  color: var(--bg);
  border: 2px solid var(--bg);
}
.btn-outline-dark:hover {
  background: var(--bg);
  color: var(--cream);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: 0;
  animation: heroScrollFade 1s var(--ease) 2s forwards;
}
@keyframes heroScrollFade { to { opacity: .5; } }
.hero-scroll-label {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: var(--terra);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity:.6; }
  50%       { transform: scaleY(.5); opacity:1; }
}

/* -----------------------------------------
   SHARED section elements
----------------------------------------- */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .75rem;
}
.eyebrow-light { color: var(--terra-2); }
.cta-inner .eyebrow-light { color: rgba(45,44,44,.55); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -.02em;
}
.section-title-light { color: var(--cream); }

.section-sub {
  font-size: 1rem;
  color: #6B6666;
  max-width: 56ch;
  margin-top: .75rem;
  line-height: 1.7;
}
.section-sub-light { color: var(--cream-3); }

.section-header-center {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header-left {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

/* -----------------------------------------
   INTRO (cream)
----------------------------------------- */
.intro {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.intro-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.intro-col p {
  font-size: 1.03rem;
  color: #3A3838;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.intro-col p:last-child { margin-bottom: 0; }
.intro-col strong { color: var(--terra-3); font-weight: 600; }
.intro-premise {
  font-family: var(--ff-display);
  font-size: 1.15rem !important;
  font-weight: 600;
  color: var(--terra-3) !important;
  margin-bottom: 1rem !important;
}
.intro-cierre {
  font-family: var(--ff-display);
  font-size: 1.1rem !important;
  font-weight: 500;
  color: var(--bg) !important;
  border-left: 3px solid var(--terra);
  padding-left: 1rem;
  margin-top: 1.5rem !important;
}
.intro-cierre em { font-style: italic; color: var(--terra-3) !important; }

/* -----------------------------------------
   STATS (dark)
----------------------------------------- */
.stats {
  background: var(--bg-2);
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.stat-num-wrap {
  display: flex;
  align-items: flex-start;
  gap: .15rem;
}
.stat-suffix {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--terra-2);
  line-height: 1;
  vertical-align: top;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--terra-2);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-plus {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--terra-2);
  line-height: 1.2;
}
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  line-height: 1.5;
  text-align: center;
}
.stat-line {
  width: 1px;
  height: 60px;
  background: var(--line-dark);
  flex-shrink: 0;
}

/* -----------------------------------------
   PILARES (dark)
----------------------------------------- */
.pilares {
  background: var(--bg);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--line-dark);
  border: 1.5px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
}
.pilar-card {
  position: relative;
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background .3s var(--ease);
}
.pilar-card:hover { background: var(--bg-2); }
.pilar-num {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--line-dark);
  color: rgba(242,232,217,.15);
  user-select: none;
}
.pilar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pilar-icon {
  width: 40px; height: 40px;
  color: var(--terra);
  flex-shrink: 0;
}
.pilar-icon svg { width: 40px; height: 40px; }
.pilar-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.pilar-desc {
  font-size: .95rem;
  color: var(--cream-3);
  line-height: 1.75;
  max-width: 36ch;
}
/* Hover accent line on card top */
.pilar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.pilar-card:hover::before { transform: scaleX(1); }

/* -----------------------------------------
   SERVICIOS (cream)
----------------------------------------- */
.servicios {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-cream);
  border: 1px solid var(--line-cream);
  border-radius: 16px;
  overflow: hidden;
}
.serv-card {
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.serv-card:hover {
  background: #fff;
  box-shadow: 0 4px 24px rgba(196,96,58,.1);
  transform: translateY(-3px);
  z-index: 1;
  position: relative;
}
.serv-icon {
  width: 32px; height: 32px;
  color: var(--terra-3);
  flex-shrink: 0;
}
.serv-icon svg { width: 32px; height: 32px; }
.serv-card h3 {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.serv-desc {
  font-size: .9rem;
  color: var(--ink);
  opacity: .65;
  line-height: 1.7;
}

/* -----------------------------------------
   PORTFOLIO (dark)
----------------------------------------- */
.portfolio {
  background: var(--bg-2);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.port-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.port-cat-badge {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid;
}
.port-cat-barrio    { color: var(--terra-2); border-color: rgba(224,122,82,.35); }
.port-cat-consorcio { color: var(--oliva-2); border-color: rgba(154,170,104,.35); }
.port-cat-complejo  { color: var(--cream-3); border-color: rgba(196,176,154,.35); }

/* Mosaic card base */
.pmc {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
}
.pmc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  gap: .15rem;
}
.pmc-type {
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra-2);
}
.pmc-name {
  font-family: var(--ff-display);
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

/* Main mosaic grid */
.port-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 2rem;
}
.port-mosaic .pmc {
  min-height: 220px;
}

/* Extended section */
.port-extended {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: .5rem;
}
.port-ext-photos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.port-ext-photos .pmc { min-height: 180px; }

/* List */
.port-ext-list {
  background: var(--bg-3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem 1.5rem;
  align-content: start;
}
.pel-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(242,232,217,.07);
}
.pel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: .35rem;
}
.pel-name {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.35;
}
.pel-addr {
  font-size: .75rem;
  color: var(--cream-3);
  margin-top: .1rem;
}

/* -----------------------------------------
   EQUIPO (cream)
----------------------------------------- */
.equipo {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin-inline: auto;
}
.team-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  position: relative;
  min-height: 280px;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.team-card--left {
  padding: 2rem 2rem 2rem 170px;
}
.team-card--right {
  padding: 2rem 170px 2rem 2rem;
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(196,96,58,.12);
  transform: translateY(-4px);
}
.team-avatar {
  width: 260px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.team-card--left .team-avatar {
  left: -110px;
}
.team-card--right .team-avatar {
  right: -110px;
}
.team-avatar img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.team-info {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 1;
}
.team-title-role {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra-3);
}
.team-name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.team-bio {
  font-size: .875rem;
  color: #6B6666;
  line-height: 1.65;
  margin-top: .25rem;
}

/* -----------------------------------------
   CTA SECTION (terracota)
----------------------------------------- */
.cta-section {
  background: var(--terra);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: -40% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(255,255,255,.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 80% 60%, rgba(0,0,0,.08) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.cta-body {
  font-size: 1rem;
  color: rgba(242,232,217,.8);
  max-width: 50ch;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}

/* -----------------------------------------
   FOOTER (dark)
----------------------------------------- */
.footer {
  background: var(--bg);
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-dark);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-logo-img { height: 32px; width: auto; }
.footer-logo span {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
}
.footer-tagline {
  font-size: .85rem;
  color: var(--cream-3);
  margin-top: .5rem;
  letter-spacing: .04em;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end;
}
.footer-link {
  font-size: .9rem;
  color: var(--cream-3);
  transition: color .2s;
}
.footer-link:hover { color: var(--terra-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(196,176,154,.45);
  letter-spacing: .03em;
}
.footer-copy-right { text-align: right; }

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 1023px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .port-mosaic { grid-template-columns: repeat(2, 1fr); }
  .port-extended { grid-template-columns: 1fr; }
  .port-ext-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .port-ext-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .intro-cols { grid-template-columns: 1fr; }
  .pilares-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .equipo-grid { grid-template-columns: 1fr; }

  .port-mosaic { grid-template-columns: repeat(2, 1fr); }
  .port-mosaic .pmc { min-height: 180px; }
  .port-extended { grid-template-columns: 1fr; }
  .port-ext-photos { grid-template-columns: 1fr 1fr; }
  .port-ext-list { grid-template-columns: 1fr; }

  .stats-row { gap: 2rem; }
  .stat-line { display: none; }

  .footer-top { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copy-right { text-align: left; }

  .team-card { flex-direction: column; gap: 1rem; }
}

@media (max-width: 479px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .port-mosaic { grid-template-columns: 1fr 1fr; }
  .port-mosaic .pmc { min-height: 150px; }
  .port-ext-photos { grid-template-columns: 1fr; }
  .port-ext-list { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
