/* ========== RESET BÁSICO ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Colores base */
:root {
  --primary: #0db26b;
  --primary-dark: #089055;
  --bg-soft: #f3f4f6;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --header-height: 72px;
}

/* ========== LAYOUT GENERAL ========== */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 2rem 0; }

.section--soft {
  background-color: var(--bg-soft);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  max-width: 680px;
  margin: 0.5rem auto 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ========== TOP BAR (CINTA SUPERIOR) ========== */

.top-bar {
  display: none;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.top-bar a {
  color: #38bdf8;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* ========== HEADER / NAV BAR ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.navbar__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.navbar__title {
  font-weight: 800;
  font-size: 1.25rem;
}

.navbar__subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Menú principal */

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

/* Dropdown */

.navbar__item {
  position: relative;
}

.navbar__dropdown-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.navbar__dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 0;
  min-width: 260px;
  display: none;
  flex-direction: column;
  z-index: 40;
}

.navbar__dropdown-link {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-main);
  white-space: nowrap;
}

.navbar__dropdown-link:hover {
  background-color: var(--bg-soft);
}

.navbar__item:hover .navbar__dropdown {
  display: flex;
}

/* Botón WhatsApp en header */

.navbar__cta {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar__cta:hover {
  filter: brightness(1.05);
}

/* Hamburguesa móvil */

.navbar__toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.navbar__toggle-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  position: relative;
}

.navbar__toggle-line::before,
.navbar__toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
}

.navbar__toggle-line::before {
  top: -5px;
}

.navbar__toggle-line::after {
  top: 5px;
}

/* ========== HERO HOME ========== */

.hero {
  padding: 3rem 0 2.25rem;
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #ecfdf3;
  color: var(--primary-dark);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-highlight {
  color: var(--primary-dark);
}

.hero-text {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-outline:hover {
  background-color: var(--bg-soft);
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Imagen hero */

.hero-figure {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background-color: #020617;
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== CARDS SERVICIOS HOME ========== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-footer {
  margin-top: auto;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* ========== BLOQUES CTA (AUXILIO / INDEMNIZACIÓN) ========== */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-box {
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: radial-gradient(circle at top left, #ecfdf3, #ffffff);
  border: 1px solid #bbf7d0;
}

.cta-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cta-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ========== BLOQUES "POR QUÉ NOSOTROS" ========== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== NEWSLETTER ========== */

.newsletter {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.newsletter-input {
  flex: 1 1 220px;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

/* ========== PÁGINAS INTERNAS GENERALES ========== */

.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
}

.page-layout {
  padding: 3rem 0;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content ul {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

/* Imagen de cabecera interna */

.page-image {
  margin: 1.5rem 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.page-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ========== PÁGINA NOSOTROS: EQUIPO ========== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  background-color: #ffffff;
  text-align: center;
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.team-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ========== PÁGINA CONTACTO ========== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-highlight {
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-form {
  border-radius: 1.25rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  background-color: #ffffff;
}

.form-field {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== BLOG VACÍO ========== */

.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 0 1rem;
}

/* ========== FOOTER ========== */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2rem 0 1.5rem;
  background-color: #f9fafb;
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-left {
  max-width: 420px;
}

.footer-brand {
  font-weight: 700;
}

.footer-contact a {
  color: var(--primary-dark);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .cards-grid,
  .features-grid,
  .cta-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .navbar__menu {
    position: fixed;
    inset: calc(var(--header-height) + 0px) 0 auto 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .navbar__item:hover .navbar__dropdown {
    display: none;
  }

  .navbar__dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0.75rem;
    border: 1px solid var(--border-soft);
    margin-top: 0.25rem;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar--open .navbar__menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}

/* Enhanced styles */


body {
  background: radial-gradient(circle at top left, #f9fafb, #ffffff);
}

a {
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #020617;
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 0.2s ease;
}
.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(226,232,240,0.9);
  background-color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 12px 35px rgba(15,23,42,0.08);
}
.step-number {
  width: 32px; height: 32px; border-radius:999px; background:linear-gradient(135deg,#22c55e,#16a34a);
  color:white; display:flex; align-items:center; justify-content:center; margin-bottom:0.8rem;
}
.step-title { font-weight:700; margin-bottom:0.4rem; }
.step-text { color:#475569; }

.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin-top:2rem;
}
.testimonial-card {
  border-radius:1.25rem; border:1px solid rgba(226,232,240,0.9); background:radial-gradient(circle at top left,#f9fafb,#ffffff);
  padding:1.4rem; box-shadow:0 12px 35px rgba(15,23,42,0.08);
}
.testimonial-text { font-size:0.9rem; margin-bottom:0.9rem; }
.testimonial-author { font-size:0.85rem; color:#475569; }



/* === Reveal on scroll === */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}
.modal--visible {
  opacity: 1;
  pointer-events: auto;
}
.modal__panel {
  max-width: 460px;
  width: 100%;
  margin: 0 1.25rem;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.45);
}
.modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.modal__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.modal__close {
  font-size: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Responsive tweaks for steps & testimonials */
@media (max-width: 960px) {
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* === FIX HEADER COLORS (LIGHT MODE) === */
.navbar__link {
  text-decoration: none;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.15rem 0;
}

.top-bar {
  background-color: #020617;
  color: #ffffff !important;
  font-size: 0.85rem;
}

.top-bar a {
  color: #38bdf8 !important;
  font-weight: 600;
}

body:not(.theme-dark) .navbar__link {
  color: #ffffff !important;
}

body:not(.theme-dark) .navbar__brand,
body:not(.theme-dark) .navbar__subtitle {
  color: #ffffff !important;
}

body:not(.theme-dark) .navbar__cta {
  color: #ffffff !important;
}



/* Modal restored */
.modal {position: fixed; inset:0; background: rgba(15,23,42,0.55);
 display:flex; align-items:center; justify-content:center;
 opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:60;}
.modal--visible {opacity:1; pointer-events:auto;}
.modal__panel {max-width:460px;width:100%;margin:0 1.25rem;background:#fff;
 border-radius:1.25rem;padding:1.6rem 1.5rem; box-shadow:0 18px 45px rgba(15,23,42,0.45);}
.modal__title {font-size:1.2rem;font-weight:700;margin-bottom:0.5rem;}
.modal__text {font-size:0.9rem;color:#475569;margin-bottom:1rem;}
.modal__actions {display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:0.25rem;}
.modal__close {font-size:0.8rem;background:transparent;border:none;color:#475569;cursor:pointer;margin-top:0.75rem;}


/* === Ajustes de hero y header (versión estable) === */
.hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, #e0f2fe, #ffffff);
  min-height: 360px;
}

.hero-grid {
  min-height: 320px;
  align-items: center;
}

/* Header colores y alineación */
.site-header {
  background-color: #020617;
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  text-decoration: none;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.navbar__brand,
.navbar__subtitle {
  color: #ffffff !important;
}

.navbar__cta {
  color: #ffffff !important;
}

.top-bar {
  background-color: #020617;
  color: #ffffff !important;
}

.top-bar a {
  color: #38bdf8 !important;
  font-weight: 600;
}



/* WhatsApp CTA widget */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16,185,129,0.45);
  border: none;
  white-space: nowrap;
}

.navbar__cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ecfdf5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar__cta-text {
  font-size: 0.9rem;
}

.navbar__cta:hover {
  background: #16a34a;
  box-shadow: 0 12px 24px rgba(22,163,74,0.55);
  transform: translateY(-1px);
}

/* Header uniform links */
.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}


/* === Modal promocional Mi Pension Ya === */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.modal-backdrop.modal--visible {
  display: flex;
}

.modal-dialog {
  position: relative;
  max-width: 420px;
  width: 90%;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 60px rgba(15,23,42,0.65);
}

.modal-badge {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  margin-bottom: 0.6rem;
}

.modal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.modal-text {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.modal-list {
  font-size: 0.85rem;
  margin: 0 0 0.9rem 1rem;
  padding: 0;
  color: #cbd5f5;
}

.modal-list li {
  margin-bottom: 0.25rem;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(34,197,94,0.5);
}

.modal-cta-icon {
  font-size: 1rem;
}

.modal-cta:hover {
  background: #16a34a;
}

.modal-note {
  font-size: 0.72rem;
  margin-top: 0.6rem;
  color: #9ca3af;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #e5e7eb;
}

@media (max-width: 640px) {
  .modal-dialog {
    padding: 1.4rem 1.25rem 1.2rem;
  }
}


/* === Mobile navigation layout fix === */
@media (max-width: 960px) {
  .navbar {
    height: var(--header-height);
    position: relative;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__menu {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem 1.1rem;
    background-color: #020617;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 18px 35px rgba(15,23,42,0.65);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    z-index: 45;
  }

  .navbar__item,
  .navbar__link {
    width: 100%;
  }

  .navbar__link {
    color: #e5e7eb;
    font-size: 0.98rem;
    padding: 0.25rem 0;
  }

  .navbar__cta {
    align-self: stretch;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .navbar--open .navbar__menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
