:root{
  --survey-family-bg:#020608;
  --survey-family-panel:rgba(5,14,18,.78);
  --survey-family-line:rgba(128,225,239,.26);
  --survey-family-accent:#00d8f2;
  --survey-family-mint:#4ef0c2;
}

html{background:var(--survey-family-bg)}

body{
  background:var(--survey-family-bg);
  color:#e7f5fa;
}

.space{opacity:.18}
.contours{display:none!important}

main{
  position:relative;
  isolation:isolate;
  overflow:clip;
  background:var(--survey-family-bg);
}

main > .section{
  position:relative;
  z-index:1;
  isolation:isolate;
  overflow:hidden;
  border:0!important;
  background:transparent!important;
}

.land-family-contours{
  display:block;
  pointer-events:none;
  mix-blend-mode:screen;
}

.land-family-contours--page{
  position:sticky;
  top:0;
  z-index:0;
  width:100%;
  height:100svh;
  margin-bottom:-100svh;
  opacity:.42;
}

.land-family-hero{
  min-height:calc(100svh - 72px);
  padding:0!important;
  display:grid;
  align-items:stretch;
  background:#031015!important;
}

.land-family-hero::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  z-index:2;
  height:clamp(170px,23vh,280px);
  pointer-events:none;
  background:linear-gradient(
    to bottom,
    transparent 0%,
    rgba(2,6,8,.16) 28%,
    rgba(2,6,8,.68) 68%,
    var(--survey-family-bg) 100%
  );
}

.land-family-contours--hero{
  position:absolute;
  inset:0 auto 0 -13%;
  z-index:2;
  width:112%;
  height:100%;
  opacity:.46;
  -webkit-mask-image:radial-gradient(ellipse 80% 88% at 16% 14%,#000 0%,rgba(0,0,0,.94) 43%,rgba(0,0,0,.46) 68%,transparent 88%);
  mask-image:radial-gradient(ellipse 80% 88% at 16% 14%,#000 0%,rgba(0,0,0,.94) 43%,rgba(0,0,0,.46) 68%,transparent 88%);
}

.land-family-hero .hero-shell{
  position:relative;
  width:100%;
  min-width:0;
  max-width:none;
  min-height:calc(100svh - 72px);
  padding:0;
  display:block;
}

.land-family-hero .hero-shell::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(1,7,11,.91) 0%,rgba(1,7,11,.75) 38%,rgba(1,7,11,.18) 70%,rgba(1,7,11,.38) 100%),
    linear-gradient(0deg,rgba(1,7,11,.94) 0%,transparent 52%,rgba(1,7,11,.35) 100%);
}

.land-family-hero .hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  min-height:0;
  display:block;
}

.land-family-hero .wide-shot{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:#031015;
}

.land-family-hero .wide-shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.9) contrast(1.04) brightness(.82);
}

.land-family-hero .wide-shot figcaption{display:none}

.land-family-hero .image-stack{
  position:absolute;
  right:clamp(24px,3vw,52px);
  bottom:clamp(72px,9vh,108px);
  z-index:2;
  width:min(29vw,410px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.land-family-hero .image-stack figure{
  position:relative;
  height:clamp(150px,16vw,220px);
  margin:0;
  overflow:hidden;
  border:1px solid rgba(154,230,241,.28);
  border-radius:18px;
  background:#061015;
  box-shadow:0 18px 44px rgba(0,0,0,.38);
}

.land-family-hero .image-stack img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.land-family-hero .image-stack figcaption{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  padding:9px 10px;
  font-size:11px;
  line-height:1.3;
  color:#d7e9ef;
  background:linear-gradient(transparent,rgba(2,6,8,.9));
}

.land-family-hero .card{
  position:relative;
  z-index:3;
  width:min(760px,calc(100vw - 48px));
  margin-left:max(24px,calc((100vw - 1240px)/2 + 22px));
  padding-block:clamp(92px,12vh,138px) clamp(118px,16vh,176px);
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  animation:none;
}

.land-family-hero .card::after,
.land-family-hero .card-glow{display:none}

.land-family-hero .card-in{padding:0}

.land-family-hero .eyebrow{
  display:flex;
  align-items:center;
  gap:12px;
  width:max-content;
  max-width:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#b9f2fa;
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
}

.land-family-hero .eyebrow::before{
  content:"";
  width:42px;
  height:1px;
  flex:0 0 auto;
  background:linear-gradient(90deg,var(--survey-family-accent),transparent);
}

.land-family-hero .eyebrow .dot{display:none}

.land-family-hero h1{
  max-width:16ch;
  margin:20px 0 18px;
  font-size:clamp(48px,6.2vw,86px);
  line-height:.94;
  letter-spacing:-.055em;
  text-wrap:balance;
}

.land-family-hero .lede{
  max-width:66ch;
  color:#d2e2e8;
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.48;
}

.land-family-hero .license-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:24px;
}

.land-family-hero .metric{
  min-height:72px;
  padding:13px 14px;
  border:0;
  border-left:2px solid var(--survey-family-accent);
  border-radius:0;
  background:rgba(8,19,24,.68);
  backdrop-filter:blur(8px);
}

.land-family-hero .metric strong{
  color:#e9f9fc;
  font-size:18px;
}

.land-family-hero .metric span{color:#b7cbd2}

.land-family-hero .hero-actions{margin-top:24px}

.land-family-hero .btn,
main > .section:last-of-type .btn{
  min-width:0!important;
  padding:13px 18px;
  border:1px solid rgba(0,216,242,.72);
  border-radius:16px;
  color:#eefcff;
  background:rgba(4,12,17,.72);
  box-shadow:0 0 24px rgba(0,216,242,.1);
}

.land-family-hero .btn:first-child{
  background:linear-gradient(180deg,rgba(0,216,242,.18),rgba(0,216,242,.08));
}

.land-family-hero .btn.secondary{border-color:rgba(78,240,194,.5)}

main > .section:not(.land-family-hero){padding:clamp(64px,8vw,112px) 0}

main > .section:not(.land-family-hero) > .wrap{
  position:relative;
  z-index:2;
}

.band{
  border:0!important;
  background:transparent!important;
}

.section-head{
  align-items:start;
  margin-bottom:30px;
}

.section-head h2,
main > .section:not(.land-family-hero) .callout-panel h2{
  max-width:19ch;
  color:#e9f7fb;
  font-size:clamp(32px,4.2vw,58px);
  line-height:1;
  letter-spacing:-.045em;
  text-wrap:balance;
}

.section-head > div::before{
  content:"Survey intelligence";
  display:block;
  margin-bottom:12px;
  color:#9feefa;
  font-size:11px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}

html[lang="es-MX"] .section-head > div::before{content:"Inteligencia topográfica"}

.service-card,
.process-step,
.callout-panel,
details,
.gallery-card{
  border:1px solid var(--survey-family-line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(8,20,25,.82),rgba(3,10,14,.76));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 18px 50px rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
  animation:none;
}

.service-card,
.process-step{
  position:relative;
  overflow:hidden;
}

.service-card::before,
.process-step::before,
.callout-panel::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:2px;
  background:linear-gradient(var(--survey-family-accent),var(--survey-family-mint),transparent);
}

.callout-panel{position:relative;overflow:hidden}

details[open]{border-color:rgba(0,216,242,.48)}

.gallery-card img{filter:saturate(.9) contrast(1.04)}

footer.site-footer{
  margin-top:0;
  border-top:0;
  background:var(--survey-family-bg);
  box-shadow:none;
}

@media(max-width:1180px){
  .land-family-hero .image-stack{display:none}
  .land-family-hero .card{width:min(820px,calc(100vw - 48px))}
}

@media(max-width:820px){
  .land-family-contours--page{opacity:.32}
  .land-family-contours--hero{inset:0 auto 0 -28%;width:128%;opacity:.38}
  .land-family-hero .hero-shell::before{
    background:linear-gradient(0deg,rgba(1,7,11,.96) 0%,rgba(1,7,11,.72) 58%,rgba(1,7,11,.34) 100%);
  }
  .land-family-hero .hero-shell,
  .land-family-hero{min-height:auto}
  .land-family-hero .card{
    width:auto;
    min-width:0;
    margin:0;
    padding:92px 20px 142px;
  }
  .land-family-hero .eyebrow{
    width:auto;
    line-height:1.5;
  }
  .land-family-hero h1{font-size:clamp(43px,12vw,68px)}
  .land-family-hero .license-strip{grid-template-columns:1fr}
  .land-family-hero .hero-actions{display:grid;grid-template-columns:1fr}
  .land-family-hero .btn{width:100%}
  .section-head{display:block}
  .section-head > p{margin-top:16px}
}

@media(prefers-reduced-motion:reduce){
  .service-card,
  .process-step,
  .callout-panel,
  details,
  .gallery-card{animation:none!important}
}
