/* ============================================================
   REPARATEC VALENCIA — Diseño moderno 2025
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Variables CSS --- */
:root {
  --primary:       #443dfd;
  --primary-dark:  #17135f;
  --primary-light: #6d68ff;
  --accent:        #d99a22;
  --accent-light:  #f5c842;
  --text:          #111827;
  --muted:         #6b7280;
  --soft:          #f5f7fa;
  --soft-2:        #edf0f7;
  --border:        #e5e7eb;
  --white:         #ffffff;
  --dark:          #0d111a;
  --success:       #16a34a;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(68,61,253,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 50px rgba(68,61,253,.14), 0 8px 20px rgba(0,0,0,.08);
  --shadow-xl:  0 32px 80px rgba(68,61,253,.18), 0 12px 32px rgba(0,0,0,.10);

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* --- Layout --- */
.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.container-sm { width: min(100% - 40px, 780px); margin-inline: auto; }

.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--soft); }
.section-soft-2 { background: var(--soft-2); }

.grid-2 {
  display: grid;
  gap: 40px;
}

.grid-3 {
  display: grid;
  gap: 24px;
}

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(40px, 6.5vw, 72px); }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: clamp(20px, 2.5vw, 24px); }
h4 { font-size: 20px; }

.text-muted { color: var(--muted); }
.text-lead { font-size: 19px; line-height: 1.75; color: var(--muted); }

/* --- Kicker / badge label --- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(68,61,253,.08);
  border: 1px solid rgba(68,61,253,.15);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.kicker-light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: var(--white);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 24px;
  padding: 9px 20px;
  background: var(--primary-dark);
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.topbar p { margin: 0; }

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition);
}

.topbar a svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar a:hover { opacity: .8; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(229,231,235,.8);
  box-shadow: 0 1px 20px rgba(0,0,0,.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.nav-brand img {
  width: 152px;
  height: auto;
  display: block;
}

/* Desktop menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  transition: color var(--transition), background var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li:focus-within > a {
  color: var(--primary);
  background: rgba(68,61,253,.06);
}

.nav-menu > .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-menu > .menu-item-has-children > a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .7;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-menu > .menu-item-has-children:hover > a::after,
.nav-menu > .menu-item-has-children:focus-within > a::after {
  transform: translateY(1px) rotate(225deg);
  opacity: 1;
}

/* Dropdown */
.nav-submenu {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
  width: 320px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 50;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-menu .menu-item-has-children:hover > .nav-submenu,
.nav-menu .menu-item-has-children:focus-within > .nav-submenu { display: grid; gap: 2px; }

.nav-submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}

.nav-submenu a:hover { color: var(--primary); background: var(--soft); }

/* Nav CTA */
.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(68,61,253,.25);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: #352fd6;
  box-shadow: 0 6px 20px rgba(68,61,253,.35);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--radius);
  background: var(--primary);
  transition: background var(--transition);
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu open state */
.nav-toggle:checked ~ .nav-menu {
  display: grid;
  position: absolute;
  left: 20px;
  right: 20px;
  top: 74px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 14px;
  gap: 4px;
}

.nav-toggle:checked ~ .nav-menu > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 16px;
}

.nav-toggle:checked ~ .nav-menu .nav-submenu {
  display: grid;
  position: static;
  transform: none;
  width: 100%;
  box-shadow: none;
  border: none;
  background: var(--soft);
  border-radius: var(--radius);
  margin-top: 4px;
  padding: 8px;
}

/* ============================================================
   HERO — HOMEPAGE (Slider)
   ============================================================ */
.hero-home {
  position: relative;
  isolation: isolate;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: heroSlide 28s ease-in-out infinite;
}

.hero-slide:nth-child(1) { opacity: 1; animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
.hero-slide:nth-child(4) { animation-delay: 21s; }

@keyframes heroSlide {
  0%    { opacity: 1; transform: scale(1.04); }
  22%   { opacity: 1; }
  26%   { opacity: 0; transform: scale(1.10); }
  100%  { opacity: 0; transform: scale(1.10); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,8,55,.88) 0%, rgba(10,8,55,.65) 55%, rgba(10,8,55,.30) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.50) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-home .hero-copy { max-width: 820px; }

.hero-home h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 70px);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.hero-home .hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: rgba(255,255,255,.92);
  margin-bottom: 18px;
  max-width: 680px;
  line-height: 1.4;
}

.hero-home .hero-intro {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent-light); }

/* ============================================================
   HERO — INTERIOR PAGES
   ============================================================ */
.hero-inner {
  padding: 80px 0 88px;
  background:
    linear-gradient(140deg, var(--soft-2) 0%, rgba(255,255,255,1) 60%),
    linear-gradient(90deg, rgba(217,154,34,.07) 0%, rgba(68,61,253,.05) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(68,61,253,.18), transparent);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy .kicker { margin-bottom: 16px; }

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  max-width: 620px;
  line-height: 1.4;
}

.hero-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 30px;
  line-height: 1.75;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(68,61,253,.12);
  border-radius: var(--radius);
  color: #374151;
  font-weight: 600;
  font-size: 15px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-trust::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 20px -16px -16px 20px;
  border: 2px solid rgba(68,61,253,.12);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(68,61,253,.25);
}

.btn-primary:hover {
  background: #352fd6;
  box-shadow: 0 8px 28px rgba(68,61,253,.35);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
}

.btn-whatsapp:hover {
  background: #20b858;
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.50);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.80);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(68,61,253,.30);
}

.btn-outline:hover {
  background: rgba(68,61,253,.06);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .kicker { margin-inline: auto; }

.section-header h2 { max-width: 760px; }
.section-header.centered h2 { margin-inline: auto; }

.section-header p {
  margin-top: 16px;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-header.centered p { margin-inline: auto; }

/* ============================================================
   CARDS — GENERAL
   ============================================================ */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(68,61,253,.18);
}

.card:hover::after { opacity: 1; }

.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0; }

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(68,61,253,.10), rgba(68,61,253,.05));
  border: 1px solid rgba(68,61,253,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.card-icon svg { width: 24px; height: 24px; color: var(--primary); }

/* ============================================================
   SERVICE CARDS (with image)
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(68,61,253,.15);
}

.service-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--soft-2);
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-card-thumb img { transform: scale(1.06); }

.service-card-body { padding: 26px 26px 28px; }

.service-card-accent {
  width: 44px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.service-card-body h3 { font-size: 20px; margin-bottom: 8px; }

.service-card-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card-link:hover { color: var(--accent); gap: 10px; }
.card-link:hover svg { transform: translateX(3px); }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.card-grid-2 { display: grid; gap: 22px; }
.card-grid-3 { display: grid; gap: 22px; }
.card-grid-4 { display: grid; gap: 22px; }

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  gap: 52px;
  align-items: start;
}

.two-col-copy h2 { margin-bottom: 16px; }
.two-col-copy p { color: var(--muted); margin-bottom: 16px; }

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list { display: grid; gap: 10px; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 15.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.check-list li:hover { border-color: rgba(68,61,253,.18); box-shadow: var(--shadow-md); }

.check-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px;
}

/* ============================================================
   LINK GRID (related services)
   ============================================================ */
.link-grid { display: grid; gap: 10px; }

.link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.link-grid a::after {
  content: '→';
  font-size: 16px;
  transition: transform var(--transition);
}

.link-grid a:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: rgba(68,61,253,.02);
}

.link-grid a:hover::after { transform: translateX(4px); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pill-list.centered {
  justify-content: center;
}

.pill-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid rgba(68,61,253,.18);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  color: #443dfe;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pill-list a:hover {
  color: var(--primary-dark);
  border-color: rgba(68,61,253,.36);
  background: rgba(68,61,253,.05);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pill-list a:focus-visible {
  outline: 3px solid rgba(68,61,253,.24);
  outline-offset: 3px;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2c26a8 60%, var(--primary) 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 50%, rgba(68,61,253,.3) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 10% 80%, rgba(217,154,34,.10) 0%, transparent 60%);
}

.process-section .section-header { position: relative; z-index: 1; }

.process-section .kicker {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  color: var(--white);
}

.process-section h2 { color: var(--white); }

.steps {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
  counter-reset: step;
  margin-top: 0;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 26px 26px 26px 78px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}

.step:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--dark);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 900;
}

.step h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; line-height: 1.65; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: grid; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover { border-color: rgba(68,61,253,.18); }
.faq-item[open] {
  border-color: rgba(68,61,253,.22);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(68,61,253,.08);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23443dfd' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ============================================================
   STATS / NUMBERS
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  gap: 24px;
  text-align: center;
}

.stat-item {}

.stat-number {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 600;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section .kicker {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  color: var(--white);
  margin-inline: auto;
  display: table;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 700px;
  margin-inline: auto;
}

.cta-section p {
  color: rgba(255,255,255,.78);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.75;
}

.cta-section .actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 68px 0 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand img {
  width: 148px;
  height: auto;
  margin-bottom: 18px;
  opacity: .9;
}

.footer-brand p { line-height: 1.7; max-width: 280px; }

.footer-nav h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav ul { display: grid; gap: 10px; }

.footer-nav a {
  color: rgba(255,255,255,.60);
  text-decoration: none;
  font-size: 14.5px;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  font-size: 14.5px;
}

.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.65); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-localities {
  padding: 36px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-localities h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-localities > ul,
.footer-localities > .footer-menu {
  display: grid;
  gap: 9px 22px;
}

.footer-localities a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-localities a:hover { color: var(--accent); }

.footer-menu,
.footer-localities .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav .footer-menu .sub-menu {
  display: grid;
  gap: 8px;
  margin: 10px 0 0 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.12);
}

.footer-nav .footer-menu .sub-menu a {
  color: rgba(255,255,255,.52);
  font-size: 13.5px;
}

.footer-localities .footer-menu > li {
  break-inside: avoid;
  margin: 0;
}

.footer-localities .footer-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.footer-localities .footer-menu > li > a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .65;
  transition: transform var(--transition), opacity var(--transition);
}

.footer-localities .footer-menu > li.is-open > a,
.footer-localities .footer-menu > li > a:hover,
.footer-localities .footer-menu > li > a:focus-visible {
  color: var(--accent);
  border-color: rgba(217,154,34,.35);
  background: rgba(217,154,34,.08);
}

.footer-localities .footer-menu > li.is-open > a::after {
  transform: translateY(2px) rotate(225deg);
  opacity: 1;
}

.footer-localities .footer-menu .sub-menu {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 18px;
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}

.footer-localities .footer-menu > li.is-open > .sub-menu {
  display: grid;
}

.footer-localities .footer-menu .sub-menu a {
  display: block;
  color: rgba(255,255,255,.56);
  font-size: 13.5px;
  line-height: 1.45;
}

.footer-localities .footer-menu .sub-menu a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,.35);
}

.footer-bottom a {
  color: rgba(255,255,255,.50);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }

.footer-bottom-links .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(37,211,102,.40);
  text-decoration: none;
  animation: waPulse 3s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.10);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
  animation: none;
}

.whatsapp-btn svg { width: 30px; height: 30px; color: var(--white); }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.40); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,.65), 0 0 0 8px rgba(37,211,102,.12); }
}

.whatsapp-tooltip {
  padding: 8px 16px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid { display: grid; gap: 24px; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(68,61,253,.15);
}

.blog-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--soft-2);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}

.blog-card-cat {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.blog-card-date {
  color: var(--muted);
}

.blog-card-sep {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
}

.blog-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { padding: 88px 0; }

.contact-wrapper {
  display: grid;
  gap: 52px;
  align-items: start;
}

.contact-wrapper-compact {
  gap: 40px;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-detail:hover { border-color: rgba(68,61,253,.18); box-shadow: var(--shadow-sm); }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(68,61,253,.12), rgba(68,61,253,.06));
  border: 1px solid rgba(68,61,253,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-detail-text h4 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.contact-detail-text a { font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; transition: color var(--transition); }
.contact-detail-text a:hover { color: var(--primary); }
.contact-detail-text p { color: var(--text); font-size: 15.5px; font-weight: 600; margin: 0; }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card h3 { margin-bottom: 28px; font-size: 24px; }

.contact-form-card,
.rtv-wpforms {
  width: 100%;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(68,61,253,.10);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.rtv-wpforms h3 {
  font-size: 24px;
  margin-bottom: 22px;
}

.rtv-wpforms .wpforms-container {
  margin: 0;
}

.rtv-wpforms .wpforms-field {
  padding: 0 0 18px;
}

.rtv-wpforms .wpforms-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.rtv-wpforms .wpforms-required-label {
  color: var(--primary);
}

.rtv-wpforms input[type="text"],
.rtv-wpforms input[type="tel"],
.rtv-wpforms input[type="email"],
.rtv-wpforms textarea,
.rtv-wpforms select,
.rtv-wpforms .wpforms-field-medium {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 15.5px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.rtv-wpforms textarea {
  min-height: 132px;
  resize: vertical;
}

.rtv-wpforms input:focus,
.rtv-wpforms textarea:focus,
.rtv-wpforms select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(68,61,253,.10);
}

.rtv-wpforms .wpforms-field-sublabel {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.rtv-wpforms .wpforms-field-row {
  max-width: none;
}

.rtv-wpforms .wpforms-field-row::after {
  content: '';
  display: table;
  clear: both;
}

.rtv-wpforms .wpforms-submit-container {
  padding-top: 4px;
}

.rtv-wpforms button.wpforms-submit,
.rtv-wpforms .wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-size: 15.5px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.rtv-wpforms button.wpforms-submit:hover,
.rtv-wpforms .wpforms-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.rtv-wpforms .wpforms-error,
.rtv-wpforms label.wpforms-error {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.rtv-form-fallback {
  padding: 18px;
  border: 1px solid rgba(68,61,253,.14);
  border-radius: var(--radius);
  background: rgba(68,61,253,.05);
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 15.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(68,61,253,.10);
}

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

.form-row { display: grid; gap: 16px; }

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.20);
  border-radius: var(--radius);
  color: var(--success);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soft-2);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23,19,95,.50);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   BLOG ARTICLE (single post)
   ============================================================ */
.article-header {
  padding: 72px 0 52px;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.article-header h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  max-width: 820px;
  margin-bottom: 16px;
}

.article-content {
  padding: 56px 0 80px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-body p {
  color: #374151;
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.article-body h2 { font-size: 28px; margin: 40px 0 16px; }
.article-body h3 { font-size: 22px; margin: 32px 0 14px; }
.article-body h4,
.article-body h5,
.article-body h6 { font-size: 19px; margin: 26px 0 12px; color: var(--primary); }

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  color: #374151;
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.not-found .big-number {
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 900;
  color: rgba(68,61,253,.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ============================================================
   RESPONSIVE — Tablet (≥640px)
   ============================================================ */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Desktop (≥980px)
   ============================================================ */
@media (min-width: 980px) {
  /* Nav */
  .nav-toggle, .nav-toggle-label { display: none; }
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }

  /* Hero grid */
  .hero-grid {
    grid-template-columns: 1fr .85fr;
    align-items: center;
  }

  /* Two-column */
  .two-col { grid-template-columns: 1fr .85fr; }
  .two-col.reverse { }
  .two-col.cols-equal { grid-template-columns: 1fr 1fr; }

  /* Grids */
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(5, 1fr); }

  /* Steps */
  .steps { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .step { padding: 64px 18px 22px 18px; }
  .step::before { left: 18px; top: 18px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr 1fr; gap: 56px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

  /* Link grid */
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid-3 { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-localities ul { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 60px 0 68px; }

  .actions { flex-direction: column; }
  .actions .btn { width: 100%; justify-content: center; }

  .topbar { flex-direction: column; gap: 4px; font-size: 13px; }

  .form-card { padding: 28px 20px; }
  .contact-form-card { padding: 24px 18px; }
  .rtv-wpforms .wpforms-field-row-block {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 12px;
  }
  .rtv-wpforms button.wpforms-submit,
  .rtv-wpforms .wpforms-submit {
    width: 100%;
  }

  .pill-list { gap: 10px; }
  .pill-list a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav { min-height: 68px; }
  .nav-toggle:checked ~ .nav-menu { top: 68px; }
}
