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

:root {
  --azul-oscuro:  #1e5fa0;
  --azul-medio:   #4d8ec4;
  --azul-claro:   #a8c8e8;
  --azul-icono:   #2671b5;
  --negro:        #1a1a1a;
  --gris:         #f4f6f9;
  --blanco:       #ffffff;
  --texto:        #333333;
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--texto); background: var(--blanco); }

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.7); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes dividerGrow {
  from { width: 0; }
  to   { width: 60px; }
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 8px 32px rgba(37,211,102,.75); }
}
@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ════════════════════════════════════════
   SISTEMA SCROLL REVEAL
════════════════════════════════════════ */
.sr {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}
.sr.up    { transform: translateY(40px); }
.sr.left  { transform: translateX(-50px); }
.sr.right { transform: translateX(50px); }
.sr.scale { transform: scale(.88); }
.sr.pop   { transform: scale(.7); }

.sr.visible {
  opacity: 1;
  transform: none;
}

/* Delays escalonados */
.sr-d1  { transition-delay: .08s; }
.sr-d2  { transition-delay: .16s; }
.sr-d3  { transition-delay: .24s; }
.sr-d4  { transition-delay: .32s; }
.sr-d5  { transition-delay: .40s; }
.sr-d6  { transition-delay: .48s; }
.sr-d7  { transition-delay: .56s; }
.sr-d8  { transition-delay: .64s; }
.sr-d9  { transition-delay: .72s; }
.sr-d10 { transition-delay: .80s; }
.sr-d11 { transition-delay: .88s; }
.sr-d12 { transition-delay: .96s; }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(30,95,160,.12);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  animation: fadeInDown .55s ease both;
}

.logo-wrap img {
  height: 52px; width: auto;
  transition: transform .3s;
}
.logo-wrap:hover img { transform: scale(1.05); }

nav { display: flex; align-items: center; gap: 1.8rem; }
nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--negro);
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--azul-oscuro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
nav a:hover { color: var(--azul-oscuro); }
nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--azul-oscuro);
  color: var(--blanco) !important;
  padding: .5rem 1.2rem;
  border-radius: 4px;
  transition: background .2s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--azul-medio) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--negro); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#inicio {
  margin-top: 70px;
  position: relative;
  height: calc(100vh - 70px);
  min-height: 520px;
  overflow: hidden;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  animation: kenBurns 14s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,95,160,.72) 0%,
    rgba(26,26,26,.45) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
}

.hero-overlay h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.15;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  animation: fadeInUp .7s .3s ease both;
}
.hero-overlay h1 span { color: var(--azul-claro); }

.hero-overlay p {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.92);
  margin: 1.2rem 0 2rem;
  max-width: 520px;
  line-height: 1.6;
  animation: fadeInUp .7s .55s ease both;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp .7s .75s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--blanco);
  color: var(--azul-oscuro);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--blanco);
  color: var(--blanco);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  animation: fadeInUp .7s 1.2s ease both;
}
.scroll-hint span {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.scroll-hint .arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  animation: bounceSoft 1.6s ease infinite;
}

/* ════════════════════════════════════════
   SECCIONES GENERALES
════════════════════════════════════════ */
section { padding: 80px 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--negro);
  text-align: center;
  margin-bottom: .6rem;
}
.section-title span { color: var(--azul-oscuro); }

.section-sub {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.divider {
  width: 0;
  height: 4px;
  background: var(--azul-oscuro);
  margin: .8rem auto 1.4rem;
  border-radius: 2px;
  transition: width .6s .2s ease;
}
.divider.visible { width: 60px; }

/* ════════════════════════════════════════
   SOBRE NOSOTROS
════════════════════════════════════════ */
#sobre-nosotros { background: var(--gris); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.about-text h2 span { color: var(--azul-oscuro); }
.about-text p { line-height: 1.75; color: #444; margin-bottom: 1rem; }

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul-oscuro);
}
.stat span { font-size: .85rem; color: #666; }

.about-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(30,95,160,.15);
  transition: box-shadow .4s, transform .4s;
}
.about-img-wrap:hover {
  box-shadow: 0 20px 60px rgba(30,95,160,.25);
  transform: translateY(-4px);
}
.about-img-wrap img {
  width: 100%; height: 420px; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }

/* ════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════ */
#servicios { background: var(--blanco); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s;
  background: var(--blanco);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(30,95,160,.18);
}

.service-card img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.service-card:hover img { transform: scale(1.07); }

.service-info { padding: 1.2rem 1.4rem 1.5rem; }
.service-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: .5rem;
  transition: color .2s;
}
.service-card:hover .service-info h3 { color: var(--azul-oscuro); }
.service-info p { font-size: .88rem; color: #666; line-height: 1.55; }

.service-tag {
  display: inline-block;
  background: var(--azul-claro);
  color: var(--azul-oscuro);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-bottom: .5rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.service-card:hover .service-tag {
  background: var(--azul-oscuro);
  color: var(--blanco);
}

/* ════════════════════════════════════════
   ANTES / DESPUÉS
════════════════════════════════════════ */
#antes-despues { background: var(--negro); }
#antes-despues .section-title { color: var(--blanco); }
#antes-despues .section-sub { color: rgba(255,255,255,.65); }
#antes-despues .divider { background: var(--azul-claro); }

.slider-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: ew-resize;
  user-select: none;
  transition: box-shadow .4s;
}
.slider-wrap:hover { box-shadow: 0 28px 80px rgba(0,0,0,.65); }

.slider-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.slider-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.slider-after img {
  position: absolute;
  top: 0; left: 0;
  width: 860px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--blanco);
  cursor: ew-resize;
  z-index: 10;
}
.slider-handle::before, .slider-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--azul-oscuro);
  top: 50%; margin-top: -22px;
}
.slider-handle::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6zM15.41 7.41L10.83 12l4.58 4.59L14 18l-6-6 6-6z'/%3E%3C/svg%3E") center/28px no-repeat var(--azul-oscuro);
  z-index: 1;
}
.slider-handle::before { background: rgba(30,95,160,.3); }

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: .8rem;
}
.slider-labels span {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ════════════════════════════════════════
   POR QUÉ ELEGIRNOS
════════════════════════════════════════ */
#por-que {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-icono) 100%);
  color: var(--blanco);
}
#por-que .section-title { color: var(--blanco); }
#por-que .divider { background: var(--azul-claro); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  transition: background .3s, transform .3s;
}
.feature:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-5px);
}
.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform .3s;
}
.feature:hover .feature-icon { transform: scale(1.2) rotate(-5deg); }
.feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.feature p { font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.8); }

/* ════════════════════════════════════════
   ZONA DE TRABAJO
════════════════════════════════════════ */
#zona { background: var(--blanco); }

.zona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.zona-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--azul-oscuro);
  border: 2px solid var(--azul-medio);
  border-radius: 30px;
  padding: .5rem 1.4rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.zona-tag:hover {
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-color: var(--azul-oscuro);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════
   CONTACTO
════════════════════════════════════════ */
#contacto { background: var(--gris); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 1rem;
}
.contact-info p { color: #555; line-height: 1.7; margin-bottom: 1.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--blanco);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  text-decoration: none;
  color: var(--texto);
  transition: box-shadow .25s, transform .25s;
}
.contact-item:hover {
  box-shadow: 0 8px 24px rgba(30,95,160,.14);
  transform: translateX(5px);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--azul-oscuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform .3s;
}
.contact-item:hover .contact-item-icon { transform: scale(1.15) rotate(-8deg); }
.contact-item-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--azul-oscuro);
  font-weight: 700;
}
.contact-item-text span { font-size: .95rem; color: var(--negro); }

.contact-form {
  background: var(--blanco);
  border-radius: 8px;
  padding: 2rem 2.4rem;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
  transition: box-shadow .4s;
}
.contact-form:hover { box-shadow: 0 12px 50px rgba(30,95,160,.12); }
.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: #555;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group input, .form-group textarea, .form-group select {
  padding: .75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem;
  color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  background: var(--blanco);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--azul-medio);
  box-shadow: 0 0 0 3px rgba(77,142,196,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  padding: .9rem;
  background: var(--azul-oscuro);
  color: var(--blanco);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  letter-spacing: .04em;
}
.btn-submit:hover {
  background: var(--azul-icono);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,95,160,.3);
}
.btn-submit:active { transform: translateY(0); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--negro);
  color: rgba(255,255,255,.75);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  transition: opacity .3s;
}
.footer-brand img:hover { opacity: .8; }
.footer-brand p { font-size: .87rem; line-height: 1.65; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blanco);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .87rem;
  transition: color .2s, padding-left .2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--azul-claro); padding-left: 4px; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ════════════════════════════════════════
   WHATSAPP FLOTANTE
════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2.4s ease infinite;
  transition: transform .25s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.12); }
.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-tooltip {
  position: fixed;
  bottom: 3.35rem; right: 5.5rem;
  background: var(--negro);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateX(6px);
}
.whatsapp-float:hover ~ .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
#faq { background: var(--gris); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.faq-item {
  background: var(--blanco);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(30,95,160,.12);
}
.faq-item.open {
  box-shadow: 0 6px 28px rgba(30,95,160,.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--negro);
  transition: color .2s;
}
.faq-question:hover { color: var(--azul-oscuro); }
.faq-item.open .faq-question { color: var(--azul-oscuro); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--azul-claro);
  color: var(--azul-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background .25s, transform .35s, color .25s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--azul-oscuro);
  color: var(--blanco);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 1.4rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.4rem 1.2rem;
}
.faq-answer p {
  font-size: .92rem;
  color: #555;
  line-height: 1.72;
  border-top: 1px solid #eef0f4;
  padding-top: .9rem;
}
.faq-answer a {
  color: var(--azul-oscuro);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.faq-answer a:hover { color: var(--azul-medio); }

/* ════════════════════════════════════════
   MAPA / UBICACIÓN
════════════════════════════════════════ */
.map-wrap {
  margin-bottom: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(30,95,160,.1);
  border: 1px solid rgba(30,95,160,.1);
  transition: box-shadow .4s;
}
.map-wrap:hover {
  box-shadow: 0 12px 48px rgba(30,95,160,.18);
}

.map-address {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--blanco);
  border-bottom: 1px solid #edf0f5;
}
.map-address-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.map-address-text {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.map-address-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--azul-oscuro);
}
.map-address-text span {
  font-size: .93rem;
  color: var(--negro);
}
.map-link {
  display: inline-block;
  margin-top: .25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--azul-medio);
  text-decoration: none;
  letter-spacing: .03em;
  transition: color .2s, gap .2s;
}
.map-link:hover {
  color: var(--azul-oscuro);
}

.map-frame {
  line-height: 0;
  background: #e8eef5;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  transition: filter .4s;
}
.map-wrap:hover .map-frame iframe {
  filter: saturate(1.1) brightness(1.02);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--blanco);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    align-items: flex-start;
    animation: fadeInDown .25s ease both;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .map-frame iframe { height: 220px; }
}

@media (max-width: 600px) {
  .hero-overlay { padding: 0 1.5rem; }
  .stats-row { gap: 1rem; }
  .contact-form { padding: 1.5rem 1.2rem; }
  .scroll-hint { display: none; }
}
