/* =========================================================
   Base & Reset
========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}
body {
  margin: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

/* =========================================================
   Header / Navbar
========================================================= */
header {
  position: sticky;        /* se mantiene visible al hacer scroll */
  top: 0;
  z-index: 50;
  background-color: #004aad;
  color: #fff;
  padding: 1rem 0;         /* padding vertical, horizontal lo maneja el contenedor */
}
.header-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 clamp(16px, 3vw, 24px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu {
  transform: translateY(-20px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}
.nav-menu.show { transform: translateY(0); opacity: 1; }
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color .3s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ffd700;
  transition: width .3s ease;
}
.nav-menu a:hover { color: #ffd700; }
.nav-menu a:hover::after { width: 100%; }

.nav-menu a.active::after {
  width: 100%;
  background-color: #ffd700;
}

.nav-menu a.active {
  color: #ffd700;
}

/* Contenedor de botones */
.banner-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Botón principal */
.btn-primary {
  background: #0d6efd;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(13,110,253,.3);
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
}

/* Botón secundario */
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline:hover {
  background: #fff;
  color: #0d6efd;
  transform: translateY(-2px);
}

/* Logo (animación de entrada) */
.logo {
  height: 75px;
  width: auto;
  margin: 0;
  align-self: center;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .8s ease, transform .8s ease;
}
.logo.show { opacity: 1; transform: scale(1); }

/* Botón hamburguesa (oculto en desktop, visible en móvil con media query) */
.mobile-toggle {
  position: relative;
  width: 40px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}
.mobile-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: transform .4s ease, opacity .2s ease;
  transform-origin: center;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(14px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-14px) rotate(-45deg); }

/* Estado por defecto oculto de elementos “mobile” (se muestran en media query) */
.mobile-toggle,
#mobileToggle,
.offcanvas-menu,
#mobileMenu,
.backdrop,
#menuBackdrop { display: none !important; }

/* =========================================================
   Animaciones reveal
========================================================= */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: translate(0,0); }

.reveal-zoom {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.reveal-zoom.in { opacity: 1; transform: scale(1); }

/* FAQ reveal */
#faq .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
#faq .reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Banner (Compacto + overlay + tipografía fluida)
========================================================= */
.banner-header {
  background-color: rgba(0,0,0,.6);
  padding: .5rem 0;
  display: flex;
  justify-content: center;
}

.banner-static,
.banner-static-solar,
.banner-static-door,
.banner-static-house-washing {
  position: relative;
  /* en lugar de 100vh usamos un rango adaptable */
  min-height: clamp(320px, 65vh, 720px);
  width: 100%;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.banner-static { background-image: url("/static/images/fondo_generalhomepro.jpeg"); }
.banner-static-solar { background-image: url("/static/images/services/Solar_panel.png"); }
.banner-static-door { background-image: url("/static/images/services/Slider_door.png"); }
.banner-static-house-washing { background-image: url("/static/images/services/house_washing.png"); }

.banner-overlay {
  background-color: rgba(0, 0, 0, .45);
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.banner-body {
  flex: 1;
  display: flex;
  padding: 0 clamp(16px, 3vw, 24px);
  justify-content: center;
  align-items: center;
}

.banner-text {
  max-width: 1100px;
  margin: clamp(1.5rem, 4vh, 3rem) auto;
  background: rgba(0,0,0,.55);
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 12px;
  text-align: center;
}

.banner-text h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  margin: 0 0 1rem;
  font-weight: 700;
}

.banner-text p {
  font-size: clamp(1rem, .8rem + .6vw, 1.25rem);
  margin: 0 0 .8rem;
  line-height: 1.6;
}

.banner-highlight {
  font-weight: 600;
  font-size: clamp(1rem, .8rem + .8vw, 1.4rem);
  color: #ffd700;
}

.banner-highlight a {
  color: #66a6ff;
  text-decoration: none;
  font-weight: 700;
}

.banner-highlight a:hover {
  text-decoration: underline;
  color: #66a6ff;
}
/* =========================================================
   Contenido general
========================================================= */
header h1 { margin: 0; font-size: 2.5rem; }
.main-content { padding: 1.5rem 0.5rem; max-width: 100%; margin: 0 auto; }
.main-content p a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s, border-bottom .3s;
  border-bottom: 2px solid transparent;
}
.main-content p a:hover { color: #0056b3; border-bottom: 2px solid #0056b3; }

.hero {
  background: linear-gradient(145deg, #e0f0ff, #fff);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  margin-bottom: 3rem;
  text-align: center;
}
.hero h2 { font-size: 2.5rem; margin: 0 0 1rem; color: #004aad; }
.hero p  { font-size: 2rem; margin: 0 0 1rem; }

h3 { font-size: 1.6rem; color: #004aad; margin-bottom: 1rem; }

/* =========================================================
   Sección Services (grid unificado, sin duplicados)
========================================================= */
.services {
  padding: 2rem 0.75rem;
  background-color: #fff;
  text-align: center;
  border-radius: 16px;
}
.services > h3 {
  font-size: 3rem;
  color: #004aad;
  margin: -1rem 0 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* un solo grid */
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 24px);
  align-items: stretch;
}
.service-card {
  background-color: #f8f9fc;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  text-align: center;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.service-card-link { text-decoration: none; color: inherit; display: block; }

.service-image {
  width: 100%;
  height: clamp(200px, 28vw, 300px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform .6s ease;
}
.reveal-zoom.in .service-image { transform: translateY(0); }

.service-card h4 {
  font-size: 1.8rem;
  color: #004aad;
  margin: .25rem 0 .8rem;
}
.service-card p { font-size: 1.6rem; color: #555; line-height: 1.6; }
.service-list { list-style: none; padding-left: 0; margin: .5rem 0 0; text-align: left; }
.service-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: .5em;
  font-size: 1.5rem;
  line-height: 1.4;
}
.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #004aad;
  font-size: 1.2em;
  line-height: 1;
}

/* Badge */
.service-card.with-badge { position: relative; padding-top: 2.6rem; }
.service-image-wrapper { position: relative; overflow: hidden; }
.service-image-wrapper .badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(230,57,70,.9);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   Call To Services (full-bleed)
========================================================= */
.call-to-services {
  margin-inline: calc(50% - 50vw);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0)) 0 0/100% 100% no-repeat,
    linear-gradient(135deg, #f6f7f9, #eef1f5);
  color: #1f2937;
  padding: min(6vh, 4rem) clamp(16px, 4vw, 48px);
  box-sizing: border-box;
  overflow: clip;
}
.call-to-services .services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.call-to-services .services-text h3 {
  color: #0f172a;
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.call-to-services .services-text p {
  color: #374151;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.call-to-services .cta-btn,
.cta-btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: #007bff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-size: 1.1rem;
}
.call-to-services .cta-btn:hover,
.cta-btn:hover {
  background: #0069d9;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.call-to-services .services-image img {
  display: block;
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  margin-inline: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

/* =========================================================
   Mensajes / notas / mapa
========================================================= */
.security-note {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #eaf6ff;
  border: 1px solid #c3e3ff;
  border-radius: 6px;
  font-size: .95rem;
  color: #034d8c;
  text-align: center;
}
.security-note p { margin: 0; line-height: 1.4; }
.security-note a { color: #007bff; text-decoration: none; }
.security-note a:hover { color: #0056b3; }
.back-btn-container { text-align: left; margin: 20px 0; }
#map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* =========================================================
   Formularios / botones / validación
========================================================= */
.form-container {
  width: 100%;
  max-width: 1140px;
  margin: 3rem auto;
  padding: 1.5rem;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  box-sizing: border-box;
}
.form-container form { padding: 1rem 1.5rem; box-sizing: border-box; }
.mb-3 { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; color: #333; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: .5rem .75rem;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color .2s;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}
.form-check { display: flex; align-items: flex-start; }
.form-check-input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .3rem;
  border-radius: 0;
}
.form-check-input:checked { background-color: #007bff; border-color: #007bff; }
.form-check-label { flex: 1 1 auto; margin-left: .5rem; word-break: break-word; font-size: .95rem; color: #333; }
.form-check-label a { text-decoration: none; color: #007bff; }
.form-check-label a:hover, .form-check-label a:focus { text-decoration: underline; }

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: .5rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.btn-primary { background-color: #007bff; border-color: #007bff; color: #fff; }
.btn-primary:hover { background-color: #0069d9; border-color: #0062cc; }
.btn-success { background-color: #28a745; border-color: #28a745; color: #fff; }
.btn-success:hover { background-color: #218838; border-color: #1e7e34; }

.step-indicator {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem; font-family: sans-serif;
}
.step-indicator .circle {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background-color: lightgray; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0; margin: 0 .5rem;
}
.step-indicator .circle.active { background-color: #007bff; }
.step-indicator .line {
  width: 8rem; height: .3rem; background-color: lightgray; margin: 0 .5rem; flex-shrink: 0;
}
.step-indicator .line.active { background-color: #007bff; }

.invalid-feedback {
  display: block; color: #dc3545; font-size: .875rem; margin-top: .25rem;
}
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
}
.field-error { color: #dc3545; margin-bottom: 1rem; font-weight: 500; }
.required-note { font-size: .9rem; color: #555; margin-bottom: 1rem; text-align: center; }

.btn-group-step2 {
  max-width: 600px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================================
   Secciones informativas / cards
========================================================= */
.mission {
  background: linear-gradient(135deg, #f9fbfc, #eef2f5);
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
}
.mission-container { max-width: 900px; margin: auto; }
.mission h3 { font-size: 2.8rem; color: #004aad; margin: .5rem 0 1.5rem; }
.mission p { font-size: 1.5rem; line-height: 2; color: #333; margin-bottom: 1rem; }
.mission-highlight { font-weight: 700; color: #007bff; font-size: 1.8rem; }

/* How We Price Your Job */
.counting-methods {
  padding: 3rem 1.5rem; background: #fff; text-align: center; max-width: 1200px; margin: auto;
}
.counting-methods h3 { color: #004aad; font-size: 2.2rem; margin-bottom: 2rem; }
.count-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.count-card {
  background: #f8f9fc; border: 1px solid #e0e0e0; border-radius: 12px; padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.05); transition: transform .3s ease, box-shadow .3s ease;
}
.count-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.count-card h4 { color: #004aad; font-size: 1.6rem; margin-bottom: 1rem; }
.count-card p { font-size: 1rem; line-height: 1.6; color: #333; }

/* Plan de mantenimiento */
.maintenance-plan { padding: 3rem 1.5rem; background-color: #e8f4ff; text-align: center; }
.maintenance-plan h3 { font-size: 2.4rem; color: #004aad; margin-bottom: 1rem; }
.maintenance-plan p {
  font-size: 1rem; max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.6; color: #333;
}
.maintenance-plan .highlight { font-weight: 600; color: #007bff; margin-bottom: 2rem; font-size: 1.2rem; }
.plan-benefits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.benefit-card {
  background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.05); text-align: left;
}
.benefit-card h4 { font-size: 1.2rem; color: #004aad; margin-bottom: .5rem; }
.benefit-card p { font-size: .95rem; line-height: 1.5; color: #555; }

/* Signs */
.signs {
  padding: 3rem 1.5rem; background: #fff; max-width: 1000px; margin: 3rem auto; text-align: center;
}
.signs h3 { font-size: 2rem; color: #004aad; margin-bottom: 1.5rem; }
.signs ul { list-style: disc inside; margin: 0 auto; padding: 0; max-width: 600px; line-height: 1.6; }
.signs ul li { margin-bottom: .75rem; color: #333; }

/* Guarantee */
.guarantee { padding: 3rem 1.5rem; background: #fff; text-align: center; }
.guarantee h3 { color: #004aad; font-size: 2.2rem; margin-bottom: 1.5rem; }
.guarantee ul { list-style: none; padding: 0; max-width: 600px; margin: auto; }
.guarantee li {
  font-size: 1rem; line-height: 1.6; padding-left: 1.5em; margin-bottom: 1rem; position: relative;
}
.guarantee li::before { content: '✔︎'; position: absolute; left: 0; color: #007bff; font-weight: bold; }

/* FAQ (con aria-expanded) */
.faq {
  padding: 3rem 1.5rem; background: #f9f9f9; max-width: 1000px; margin: 3rem auto;
}
.faq h3 { color: #004aad; font-size: 2.2rem; text-align: center; margin-bottom: 2rem; }
.faq-item { margin-bottom: 1.5rem; background: #f9fafb; border-left: 4px solid #004aad; border-radius: 8px; padding: 1rem 1.25rem; transition: all .3s ease; }
.faq-item:hover { background: #eef4ff; }
.faq-item strong {
  display: block; font-size: 1.1rem; cursor: pointer; position: relative; padding-right: 1.5rem; color: #004aad;
}
.faq-item p { margin: 0; color: #333; line-height: 1.5; }

/* Contenedor de la respuesta */
.faq-item .faq-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .35s ease, transform .35s ease;
}
.faq-item.open .faq-content { opacity: 1; transform: translateY(0); }

/* Icono +/– con aria-expanded */
.faq-item strong::after{
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 1.1rem; height: 1.1rem;
  display: inline-grid; place-items: center;
  font-size: 1.2rem; line-height: 1;
  transition: transform .25s ease, opacity .25s ease;
  opacity: .9;
}
/* Normal */
#faq:not(.invert-icons) .faq-item strong[aria-expanded="false"]::after { content: '+'; transform: rotate(0deg); }
#faq:not(.invert-icons) .faq-item strong[aria-expanded="true"]::after  { content: '–'; transform: rotate(180deg); }
/* Invertido (si #faq tiene .invert-icons) */
#faq.invert-icons .faq-item strong[aria-expanded="false"]::after { content: '–'; transform: rotate(0deg); }
#faq.invert-icons .faq-item strong[aria-expanded="true"]::after  { content: '+'; transform: rotate(180deg); }

/* Panel solar: blocks generales */
.benefits, .process, .testimonials, .offers, .trust, .plans {
  padding: 3rem 1.5rem; background: #fff; max-width: 1000px; margin: 3rem auto;
}
.benefits { background: #fafafa; }
.benefits h3, .process h3, .testimonials h3, .offers h3, .trust h3, .plans h3 {
  font-size: 2rem; color: #004aad; margin-bottom: 1.5rem; text-align: center;
}
.benefits ul { list-style: disc; margin: 0 auto; padding-left: 1.5rem; max-width: 600px; line-height: 1.6; }
.benefits ul li { margin-bottom: .75rem; }
.process ol { list-style: decimal inside; margin: 0 auto; max-width: 600px; line-height: 1.6; }
.process ol li { margin-bottom: 1rem; }
.process ol li strong { color: #004aad; }

.testimonials blockquote { border-left: 4px solid #004aad; padding-left: 1rem; font-style: italic; margin-bottom: 2rem; }
.testimonials blockquote footer { display: block; margin-top: .5rem; font-weight: bold; color: #333; }

.offers { background: #f0f8ff; text-align: center; }
.offers p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.offers .btn { display: inline-block; padding: .75rem 1.5rem; background: #004aad; color: #fff; text-decoration: none; border-radius: .25rem; font-size: 1rem; }
.offers .btn:hover { opacity: .9; }

.trust ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0;
}
.trust li { flex: 1 1 30%; margin: .5rem; display: flex; align-items: center; font-size: 1rem; }
.trust li::before { content: '✅'; margin-right: .5rem; font-size: 1.2rem; }

.plans h3 { font-size: 2.5rem; margin-bottom: 2rem; }
.plan-cards { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.plan-card {
  background: #fff; border: 1px solid #ddd; border-radius: .5rem; padding: 1.5rem; flex: 1 1 260px; max-width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1); transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.plan-card h4 { font-size: 1.6rem; color: #004aad; margin-bottom: .75rem; }
.plan-card p { margin: .5rem 0; line-height: 1.5; color: #333; font-size: 1.1rem; }
.plan-card .discount-note { display: block; margin-top: .25rem; color: #d9534f; font-weight: 700; }

/* Gallery genérica */
.gallery {
  padding: 3rem 1.5rem; background: #fff; max-width: 1000px; margin: 3rem auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
}
.gallery img { width: 100%; border-radius: .25rem; cursor: pointer; }

/* =========================================================
   Portfolio (unificado a CSS Grid)
========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  justify-items: center;
}
.portfolio-item { width: 100%; max-width: 250px; text-align: center; }
.portfolio-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.no-images { width: 100%; text-align: center; font-style: italic; color: #777; padding: 20px 0; }
.view-more-btn {
  display: inline-block; margin: 2rem auto 0; padding: .75rem 1.5rem;
  background-color: #004aad; color: #fff; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer;
  transition: background .3s ease;
}
.view-more-btn:hover { background-color: #003080; }

/* Modal de imagen (genérico, reutilizable) */
.img-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.8);
  justify-content: center; align-items: center;
  padding: 1rem; box-sizing: border-box; z-index: 10000;
}
.img-modal.open { display: flex; }
.img-modal-content { max-width: 90%; max-height: 80%; }
.img-modal-close { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; color: #fff; cursor: pointer; }
.img-modal-caption { margin-top: .5rem; color: #fff; text-align: center; font-size: 1.1rem; }

/* =========================================================
   Contacto
========================================================= */
.contact-page { background: #fff; padding: 2rem; text-align: center; }
.contact-container {
  max-width: 1200px; margin: auto; background: #f9fbfc; padding: 3rem 2rem;
  border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.contact-container h2 { font-size: 2.5rem; color: #004aad; margin-bottom: 1rem; }
.contact-intro { font-size: 1.25rem; margin-bottom: 2.5rem; color: #555; }
.form-group { margin-bottom: 1.5rem; }
.contact-container input, .contact-container textarea {
  width: 100%; padding: 1rem; font-size: 1.1rem; border: 1px solid #ccc; border-radius: 10px;
  background: #fff; box-sizing: border-box; transition: border-color .3s ease;
}
.contact-container input:focus, .contact-container textarea:focus { border-color: #004aad; outline: none; }
.submit-btn {
  padding: 1rem 2rem; font-size: 1.2rem; color: #fff; background-color: #004aad; border: none; border-radius: 10px;
  cursor: pointer; transition: background-color .3s ease;
}
.submit-btn:hover { background-color: #003080; }
.success-message {
  background-color: #d4edda; color: #155724; padding: 1rem 1.5rem; border-left: 5px solid #28a745;
  border-radius: 8px; margin-bottom: 1.5rem; font-size: 1.1rem;
}
.selection-summary {
  background-color: #e7f1ff; border-left: 4px solid #004aad; padding: .75rem 1rem; margin: 0 0 1rem 0;
  font-size: 1.05rem; color: #004aad; border-radius: 4px; line-height: 1.4;
}

/* =========================================================
   CTA bloques
========================================================= */
.call-to-book {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  padding: 3rem 1.5rem; text-align: center; border-radius: 1rem; margin: 3rem auto; max-width: 900px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.call-to-book .call-inner { max-width: 700px; margin: 0 auto; }
.call-to-book h3 { font-size: 1.9rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }
.call-to-book p { font-size: 1.1rem; color: #4b5563; margin-bottom: 2rem; line-height: 1.6; }
.call-to-book .cta-btn {
  display: inline-block; padding: .85rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; font-size: 1.05rem; font-weight: 600;
  border-radius: 999px; text-decoration: none; transition: all .3s ease; box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.call-to-book .cta-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,.45);
}

/* FULL-BLEED centrado y estable */
.call-to-request{
  position: relative;
  box-sizing: border-box;
  left: 50%;
  transform: translateX(-50%);   /* centra el bloque */
  width: 100vw;                  /* fallback */
  margin: 0;
  overflow: clip;
  padding: clamp(64px, 8vh, 120px) 20px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(0,80,200,.35), transparent 60%),
    linear-gradient(180deg, rgba(40,100,200,0.9), rgba(20,40,100,0.95));
  background-blend-mode: screen, normal;
}

/* Si el navegador soporta svw, usa eso (no cuenta la barra de scroll) */
@supports (width: 100svw) {
  .call-to-request{
    width: 100svw;
  }
}

/* Capa 1 de burbujas (grandes y suaves) */
.call-to-request::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .9;                         /* más visible */
  background-repeat: no-repeat;
  background-size: 180% 180%;
  background-image:
    radial-gradient(180px 180px at 12% 30%, rgba(255,255,255,.35) 0%, rgba(255,255,255,.18) 35%, transparent 55%),
    radial-gradient(140px 140px at 78% 25%, rgba(255,255,255,.28) 0%, rgba(255,255,255,.14) 35%, transparent 60%),
    radial-gradient(160px 160px at 60% 78%, rgba(255,255,255,.3) 0%, rgba(255,255,255,.15) 32%, transparent 60%),
    radial-gradient(120px 120px at 30% 70%, rgba(255,255,255,.28) 0%, rgba(255,255,255,.14) 35%, transparent 60%),
    radial-gradient(100px 100px at 88% 70%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.1) 35%, transparent 60%);
  animation: bubblesDrift 18s linear infinite;
}

/* Capa 2 de burbujas (pequeñas, más rápido) */
.call-to-request::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
  background-repeat: no-repeat;
  background-size: 220% 220%;
  background-image:
    radial-gradient(60px 60px at 25% 85%, rgba(255,255,255,.25) 0%, rgba(255,255,255,.12) 45%, transparent 65%),
    radial-gradient(50px 50px at 70% 60%, rgba(255,255,255,.2) 0%, rgba(255,255,255,.1) 40%, transparent 60%),
    radial-gradient(70px 70px at 45% 25%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.1) 45%, transparent 65%),
    radial-gradient(55px 55px at 85% 40%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.1) 40%, transparent 60%);
  animation: bubblesRise 12s ease-in-out infinite;
}

/* Animaciones */
@keyframes bubblesDrift {
  0%   { background-position: 50% 90%, 60% 95%, 40% 100%, 70% 85%, 30% 95%; }
  50%  { background-position: 50% 20%, 60% 10%, 40% 15%, 70% 25%, 30% 12%; }
  100% { background-position: 50% 90%, 60% 95%, 40% 100%, 70% 85%, 30% 95%; }
}
@keyframes bubblesRise {
  0%   { background-position: 40% 100%, 70% 90%, 50% 95%, 85% 100%; }
  50%  { background-position: 40% 40%, 70% 35%, 50% 30%, 85% 45%; }
  100% { background-position: 40% 0%,   70% 5%,  50% 10%, 85% 0%; }
}

/* Card interno igual que tenías, pero con un poquito más de contraste */
.call-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px) brightness(1.05);
  -webkit-backdrop-filter: blur(6px) brightness(1.05);
  border-radius: 16px;
  padding: 42px 30px;
  box-shadow: 0 10px 34px rgba(0,0,0,.28);
}
.call-inner h3{font-weight:800;font-size:clamp(1.6rem,1.2rem + 1.5vw,2.2rem);margin-bottom:14px;color:#fff}
.call-inner p{font-size:1.1rem;margin-bottom:24px;color:#eaf4ff}
.call-inner .cta-btn{
  display:inline-block;background:linear-gradient(90deg,#fff,#dff0ff);
  color:#004aad;font-weight:800;padding:12px 30px;border-radius:999px;text-decoration:none;
  transition:transform .2s ease, box-shadow .3s ease
}
.call-inner .cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(255,255,255,.35)}

.recurring-plan a {
  color: #007bff; text-decoration: none; font-weight: 600; transition: color .3s, border-bottom .3s; border-bottom: 2px solid transparent;
}
.recurring-plan a:hover { color: #0056b3; border-bottom: 2px solid #0056b3; }

/* =========================================================
   Footer
========================================================= */
.footer-top { background: #002f6c; color: #ddd; }
.footer-top .footer-content {
  max-width: 1200px; margin: 0 auto; padding: 2rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer-logo img { height: 50px; width: auto; display: block; }
.footer-nav-social { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.footer-nav { display: flex; align-items: center; }
.footer-nav a {
  color: #ddd; text-decoration: none; padding: .25rem 0; transition: color .25s ease, opacity .25s ease; font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus { color: #ffd700; }
.footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.footer-nav-list li { margin: 0; }
.footer-nav:not(:has(.footer-nav-list)) { gap: 1.25rem; }
.footer-social { display: flex; align-items: center; gap: .75rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease; outline: none;
}
.footer-social a svg { color: #fff; transition: color .3s; }
.footer-social a:hover svg { color: #ffd700; }
.footer-social a:hover, .footer-social a:focus { background-color: rgba(255,255,255,.12); transform: translateY(-1px); }
.footer-top a:focus-visible { outline: 2px solid #ffd700; outline-offset: 2px; border-radius: 4px; }
.footer-bottom { background: #001f46; text-align: center; }
.footer-copy { color: #fff; padding: 1rem 0; margin: 0; font-size: .9rem; opacity: .9; }

/* =========================================================
   Loading Overlay (único)
========================================================= */
#loading-overlay {
  position: fixed; inset: 0;
  background-color: rgba(0,0,0,.7);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease;
}
#loading-overlay.fade-out { opacity: 0; pointer-events: none; }
/* Soporte para dos estilos de loader */
.icon-slider { position: relative; width: 64px; height: 64px; }
.icon { position: absolute; top: 0; left: 0; width: 64px; height: 64px; opacity: 0; animation: fadeSingle 6s ease-in-out infinite; }
.icon-1 { animation-delay: 0s; } .icon-2 { animation-delay: 2s; } .icon-3 { animation-delay: 4s; }
@keyframes fadeSingle {
  0% { opacity: 0; } 8.333% { opacity: 1; } 25% { opacity: 1; } 33.333% { opacity: 0; } 100% { opacity: 0; }
}
.dot-loader { display: flex; gap: 8px; }
.dot-loader span {
  width: 12px; height: 12px; background: #fff; border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}
.dot-loader span:nth-child(2) { animation-delay: .2s; }
.dot-loader span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .6; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes zoomIn { from { transform: scale(.7); } to { transform: scale(1); } }
.loading-container {
  display: flex; flex-direction: column; align-items: center; justify-content: center; height: 150px; text-align: center;
}
.spinner {
  border: 4px solid rgba(0,0,0,.1); border-top: 4px solid #3498db;
  border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin-bottom: .5rem;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* =========================================================
   Service Detail
========================================================= */
.service-detail {
  max-width: 1000px; background: #fff; margin: 0 auto; padding: 2rem 1rem;
}
.service-detail .service-card {
  display: flex; align-items: flex-start; max-width: 90vw; margin: 0 auto; gap: 2rem;
}
.service-detail .service-image {
  flex: 0 0 50%; max-width: 50%; height: auto; border-radius: 12px;
}
.service-detail .service-description { flex: 1; }

.service-intro { background: #e8f4ff; padding: 2rem 1rem; text-align: center; margin-bottom: 2rem; }
.service-intro-content h3 { color: #004aad; margin-bottom: 1rem; font-size: 2rem; }
.service-intro-content p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; line-height: 1.6; }

.service-methods { padding: 2rem 1rem; max-width: 1200px; margin: auto; }
.service-methods h3 { text-align: center; color: #004aad; font-size: 2.2rem; margin-bottom: 1.5rem; }
.methods-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 auto; max-width: 1200px; }
.method-card {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.05); transition: transform .3s ease, box-shadow .3s ease;
  flex: 1 1 calc(50% - 1.5rem); box-sizing: border-box;
}
.method-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.method-card h4 { font-size: 1.8rem; margin-bottom: 1rem; color: #004aad; position: relative; }
.method-card h4::before {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 50px; height: 3px; background-color: #ffd700; border-radius: 2px;
}
.method-card p { font-size: 1rem; line-height: 1.6; color: #333; margin-bottom: 1rem; }
.method-card strong { color: #004aad; font-weight: 600; }
.method-card a { color: #004aad; text-decoration: underline; font-weight: 500; }
.method-card a:hover { color: #002f6c; }

/* =========================================================
   Service Areas / Related Services
========================================================= */
.service-areas {
  padding: 3rem 1.5rem; background: #f9f9f9; text-align: center; margin: 3rem auto;
}
.service-areas h3 { font-size: 1.8rem; color: #004aad; margin-bottom: 1rem; }
.service-areas p { font-size: 1rem; margin: .5rem 0; }

.related-services {
  padding: 3rem 1.5rem; background: #fff; max-width: 800px; margin: 3rem auto;
}
.related-services h3 { font-size: 2rem; color: #004aad; text-align: center; margin-bottom: 1.5rem; }
.related-services .service-card { display: flex; align-items: center; margin-bottom: 1rem; }
.related-services .service-card img { width: 80px; height: auto; margin-right: 1rem; border-radius: .25rem; }
.related-services .service-card a { font-size: 1rem; color: #004aad; text-decoration: none; }
.related-services .service-card:hover { opacity: .8; }

/* =========================================================
   Media Queries
========================================================= */
@media (max-width: 576px) {
  .call-to-services { padding: 3rem 1rem; }
  .services-text h3 { font-size: 2rem; }
  .services-text p { font-size: 1.1rem; }
  .cta-btn { padding: .75rem 1.25rem; font-size: 1rem; width: auto; }
  .call-to-request .cta-btn { width: auto; max-width: 100%; }
}

@media (max-width: 768px) {
  .header-container {
    position: relative; height: 80px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 1rem;
  }
  .banner-body { padding: 0 .25rem; }

  /* centrado del logo */
  .logo {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9); height: 70px; width: auto;
  }
  .logo.show { transform: translate(-50%, -50%) scale(1); }

  /* ocultamos menú horizontal y activamos offcanvas */
  .nav-menu { display: none !important; }
  .mobile-toggle, #mobileToggle { display: flex !important; }
  .offcanvas-menu, #mobileMenu, .backdrop, #menuBackdrop { display: block !important; }

  /* Offcanvas */
  .offcanvas-menu {
    position: fixed; top: 0; right: 0; width: 280px; height: 100%;
    background: rgba(0,0,0,.9); color: #fff; padding: 2rem 1.5rem 1.5rem;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
    box-shadow: -4px 0 12px rgba(0,0,0,.2); z-index: 9999; display: flex; flex-direction: column;
  }
  .offcanvas-menu.open { transform: translateX(0); }
  .offcanvas-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
  .offcanvas-header h3 { margin: 0; font-size: 1.8rem; letter-spacing: 1px; color: #fff; }
  .offcanvas-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
  .offcanvas-list li { margin-bottom: 1.5rem; }
  .offcanvas-list li:last-child { margin-bottom: 0; }
  .offcanvas-list a { color: #fff; font-size: 1.3rem; text-decoration: none; transition: color .3s; }
  .offcanvas-list a:hover { color: #ffd700; padding-left: .5rem; }
  .backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0); visibility: hidden;
    transition: background .4s ease, visibility 0s linear .4s; z-index: 9998;
  }
  .backdrop.show { visibility: visible; background: rgba(0,0,0,.6); transition: background .4s ease; }

  /* Servicios en 1 columna */
  .services-grid { grid-template-columns: 1fr; gap: .75rem; padding: 0 .25rem; box-sizing: border-box; }
  .services { padding: 1rem .5rem 3rem; }
  .service-card h4 { font-size: 1.4rem; margin: .25rem 0 .5rem; }
  .service-card p, .service-list li { font-size: 1.05rem; }
  .service-image { height: 300px; }

  .services > h3 { margin-bottom: .5rem; margin-top: .25rem; }

  .footer-content { flex-direction: column; align-items: center; text-align: center; padding: 3rem 1rem; }
  .footer-nav-social { flex-direction: column; gap: 1rem; width: 100%; margin-top: 1.5rem; }
  .footer-nav, .footer-social { justify-content: center; width: 100%; }

  /* Banner texto compacto */
  .banner-text { margin: 2rem 1rem; padding: 1.5rem; backdrop-filter: blur(8px); }
  .banner-text h2 { font-size: 2.2rem; }
  .banner-text p { font-size: 1.2rem; }
  .banner-highlight { font-size: 1.4rem; }

  /* Service detail stack */
  .service-detail .service-card { flex-direction: column; text-align: center; }
  .service-detail .service-image, .service-detail .service-description { flex: none; max-width: 100%; }
  .service-detail .service-description { margin-top: 1.5rem; }

  .methods-grid { display: block; }
  .method-card { flex: none; width: 100%; margin-bottom: 1.5rem; }
  
  .banner-buttons {
    gap: 10px;
  }
  .banner-buttons .btn-primary,
  .banner-buttons .btn-outline {
    width: 100%;                  /* full width */
  }
}

@media (max-width: 600px) {
  .service-card .badge { top: 15px; right: -25px; width: 120px; padding: 3px 0; font-size: .7rem; }
  .service-image-wrapper .badge { top: 8px; right: 8px; font-size: .75rem; padding: 4px 10px; }
}

@media (max-width: 992px) and (min-width: 769px) {
  .footer-top .footer-content { justify-content: center; text-align: center; }
  .footer-nav-social { margin-left: 0; width: 100%; flex-direction: column; gap: 1rem; }
  .footer-nav-list { flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }

  /* en tablets dos columnas */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 0 1rem; }

  /* mostrar nav desktop, ocultar offcanvas */
  .mobile-toggle, #mobileToggle, .offcanvas-menu, #mobileMenu, .backdrop, #menuBackdrop { display: none !important; }
  .nav-menu { display: flex !important; }
}

/* Portfolio: afinamos columnas en pantallas grandes */
@media (max-width: 1600px) {
  .portfolio-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  .portfolio-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 576px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
/* Asegura que el grid se aplique sí o sí */
.services-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;     /* evita estirar raro */
}

/* Todos los hijos del grid se renderizan como bloques regulares */
.services-grid > *{ display:block; min-width:0; }

/* El enlace ocupa toda la tarjeta y no colapsa */
.service-card-link{ display:block; height:100%; }

/* La card ocupa toda la altura del grid cell, sin solaparse */
.service-card{
  height: 100%;
  box-sizing: border-box;
  position: relative;   /* z-index context para badges, etc. */
}

/* Evita “saltos” por imágenes y asegura que no empujen el layout raro */
.service-image{
  display:block;
  width:100%;
  aspect-ratio: 4 / 3;   /* mantiene proporción estable */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Por si alguna animación interfería (opcional) */
.reveal-zoom{ will-change: transform, opacity; }

/* ======== Reviews + FAQ Layout ======== */
.reviews-faq {
  display: grid;
  grid-template-columns: 1fr; /* móvil: una debajo de otra */
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  max-width: 1400px; /* límite seguro para grandes pantallas */
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  box-sizing: border-box;
}

/* Dos columnas lado a lado en pantallas grandes */
@media (min-width: 992px) {
  .reviews-faq {
    grid-template-columns: 1.1fr 0.9fr; /* Testimonios ligeramente más anchos */
    align-items: start;
  }
}

/* ===== Secciones generales ===== */
.testimonials,
.faq {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  min-width: 0; /* 🔑 Evita overflow en grid */
  box-sizing: border-box;
}

/* En pantallas pequeñas que ocupen TODO el ancho */
@media (max-width: 991px) {
  .reviews-faq {
    padding: 0; /* sin margen lateral */
  }
  .testimonials,
  .faq {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }
}

/* ===== Títulos ===== */
.testimonials h3,
.faq h3 {
  color: #004aad;
  font-size: clamp(1.8rem, 1rem + 1.5vw, 2.2rem);
  margin-bottom: 1.25rem;
  text-align: left;
}

/* ===== TESTIMONIOS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  min-width: 0;
}

/* En pantallas muy grandes, 2 columnas de testimonios */
@media (min-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: #f8f9fc;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.testimonial-card blockquote {
  border-left: 4px solid #004aad;
  padding-left: 1rem;
  color: #333;
  margin: 0 0 0.5rem 0;
  font-style: italic;
}
.testimonial-card footer {
  font-size: 0.9rem;
  color: #555;
}