/* =============================================================
   Trámites Meridiano MX — Global Stylesheet
   Accent palette: Teal #2A7D91 | Dark #0F1E27 | Light #F2F7F9
   ============================================================= */

/* ──────────────────────────────────────────
   0. CUSTOM PROPERTIES
────────────────────────────────────────── */
:root {
  /* Brand colours */
  --c-accent:       #2A7D91;
  --c-accent-dark:  #1C5F70;
  --c-accent-hover: #236880;
  --c-accent-light: #E0F1F5;
  --c-accent-glow:  rgba(42, 125, 145, 0.18);

  /* Neutrals */
  --c-dark:   #0F1E27;
  --c-mid:    #42606E;
  --c-muted:  #7A96A0;
  --c-light:  #F2F7F9;
  --c-border: #CBE0E6;
  --c-white:  #FFFFFF;

  /* Feedback */
  --c-success: #1D9B5A;
  --c-error:   #C8341D;

  /* Typography */
  --ff-heading: 'Sora',  sans-serif;
  --ff-body:    'Inter', sans-serif;

  /* Font scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 4px  rgba(15, 30, 39, 0.06);
  --sh-md: 0 4px 16px rgba(15, 30, 39, 0.10);
  --sh-lg: 0 12px 40px rgba(15, 30, 39, 0.13);
  --sh-xl: 0 24px 64px rgba(15, 30, 39, 0.16);

  /* Layout */
  --nav-h:      68px;
  --container:  1160px;

  /* Transitions */
  --t-fast: 0.18s ease;
  --t:      0.28s ease;
  --t-slow: 0.48s ease;
}

/* ──────────────────────────────────────────
   1. RESET & BASE
────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-dark);
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-light); }
::-webkit-scrollbar-thumb { background: var(--c-accent); border-radius: var(--r-full); }

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ──────────────────────────────────────────
   2. TYPOGRAPHY
────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-dark);
}

h1 { font-size: clamp(2rem, 5vw, var(--fs-5xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--fs-4xl)); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-xl); }

p { color: var(--c-mid); }

strong { font-weight: 600; color: var(--c-dark); }

.text-accent { color: var(--c-accent); }
.text-muted   { color: var(--c-muted); }
.text-center  { text-align: center; }

/* ──────────────────────────────────────────
   3. LAYOUT & CONTAINERS
────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-6);
}

.section {
  padding-block: var(--s-20);
}

.section--alt {
  background-color: var(--c-light);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s-12);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s-3);
}

.section__title {
  margin-bottom: var(--s-4);
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-mid);
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   4. BUTTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
  box-shadow: 0 4px 18px var(--c-accent-glow);
}

.btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  box-shadow: 0 6px 24px var(--c-accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.55);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--c-white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.btn--outline-dark:hover {
  background: var(--c-accent-light);
}

.btn--lg {
  padding: var(--s-4) var(--s-8);
  font-size: var(--fs-lg);
}

.btn--sm {
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm);
}

/* ──────────────────────────────────────────
   5. NAVIGATION
────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Brand / Logo */
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-accent);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  flex-shrink: 0;
}

.nav__brand-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  white-space: nowrap;
}

/* Desktop links */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--s-2);
}

.nav__link {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-mid);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  transition: color var(--t), background var(--t);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--s-3);
  right: var(--s-3);
  height: 2px;
  background: var(--c-accent);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transition: transform var(--t);
}

.nav__link:hover {
  color: var(--c-accent);
  background: var(--c-accent-light);
}

.nav__link:hover::after,
.nav__link--active::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link--active,
.nav__link[aria-current="page"] {
  color: var(--c-accent);
  font-weight: 600;
}

.nav__link--cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  border-radius: var(--r-full);
  padding: var(--s-2) var(--s-5);
  margin-left: var(--s-2);
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: var(--c-accent-dark) !important;
  color: var(--c-white) !important;
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  transition: background var(--t);
  flex-shrink: 0;
}

.nav__burger:hover { background: var(--c-light); }

.nav__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  border-radius: var(--r-full);
  margin-inline: auto;
  transition: transform var(--t), opacity var(--t);
}

/* Open state */
.nav__burger.is-open .nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open .nav__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-open .nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-md);
  z-index: 899;
  padding: var(--s-4) var(--s-6) var(--s-6);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}

.nav__mobile.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-dark);
  padding: var(--s-3) var(--s-2);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t), padding-left var(--t);
}

.nav__mobile-link:hover {
  color: var(--c-accent);
  padding-left: var(--s-4);
}

.nav__mobile-link:last-child { border-bottom: none; }

.nav__mobile-link--cta {
  margin-top: var(--s-4);
  display: inline-flex;
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-full);
  border-bottom: none;
  font-weight: 600;
}

.nav__mobile-link--cta:hover {
  background: var(--c-accent-dark);
  padding-left: var(--s-6) !important;
}

/* ──────────────────────────────────────────
   6. HERO SECTION
────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--c-dark) 0%, #173546 55%, var(--c-accent-dark) 100%);
  overflow: hidden;
  padding-block: var(--s-20);
}

/* Decorative circles */
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__decor-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
}

.hero__decor-circle:nth-child(1) {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
}

.hero__decor-circle:nth-child(2) {
  width: 400px; height: 400px;
  top: -80px; right: 50px;
  border-color: rgba(255,255,255,0.04);
}

.hero__decor-circle:nth-child(3) {
  width: 200px; height: 200px;
  top: 80px; right: 200px;
  border-color: rgba(255,255,255,0.05);
  background: rgba(42,125,145,0.08);
}

.hero__decor-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -100px;
  background: radial-gradient(ellipse, rgba(42,125,145,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

/* Dot grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: var(--s-1) var(--s-4);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.05em;
  margin-bottom: var(--s-6);
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(42,125,145,0.35);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: var(--s-6);
  letter-spacing: -0.02em;
}

.hero__title mark {
  background: none;
  color: #5EC7DB;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, var(--fs-xl));
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: var(--s-10);
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-10);
}

.hero__badge {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  max-width: 480px;
}

.hero__badge-icon {
  flex-shrink: 0;
  color: #FBBF24;
  margin-top: 2px;
}

.hero__badge-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.hero__badge-text strong {
  color: var(--c-white);
}

/* ──────────────────────────────────────────
   7. DISCLAIMER BANNER
────────────────────────────────────────── */
.disclaimer-bar {
  background: #FEF3C7;
  border-bottom: 1px solid #FDE68A;
  padding: var(--s-3) 0;
}

.disclaimer-bar__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
}

.disclaimer-bar__icon {
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-bar__text {
  font-size: var(--fs-sm);
  color: #92400E;
  line-height: 1.5;
}

/* ──────────────────────────────────────────
   8. SERVICES CARDS
────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-6);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-accent);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  color: var(--c-accent);
  margin-bottom: var(--s-5);
  transition: background var(--t), color var(--t);
}

.service-card:hover .service-card__icon {
  background: var(--c-accent);
  color: var(--c-white);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-3);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   9. PROCESS STEPS
────────────────────────────────────────── */
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  position: relative;
}

.process-step {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  padding: var(--s-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t), border-color var(--t);
}

.process-step:hover {
  box-shadow: var(--sh-md);
  border-color: var(--c-accent-light);
}

.process-step__num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--c-accent-glow);
}

.process-step__body {}

.process-step__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-2);
}

.process-step__text {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   10. TESTIMONIALS
────────────────────────────────────────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  position: relative;
  transition: box-shadow var(--t);
}

.testimonial-card:hover { box-shadow: var(--sh-md); }

.testimonial-card__quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--c-accent-light);
  font-family: Georgia, serif;
  margin-bottom: var(--s-2);
  display: block;
  margin-top: -0.5rem;
}

.testimonial-card__text {
  font-size: var(--fs-base);
  color: var(--c-mid);
  line-height: 1.7;
  margin-bottom: var(--s-6);
  font-style: italic;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-accent-light);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-dark);
  display: block;
}

.testimonial-card__city {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--s-4);
  color: #F59E0B;
}

/* ──────────────────────────────────────────
   11. FAQ ACCORDION
────────────────────────────────────────── */
.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-white);
  transition: border-color var(--t), box-shadow var(--t);
}

.faq__item--open {
  border-color: var(--c-accent);
  box-shadow: var(--sh-sm);
}

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background var(--t);
}

.faq__btn:hover { background: var(--c-light); }

.faq__item--open .faq__btn { background: var(--c-accent-light); }

.faq__question {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.4;
}

.faq__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  border-radius: 50%;
  color: var(--c-accent);
  transition: transform var(--t), background var(--t), color var(--t);
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--c-accent);
  color: var(--c-white);
}

.faq__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq__answer {
  padding: 0 var(--s-6) var(--s-6);
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-4);
}

.faq__answer p {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  line-height: 1.75;
}

/* ──────────────────────────────────────────
   12. CONTACT FORM
────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}

.contact-info__title {
  margin-bottom: var(--s-6);
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-top: 2px;
}

.contact-info__label {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: var(--fs-base);
  color: var(--c-dark);
  line-height: 1.5;
}

.contact-info__value a {
  color: var(--c-accent);
  transition: color var(--t);
}

.contact-info__value a:hover { color: var(--c-accent-dark); }

/* Hours table */
.contact-hours {
  background: var(--c-light);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.contact-hours__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-3);
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-mid);
}

.contact-hours__row:last-child { border-bottom: none; }

.contact-hours__day { font-weight: 500; color: var(--c-dark); }

/* Form card */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  box-shadow: var(--sh-md);
}

.form-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-2);
}

.form-card__subtitle {
  color: var(--c-mid);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-8);
}

.form-group {
  margin-bottom: var(--s-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.form-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: var(--s-2);
}

.form-label span { color: var(--c-accent); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--c-dark);
  background: var(--c-white);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
  background: #FAFEFF;
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(200, 52, 29, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error-msg {
  display: none;
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--s-1);
}

.form-error-msg.is-visible { display: block; }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--s-8);
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 64px; height: 64px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-success);
  margin: 0 auto var(--s-4);
}

.form-success__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-2);
}

.form-success__text {
  color: var(--c-mid);
  font-size: var(--fs-base);
}

/* ──────────────────────────────────────────
   13. CTA SECTION
────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--c-dark) 0%, #1A4D5F 50%, var(--c-accent-dark) 100%);
  padding-block: var(--s-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-section__eyebrow {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--s-4);
}

.cta-section__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, var(--fs-5xl));
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--s-4);
  position: relative;
}

.cta-section__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-8);
  max-width: 520px;
  margin-inline: auto;
  position: relative;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  position: relative;
}

/* ──────────────────────────────────────────
   14. FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.65);
  padding-top: var(--s-16);
  padding-bottom: var(--s-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-10);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--c-accent);
  margin-bottom: var(--s-4);
  text-decoration: none;
  width: fit-content;
}

.footer__logo-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-white);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--s-5);
  line-height: 1.6;
}

.footer__disclaimer {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid #FBBF24;
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
}

.footer__disclaimer p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer__nav-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__nav-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t), padding-left var(--t);
  text-decoration: none;
}

.footer__nav-link:hover {
  color: var(--c-white);
  padding-left: var(--s-2);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.footer__contact-icon {
  flex-shrink: 0;
  color: var(--c-accent);
  margin-top: 3px;
}

.footer__contact-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.60);
  transition: color var(--t);
  line-height: 1.6;
}

.footer__contact-link:hover { color: var(--c-white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
}

.footer__bottom-link {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.40);
  transition: color var(--t);
}

.footer__bottom-link:hover { color: rgba(255,255,255,0.80); }

/* ──────────────────────────────────────────
   15. INNER PAGE HEADER
────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, #173546 60%, var(--c-accent-dark) 100%);
  padding: var(--s-16) 0 var(--s-12);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--s-5);
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}

.page-hero__breadcrumb a:hover { color: var(--c-white); }

.page-hero__breadcrumb span { color: rgba(255,255,255,0.25); }

.page-hero__content { position: relative; z-index: 1; }

.page-hero__eyebrow {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: block;
  margin-bottom: var(--s-3);
}

.page-hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   16. NOSOTROS PAGE
────────────────────────────────────────── */
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.value-card {
  display: flex;
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  align-items: flex-start;
  transition: box-shadow var(--t), border-color var(--t);
}

.value-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--c-accent-light);
}

.value-card__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}

.value-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: var(--s-2);
}

.value-card__text {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  line-height: 1.7;
}

.about-stat {
  text-align: center;
  padding: var(--s-8);
}

.about-stat__num {
  font-family: var(--ff-heading);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--c-accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--s-2);
}

.about-stat__label {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-1);
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stats-grid .about-stat {
  background: var(--c-white);
}

/* ──────────────────────────────────────────
   17. LEGAL / PROSE PAGES
────────────────────────────────────────── */
.prose-page {
  max-width: 780px;
  margin-inline: auto;
}

.prose-page h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-dark);
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--c-accent-light);
}

.prose-page h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-dark);
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
}

.prose-page p {
  font-size: var(--fs-base);
  color: var(--c-mid);
  line-height: 1.8;
  margin-bottom: var(--s-4);
}

.prose-page ul, .prose-page ol {
  margin-bottom: var(--s-4);
  padding-left: var(--s-6);
}

.prose-page ul li { list-style: disc; }
.prose-page ol li { list-style: decimal; }

.prose-page li {
  font-size: var(--fs-base);
  color: var(--c-mid);
  line-height: 1.75;
  margin-bottom: var(--s-2);
}

.prose-page a {
  color: var(--c-accent);
  transition: color var(--t);
}

.prose-page a:hover { color: var(--c-accent-dark); }

.prose-date {
  display: inline-block;
  background: var(--c-accent-light);
  color: var(--c-accent-dark);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  margin-bottom: var(--s-8);
}

/* ──────────────────────────────────────────
   18. SCROLL REVEAL ANIMATIONS
────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 var(--c-accent-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(42,125,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(42,125,145,0); }
}

/* Hero entrance animation */
.hero__eyebrow  { animation: fadeInUp 0.6s ease both; animation-delay: 0.1s; }
.hero__title    { animation: fadeInUp 0.6s ease both; animation-delay: 0.25s; }
.hero__subtitle { animation: fadeInUp 0.6s ease both; animation-delay: 0.4s; }
.hero__ctas     { animation: fadeInUp 0.6s ease both; animation-delay: 0.55s; }
.hero__badge    { animation: fadeInUp 0.6s ease both; animation-delay: 0.7s; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* ──────────────────────────────────────────
   19. RESPONSIVE — sm (≥640px)
────────────────────────────────────────── */
@media (min-width: 640px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────
   20. RESPONSIVE — md (≥768px)
────────────────────────────────────────── */
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }

  .footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
    gap: var(--s-8);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-layout { grid-template-columns: 1fr 1.2fr; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ──────────────────────────────────────────
   21. RESPONSIVE — lg (≥1024px)
────────────────────────────────────────── */
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(4, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────
   22. UTILITIES
────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.w-full  { width: 100%; }

/* Glassmorphism card */
.glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
}
