@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

.home{--navy:#1E1B4B;--azul:#0E2B52;--cream:#F7F3EA;--amarillo:#E3A73E;--henequen:#4B5D45;--ink:#17161B;
  font-family:'Manrope',sans-serif;background:var(--cream);color:var(--ink);}
.home *{box-sizing:border-box;}
.home h1,.home h2,.home h3{text-wrap:pretty;font-family:'Montserrat',sans-serif;}
.home a{color:var(--azul);text-decoration:none;}
.home a:hover{color:#081b38;}

.home header{position:absolute;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:22px 48px;background:transparent;transition:background .25s,padding .25s,box-shadow .25s;}
.home header.scrolled{position:fixed;background:transparent;backdrop-filter:blur(10px);padding:14px 48px;box-shadow:0 8px 24px -12px rgba(0,0,0,.4);}
.home header.scrolled::before{content:'';position:absolute;inset:0;background:var(--azul);opacity:.9;mix-blend-mode:multiply;z-index:-1;}
/* páginas sin hero de imagen detrás (blog, landing pages): barra sólida normal en vez de
   transparente flotando, si no el logo blanco queda ilegible sobre el fondo crema */
.home header.site-header--solid{position:static;background:var(--navy);}
.home .logo img{height:32px;width:auto;display:block;}
.home header nav{display:flex;align-items:center;gap:26px;}
.home header nav a{color:rgba(247,243,234,0.9);text-decoration:none;font-size:13px;font-weight:500;letter-spacing:0.02em;position:relative;padding:4px 0;}
.home header nav a:hover{color:#fff;}
.home header nav a.cta{background:var(--amarillo);color:#3a2a06;padding:11px 22px;border-radius:999px;font-weight:700;transition:background .2s;}
.home header nav a.cta:hover{background:#c98f2f;color:#3a2a06;}

.home .nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:38px;height:38px;background:none;border:none;cursor:pointer;padding:0;z-index:51;}
.home .nav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease;}
.home header.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.home header.nav-open .nav-toggle span:nth-child(2){opacity:0;}
.home header.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.home .nav-dropdown{position:relative;padding-bottom:18px;margin-bottom:-18px;}
.home .nav-dropdown-trigger{color:rgba(247,243,234,0.9);font-size:13px;font-weight:500;letter-spacing:0.02em;cursor:default;}
.home .nav-dropdown:hover .nav-dropdown-trigger,.home .nav-dropdown.hover-open .nav-dropdown-trigger{color:#fff;}
.home .nav-dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;background:var(--navy);border-radius:12px;padding:10px;min-width:220px;box-shadow:0 20px 40px -14px rgba(0,0,0,.5);display:none;flex-direction:column;z-index:20;}
.home .nav-dropdown:hover .nav-dropdown-menu,.home .nav-dropdown.hover-open .nav-dropdown-menu{display:flex;}
.home .nav-dropdown-menu a{padding:8px 12px;border-radius:8px;font-size:13px;color:rgba(247,243,234,0.85);}
.home .nav-dropdown-menu a:hover{background:rgba(247,243,234,0.08);color:#fff;}
.home .nav-dropdown-group{padding:8px 12px 2px;font-size:10.5px;text-transform:uppercase;letter-spacing:0.08em;color:var(--amarillo);}

@keyframes fadeUp{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);}}
.home .hero{position:relative;min-height:720px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:64px 48px;}
.home .hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.home .hero img.bg.slide{opacity:0;animation-name:hero-kenburns;animation-timing-function:linear;animation-iteration-count:infinite;will-change:opacity,transform;}
@keyframes hero-kenburns{
  0%{opacity:0;transform:scale(1);}
  3%{opacity:1;}
  18%{opacity:1;transform:scale(1.08);}
  20%{opacity:0;transform:scale(1.08);}
  100%{opacity:0;}
}
@media (prefers-reduced-motion: reduce){
  .home .hero img.bg.slide{animation:none;opacity:0;}
  .home .hero img.bg.slide:first-child{opacity:1;}
}
.home .hero::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg, rgb(14 20 50 / calc(0.92 * var(--overlay, 1))) 0%, rgb(14 20 50 / calc(0.55 * var(--overlay, 1))) 45%, rgb(14 20 50 / calc(0.4 * var(--overlay, 1))) 100%);}
.home .hero-inner{max-width:760px;position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;}
.home .hero-logo{height:clamp(96px,12vw,150px);width:auto;max-width:100%;object-fit:contain;margin-bottom:30px;animation:fadeUp .7s ease both;}
.home .hero .eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:22px;animation:fadeUp .7s ease both;}
.home .hero .eyebrow .bar{width:36px;height:1px;background:var(--amarillo);}
.home .hero .eyebrow span{color:#F7F3EA;font-size:12.5px;letter-spacing:0.16em;text-transform:uppercase;font-weight:600;}
.home .hero h1{font-weight:700;font-size:54px;line-height:1.08;color:#fff;margin-bottom:22px;letter-spacing:-0.01em;animation:fadeUp .7s ease .1s both;}
.home .hero h1 em{font-style:italic;color:var(--amarillo);}
.home .hero .sub{color:rgba(247,243,234,0.88);font-size:16.5px;line-height:1.6;max-width:560px;margin-bottom:34px;animation:fadeUp .7s ease .2s both;}
.home .hero .sub b{color:#fff;font-weight:700;}
.home .hero .actions{display:flex;flex-direction:column;gap:18px;align-items:center;animation:fadeUp .7s ease .3s both;}
.home .actions-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:center;}
.home .btn-primary{background:var(--amarillo);color:#3a2a06;padding:15px 30px;border-radius:999px;font-size:14px;font-weight:700;letter-spacing:0.01em;text-decoration:none;box-shadow:0 12px 24px -10px rgba(227,167,62,.5);}
.home .btn-primary:hover{background:#c98f2f;color:#3a2a06;}
.home .btn-ghost{color:#fff;padding:14px 4px;font-size:14px;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.5);}
.home .btn-ghost:hover{color:#fff;}

.home section{padding:88px 48px;}
.home .section-head{max-width:640px;margin:0 auto 44px;text-align:center;}
.home .section-head h2{font-weight:700;font-size:32px;}
.home .section-head p{font-size:14.5px;color:#5b5870;margin-top:12px;line-height:1.6;}
.home .section-head .eyebrow{font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent, var(--azul));font-weight:700;margin-bottom:12px;}
.home .catalogo .section-head .eyebrow{color:var(--amarillo);}
.home .catalogo .section-head h2{font-size:clamp(32px,5.5vw,54px);}

.home .tipos-quicknav{display:flex;flex-direction:column;gap:16px;max-width:760px;margin:0 auto;}
.home .tipos-quicknav a{display:block;text-align:center;color:#fff;padding:26px 36px;border-radius:18px;font-size:20px;font-weight:700;text-decoration:none;box-shadow:0 10px 26px -10px var(--qn-glow),0 0 36px -6px var(--qn-glow);transition:transform .16s cubic-bezier(.23,1,.32,1),box-shadow .2s ease;}
.home .tipos-quicknav a:nth-child(1){background:var(--henequen);--qn-glow:rgba(75,93,69,.55);}
.home .tipos-quicknav a:nth-child(2){background:#3574D4;--qn-glow:rgba(53,116,212,.55);}
.home .tipos-quicknav a:nth-child(3){background:var(--amarillo);color:#17161B;--qn-glow:rgba(227,167,62,.55);}
.home .tipos-quicknav a:hover{transform:translateY(-3px);box-shadow:0 14px 32px -10px var(--qn-glow),0 0 48px -4px var(--qn-glow);}

.home #campestres,.home #residenciales,.home #premium{scroll-margin-top:90px;}

.home .bg-section{position:relative;overflow:hidden;min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.home .bg-section .bg-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 65%;z-index:0;}
.home .bg-section::before{content:'';position:absolute;inset:0;z-index:1;background:rgba(8,15,34,.4);}
.home .grupo-head::before{background:rgba(8,15,34,.5);}
.home .bg-section .section-head,.home .bg-section .tipos-quicknav{position:relative;z-index:2;}
.home .grupo-head .section-head{max-width:760px;}
.home .grupo-head .section-head .eyebrow{color:var(--amarillo);}
.home .grupo-head .section-head h2{color:#fff;font-size:clamp(34px,5.4vw,58px);text-shadow:0 2px 16px rgba(0,0,0,.35);}
.home .grupo-head .section-head p{color:rgba(247,243,234,.88);text-shadow:0 1px 10px rgba(0,0,0,.3);}

.home .greca-row{display:flex;justify-content:center;align-items:center;height:22px;overflow:hidden;padding:28px 0;}
.home .greca-row svg{display:block;height:22px;width:100%;}

.home .proyectos{padding:0;}
.home .slider{position:relative;width:100%;height:640px;overflow:hidden;background:#111;}
.home .slider-track{display:flex;height:100%;transition:transform .6s cubic-bezier(.65,0,.35,1);}
.home .slide{min-width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;}
.home .slide img,.home .slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.home .slide::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,20,50,.82) 0%,rgba(14,20,50,.45) 60%,rgba(14,20,50,.35) 100%);}
.home .slide-info{position:relative;z-index:2;color:#fff;max-width:600px;padding:0 48px;}
.home .slide-info .tag{font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--amarillo);font-weight:700;margin-bottom:12px;}
.home .slide-info h3{font-weight:700;font-size:34px;margin-bottom:14px;}
.home .slide-info p{font-size:15px;line-height:1.65;color:rgba(247,243,234,0.92);margin-bottom:24px;}
.home .slide-info a{display:inline-block;white-space:nowrap;background:var(--azul);color:#fff;text-decoration:none;font-size:13.5px;font-weight:700;padding:13px 28px;border-radius:999px;}
.home .slide-info a:hover{background:#081b38;color:#fff;}
.home .slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.12);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.home .slider-arrow:hover{background:rgba(255,255,255,.24);}
.home .slider-arrow.prev{left:24px;}
.home .slider-arrow.next{right:24px;}
.home .slider-dots{position:absolute;bottom:22px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:3;}
.home .dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;border:none;padding:0;transition:width .2s,border-radius .2s;}
.home .dot.active{background:#fff;width:22px;border-radius:4px;}

.home .catalogo{background:var(--navy);}
.home .catalogo .section-head h2{color:#fff;}
.home .catalogo .section-head p{color:rgba(247,243,234,0.75);}
.home .cat-cards{display:flex;gap:32px;max-width:1280px;margin:0 auto;justify-content:center;flex-wrap:wrap;}
.home .cat-card{width:400px;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 24px 48px -20px rgba(0,0,0,.5);transition:transform .25s ease;display:flex;flex-direction:column;scroll-margin-top:100px;}
.home .cat-card:hover{transform:translateY(-8px);}
.home .cat-card .ph{height:230px;position:relative;overflow:hidden;}
.home .cat-card .ph video,.home .cat-card .ph img{width:100%;height:100%;object-fit:cover;display:block;}
.home .cat-card .badge{position:absolute;top:14px;left:14px;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px;}
.home .cat-card.c-amarillo .badge{background:var(--amarillo);color:#3a2a06;}
.home .cat-card.c-azul .badge{background:var(--azul);}
.home .cat-card.c-henequen .badge{background:var(--henequen);}
.home .cat-card .cb{padding:26px;flex:1;display:flex;flex-direction:column;}
.home .cat-card h3{font-size:22px;font-weight:500;margin-bottom:10px;}
.home .cat-card p{font-size:13.5px;color:#5b5870;line-height:1.6;margin-bottom:18px;}
.home .cat-card .link{display:inline-block;white-space:nowrap;align-self:flex-start;margin-top:auto;background:var(--azul);color:#fff;text-decoration:none;font-size:13px;font-weight:700;padding:12px 24px;border-radius:999px;}
.home .cat-card .link:hover{background:#081b38;color:#fff;}

.home .avances-head{display:flex;align-items:center;justify-content:center;text-align:center;max-width:1400px;margin:0 auto 28px;padding:0 48px;}
.home .avances-head h2{font-weight:700;font-size:30px;}
.home .avances-head p{font-size:13.5px;color:#8b8578;margin-top:4px;}
.home .avances-strip{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);}
.home .avances-track{display:flex;gap:8px;width:max-content;animation:avMarquee 55s linear infinite;}
.home .avances-track:hover{animation-play-state:paused;}
.home .avances-track img{height:320px;width:auto;flex:0 0 auto;object-fit:cover;border-radius:6px;transition:transform .3s cubic-bezier(.23,1,.32,1);}
@media(hover:hover) and (pointer:fine){.home .avances-track img:hover{transform:scale(1.045);}}
@keyframes avMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

.home .nosotros{background:var(--cream);padding:110px 48px 100px;}
.home .nosotros-body{max-width:1360px;margin:0 auto;display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:center;}
.home .nosotros-text{max-width:48ch;}
.home .nosotros-photo{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:16/9;box-shadow:0 30px 60px -24px rgba(23,22,30,.35);}
.home .nosotros-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.home .nosotros-photo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:linear-gradient(160deg,var(--navy),#0a1730);color:rgba(247,243,234,.75);text-align:center;padding:24px;}
.home .nosotros-photo-placeholder svg{width:52px;height:52px;opacity:.65;}
.home .nosotros-photo-placeholder span{font-size:13px;font-weight:600;letter-spacing:.02em;max-width:22ch;}
.home .nosotros-div{border-top:2px solid var(--amarillo);width:44px;margin-bottom:20px;}
.home .nosotros .eyebrow2{font-size:11.5px;letter-spacing:0.18em;text-transform:uppercase;color:var(--azul);font-weight:700;margin-bottom:14px;}
.home .nosotros h2{font-weight:700;font-size:clamp(28px,3.4vw,38px);margin-bottom:20px;line-height:1.15;color:var(--ink);}
.home .nosotros p{color:#5b5870;font-size:14.5px;line-height:1.75;margin-bottom:14px;}
.home .nosotros-features{max-width:1360px;margin:56px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.home .feat{display:flex;gap:16px;align-items:flex-start;padding:20px;border-radius:16px;background:#fff;box-shadow:0 10px 24px -16px rgba(23,22,30,.18);transition:transform .2s cubic-bezier(.23,1,.32,1),box-shadow .2s ease;}
@media(hover:hover) and (pointer:fine){.home .feat:hover{transform:translateY(-3px);box-shadow:0 16px 30px -16px rgba(23,22,30,.24);}}
.home .feat-icon{width:42px;height:42px;border-radius:12px;background:var(--amarillo);color:#3a2a06;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.home .feat-icon svg{width:21px;height:21px;}
.home .feat h4{font-size:14.5px;font-weight:700;margin-bottom:4px;color:var(--ink);}
.home .feat p{font-size:13px;color:#5b5870;margin:0;line-height:1.55;}
@media(max-width:820px){
  .home .nosotros-body{grid-template-columns:1fr;}
  .home .nosotros-photo{aspect-ratio:4/3;margin-top:36px;}
  .home .nosotros-features{grid-template-columns:1fr;margin-top:40px;}
}

.home .stats{background:#0a1730;display:flex;justify-content:center;gap:80px;padding:36px 24px;flex-wrap:wrap;}
.home .stat{text-align:center;}
.home .stat .num{font-size:34px;color:#fff;font-weight:500;}
.home .stat .label{font-size:11.5px;letter-spacing:0.1em;text-transform:uppercase;color:rgba(247,243,234,0.65);margin-top:4px;}

.home footer{position:relative;color:rgba(247,243,234,0.75);padding:64px 48px 32px;overflow:hidden;}
.home footer img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.home footer::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg, rgb(8 15 34 / calc(0.97 * var(--overlay, 1))) 0%, rgb(8 15 34 / calc(0.94 * var(--overlay, 1))) 55%, rgb(8 15 34 / calc(0.88 * var(--overlay, 1))) 100%);}
.home .grid{position:relative;z-index:2;display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-bottom:40px;}
.home .brand img{height:32px;margin-bottom:14px;filter:brightness(0) invert(1);}
.home .brand-div{border-top:2px solid var(--amarillo);width:36px;margin-bottom:14px;}
.home .brand p{font-size:13px;max-width:280px;line-height:1.6;color:rgba(247,243,234,0.55);}
.home .col h4{font-size:12px;text-transform:uppercase;letter-spacing:0.1em;color:#fff;margin-bottom:14px;}
.home .col a{display:block;font-size:13.5px;color:rgba(247,243,234,0.7);text-decoration:none;margin-bottom:10px;}
.home .col a:hover{color:#fff;}
.home .bottom{position:relative;z-index:2;border-top:1px solid rgba(247,243,234,0.12);padding-top:20px;font-size:12px;color:rgba(247,243,234,0.45);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}

.home .wa-float{position:fixed;right:26px;bottom:26px;z-index:100;width:60px;height:60px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px -8px rgba(0,0,0,.45);text-decoration:none;}
.home .wa-float:hover{background:#1ebe5a;}
.home .wa-float svg{width:30px;height:30px;fill:#fff;}

.home footer .footer-contacto{position:relative;z-index:2;max-width:480px;margin:0 auto 64px;text-align:center;color:#fff;background:rgba(6,10,26,.6);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:44px 40px;}
.home footer .footer-contacto h2{font-weight:700;font-size:26px;margin-bottom:10px;text-transform:uppercase;}
.home footer .footer-contacto p{font-size:14.5px;color:rgba(247,243,234,.85);margin-bottom:26px;}
.home .btn-wa{display:inline-flex;align-items:center;gap:12px;background:#25D366;color:#fff;border:none;padding:16px 32px;font-weight:700;font-size:14px;text-decoration:none;border-radius:50px;box-shadow:0 14px 26px -12px rgba(0,0,0,.5);transition:transform .16s ease,background .16s ease,box-shadow .2s ease;}
.home .btn-wa:hover{background:#1ebe5a;transform:translateY(-2px);box-shadow:0 18px 30px -12px rgba(0,0,0,.55);}
.home .btn-wa svg{width:22px;height:22px;fill:#fff;}

.home footer .footer-contacto .lead-form{margin-top:28px;padding-top:28px;border-top:1px solid rgba(255,255,255,.18);text-align:left;display:flex;flex-direction:column;gap:12px;}
.home .lead-form-row{display:flex;gap:12px;flex-wrap:wrap;}
.home .lead-form-row input{flex:1;min-width:140px;}
.home .lead-form input,.home .lead-form textarea{width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:14px;font-family:inherit;}
.home .lead-form input::placeholder,.home .lead-form textarea::placeholder{color:rgba(255,255,255,.6);}
.home .lead-form textarea{resize:vertical;}
.home .lead-form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.home .lead-form-submit{width:100%;justify-content:center;background:#fff;color:var(--navy);}
.home .lead-form-submit:hover{background:var(--amarillo);color:var(--navy);}
.home .lead-form-success{margin-top:12px;font-size:13.5px;color:var(--amarillo);text-align:center;}

.home .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s cubic-bezier(0.16,1,0.3,1),transform .6s cubic-bezier(0.16,1,0.3,1);}
.home .reveal.in{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){.home .reveal{opacity:1;transform:none;transition:none;}}

.home .proyecto-seccion{background:var(--pg-bg,var(--cream));}
.home .proyecto-seccion.pg-azul{--pg-bg:var(--azul);--pg-fg:var(--cream);}
.home .proyecto-seccion.pg-amarillo{--pg-bg:#E3A73E;--pg-fg:var(--ink);}
.home .proyecto-seccion.pg-henequen{--pg-bg:var(--henequen);--pg-fg:var(--cream);}
.home .pg-inner{max-width:1180px;margin:0 auto;padding:72px 48px;display:grid;grid-template-columns:3fr 2fr;gap:56px;align-items:center;}
.home .proyecto-seccion.pg-media-last .pg-inner{grid-template-columns:2fr 3fr;}
.home .proyecto-seccion.pg-media-last .pg-media{order:2;}
.home .proyecto-seccion.pg-media-last .pg-body{order:1;}
.home .pg-gallery{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:22px;background:#111;box-shadow:0 26px 50px -22px rgba(23,22,30,.4);}
.home .pg-slide{min-width:100%;height:100%;position:relative;}
.home .pg-slide img,.home .pg-slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.home .pg-gallery .slider-dots{bottom:16px;}
.home .pg-body{padding:8px 0;color:var(--pg-fg,var(--ink));}
.home .pg-tag{font-size:11.5px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:var(--pg-fg,var(--ink));opacity:.72;margin-bottom:14px;}
.home .pg-logo{display:block;height:74px;max-width:100%;object-fit:contain;object-position:left center;margin-bottom:18px;}
.home .pg-logo-white{filter:brightness(0) invert(1);}
.home .pg-logo-lg{height:148px;}
.home .pg-body h3{font-weight:700;font-size:30px;color:var(--pg-fg,var(--ink));margin-bottom:14px;}
.home .pg-body p{font-size:15.5px;line-height:1.7;color:var(--pg-fg,var(--ink));opacity:.88;max-width:46ch;margin-bottom:28px;}
.home .pg-body .link{display:inline-block;white-space:nowrap;background:var(--cream);color:var(--ink);text-decoration:none;font-size:13.5px;font-weight:700;padding:14px 28px;border-radius:999px;box-shadow:0 10px 20px -10px rgba(0,0,0,.35);transition:transform .15s ease,background .15s ease;}
.home .pg-body .link:hover{background:#fff;color:var(--ink);transform:translateY(-2px);}
@media(max-width:820px){
  .home .pg-inner{grid-template-columns:1fr;gap:28px;padding:44px 22px;}
  .home .proyecto-seccion.pg-media-last .pg-inner{grid-template-columns:1fr;}
  .home .proyecto-seccion.pg-media-last .pg-media,.home .proyecto-seccion.pg-media-last .pg-body{order:initial;}
  .home .pg-body{text-align:center;}
  .home .pg-logo,.home .pg-body p{margin-left:auto;margin-right:auto;}
}

@media(max-width:900px){
  .home header{padding:16px 20px;}
  .home header.scrolled{padding:14px 20px;}
  .home .nav-toggle{display:flex;}
  .home header nav{position:fixed;top:0;right:0;bottom:0;height:100vh;height:100dvh;width:min(300px,84vw);flex-direction:column;align-items:stretch;gap:0;background:var(--navy);padding:24px 26px 26px;transform:translateX(100%);transition:transform .3s ease;overflow-y:auto;box-shadow:-24px 0 48px -20px rgba(0,0,0,.5);}
  .home header.nav-open nav{transform:translateX(0);}
  .home header nav a{padding:14px 2px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.08);}
  .home header nav a.cta{margin-top:14px;text-align:center;border-radius:10px;}
  .home .nav-dropdown{padding-bottom:0;margin-bottom:0;}
  /* En mobile no hay hover para abrir el submenú, y dejarlo colapsado atrás de un tap
     desperdicia el alto que ya sobra en el cajón -- se muestra siempre expandido. */
  .home .nav-dropdown-menu{position:static;display:flex;box-shadow:none;background:rgba(255,255,255,.05);margin:2px 0 6px;padding:4px;min-width:0;}
}

.home .error-404{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:160px 24px 96px;}
.home .error-404 .code{font-family:'Montserrat',sans-serif;font-weight:800;font-size:96px;line-height:1;color:var(--amarillo);margin-bottom:8px;}
.home .error-404 h1{font-size:32px;margin-bottom:12px;}
.home .error-404 .copy{font-size:15.5px;opacity:.75;max-width:42ch;margin-bottom:32px;}
.home .error-404 .links{display:flex;gap:24px;margin-top:24px;flex-wrap:wrap;justify-content:center;}
.home .error-404 .links a{font-size:14px;font-weight:600;text-decoration:underline;}

@media(max-width:640px){
  .home section{padding:56px 22px;}
  .home .hero{min-height:0;padding:126px 22px 56px;}
  .home .hero h1{font-size:clamp(28px,8vw,54px);}
  .home .nosotros{padding:64px 22px;}
  .home .stats{gap:28px 40px;padding:32px 22px;}
  .home footer{padding:48px 22px 24px;}
  .home footer .footer-contacto{padding:32px 22px;margin:0 auto 40px;}

  /* Las flechas del slider quedaban encima del texto, ilegibles -- en mobile ya se navega
     con los puntos o deslizando, las flechas sobran. */
  .home .slider-arrow{display:none;}
  .home .slider{height:520px;}
  .home .slide-info{padding:0 24px;max-width:100%;}
  .home .slide-info h3{font-size:26px;}
  .home .slide-info p{font-size:13.5px;}
}
