*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent:  #2563EB;
  --blue:    #0F172A;
  --blue2:   #0B1120;
  --text:    #1A1F2E;
  --muted:   #6B7A90;
  --bg:      #F8FAFC;
  --white:   #FFFFFF;
  --card-bg: #FCFDFD;
  --card-alt: #FAFBFC;
  --wa:      #25D366;
  --radius:  12px;
}
html { scroll-behavior: smooth; overflow-y: scroll; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--blue2);
  padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hdr-brand {
  display: flex; align-items: center; gap: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 14px;
}
.dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
.hdr-wa {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900; font-size: 28px;
  padding: 4px 0; border-radius: 0;
  transition: opacity .2s; white-space: nowrap;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.hdr-wa-icon {
  display: inline-flex; align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: #22C55E;
  background: rgba(34,197,94,.16);
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
}
.hdr-wa-icon svg { width: 56px; height: 56px; color: #22C55E; }
.hdr-wa:hover { opacity: .88; }

.hero {
  position: relative; overflow: hidden;
  min-height: 760px; padding-top: 56px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 12px;
  transform: scaleX(-1);
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.52) 0%, rgba(15,23,42,0.72) 55%, rgba(11,17,32,0.80) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1250px; margin: 0 auto;
  padding: 78px 24px 78px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: 48px; align-items: center;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-block;
  background: rgba(56,189,248,.9); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800; line-height: 1.05; margin-bottom: 18px;
  letter-spacing: -.03em;
}
.hero-text h1 span { color: var(--accent); }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: rgba(255,255,255,.88); margin-bottom: 28px; max-width: 680px; line-height: 1.6; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hbadge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: clamp(13px, 1.3vw, 15px); font-weight: 500;
  padding: 7px 14px; border-radius: 100px;
}

.form-card {
  background: #CBD5E1;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.14);
   padding: 20px;
  border: 1px solid #B0BCCF;
  max-width: 440px;
  width: 100%;
   margin: -50px auto 0;
}
.form-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  color: #000; line-height: 1.2;
}
.form-card-sub { font-size: clamp(16px, 1.8vw, 18px); color: #000; margin-bottom: 20px; text-align: center; font-weight: 600; line-height: 1.4; }

.field { margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid #000; border-radius: 14px;
  font-family: 'Inter', sans-serif; font-size: clamp(15px, 1.5vw, 17px);
  color: #000; background: #F7F8FB;
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #000;
  background: #EFF3F9;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #000; box-shadow: 0 0 0 4px rgba(56,189,248,.12);
  background: #fff;
}
.field select { padding-right: 40px; cursor: pointer; }
.field select option:first-child { color: #475569; }
.field textarea { resize: vertical; min-height: 72px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%236B7A90' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
}

.btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.btn-primary, .btn-wa-form {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 18px; border: none; border-radius: 16px;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, filter .2s;
  min-height: 56px; white-space: nowrap;
}
.btn-primary   { background: var(--accent); color: #fff; box-shadow: 0 16px 30px rgba(37,99,235,.25); }
.btn-wa-form   { background: var(--wa);     color: #fff; box-shadow: 0 16px 30px rgba(37,211,102,.20); }
.btn-primary:hover, .btn-wa-form:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 35px rgba(0,0,0,.18);
}
.btn-primary:active, .btn-wa-form:active { transform: translateY(0); }
.btn-primary svg, .btn-wa-form svg { width: 20px; height: 20px; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.form-note { font-size: clamp(11px, 1.1vw, 13px); color: #1E293B; text-align: center; margin-top: 8px; line-height: 1.5; }

#f-consent {
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  border: 2px solid #000; border-radius: 4px;
  appearance: none; cursor: pointer;
  background: #FAFBFC;
  transition: all .2s;
}
#f-consent:hover { border-color: #000; }
#f-consent:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M13.78 4.22a.75.75 0 010 1.06l-7.5 7.5a.75.75 0 01-1.06 0l-3.5-3.5a.75.75 0 011.06-1.06L5.97 11.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
#f-consent:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-consent-label { font-size: clamp(14px, 1.4vw, 16px); color: #000; line-height: 1.5; cursor: pointer; }
.form-privacy-note { font-size: clamp(13px, 1.3vw, 15px); color: #1E293B; line-height: 1.6; margin-bottom: 14px; max-width: 420px; }
.feedback {
  display: none; padding: 11px; border-radius: 8px;
  font-size: 13px; font-weight: 500; text-align: center; margin-top: 12px;
}
.feedback.ok    { display:block; background:#DCFCE7; color:#166534; }
.feedback.error { display:block; background:#FEE2E2; color:#991B1B; }

.section { padding: 88px 24px; }
.tipos-section { padding-top: 0; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 800;
  text-align: center;
  margin: 44px auto 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.section-title:first-of-type { margin-top: 0; }

.section-title svg, .section-title img { display: block; }
.section-sub { text-align: center; color: var(--accent); font-size: clamp(15px, 1.6vw, 17px); margin-bottom: 16px; line-height: 1.6; }
.section-title-sub { text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.section-note { max-width: 760px; margin: 0 auto 32px; color: rgba(255,255,255,.88); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.8; text-align: center; }

.section-inner p, .section-inner li, .seo-article p { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.8; }

.section-inner h3 { font-size: clamp(22px, 2.8vw, 27px); font-weight: 700; margin-top: 14px; margin-bottom: 18px; color: var(--text); line-height: 1.25; }
.section-inner h4 { font-size: clamp(19px, 2.3vw, 23px); font-weight: 700; margin-top: 12px; margin-bottom: 16px; color: var(--text); line-height: 1.3; }
.section-inner article { margin-top: 12px; }
.section-inner article h3 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 10px; }
.section-inner p, .section-inner li { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); }
.section-inner ul { margin-top: 10px; padding-left: 20px; }
.section-inner hr { border: none; height: 1px; background: rgba(0,0,0,0.06); margin: 26px 0; }
#seo-zona { color: var(--accent); font-weight:700; }

.seo-section { background: var(--bg); }
.seo-inner { padding-top: 6px; }
.seo-h3 { font-size: clamp(20px,3vw,26px); margin: 28px auto 8px; color: var(--text); text-align: center; max-width: 760px; font-weight: 800; letter-spacing: -.02em; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px auto 0;
  max-width: 1100px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(16,25,54,.08);
  transition: box-shadow .25s, transform .25s;
}
.step-card:hover { box-shadow: 0 14px 38px rgba(16,25,54,.12); transform: translateY(-3px); }
.step-num {
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.step-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.7vw, 18px); font-weight: 700;
  margin-bottom: 8px; line-height: 1.35;
}
.step-body p {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-card { padding: 22px 18px; }
  .services-grid { gap: 14px; }
  .service-card { padding: 8px 14px; }
}
.seo-h4 { margin: 20px auto 10px; color: var(--text); font-size: clamp(18px,2.5vw,22px); font-weight: 800; text-align: center; letter-spacing: -.01em; }
.seo-p { width: 100%; max-width: 760px; margin: 12px auto 0; color: var(--muted); line-height: 1.85; font-size: clamp(17px, 1.8vw, 20px); font-weight: 450; text-align: justify; }
.seo-p p { width: 100%; }
.seo-p a.seo-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(107,122,144,.45); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.seo-p a.seo-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.seo-p a.seo-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(37,99,235,.45); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.seo-p a.seo-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.seo-list { max-width: 760px; margin: 0.75rem auto 0; color: var(--muted); line-height: 1.8; padding-left: 20px; }
.seo-hr { opacity: .06; margin: 26px 0; border: none; height: 1px; background: rgba(0,0,0,.06); }
.seo-article { max-width: 760px; margin: 0.75rem auto 0; color: var(--muted); line-height: 1.8; }
.seo-note { max-width: 760px; margin: 1rem auto 0; color: var(--muted); line-height: 1.8; font-size: clamp(16px, 1.6vw, 18px); }

.seo-calles { max-width: 760px; margin: 12px auto 0; text-align: center; min-height: 50px; }
.seo-calles-tag {
  display: inline-block;
  background: rgba(56,189,248,.08);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  margin: 3px 2px;
  letter-spacing: .01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto 34px;
  max-width: 900px;
  min-height: 400px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 8px 14px 16px;
  transition: box-shadow .25s, transform .25s;
  box-shadow: 0 12px 30px rgba(16,25,54,.08);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.service-card:hover { box-shadow: 0 14px 38px rgba(16,25,54,.12); transform: translateY(-3px); }
.service-icon { font-size: 28px; margin-bottom: 8px; text-align: center; }
.service-card { text-align: center; }
.service-icon img { width: 40px; height: 40px; display:block; margin:0 auto; padding-top: 12px; }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
}
.service-card p { font-size: clamp(15px, 1.6vw, 17px); color: var(--muted); text-align: left; }
.service-card p a { font-size: 0.85em; font-weight: 700; color: #000; }

.antes-despues { background: var(--blue2); }
.antes-despues .section-title,
.antes-despues .section-sub { color: #fff; }
.antes-despues .section-sub { color: rgba(255,255,255,.65); }
.ventanas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 680px; margin: 28px auto 0; }
.ventanas-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; display: block; transition: transform .3s ease, box-shadow .3s ease; }
.ventanas-grid img:hover { transform: scale(1.04); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 720px; margin: 0 auto; min-height: 400px; }
.ad-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; background: transparent;
  min-height: 180px; display: flex; align-items: flex-end;
}
.ad-img { width: 100%; height: 200px; object-fit: cover; display: block; opacity: 1; border-radius: 12px; filter: saturate(1.05) brightness(1.02); transition: transform .3s ease, box-shadow .3s ease; margin-top: 28px; }
.ad-img:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.ad-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #0F172A 0%, #38BDF8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .5;
  color: #fff;
}
.ad-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  min-height: 200px;
}
.testimonio-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 22px 20px;
}
.test-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.test-name { font-family: 'Space Grotesk', sans-serif; font-size: clamp(14px, 1.5vw, 16px); font-weight: 700; }
.test-stars { color: #F59E0B; font-size: clamp(13px, 1.3vw, 15px); }
.test-text { font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); line-height: 1.7; }

.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; min-height: 350px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px); font-weight: 600;
  user-select: none;
  transition: background .15s; line-height: 1.4;
}
.faq-q:hover { background: #F8FAFC; }
.faq-q .arrow {
  flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  transition: transform .3s;
}
.faq-item.open .arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); line-height: 1.7;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 16px; }

.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  text-align: center; padding: 56px 24px; color: #fff;
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 4vw, 34px); font-weight: 800; margin-bottom: 10px;
}
.cta-section p { color: rgba(255,255,255,.72); margin-bottom: 28px; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
  padding: 15px 28px; border-radius: 12px;
  transition: opacity .2s;
}
.cta-btn-wa:hover { opacity: .88; }
.cta-btn-form {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700;
  padding: 13px 28px; border-radius: 12px;
  transition: background .2s; cursor: pointer;
}
.cta-btn-form:hover { background: rgba(255,255,255,.25); }

footer {
  background: var(--blue2); color: rgba(255,255,255,.7);
  text-align: center; padding: 24px 16px; font-size: clamp(12px, 1.2vw, 14px); line-height: 1.7;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 8px 12px; }
.footer-zonas-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin: 14px 0 10px;
  letter-spacing: .03em;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 16px; }
.footer-social { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: rgba(255,255,255,.75); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover { color: #fff; background: rgba(255,255,255,.16); transform: translateY(-2px); }
.footer-social svg { width: 14px; height: 14px; display: block; }
.footer-otros-serv { margin: 12px 0 4px; }
.footer-otros-serv a {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); text-align: center; line-height: 1.5;
  font-size: 12px; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(255,255,255,.18); border-radius: 100px;
  padding: 8px 18px; transition: background .2s, color .2s;
}
.footer-otros-serv a:hover { color: #fff; background: rgba(255,255,255,.1); }
.footer-links { margin: 8px 0 4px; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: underline; font-weight: 500; font-size: 12px; line-height: 1.6; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,.5); margin: 14px auto 6px; max-width: 600px; text-align: center; line-height: 1.6; }
.footer-legal a { color: rgba(255,255,255,.7); text-decoration: underline; font-weight: 500; }
.footer-legal a:hover { color: #fff; }
.footer-locations { margin: 18px auto 0; max-width: 1100px; width: 100%; min-height: 400px; }
.footer-locations-group ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px; list-style: none; padding: 0; margin: 0;
}
.footer-locations-group li {
  width: calc(20% - 6px); min-width: 130px;
  display: flex; justify-content: center;
}
.footer-locations-group { text-align: center; }
.footer-locations-group h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px; text-align: center;
}
.footer-locations a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 38px;
  padding: 5px 8px; border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
  text-decoration: none; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 400; letter-spacing: .015em;
  line-height: 1.3; text-align: center;
  transition: background .2s, transform .15s;
}
.footer-locations a:hover { background: rgba(56,189,248,.25); transform: translateY(-1px); }

@media (max-width: 760px) {
  .footer-locations-group li { width: calc(50% - 6px); min-width: 0; }
  .footer-locations a { min-height: 34px; font-size: 11px; }
}

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: 100%; max-width: 420px;
  background: var(--white); border-radius: 18px;
  padding: 36px 28px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.30);
  transform: translateY(16px) scale(.97);
  transition: transform .25s ease;
}
.modal-overlay.show .modal-card { transform: translateY(0) scale(1); }
.modal-icon { font-size: 52px; line-height: 1; margin-bottom: 12px; }
.modal-msg { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 12px; font-weight: 600;
  font-size: 15px; text-decoration: none; cursor: pointer;
  border: none; transition: transform .15s ease, filter .15s ease;
}
.modal-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.modal-btn-primary { background: var(--accent); color: #fff; }
.modal-btn-wa { background: var(--wa); color: #fff; }

.wa-float {
  position: fixed; bottom: 22px; right: 18px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25); z-index: 999;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

@media (max-width: 1024px) {
  .section { padding: 76px 20px; }
  .section-inner { max-width: 960px; }
  .hero { min-height: auto; background: var(--blue2); }
  .hero-bg { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
  .hero-overlay {
    position: absolute; inset: auto; top: 56px; left: 0; right: 0;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(15,23,42,0.10) 0%, rgba(15,23,42,0.50) 60%, rgba(11,17,32,1) 100%);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 48px 22px 56px; }
  .hero-text { text-align: center; }
  .hero-badges { justify-content: center; }
  .form-card { max-width: 540px; margin: 0 auto; }
  .ad-grid { max-width: 100%; }
  .services-grid, .ad-grid, .testimonios-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 18px 52px; gap: 30px; }
  .hero-text h1 { font-size: clamp(28px, 8vw, 46px); }
  .hero-sub { font-size: 18px; margin-bottom: 24px; max-width: 100%; }
  .form-card { margin-top: 0; padding: 30px 20px; border-radius: 24px; }
  .form-card-title { font-size: 24px; }
  .form-card-sub { font-size: 15px; margin-bottom: 18px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px 14px; }
  .btn-primary, .btn-wa-form { font-size: 16px; min-height: 54px; padding: 16px 16px; }
  .section-inner p, .section-inner li, .seo-article p { line-height: 1.85; }
  .section-title { font-size: clamp(28px, 6vw, 38px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .testimonios-grid, .faq-list { gap: 20px; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 22px 14px; }
  .ad-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .section { padding: 48px 16px; }
  .hdr-brand { font-size: 13px; }
  .hdr-wa { font-size: 22px; gap: 8px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 40px 16px 46px; gap: 24px; }
  .hero-text h1 { font-size: clamp(26px, 10vw, 40px); }
  .hero-sub { font-size: 17px; }
  .form-card { padding: 24px 16px; border-radius: 20px; max-width: 100%; width: 100%; }
  .form-card-title { font-size: 22px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }
  .btn-group { grid-template-columns: 1fr; }
  .btn-primary, .btn-wa-form { font-size: 15px; min-height: 52px; padding: 14px 14px; width: 100%; }
  .section-title { font-size: clamp(26px, 7vw, 34px); }
  .section-sub { font-size: 16px; }
  .section-note { font-size: 16px; }
  .seo-h3 { font-size: clamp(18px,4vw,22px); margin: 20px auto 6px; }
  .seo-h4 { font-size: clamp(16px,3.5vw,20px); margin: 14px auto 8px; }
  .section-inner p, .section-inner li, .seo-article p { line-height: 1.8; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 8px 14px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .ventanas-grid { grid-template-columns: 1fr; }
  .ad-grid { grid-template-columns: 1fr; gap: 18px; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .service-card h3 { font-size: 24px; }
  .service-card p { font-size: 17px; }
}

.blog-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px;
}
.blog-card {
  background: var(--bg); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,.55);
}
.blog-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
}
.blog-card-body {
  padding: 20px; flex: 1; display: flex; flex-direction: column;
}
.blog-card h3 {
  font-size: clamp(17px,2vw,20px); color: var(--text); margin: 0 0 12px; line-height: 1.4;
}
.blog-card p {
  font-size: clamp(14px, 1.5vw, 16px); color: var(--muted); line-height: 1.75; margin: 0 0 10px;
}
.blog-card .blog-thumb-wrap {
  display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 6px;
}
.blog-card .blog-thumb {
  width: 80px; height: 80px; object-fit: cover; border-radius: 10px; flex-shrink: 0;
}
.blog-card .blog-thumb-text {
  font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0;
}
.blog-card hr {
  border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 14px 0 0;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.tipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 28px auto 0;
  max-width: 1008px;
}
.tipo-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(16,25,54,.08);
  transition: box-shadow .3s ease, transform .3s ease;
}
.tipo-card:hover { box-shadow: 0 20px 48px rgba(16,25,54,.12); transform: translateY(-4px); }
.tipo-card img {
  width: 100%; height: 200px; object-fit: cover; display: block; background: var(--bg);
}
.tipo-card-body { padding: 16px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.tipo-card-body p { flex: 1; }
.tipo-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: var(--text);
}
.tipo-card p { font-size: clamp(15px, 1.6vw, 17px); color: var(--muted); line-height: 1.7; }

@media (max-width: 768px) {
  .tipos-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tipo-card-body { padding: 14px 16px 18px; }
}
@media (max-width: 480px) {
  .tipos-grid { grid-template-columns: 1fr; gap: 16px; }
}
