@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;
}

/* -----------------------------------------
   COTIZADOR
----------------------------------------- */
.cotizador {
  background: #1a1a1a;
  color: #fff;
}

.cot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.cot-img-col {
  position: relative;
  overflow: hidden;
}

.cot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cot-form-col {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cot-title {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--terra-2);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
}

.cot-form { width: 100%; }

.cot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 1.2rem;
}

.cot-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.cot-field--btn {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.cot-field label {
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 400;
  color: #fff;
  padding-left: .2rem;
}

.cot-field input,
.cot-field select {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: #2D2C2C;
  background: #F2E8D9;
  border: none;
  border-radius: 999px;
  padding: 0 1.2rem;
  outline: none;
  width: 100%;
  appearance: none;
  height: 42px;
  transition: box-shadow .2s;
}
.cot-field input:focus,
.cot-field select:focus {
  box-shadow: 0 0 0 3px rgba(196,96,58,.4);
}
.cot-field input.is-error,
.cot-field select.is-error {
  box-shadow: 0 0 0 3px rgba(231,76,60,.6);
}
.cot-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232D2C2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
  padding-right: 3rem;
  cursor: pointer;
}
.cot-field select option { background: #fff; color: #2D2C2C; }

.btn-solicitar {
  background: var(--terra);
  color: #fff;
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 2rem;
  border-radius: 999px;
  height: 42px;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-solicitar:hover {
  background: var(--terra-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,96,58,.4);
}

.cot-success {
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #fff;
}

@media (max-width: 720px) {
  .cot-grid { grid-template-columns: 1fr; column-gap: 0; }
  .cot-field--btn { justify-content: stretch; }
  .btn-solicitar { width: 100%; justify-content: center; }
}

/* -----------------------------------------
   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;
}

/* -----------------------------------------
   FAQ
----------------------------------------- */
.faq {
  background: var(--terra);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.faq-list {
  margin-top: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  text-align: left;
  transition: color .2s;
}

.faq-question:hover { color: var(--crema); }

.faq-item { border-bottom-color: rgba(255,255,255,.25); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 50%;
  position: relative;
  transition: transform .3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--terra);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before,
.faq-icon::after { background: rgba(255,255,255,.9); }
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform .3s; }

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}

.faq-answer > p {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  padding-bottom: 1.4rem;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

/* -----------------------------------------
   PAGE-ADMIN overrides (navy palette)
----------------------------------------- */
/* intro usa fondo claro en page-admin — colores en inline style de administracion.html */

.page-admin .pilares  { background: #162333; }
.page-admin .pilares .section-title { color: var(--crema); }
.page-admin .pilar-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.page-admin .pilar-title { color: var(--crema) !important; }
.page-admin .pilar-desc  { color: rgba(255,255,255,.65) !important; }
.page-admin .pilar-num   { color: rgba(255,255,255,.15); }
.page-admin .pilar-icon  { color: var(--terra-2); }

.page-admin .servicios  { background: #F2E8D9; }
.page-admin .servicios .section-title { color: #1a1a1a !important; }
.page-admin .servicios .eyebrow       { color: var(--terra) !important; }
.page-admin .servicios .section-sub   { color: #555 !important; }
.page-admin .serv-card {
  background: #F2E8D9;
  border: none;
  box-shadow: none;
}
.page-admin .serv-card h3   { color: #1a1a1a !important; }
.page-admin .serv-desc      { color: #555 !important; opacity: 1 !important; }
.page-admin .serv-icon      { color: var(--terra); }

.page-admin .cotizador { background: #162333; }
.page-admin .cotizador .section-title { color: var(--crema); }

/* -----------------------------------------
   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-ig {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
  margin-top: .4rem;
}
.footer-ig: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; }
}

/* ── Split servicios ── */
.split-serv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.split-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.split-panel:hover::before { transform: scale(1.04); }

.split-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity .4s;
}

.split-panel--temp::before { background-color: #2a1f15; }
.split-panel--admin::before { background-color: var(--navy); }

.split-panel--temp::after { background: linear-gradient(160deg, rgba(196,96,58,.18) 0%, rgba(26,18,10,.82) 100%); }
.split-panel--admin::after { background: linear-gradient(160deg, rgba(45,62,80,.18) 0%, rgba(20,30,48,.82) 100%); }

.split-panel:hover::after { opacity: .7; }

.split-panel-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

.split-eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra-2);
}

.split-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.split-sub {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 340px;
}

.split-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-2);
  margin-top: .5rem;
  transition: gap .2s;
}

.split-panel:hover .split-btn { gap: .8rem; }

@media (max-width: 640px) {
  .split-serv { grid-template-columns: 1fr; min-height: auto; }
  .split-panel { min-height: 300px; align-items: flex-end; }
}

/* ── Testimonios ── */
.testimonios {
  background: var(--crema);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.testi-heading {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.testi-stars {
  color: var(--terra);
  font-size: 1.1rem;
  letter-spacing: .1em;
}

.testi-text {
  font-family: var(--ff-body);
  font-size: .95rem;
  line-height: 1.7;
  color: #444;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: .5rem;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.testi-name {
  display: block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}

.testi-detail {
  display: block;
  font-family: var(--ff-body);
  font-size: .8rem;
  color: #888;
  margin-top: .1rem;
}

@media (max-width: 767px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── Noticias preview ── */
.noticias-preview {
  background: var(--navy);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.noticias-preview .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--crema);
}

.noticias-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-cta {
  margin-top: 3rem;
  text-align: center;
}
.btn-section-cta {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terra);
  border: 1.5px solid var(--terra);
  border-radius: 999px;
  padding: .65rem 1.8rem;
  transition: background .2s, color .2s;
}
.btn-section-cta:hover {
  background: var(--terra);
  color: #fff;
}
.btn-section-cta--light {
  color: var(--crema);
  border-color: var(--crema);
}
.btn-section-cta--light:hover {
  background: var(--crema);
  color: var(--navy);
}

.btn-ver-mas {
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.btn-ver-mas:hover { color: var(--terra-3); }

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.noticia-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.noticia-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--crema);
  display: block;
}

.noticia-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
}
.noticia-img-placeholder svg { opacity: .3; }

.noticia-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.noticia-date {
  font-family: var(--ff-body);
  font-size: .75rem;
  color: var(--terra);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.noticia-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--terra);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-sub {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: #777;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticias-loading {
  grid-column: 1/-1;
  text-align: center;
  color: #aaa;
  font-family: var(--ff-body);
  padding: 2rem;
}

.noticias-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #bbb;
  font-family: var(--ff-body);
  padding: 3rem;
  font-size: .95rem;
}

@media (max-width: 767px) {
  .noticias-grid { grid-template-columns: 1fr; }
  .noticias-preview-header { flex-direction: column; align-items: flex-start; }
}

/* ── WhatsApp flotante ── */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}

@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; }
}
