*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent:  #F97316;
  --blue:    #0F172A;
  --blue2:   #0B1120;
  --text:    #1A1F2E;
  --muted:   #6B7A90;
  --bg:      #FFF9F5;
  --white:   #FFFFFF;
  --card-bg: #FCFDFD;
  --card-alt: #FFF9F5;
  --wa:      #25D366;
  --red:     #DC2626;
  --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: 22px;
}
.hdr-emergency {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .08em;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.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: #25D366;
  background: rgba(37,211,102,.16);
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
}
.hdr-wa-icon svg { width: 56px; height: 56px; color: #25D366; }
.hdr-wa:hover { opacity: .88; }

.hero {
  position: relative; overflow: hidden;
  min-height: 600px; padding-top: 56px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92), rgba(11,17,32,0.88));
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1250px; margin: 0 auto;
  padding: 18px 24px 60px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: 48px; align-items: center;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-block;
  background: var(--red); 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: 0.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(249,115,22,.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(249,115,22,.30); }
.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; }
.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;
}
.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; max-width: 52ch; margin-left: auto; margin-right: auto; }
.section-title-sub { text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin-bottom: 12px; color: var(--text); }
.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(18px, 2vw, 22px); line-height: 1.85; text-align: left; }

.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 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-section { background: var(--bg); }
.seo-inner { padding-top: 6px; }
.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; }
.seo-p a.seo-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(15,23,42,.35); text-underline-offset: 2px; }
.seo-p a.seo-link:hover { color: var(--accent, #0F172A); text-decoration-color: var(--accent, #0F172A); }
.seo-list { max-width: 760px; margin: 0.75rem auto 0; color: var(--muted); line-height: 1.8; padding-left: 20px; }
.seo-list li { margin-bottom: 6px; }
.seo-list strong { color: var(--text); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 28px auto 0;
  max-width: 1100px;
}
.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;
}
.service-card:hover { box-shadow: 0 14px 38px rgba(16,25,54,.12); transform: translateY(-3px); }
.service-card { text-align: center; }
.service-icon { font-size: 28px; margin-bottom: 8px; text-align: center; }
.service-icon img { width: 44px; height: 44px; 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); }
.service-card p a { font-size: 0.85em; font-weight: 700; color: #000; }

.urgencias-banner {
  background: linear-gradient(135deg, var(--red), #991B1B);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  margin: 28px 0;
  border-radius: 16px;
}
.urgencias-banner h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}
.urgencias-banner p {
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
  text-align: center;
}
.urgencias-banner .cta-phone {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: #fff;
  transition: opacity .2s;
}
.urgencias-banner .cta-phone:hover { opacity: .85; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px auto 0;
  max-width: 800px;
}
.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;
}

.amaestramiento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px auto 0;
  max-width: 720px;
}
.amaestramiento-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(16,25,54,.08);
}
.amaestramiento-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}
.amaestramiento-card p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  line-height: 1.7;
}

.seguridad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px auto 0; max-width: 720px; }
.seguridad-card {
  background: var(--white);
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(16,25,54,.08);
}
.seguridad-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}
.seguridad-card p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  line-height: 1.7;
}

.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 720px; margin: 28px auto 0; }
.ad-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; min-height: 180px;
}
.ad-img { width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.ad-img:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.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; }
.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; flex-direction: column; align-items: center; gap: 12px; }
.cta-btns .cta-btn-wa, .cta-btns .cta-btn-form { justify-content: center; min-width: 300px; }
.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); }

.search-float {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 1200;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #fff;
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(15,23,42,.18), 0 16px 34px rgba(15,23,42,.28);
  transition: transform .2s, box-shadow .2s;
}
.search-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.search-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15,23,42,.34);
}
.search-float:active { transform: translateY(0); }
.search-float .search-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: rgba(13,27,53,.95);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15,23,42,.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.search-float .search-float-tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(15,23,42,.95);
}
.search-float:hover .search-float-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 760px) {
  .search-float {
    right: 14px;
    bottom: 88px;
    width: 54px;
    height: 54px;
  }
}

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-links { margin: 8px 0 4px; }
.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 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-locations { margin: 18px auto 0; max-width: 1100px; width: 100%; }
.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(249,115,22,.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-inner { grid-template-columns: 1fr; gap: 24px; padding: 48px 22px 52px; }
  .hero-text { text-align: center; }
  .hero-text .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .form-card { max-width: 540px; margin: 0 auto; }
  .ad-grid { max-width: 100%; }
  .services-grid, .amaestramiento-grid, .seguridad-grid, .ad-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero { min-height: 520px; }
  .hero-inner { grid-template-columns: 1fr; padding: 0px 18px 40px; gap: 30px; }
  .hero-text h1 { font-size: clamp(28px, 8vw, 46px); letter-spacing: 0.02em; }
  .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, .amaestramiento-grid, .seguridad-grid { grid-template-columns: 1fr; gap: 16px; }
  .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: 15px; }
  .hero-text h1 { letter-spacing: 0.05em; }
  .hdr-emergency { font-size: 9px; padding: 3px 8px; }
  .hdr-wa { font-size: 22px; gap: 8px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 0px 16px 32px; 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-inner p, .section-inner li, .seo-article p { line-height: 1.8; }
  .service-card { padding: 8px 14px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .ad-grid { grid-template-columns: 1fr; gap: 18px; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card h3 { font-size: 22px; }
  .service-card p { font-size: 17px; }
  .cta-btns { align-items: stretch; }
  .cta-btns .cta-btn-wa, .cta-btns .cta-btn-form { width: 100%; }
}
