:root{--navy:#071321;--blue:#0b5ed7;--blue2:#0a3b75;--gold:#f5c84b;--text:#111827;--muted:#667085;--bg:#f4f7fb;--white:#fff;--line:#d8e0ea;--radius:22px;--shadow:0 24px 70px rgba(7,19,33,.18)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--text);line-height:1.55}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.container{width:min(1160px,92%);margin-inline:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(7,19,33,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}.nav-wrap{height:78px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:#fff;margin-right:auto}.brand strong{display:block;letter-spacing:.08em;font-size:19px}.brand small,.footer small{display:block;color:#cbd5e1;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.brand-icon{width:42px;height:34px;border:3px solid #fff;border-radius:3px;position:relative;box-shadow:inset 16px 0 0 transparent}.brand-icon:before{content:"";position:absolute;left:48%;top:0;bottom:0;width:3px;background:#fff}.brand-icon:after{content:"";position:absolute;right:7px;top:11px;width:3px;height:10px;background:var(--blue);border-radius:2px}.nav{display:flex;gap:22px;color:#e5e7eb;font-weight:700;font-size:14px}.nav a:hover{color:#fff}.nav-cta{background:var(--blue);color:#fff;padding:11px 18px;border-radius:999px;font-weight:800}.menu-btn{display:none;background:transparent;color:#fff;border:0;font-size:28px}.hero{position:relative;min-height:740px;color:#fff;display:grid;align-items:center;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,33,.95) 0%,rgba(7,19,33,.86) 42%,rgba(7,19,33,.35) 100%),url('../img/hero-modern-house.jpg') center/cover no-repeat;transform:scale(1.03)}.hero:after{content:"";position:absolute;inset:auto 0 0 0;height:160px;background:linear-gradient(0deg,#fff,transparent)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 365px;gap:44px;align-items:center;padding:120px 0}.eyebrow{margin:0 0 14px;color:#8ab8ff;text-transform:uppercase;font-size:13px;letter-spacing:.22em;font-weight:900}.eyebrow.dark{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,6vw,78px);line-height:.98;letter-spacing:-.05em;margin-bottom:24px;max-width:820px}h2{font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.035em;margin-bottom:16px}h3{font-size:23px;line-height:1.18;margin-bottom:12px}.lead{font-size:21px;color:#e6edf7;max-width:760px}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin:32px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:15px 24px;font-weight:900;border:1px solid transparent;transition:.2s}.btn.primary{background:linear-gradient(135deg,var(--blue),#083a7a);color:#fff;box-shadow:0 14px 34px rgba(11,94,215,.35)}.btn.primary:hover{transform:translateY(-2px)}.btn.ghost{border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.08)}.btn.outline{border-color:var(--line);color:var(--navy);background:#fff}.btn.full{width:100%;margin-bottom:12px}.trust-row{display:flex;flex-wrap:wrap;gap:10px}.trust-row span,.chips span{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.09);padding:8px 12px;border-radius:999px;font-size:13px;font-weight:800}.quote-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);box-shadow:var(--shadow);padding:28px;border-radius:var(--radius);backdrop-filter:blur(18px)}.quote-card h2{font-size:29px}.quote-option{padding:18px;border-radius:16px;background:rgba(255,255,255,.1);margin-bottom:14px}.quote-option strong,.quote-option span{display:block}.quote-option span{color:#dbe7f6;font-size:14px;margin-top:5px}.mini-link{display:inline-block;margin-top:8px;color:#fff;font-weight:900}.section{padding:92px 0}.section.muted{background:var(--bg)}.section-head{text-align:center;max-width:850px;margin:0 auto 42px}.section-head.left{text-align:left;margin-left:0}.section-head p{font-size:18px;color:var(--muted)}.cards{display:grid;gap:24px}.cards.two{grid-template-columns:repeat(2,1fr)}.card{position:relative;border:1px solid var(--line);border-radius:var(--radius);padding:34px;box-shadow:0 12px 34px rgba(17,24,39,.06)}.card.featured{background:linear-gradient(145deg,#071321,#0b2b53);color:#fff}.card.featured p,.card.featured li{color:#d8e8fb}.card p,.card li{color:#566274}.card-number{display:inline-flex;margin-bottom:28px;color:var(--blue);font-weight:900;font-size:14px;border:1px solid var(--line);padding:6px 10px;border-radius:999px}.featured .card-number{color:#fff;border-color:rgba(255,255,255,.25)}ul{padding-left:19px;margin-bottom:0}.image-band{position:relative;min-height:440px;overflow:hidden;background:#071321}.image-band img{width:100%;height:520px;object-fit:cover;opacity:.72}.band-copy{position:absolute;left:8%;bottom:45px;color:#fff;max-width:660px}.band-copy h2{font-size:clamp(32px,4.5vw,58px)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 14px 32px rgba(17,24,39,.08)}.product-card img{height:205px;width:100%;object-fit:cover}.product-card div{padding:22px}.product-card p{color:var(--muted);font-size:15px}.split-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;align-items:center}.rounded-img{border-radius:var(--radius);box-shadow:var(--shadow)}.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.chips span{color:var(--navy);border-color:var(--line);background:#fff}.dark-section{background:#071321;color:#fff}.dark-section .section-head p{color:#c7d5e8}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.steps article{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:26px;border-radius:20px}.steps span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--blue);font-weight:900;margin-bottom:20px}.steps p{color:#c7d5e8}.gallery-grid{display:grid;grid-template-columns:1.25fr .75fr 1fr;gap:18px}.gallery-grid img{height:330px;width:100%;object-fit:cover;border-radius:20px}.gallery-grid img:nth-child(2){height:330px}.contact{background:linear-gradient(180deg,#fff,var(--bg))}.contact-grid{display:grid;grid-template-columns:1fr 390px;gap:50px;align-items:start}.check-list{list-style:none;padding:0}.check-list li{position:relative;padding-left:30px;margin-bottom:12px;color:#4b5563}.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--blue);font-weight:900}.contact-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow)}.contact-card h3{font-size:32px}.contact-card p{color:var(--muted)}.email{display:block;text-align:center;color:var(--blue);font-weight:900;margin-top:8px}.footer{background:#06101d;color:#fff;padding:32px 0}.footer-grid{display:grid;grid-template-columns:220px 1fr auto;gap:20px;align-items:center}.footer p{margin:0;color:#cbd5e1}.footer a{color:#fff;font-weight:800}@media (max-width:980px){.nav,.nav-cta{display:none}.menu-btn{display:block}.nav.open{display:flex;position:absolute;top:78px;left:0;right:0;background:#071321;flex-direction:column;padding:22px 4%;border-top:1px solid rgba(255,255,255,.1)}.hero-grid,.cards.two,.split-grid,.contact-grid{grid-template-columns:1fr}.hero{min-height:auto}.quote-card{max-width:500px}.product-grid,.steps{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.section{padding:70px 0}}@media (max-width:620px){.nav-wrap{height:70px}.brand strong{font-size:16px}.brand-icon{width:36px;height:29px}.hero-grid{padding:88px 0}.lead{font-size:18px}.product-grid,.steps{grid-template-columns:1fr}.hero-actions .btn{width:100%}.image-band img{height:430px}.band-copy{left:5%;right:5%}.card{padding:25px}.contact-card{padding:24px}}

.proof{background:#f8fafc}.proof .contact-card{align-self:center}

/* Logo YC Ventanas actualizado */
.brand-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand-logo img{
  height:54px;
  width:auto;
  display:block;
}
@media (max-width:700px){
  .brand-logo img{height:46px;}
}


/* Mejoras SEO/local + WhatsApp flotante */
.seo-local{
  background:#f8fafc;
}
.seo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:28px;
}
.seo-grid > div{
  
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.seo-grid h3{
  margin-top:0;
}
.areas-text{
  margin-top:24px;
}
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:999;
  background:#25D366;
  color:#fff;
  font-weight:800;
  text-decoration:none;
  padding:15px 20px;
  border-radius:999px;
  box-shadow:0 16px 35px rgba(0,0,0,.22);
}
.whatsapp-float:hover{
  transform:translateY(-2px);
}
@media(max-width:900px){
  .seo-grid{grid-template-columns:1fr;}
  .whatsapp-float{right:14px;bottom:14px;padding:13px 17px;}
}

.legal-links a{color:inherit;opacity:.85;text-decoration:none}.legal-links a:hover{text-decoration:underline;opacity:1}


/* Páginas SEO específicas */
.seo-page-header{
  background:linear-gradient(135deg,#0f2436,#102f4f);
  color:#fff;
  padding:24px 8% 70px;
}
.seo-page-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:55px;
}
.seo-back,.seo-nav-btn{
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.seo-nav-btn{
  background:#1d74d8;
  padding:12px 18px;
  border-radius:999px;
}
.seo-page-hero{
  max-width:920px;
}
.seo-page-hero h1{
  font-size:clamp(36px,6vw,68px);
  line-height:1.05;
  margin:10px 0 18px;
}
.seo-page-hero p{
  font-size:20px;
  max-width:820px;
}
.seo-page-main{
  max-width:1100px;
  margin:0 auto;
  padding:55px 22px;
}
.seo-page-section{
  
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  padding:32px;
  margin-bottom:24px;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}
.seo-page-section h2{
  color:#0f2f4f;
  margin-top:0;
}
.seo-page-section li{
  margin-bottom:8px;
}
.seo-highlight{
  background:#f8fafc;
}
.seo-cta{
  background:#0f2f4f;
  color:#fff;
  border-radius:24px;
  padding:38px;
  text-align:center;
  margin:30px 0;
}
.seo-cta h2{
  color:#fff;
}
.seo-related{
  background:#f8fafc;
  border-radius:22px;
  padding:28px;
  display:grid;
  gap:12px;
}
.seo-related a{
  color:#0f2f4f;
  font-weight:800;
  text-decoration:none;
}
.seo-page-footer{
  background:#081d31;
  color:#fff;
  text-align:center;
  padding:32px 8%;
}
.seo-page-footer a{
  color:#fff;
}
.seo-links-home{
  background:#f8fafc;
}
.seo-link-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:24px;
}
.seo-link-grid a{
  
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:22px;
  text-decoration:none;
  color:#0f2f4f;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.seo-link-grid span{
  display:block;
  color:#475569;
  margin-top:8px;
  font-weight:400;
}
@media(max-width:900px){
  .seo-link-grid{grid-template-columns:1fr;}
  .seo-page-nav{align-items:flex-start;flex-direction:column;}
}


.back-to-top{
position:fixed;
right:20px;
bottom:20px;
width:52px;
height:52px;
border-radius:50%;
background:#0f2f4f;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
text-decoration:none;
opacity:0;
visibility:hidden;
transition:.3s ease;
z-index:9999;
box-shadow:0 10px 25px rgba(0,0,0,.25);
}
.back-to-top.show{
opacity:1;
visibility:visible;
}
.back-to-top:hover{
transform:translateY(-3px);
}


/* Ajuste logo YC Ventanas en cabecera */
html{scroll-behavior:smooth;}
.brand-logo img,
.inline-logo-img{
  display:block;
  max-height:64px;
  width:auto;
  max-width:360px;
  object-fit:contain;
  
  border-radius:8px;
}
@media(max-width:700px){
  .brand-logo img,
  .inline-logo-img{
    max-height:52px;
    max-width:260px;
  }
}
.back-to-top,
a[href="#top"]{
  cursor:pointer;
}


/* Logo integrado en panel oscuro */
.brand-integrated{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand-integrated img{
  height:56px !important;
  width:auto !important;
  max-width:270px !important;
  display:block !important;
  object-fit:contain !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
@media(max-width:700px){
  .brand-integrated img{
    height:46px !important;
    max-width:230px !important;
  }
}


/* Logo integrado en header oscuro */
.brand-integrated{
  display:flex !important;
  align-items:center !important;
  text-decoration:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand-integrated img{
  height:56px !important;
  width:auto !important;
  max-width:270px !important;
  display:block !important;
  object-fit:contain !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
@media(max-width:700px){
  .brand-integrated img{
    height:46px !important;
    max-width:230px !important;
  }
}

/* Logo dentro de la tarjeta de contacto */
.contact-logo-box{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:18px;
}
.contact-logo-box img{
  width:100%;
  max-width:250px;
  height:auto;
  display:block;
  object-fit:contain;
}

/* Footer organizado */
.site-footer{
  background:#071321;
  color:#fff;
  padding:46px 8% 22px;
}
.footer-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:34px;
  align-items:flex-start;
}
.footer-brand img{
  max-width:270px;
  height:auto;
  display:block;
  margin-bottom:16px;
}
.footer-brand p{
  margin:0;
  color:#dbe7f3;
  line-height:1.6;
}
.footer-links,
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links h4,
.footer-contact h4{
  margin:0 0 8px;
  color:#fff;
  font-size:18px;
}
.footer-links a,
.footer-contact a{
  color:#dbe7f3;
  text-decoration:none;
  font-weight:600;
}
.footer-links a:hover,
.footer-contact a:hover{
  color:#fff;
  text-decoration:underline;
}
.footer-bottom{
  max-width:1180px;
  margin:32px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  color:#cbd5e1;
  font-size:14px;
}
.footer-bottom a{
  color:#cbd5e1;
  text-decoration:none;
}
.footer-bottom a:hover{
  color:#fff;
  text-decoration:underline;
}
html{scroll-behavior:smooth;}
@media(max-width:800px){
  .footer-inner{
    grid-template-columns:1fr;
    text-align:left;
  }
  .footer-brand img{
    max-width:240px;
  }
}
