*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet:       #6B4FA3;
  --violet-dark:  #4A2D82;
  --violet-deep:  #2C1E4A;
  --violet-mid:   #8B6BBF;
  --violet-light: #C4AEED;
  --lavender:     #EDE8FA;
  --lavender-soft:#F5F2FC;
  --white:        #FFFFFF;
  --text-dark:    #1A1230;
  --text-mid:     #4A4060;
  --text-light:   #7A7090;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-mid);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--white);
}

/* ─────────── HEADER ─────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid #E8E0F5;
  box-shadow: 0 2px 12px rgba(107,79,163,.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .85rem 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header-logo img { height: 48px; width: auto; display: block; }
.header-nav { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.header-nav > li { position: relative; }
.header-nav a {
  text-decoration: none; font-size: .9rem; font-weight: 600;
  color: var(--text-mid); transition: color .2s;
}
.header-nav a:hover { color: var(--violet); }

/* Dropdown */
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: .25rem; cursor: pointer;
}
.nav-dropdown-toggle svg {
  width: 13px; height: 13px; stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + .8rem); left: 0;
  background: var(--white);
  border: 1px solid #E8E0F5;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(107,79,163,.13);
  list-style: none;
  min-width: 170px;
  padding: .4rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu li a {
  display: block; padding: .6rem 1.2rem;
  font-size: .88rem; font-weight: 600;
  color: var(--text-mid); transition: color .15s, background .15s;
  border-radius: 0;
}
.nav-dropdown-menu li a:hover { color: var(--violet); background: var(--lavender-soft); }
.nav-dropdown-menu li:first-child a { border-radius: 10px 10px 0 0; }
.nav-dropdown-menu li:last-child a  { border-radius: 0 0 10px 10px; }

/* ─────────── HERO ─────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 60%, var(--violet-mid) 100%);
  position: relative;
  display: flex; align-items: center;
  padding: 7rem 5% 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.95);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.85);
  line-height: 1.75; margin-bottom: 2.5rem; max-width: 460px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: var(--white);
  padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.btn-wa svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid rgba(255,255,255,.5); color: var(--white);
  padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: white; }

/* Hero illustration */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-circle {
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  font-size: .82rem; font-weight: 700; color: var(--violet-dark);
  white-space: nowrap;
}
.hero-badge-float .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22C55E; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}
.hbf1 { top: 8%;  left: -0%;  animation: hbfloat 3.5s ease-in-out infinite; }
.hbf2 { bottom: 12%; right: -8%; animation: hbfloat 3.5s 1.2s ease-in-out infinite; }
.hbf3 { top: 45%; left: -12%; animation: hbfloat 3.5s 2.4s ease-in-out infinite; }
@keyframes hbfloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ─────────── SECTION BASE ─────────── */
.section { padding: 6rem 5%; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header-wrap { text-align: center; max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--violet); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--text-dark);
  line-height: 1.2; letter-spacing: -.02em;
}
.section-title em { font-style: normal; color: var(--violet); }
.section-sub {
  font-size: 1rem; color: var(--text-light);
  margin-top: .8rem; line-height: 1.75;
}
.section-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
}
.section-wave svg { display: block; width: 100%; }

/* ─────────── QUIÉNES SOMOS ─────────── */
.quienes { background: var(--white); }
.quienes-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-top: 3rem;
}
.quienes-body { margin-top: 1.5rem; }
.quienes-body p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.2rem; }
.quienes-body strong { color: var(--violet-dark); }
.quienes-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.quienes-list li {
  display: flex; align-items: flex-start; gap: .9rem;
  font-size: .95rem; color: var(--text-mid); font-weight: 500;
}
.check-icon {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: .05rem;
  background: var(--lavender); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 14px; height: 14px; stroke: var(--violet); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ─────────── SERVICIOS ─────────── */
.servicios { background: var(--lavender-soft); }
.servicios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem; margin-top: 3rem;
}
.serv-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(107,79,163,.08);
  border: 1px solid #EAE2F8;
  transition: all .3s;
}
.serv-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(107,79,163,.16); }
.serv-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--lavender);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.6rem;
}
.serv-icon svg { width: 36px; height: 36px; }
.serv-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem; font-weight: 900;
  color: var(--text-dark); margin-bottom: .8rem;
}
.serv-card p { font-size: .92rem; color: var(--text-light); line-height: 1.7; }
.serv-link {
  display: inline-block; margin-top: 1.3rem;
  font-size: .87rem; font-weight: 700; color: var(--violet);
  text-decoration: none; border-bottom: 2px solid var(--lavender);
  padding-bottom: .1rem; transition: border-color .2s;
}
.serv-link:hover { border-color: var(--violet); }

/* ─────────── SUCURSALES ─────────── */
.sucursales { background: var(--lavender-soft); }
.sucursales-grid {
  display: grid; grid-template-columns: 1fr;
  max-width: 1050px; margin: 3rem auto 0;
}
.suc-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(107,79,163,.08);
  border: 1px solid #EAE2F8;
  transition: all .3s;
  display: grid; grid-template-columns: 1fr 1fr;
}
.suc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(107,79,163,.14); }
.suc-map {
  height: 100%; min-height: 240px;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
  border-left: 1px solid #EAE2F8;
}
.suc-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.suc-info { padding: 2rem; }
.suc-info h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem; font-weight: 900; color: var(--text-dark); margin-bottom: 1rem;
}
.suc-detail {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: .7rem; font-size: .9rem; color: var(--text-mid);
}
.suc-detail svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; }
.suc-detail a { color: var(--violet); text-decoration: none; font-weight: 600; }
.suc-detail a:hover { text-decoration: underline; }
.suc-btn {
  display: block; margin-top: 1.3rem; text-align: center;
  background: var(--lavender); color: var(--violet);
  padding: .7rem 1.2rem; border-radius: 10px;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: all .2s;
}
.suc-btn:hover { background: var(--violet); color: var(--white); }

/* ─────────── CONTACTO ─────────── */
.contacto {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.contacto::before {
  content: '';
  position: absolute; top: -50%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contacto-inner { position: relative; z-index: 1; }
.contacto h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 1rem; letter-spacing: -.02em;
}
.contacto-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.8);
  max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.contacto-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-wa-big {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #25D366; color: var(--white);
  padding: 1rem 2.2rem; border-radius: 50px;
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: all .2s;
}
.btn-wa-big:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,.55); }
.btn-wa-big svg { width: 24px; height: 24px; fill: white; }
.btn-tel {
  display: inline-flex; align-items: center; gap: .7rem;
  border: 2px solid rgba(255,255,255,.5); color: var(--white);
  padding: 1rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  transition: all .2s;
}
.btn-tel:hover { background: rgba(255,255,255,.12); border-color: white; }
.btn-tel svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─────────── FOOTER ─────────── */
footer {
  background: var(--violet-deep);
  padding: 2.5rem 5%;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo img {
  height: 38px; width: auto;
  background: white; padding: 5px 10px; border-radius: 8px;
}
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,.35); font-size: .78rem; width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; margin-top: .5rem; }

/* ─────────── WHATSAPP FLOAT ─────────── */
.wa-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  text-decoration: none;
  animation: wapulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); animation-play-state: paused; }
.wa-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wapulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,.8); }
}

/* ─────────── SCROLL ANIMATIONS ─────────── */
/* Visible by default — JS adds .js-ready to <html> to enable animations */
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─────────── HAMBURGER ─────────── */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; z-index: 210;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--violet); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── PREMIUM ─────────── */
.premium {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 100%);
}
.premium-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.premium .section-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.95);
}
.premium .section-title { color: white; }
.premium .section-title em { color: var(--violet-light); font-style: normal; }
.premium-desc {
  color: rgba(255,255,255,.8); font-size: 1rem;
  line-height: 1.8; margin: 1rem 0 2rem;
}
.btn-premium {
  display: inline-flex; align-items: center; gap: .5rem;
  background: white; color: var(--violet-dark);
  padding: .85rem 1.8rem; border-radius: 50px;
  font-weight: 800; font-size: .95rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: all .2s;
}
.btn-premium:hover { background: var(--lavender); transform: translateY(-2px); }
.prem-steps { display: flex; flex-direction: column; gap: 1rem; }
.prem-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 1.2rem 1.4rem;
  transition: background .2s;
}
.prem-step:hover { background: rgba(255,255,255,.16); }
.prem-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.2); color: white;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.prem-step strong {
  display: block; color: white; font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: .95rem; margin-bottom: .3rem;
}
.prem-step p { font-size: .86rem; color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; }
.prem-badge {
  display: inline-block; margin-top: .5rem;
  background: rgba(255,255,255,.2); color: white;
  border: 1px solid rgba(255,255,255,.3);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: .2rem .7rem; border-radius: 20px;
}

/* ─────────── URNAS ─────────── */
.urnas { background: white; }
.urnas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.urna-card {
  background: var(--lavender-soft);
  border: 1.5px solid var(--lavender);
  border-radius: 20px; padding: 2rem 1.8rem;
  text-align: center; transition: all .3s;
}
.urna-card:hover {
  border-color: var(--violet-mid);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(107,79,163,.15);
}
.urna-img {
  width: 100%; height: 175px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; overflow: hidden;
}
.urna-img img {
  max-height: 160px; max-width: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.urna-card:hover .urna-img img { transform: scale(1.05); }
.urna-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem; font-weight: 900;
  color: var(--text-dark); margin-bottom: .6rem;
}
.urna-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ─────────── TESTIMONIOS ─────────── */
.testimonios { background: var(--white); }

.testi-outer { margin-top: 3rem; }

.testi-track-wrap { overflow: hidden; }

.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.testi-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  background: var(--lavender-soft);
  border: 1.5px solid #DDD6F3;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, border-color .3s;
}

.testi-card:hover {
  box-shadow: 0 16px 48px rgba(107,79,163,.13);
  border-color: var(--violet-light);
}

.testi-ql {
  font-size: 3.5rem;
  line-height: .85;
  color: var(--violet-light);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: .5rem;
  opacity: .9;
  user-select: none;
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testi-stars svg {
  width: 17px; height: 17px;
}

.testi-text {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.78;
  flex: 1;
  margin-bottom: 1.4rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.2rem;
  border-top: 1px solid #E8E0F5;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: .95rem;
  color: white;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.testi-pet {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .25rem;
}

.testi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.testi-ctrl {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #DDD6F3;
  background: var(--white);
  color: var(--violet);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}

.testi-ctrl:hover:not(:disabled) {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
  box-shadow: 0 4px 16px rgba(107,79,163,.3);
}

.testi-ctrl:disabled { opacity: .35; cursor: default; }

.testi-ctrl svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

.testi-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.testi-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: #DDD6F3;
  border: none; cursor: pointer;
  transition: all .3s;
  padding: 0;
}

.testi-dot.active {
  background: var(--violet);
  width: 28px;
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .testi-card { flex-basis: calc(50% - .75rem); }
  .hero-btns { justify-content: center; }
  .quienes-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .urnas-grid { grid-template-columns: repeat(2, 1fr); }
  .suc-card { grid-template-columns: 1fr; }
  .suc-map { border-radius: 0 0 20px 20px; border-left: none; border-top: 1px solid #EAE2F8; min-height: 220px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-nav {
    position: fixed; inset: 0; z-index: 200;
    background: var(--white);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; font-size: 1.1rem;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s, visibility .3s;
  }
  .header-nav.open { opacity: 1; visibility: visible; pointer-events: all; }
  .header-nav > li { text-align: center; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: var(--lavender-soft); border-radius: 10px;
    margin-top: .5rem; padding: .4rem 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-toggle svg { display: inline; }
  .section { padding: 4rem 5%; }
  .servicios-grid { grid-template-columns: 1fr; }
  .urnas-grid { grid-template-columns: 1fr; }
  .contacto-btns { flex-direction: column; align-items: center; }
  .contacto-btns a { width: 100%; max-width: 320px; justify-content: center; }
  .contacto-info { grid-template-columns: 1fr; gap: 1rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (max-width: 580px) {
  .testi-card {
    flex: 0 0 calc(90vw - 2rem);
    padding: 1.5rem 1.4rem;
  }
  .testi-ql { font-size: 2.8rem; }
  .testi-ctrl { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero { padding: 6rem 5% 4rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .sucursales-grid { max-width: 100%; }
  .footer-links { display: flex; }
  .urnas-grid { grid-template-columns: 1fr; }
}
