/* ============================================================
   REPARATEC VALENCIA — Diseño moderno 2025
   ============================================================ */

/* Fuente del sistema: evita una solicitud CSS bloqueante a Google Fonts. */

/* --- 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: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe 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: #087b35;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
}

.btn-whatsapp:hover {
  background: #06662c;
  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,.78);
}

.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-clickable {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.card-clickable:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 4px;
}

.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: center;
}

.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; }

/* ============================================================
   REVIEWS WIDGET
   ============================================================ */
.reviews-section {
  background: var(--white);
}

.reviews-widget {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(68,61,253,.10);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.reviews-widget:empty {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  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 h3 {
  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,.78);
  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,.82);
  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,.82); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-item p { margin: 0; }

.footer-localities {
  padding: 36px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-localities h3 {
  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,.75);
  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,.78);
  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,.75);
}

.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 h2,
.blog-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card h2 a,
.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card h2 a:hover,
.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 h3 { 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; }

.contact-map {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

/* 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;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thank-you-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(68,61,253,.10), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(37,211,102,.08), transparent 30%),
    var(--soft);
}

.thank-you-card {
  padding: 48px;
  background: var(--white);
  border: 1px solid rgba(68,61,253,.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--success), #22c55e);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px rgba(22,163,74,.22);
}

.thank-you-icon svg { width: 34px; height: 34px; }
.thank-you-card .kicker { margin-inline: auto; }
.thank-you-card h1 { margin: 20px auto 16px; max-width: 680px; }

.thank-you-lead {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.thank-you-steps {
  display: grid;
  gap: 12px;
  max-width: 650px;
  margin: 0 auto 28px;
  text-align: left;
}

.thank-you-steps article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.thank-you-steps article > span {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 800;
}

.thank-you-steps h2 { margin-bottom: 3px; font-size: 17px; }
.thank-you-steps p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.thank-you-urgent { margin-bottom: 22px; color: var(--text); font-weight: 600; }
.thank-you-card .actions { justify-content: center; }

/* ============================================================
   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-hero {
  padding: 72px 0 64px;
  background:
    linear-gradient(135deg, rgba(13,17,26,.96) 0%, rgba(23,19,95,.94) 62%, rgba(68,61,253,.88) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.article-hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.article-hero-copy {
  max-width: 760px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

.article-meta .blog-card-cat {
  color: var(--accent-light);
}

.article-meta .blog-card-sep {
  background: rgba(255,255,255,.3);
}

.article-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.3vw, 60px);
  max-width: 900px;
  margin-bottom: 16px;
}

.article-hero .text-lead {
  color: rgba(255,255,255,.78);
  max-width: 720px;
}

.article-hero-media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 70px 0 90px;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

.article-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}

.article-body {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 4vw, 54px);
}

.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;
}

.article-body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #374151;
  font-weight: 600;
}

.article-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.sidebar-card h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

.sidebar-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.sidebar-cta {
  background:
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--shadow-lg);
}

.sidebar-cta h2,
.sidebar-cta p {
  color: var(--white);
}

.sidebar-cta p {
  color: rgba(255,255,255,.72);
}

.sidebar-cta .kicker {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  color: var(--white);
}

.sidebar-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.sidebar-cta .btn-primary:hover {
  background: rgba(255,255,255,.92);
  color: var(--primary-dark);
}

.sidebar-whatsapp {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 800;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebar-tags a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-posts {
  display: grid;
  gap: 14px;
}

.sidebar-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.sidebar-post img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.sidebar-post > span:first-child:last-child {
  grid-column: 1 / -1;
}

.sidebar-post strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  transition: color var(--transition);
}

.sidebar-post small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-post:hover strong {
  color: var(--primary);
}

/* ============================================================
   BLOG LANDING
   ============================================================ */
.blog-landing-hero {
  padding: 86px 0 76px;
  background:
    linear-gradient(135deg, rgba(13,17,26,.98) 0%, rgba(23,19,95,.96) 54%, rgba(68,61,253,.88) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
  overflow: hidden;
}

.blog-landing-hero-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.blog-hero-copy {
  max-width: 920px;
}

.blog-landing-hero .kicker {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: var(--white);
}

.blog-landing-hero h1 {
  max-width: 940px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
}

.blog-landing-hero .text-lead {
  max-width: 740px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 22px);
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.blog-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.blog-hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 700;
}

.blog-hero-metrics strong {
  color: var(--white);
  font-size: 16px;
}

.blog-hero-panel {
  overflow: hidden;
  background: rgba(255,255,255,.10);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-hero-panel-media {
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.08);
}

.blog-hero-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero-panel-content {
  padding: 24px;
}

.blog-hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 19px;
  margin-bottom: 10px;
}

.blog-hero-panel p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-hero-panel a {
  color: var(--accent-light);
  font-weight: 800;
  text-decoration: none;
}

.blog-category-nav {
  padding: 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(17,24,39,.04);
}

.blog-category-nav .container {
  display: grid;
  gap: 14px;
}

.blog-category-nav-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 18px;
}

.blog-category-nav-head span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-category-nav-head strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.blog-category-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.blog-category-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(68,61,253,.12);
  border-radius: var(--radius-full);
  background: rgba(68,61,253,.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-transform: capitalize;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.blog-category-strip a:hover {
  border-color: rgba(68,61,253,.25);
  background: rgba(68,61,253,.10);
  color: var(--primary);
  transform: translateY(-2px);
}

.blog-category-strip span {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}

.blog-featured-section {
  padding-bottom: 40px;
}

.blog-featured-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.blog-featured-thumb {
  min-height: 280px;
  background: var(--soft-2);
}

.blog-featured-thumb img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.blog-featured-body {
  padding: clamp(28px, 4vw, 52px);
}

.blog-featured-body h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.blog-featured-body h2 a:hover {
  color: var(--primary);
}

.blog-featured-body p {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 22px;
}

.blog-by-category-section {
  padding-top: 40px;
  background: var(--soft);
}

.blog-category-sections {
  display: grid;
  gap: 34px;
}

.blog-category-block {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.blog-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.blog-category-head span {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blog-category-head h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.blog-category-head > a {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.blog-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.blog-pagination .current,
.blog-pagination .page-numbers:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ============================================================
   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; }
  .local-context-grid > .check-list { align-self: center; }

  /* 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); }
  .article-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .article-sidebar {
    position: sticky;
    top: 104px;
  }
  .blog-landing-hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .blog-featured-card { grid-template-columns: minmax(0, .9fr) minmax(0, 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; }
  .thank-you-hero { padding: 56px 0; }
  .thank-you-card { padding: 34px 20px; }
  .thank-you-icon { width: 62px; height: 62px; }
  .thank-you-lead { font-size: 16px; }
  .thank-you-steps article { align-items: flex-start; padding: 16px; }
  .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;
  }

  .article-content { padding: 48px 0 64px; }
  .article-hero { padding: 56px 0 48px; }
  .article-body { padding: 24px 20px; }
  .article-meta { font-size: 13px; }
  .sidebar-card { padding: 22px 18px; }
  .blog-landing-hero { padding: 58px 0 46px; }
  .blog-landing-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }
  .blog-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .blog-hero-metrics {
    gap: 8px;
  }
  .blog-hero-metrics span {
    width: 100%;
    justify-content: space-between;
  }
  .blog-hero-panel-content {
    padding: 20px;
  }
  .blog-category-nav-head {
    display: block;
  }
  .blog-category-nav-head strong {
    display: block;
    margin-top: 5px;
  }
  .blog-hero-panel { padding: 0; }
  .blog-category-head {
    display: block;
  }
  .blog-category-head > a {
    display: inline-flex;
    margin-top: 12px;
  }
  .blog-featured-thumb,
  .blog-featured-thumb img {
    min-height: 220px;
  }
  .blog-category-block {
    padding: 22px 18px;
  }

  .nav { min-height: 68px; }
  .nav-toggle:checked ~ .nav-menu { top: 68px; }
}


/* ============================================================
   REPARATEC COMMERCE — Landings y WooCommerce
   ============================================================ */
.rtv-commerce-landing .hero-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0 clamp(68px, 8vw, 104px);
  background:
    radial-gradient(circle at 85% 20%, rgba(68,61,253,.14), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(224,165,20,.10), transparent 24%),
    linear-gradient(135deg, #f7f8ff 0%, #fff 62%);
  border-bottom: 1px solid rgba(68,61,253,.10);
}
.rtv-commerce-landing .hero-inner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 56px solid rgba(68,61,253,.055);
  border-radius: 50%;
  pointer-events: none;
}
.rtv-commerce-landing .hero-inner .section-header {
  max-width: 980px;
  position: relative;
  z-index: 1;
}
.rtv-commerce-landing .hero-inner h1 {
  max-width: 1050px;
  margin-top: 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.rtv-commerce-landing .section {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}
.rtv-commerce-landing .article-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(16,24,40,.09);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(21,29,61,.09);
}
.rtv-commerce-landing .article-body > p:first-child {
  max-width: 900px;
  margin: 0 0 clamp(42px, 6vw, 66px);
  padding: 24px 28px;
  border-left: 5px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(68,61,253,.075), rgba(68,61,253,.015));
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.75;
}
.rtv-commerce-landing .article-body h2 {
  position: relative;
  margin: 52px 0 16px;
  padding-left: 46px;
  font-size: clamp(27px, 3.5vw, 39px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.rtv-commerce-landing .article-body h2::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .08em;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #716bff);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(68,61,253,.22);
}
.rtv-commerce-landing .article-body h2 + p,
.rtv-commerce-landing .article-body h2 + ul,
.rtv-commerce-landing .article-body h2 + ol {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(68,61,253,.10);
  border-radius: 20px;
  background: #fafaff;
}
.rtv-commerce-landing .article-body p {
  color: #5d6577;
  font-size: 17px;
  line-height: 1.8;
}
.rtv-commerce-landing .article-body ul,
.rtv-commerce-landing .article-body ol {
  display: grid;
  gap: 14px;
  margin: 0;
  color: #4f586b;
}
.rtv-commerce-landing .article-body li {
  position: relative;
  padding-left: 8px;
  line-height: 1.65;
}
.rtv-commerce-landing .article-body li::marker {
  color: var(--primary);
  font-weight: 900;
}
.rtv-commerce-landing .article-body > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 58px 0 0;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 22px;
  background: linear-gradient(135deg, #11182b 0%, #252b55 100%);
  color: rgba(255,255,255,.76);
  box-shadow: 0 22px 42px rgba(17,24,43,.18);
}
.rtv-commerce-landing .article-body > p:last-child a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.rtv-commerce-landing .article-body > p:last-child a:first-child {
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(68,61,253,.35);
}
.rtv-commerce-landing .article-body > p:last-child a:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #171b31;
}

/* Marco general WooCommerce */
.rtv-woocommerce #main-content,
.rtv-woocommerce main {
  background: linear-gradient(180deg, #f7f8ff 0, #fff 360px);
}
.rtv-woocommerce .woocommerce {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0;
  color: var(--text);
}
.rtv-shop-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 42px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #181d39 0%, #33307d 100%);
  color: #fff;
  box-shadow: 0 24px 64px rgba(25,29,57,.20);
}
.rtv-shop-intro .kicker {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.09);
  color: #fff;
}
.rtv-shop-intro h1 {
  max-width: 760px;
  margin: 22px 0 16px;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
}
.rtv-shop-intro > p {
  max-width: 720px;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 2vw, 21px);
}
.rtv-shop-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.rtv-shop-benefits span {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* Catálogo */
.rtv-woocommerce .woocommerce-result-count,
.rtv-woocommerce .woocommerce-ordering {
  margin-bottom: 28px;
}
.rtv-woocommerce .woocommerce-ordering select {
  min-height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.rtv-woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
}
.rtv-woocommerce ul.products::before,
.rtv-woocommerce ul.products::after {
  display: none !important;
}
.rtv-woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 14px 14px 22px !important;
  border: 1px solid rgba(16,24,40,.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(26,34,64,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rtv-woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: rgba(68,61,253,.22);
  box-shadow: 0 22px 48px rgba(26,34,64,.14);
}
.rtv-woocommerce ul.products li.product a img {
  margin: 0 0 18px !important;
  border-radius: 15px;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #f5f6fb;
}
.rtv-product-eyebrow {
  display: inline-flex;
  margin: 0 4px 11px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(68,61,253,.08);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.rtv-woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 4px !important;
  color: var(--text);
  font-size: 20px !important;
  line-height: 1.25;
}
.rtv-woocommerce ul.products li.product .price {
  padding: 0 4px;
  color: var(--primary) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}
.rtv-woocommerce a.button,
.rtv-woocommerce button.button,
.rtv-woocommerce input.button {
  min-height: 48px;
  padding: 13px 20px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--primary), #625cff) !important;
  color: #fff !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  box-shadow: 0 10px 24px rgba(68,61,253,.22);
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.rtv-woocommerce a.button:hover,
.rtv-woocommerce button.button:hover,
.rtv-woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(68,61,253,.30);
}

/* Ficha de producto */
.rtv-woocommerce.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .86fr);
  gap: clamp(34px, 6vw, 76px);
}
.rtv-woocommerce.single-product div.product::before,
.rtv-woocommerce.single-product div.product::after {
  display: none;
}
.rtv-woocommerce.single-product div.product .woocommerce-product-gallery,
.rtv-woocommerce.single-product div.product .summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery {
  align-self: start;
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid rgba(16,24,40,.09);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(26,34,64,.09);
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__image img {
  border-radius: 18px;
  background: #f5f6fb;
}
.rtv-woocommerce.single-product .summary {
  align-self: center;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgba(68,61,253,.11);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(26,34,64,.10);
}
.rtv-woocommerce.single-product .product_title {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.038em;
}
.rtv-woocommerce.single-product .summary .price {
  margin: 0 0 20px;
  color: var(--primary) !important;
  font-size: clamp(27px, 3vw, 36px) !important;
  font-weight: 900;
}
.rtv-woocommerce.single-product .woocommerce-product-details__short-description {
  color: #5c6577;
  font-size: 17px;
  line-height: 1.75;
}
.rtv-product-promises {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.rtv-product-promises > span {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #f6f7ff;
}
.rtv-product-promises strong {
  color: var(--text);
  font-size: 14px;
}
.rtv-product-promises small {
  color: #6b7384;
  font-size: 13px;
}
.rtv-woocommerce.single-product form.cart {
  display: flex;
  gap: 10px;
  margin: 26px 0 !important;
}
.rtv-woocommerce .quantity .qty {
  min-height: 48px;
  max-width: 76px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
}
.rtv-woocommerce.single-product .product_meta {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #72798a;
  font-size: 13px;
}
.rtv-woocommerce.single-product .woocommerce-tabs,
.rtv-woocommerce.single-product .related,
.rtv-installation-guide {
  grid-column: 1 / -1;
}
.rtv-woocommerce.single-product .woocommerce-tabs {
  margin-top: 18px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  padding: 0 !important;
  border: 0 !important;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f2f8 !important;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 11px 18px !important;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--primary) !important;
}
.rtv-woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

/* Proceso de instalación */
.rtv-installation-guide {
  margin-top: 30px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 28px;
  background: linear-gradient(145deg, #161b32 0%, #29275e 100%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(18,23,48,.22);
}
.rtv-installation-intro {
  max-width: 790px;
}
.rtv-installation-intro h2 {
  margin: 20px 0 14px;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.rtv-installation-intro p {
  color: rgba(255,255,255,.72);
  font-size: 18px;
}
.rtv-installation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.rtv-installation-grid article {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.065);
}
.rtv-installation-grid article > span {
  display: block;
  margin-bottom: 22px;
  color: #b9b6ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.rtv-installation-grid h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 21px;
}
.rtv-installation-grid p {
  margin: 0;
  color: rgba(255,255,255,.67);
  font-size: 15px;
  line-height: 1.65;
}
.rtv-installation-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
}
.rtv-installation-note strong {
  color: #fff;
}
.rtv-installation-note span {
  color: rgba(255,255,255,.67);
  font-size: 14px;
}

/* Mensajes, migas y tienda todavía vacía */
.rtv-woocommerce .woocommerce-breadcrumb {
  margin-bottom: 24px;
  color: #7a8190;
  font-size: 14px;
}
.rtv-woocommerce .woocommerce-message,
.rtv-woocommerce .woocommerce-info,
.rtv-woocommerce .woocommerce-error {
  border: 0;
  border-radius: 15px;
  background: #f3f4ff;
  color: var(--text);
  box-shadow: 0 10px 32px rgba(26,34,64,.08);
}
.rtv-woocommerce .woocommerce-info {
  border-left: 5px solid var(--primary);
}
.rtv-woocommerce .woocommerce-no-products-found {
  padding: 38px;
  border: 1px dashed rgba(68,61,253,.25);
  border-radius: 20px;
  background: #fafaff;
  text-align: center;
}
.rtv-woocommerce .related {
  margin-top: 18px;
}
.rtv-woocommerce .related > h2 {
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 42px);
}

@media (max-width: 900px) {
  .rtv-woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rtv-woocommerce.single-product div.product {
    grid-template-columns: 1fr;
  }
  .rtv-installation-grid {
    grid-template-columns: 1fr;
  }
  .rtv-installation-note {
    grid-template-columns: 1fr;
  }
  .rtv-installation-note .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .rtv-commerce-landing .hero-inner {
    padding: 56px 0 62px;
  }
  .rtv-commerce-landing .hero-inner h1 {
    font-size: clamp(40px, 12vw, 54px);
  }
  .rtv-commerce-landing .article-body {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .rtv-commerce-landing .article-body > p:first-child {
    padding: 18px 18px;
  }
  .rtv-commerce-landing .article-body h2 {
    margin-top: 40px;
    padding-left: 0;
  }
  .rtv-commerce-landing .article-body h2::before {
    position: static;
    margin-bottom: 14px;
  }
  .rtv-commerce-landing .article-body > p:last-child {
    margin-top: 42px;
    padding: 22px 18px;
  }
  .rtv-commerce-landing .article-body > p:last-child a {
    width: 100%;
    justify-content: center;
  }
  .rtv-woocommerce .woocommerce {
    width: min(100% - 24px, 1180px);
    padding: 38px 0 64px;
  }
  .rtv-shop-intro {
    margin-bottom: 28px;
    padding: 30px 22px;
    border-radius: 21px;
  }
  .rtv-shop-intro h1 {
    font-size: 40px;
  }
  .rtv-shop-benefits {
    display: grid;
  }
  .rtv-woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .rtv-woocommerce.single-product .summary {
    padding: 24px 19px;
  }
  .rtv-product-promises > span {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .rtv-woocommerce.single-product form.cart {
    align-items: stretch;
  }
  .rtv-woocommerce.single-product form.cart .single_add_to_cart_button {
    flex: 1;
  }
  .rtv-woocommerce.single-product .woocommerce-tabs {
    padding: 22px 18px;
  }
  .rtv-woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
  }
  .rtv-installation-guide {
    padding: 32px 20px;
    border-radius: 22px;
  }
}


/* Ajuste final de titulares comerciales en móvil */
@media (max-width: 600px) {
  .rtv-commerce-landing .hero-inner h1,
  .rtv-shop-intro h1,
  .rtv-woocommerce.single-product .product_title {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .rtv-commerce-landing .hero-inner h1 {
    font-size: clamp(36px, 10.8vw, 46px);
  }
}


/* ============================================================
   FOOTER — Cobertura local completa
   ============================================================ */
.footer-localities-intro {
  max-width: 760px;
  margin: -6px 0 22px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
}
.footer-localities .footer-localities-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px 11px;
}
.footer-localities .footer-localities-grid > li > a {
  min-height: 40px;
  padding: 9px 11px;
  justify-content: flex-start;
  border-color: rgba(255,255,255,.075);
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.28;
}
.footer-localities .footer-localities-grid > li > a::after {
  content: "→";
  width: auto;
  height: auto;
  margin-left: auto;
  border: 0;
  transform: none;
  opacity: .42;
}
.footer-localities .footer-localities-grid > li > a:hover::after,
.footer-localities .footer-localities-grid > li > a:focus-visible::after {
  transform: translateX(3px);
  opacity: 1;
}
.footer-localities .footer-localities-grid > .footer-localities-hub {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}
.footer-localities .footer-localities-grid > .footer-localities-hub > a {
  min-height: 46px;
  justify-content: center;
  border-color: rgba(217,154,34,.26);
  background: rgba(217,154,34,.085);
  color: #f2c65f;
  font-size: 14px;
}
.footer-localities .footer-localities-grid > .footer-localities-hub > a::after {
  margin-left: 4px;
}
@media (max-width: 979px) {
  .footer-localities .footer-localities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .footer-localities .footer-localities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .footer-localities .footer-localities-grid > li > a {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 12.5px;
  }
}


/* ============================================================
   LANDINGS DE VENTA — Catálogo provisional
   ============================================================ */
.rtv-sales-showcase {
  margin: clamp(44px, 7vw, 76px) 0;
}
.rtv-sales-showcase-head {
  max-width: 820px;
  margin-bottom: 28px;
}
.rtv-sales-showcase-head .kicker {
  margin-bottom: 18px;
}
.rtv-sales-showcase-head h2 {
  margin: 0 0 13px;
  padding: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.07;
  letter-spacing: -.035em;
}
.rtv-sales-showcase-head h2::before {
  display: none;
}
.rtv-sales-showcase-head p {
  margin: 0;
  color: #687184;
  font-size: 15px;
}
.rtv-sales-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rtv-sales-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28,36,68,.09);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rtv-sales-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(68,61,253,.22);
  box-shadow: 0 24px 50px rgba(28,36,68,.14);
}
.rtv-sales-product-card:only-child {
  grid-column: 1 / span 2;
}
.rtv-sales-product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(68,61,253,.07), transparent 40%),
    #f5f6f9;
}
.rtv-sales-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.rtv-sales-product-image > span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.rtv-sales-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.rtv-sales-product-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(68,61,253,.08);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.rtv-sales-product-body h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.rtv-sales-product-body > p {
  margin: 0 0 18px;
  color: #687184;
  font-size: 14.5px;
  line-height: 1.65;
}
.rtv-sales-product-meta {
  display: grid;
  gap: 7px;
  margin: auto 0 19px;
  padding-top: 4px;
  color: #4f586b;
  font-size: 12.5px;
  font-weight: 700;
}
.rtv-sales-product-meta span {
  display: flex;
  gap: 7px;
}
.rtv-sales-product-meta span::first-letter {
  color: var(--primary);
}
.rtv-sales-product-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
@media (max-width: 900px) {
  .rtv-sales-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rtv-sales-product-card:only-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .rtv-sales-showcase {
    margin: 42px 0 54px;
  }
  .rtv-sales-product-grid {
    grid-template-columns: 1fr;
  }
  .rtv-sales-product-card:only-child {
    grid-column: auto;
  }
  .rtv-sales-product-body {
    padding: 20px 18px;
  }
}


/* ============================================================
   PLANTILLA PHP — Landings de venta
   ============================================================ */
.rtv-sales-page {
  background: #f7f8fc;
}
.rtv-sales-page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 78px) 0 clamp(44px, 6vw, 68px);
  border-bottom: 1px solid rgba(68,61,253,.10);
  background:
    radial-gradient(circle at 86% 20%, rgba(68,61,253,.12), transparent 27%),
    radial-gradient(circle at 8% 100%, rgba(217,154,34,.09), transparent 22%),
    linear-gradient(135deg, #fafaff 0%, #fff 68%);
}
.rtv-sales-page-header::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 45px solid rgba(68,61,253,.045);
  border-radius: 50%;
  pointer-events: none;
}
.rtv-sales-page-header .container {
  position: relative;
  z-index: 1;
}
.rtv-sales-page-header .kicker {
  margin-bottom: 20px;
}
.rtv-sales-page-header h1 {
  max-width: 980px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 6vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.rtv-sales-page-header p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #626b7e;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}
.rtv-sales-page-products {
  padding: clamp(42px, 6vw, 70px) 0 clamp(54px, 7vw, 84px);
  background: #fff;
}
.rtv-sales-page-products .rtv-sales-showcase {
  margin: 0;
}
.rtv-sales-page-products .rtv-sales-showcase-head {
  margin-bottom: 30px;
}
.rtv-sales-page-products .rtv-sales-showcase-head h2 {
  padding-left: 0;
}
.rtv-sales-page-products .rtv-sales-showcase-head h2::before {
  display: none !important;
}
.rtv-sales-page-products .rtv-sales-showcase-head h2 + p {
  padding: 0;
  border: 0;
  background: transparent;
}
.rtv-sales-page-products .rtv-sales-product-card .btn {
  color: #fff !important;
}
.rtv-sales-page-content {
  padding: clamp(52px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
}
.rtv-sales-page-content .article-body {
  max-width: 1040px;
  margin: 0 auto;
}
.page-template-page-sales .rtv-commerce-landing .hero-inner {
  display: none;
}
@media (max-width: 600px) {
  .rtv-sales-page-header {
    padding: 42px 0 40px;
  }
  .rtv-sales-page-header h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: clamp(33px, 8.8vw, 40px);
  }
  .rtv-sales-page-header p {
    margin-top: 17px;
  }
  .rtv-sales-page-products {
    padding: 36px 0 58px;
  }
  .rtv-sales-page-products .rtv-sales-showcase-head {
    margin-bottom: 24px;
  }
}


/* ============================================================
   HOME — Productos con instalación
   ============================================================ */
.home-product-installation {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(68,61,253,.10), transparent 24%),
    linear-gradient(180deg, #f7f8ff 0%, #fff 100%);
}
.home-product-installation .section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.home-installation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-installation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(24,32,62,.09);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-installation-card:hover {
  transform: translateY(-7px);
  border-color: rgba(68,61,253,.20);
  box-shadow: 0 25px 55px rgba(24,32,62,.15);
}
.home-installation-image {
  display: block;
  aspect-ratio: 1.25 / 1;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(68,61,253,.07), transparent 42%),
    #f4f5f8;
}
.home-installation-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.home-installation-card:hover .home-installation-image img {
  transform: scale(1.035);
}
.home-installation-body {
  padding: 25px 25px 28px;
}
.home-installation-body > span {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(68,61,253,.08);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.home-installation-body h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.home-installation-body p {
  min-height: 78px;
  margin: 0 0 19px;
  color: #687184;
  font-size: 15px;
  line-height: 1.65;
}
.home-installation-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
@media (max-width: 900px) {
  .home-installation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-installation-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    justify-self: center;
  }
}
@media (max-width: 600px) {
  .home-installation-grid {
    grid-template-columns: 1fr;
  }
  .home-installation-card:last-child {
    grid-column: auto;
    width: 100%;
  }
  .home-installation-body p {
    min-height: 0;
  }
  .home-installation-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   LANDINGS DE APARATOS — Hero comercial y contenido abierto
   ============================================================ */
.page-template-page-sales .rtv-sales-page-header {
  padding: clamp(52px, 6vw, 76px) 0;
}
.page-template-page-sales .rtv-sales-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
}
.page-template-page-sales .rtv-sales-hero-copy {
  min-width: 0;
}
.page-template-page-sales .rtv-sales-page-header .kicker {
  display: inline-flex;
  margin-bottom: 18px;
}
.page-template-page-sales .rtv-sales-page-header h1 {
  max-width: 760px;
  font-size: clamp(43px, 5.2vw, 66px);
  line-height: .99;
}
.page-template-page-sales .rtv-sales-page-header .rtv-sales-hero-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--primary);
  font-size: clamp(20px, 2.25vw, 26px);
  font-weight: 800;
  line-height: 1.3;
}
.page-template-page-sales .rtv-sales-page-header .rtv-sales-hero-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: #626b7e;
  font-size: 17px;
  line-height: 1.75;
}
.page-template-page-sales .rtv-sales-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-template-page-sales .rtv-sales-hero-actions .btn {
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 800;
}
.page-template-page-sales .rtv-sales-whatsapp {
  border: 1px solid #20c96b;
  background: #20c96b;
  color: #fff;
  box-shadow: 0 10px 24px rgba(32,201,107,.20);
}
.page-template-page-sales .rtv-sales-whatsapp:hover {
  background: #16b65e;
  color: #fff;
  transform: translateY(-2px);
}
.page-template-page-sales .rtv-sales-outline {
  border: 2px solid rgba(68,61,253,.25);
  background: rgba(255,255,255,.72);
  color: var(--primary);
}
.page-template-page-sales .rtv-sales-outline:hover {
  border-color: var(--primary);
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}
.page-template-page-sales .rtv-sales-page-header .rtv-sales-local-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 680px;
  margin: 16px 0 0;
  padding: 14px 17px;
  border: 1px solid rgba(68,61,253,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: #3d4659;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 7px 20px rgba(20,29,60,.055);
}
.page-template-page-sales .rtv-sales-local-note span {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: #21b765;
  box-shadow: 0 0 0 5px rgba(33,183,101,.10);
}
.page-template-page-sales .rtv-sales-hero-media {
  position: relative;
  display: grid;
  min-height: 365px;
  padding: 13px;
  border: 1px solid rgba(68,61,253,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 16px 18px 0 rgba(68,61,253,.055), 0 24px 60px rgba(21,29,61,.12);
}
.page-template-page-sales .rtv-sales-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 337px;
  border-radius: 16px;
  object-fit: cover;
  background: #f0f1f4;
}
.page-template-page-sales .rtv-sales-hero-media.is-collage {
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
}
.page-template-page-sales .rtv-sales-hero-media.is-collage img {
  min-height: 0;
}
.page-template-page-sales .rtv-sales-hero-media.is-collage img:first-child {
  grid-row: 1 / span 2;
}
.page-template-page-sales .rtv-sales-page-products {
  padding-top: clamp(46px, 6vw, 72px);
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content {
  padding: clamp(58px, 7vw, 92px) 0;
  background: #fff;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:first-child {
  max-width: 900px;
  margin: 0 0 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #30394b;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.8;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2 {
  margin: 48px 0 16px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(20,29,60,.10);
  color: var(--text);
  font-size: clamp(27px, 3.3vw, 37px);
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2:first-of-type {
  border-top: 0;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2::before {
  display: none;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2 + p,
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2 + ul,
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body h2 + ol {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body p {
  color: #596276;
  font-size: 17px;
  line-height: 1.8;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body ul,
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body ol {
  gap: 12px;
  padding-left: 24px;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 52px 0 0;
  padding: 24px 26px;
  border: 1px solid rgba(68,61,253,.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(68,61,253,.07), rgba(255,255,255,.96));
  color: #525c70;
  box-shadow: none;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child a {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(68,61,253,.16);
  border-radius: 9px;
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child a:first-child {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(68,61,253,.20);
}
.page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child a:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 900px) {
  .page-template-page-sales .rtv-sales-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .page-template-page-sales .rtv-sales-hero-media {
    min-height: 320px;
  }
  .page-template-page-sales .rtv-sales-hero-media img {
    min-height: 292px;
  }
}
@media (max-width: 600px) {
  .page-template-page-sales .rtv-sales-page-header {
    padding: 38px 0 44px;
  }
  .page-template-page-sales .rtv-sales-page-header h1 {
    font-size: clamp(34px, 10.5vw, 45px);
  }
  .page-template-page-sales .rtv-sales-page-header .rtv-sales-hero-lead {
    font-size: 20px;
  }
  .page-template-page-sales .rtv-sales-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .page-template-page-sales .rtv-sales-hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .page-template-page-sales .rtv-sales-hero-media {
    min-height: 260px;
    padding: 9px;
    border-radius: 18px;
  }
  .page-template-page-sales .rtv-sales-hero-media img {
    min-height: 240px;
    border-radius: 12px;
  }
  .page-template-page-sales .rtv-sales-hero-media.is-collage {
    min-height: 290px;
  }
  .page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child {
    align-items: stretch;
    padding: 20px;
  }
  .page-template-page-sales.rtv-commerce-landing .rtv-sales-page-content .article-body > p:last-child a {
    justify-content: center;
    width: 100%;
  }
}


/* Layout de ancho completo y slider profesional para fichas de producto. */
body.single-product.rtv-woocommerce #primary {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}
body.single-product.rtv-woocommerce #main {
  width: 100%;
  width: min(100% - 40px, 1180px);
}
body.single-product.rtv-woocommerce #sidebar {
  display: none !important;
}
.rtv-woocommerce.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .86fr);
  gap: 2rem;
}
body.single-product.rtv-woocommerce div.product,
body.single-product.rtv-woocommerce .rtv-installation-guide,
body.single-product.rtv-woocommerce .related {
  max-width: 100%;
}

/* Galería: FlexSlider nativo de WooCommerce, estilizado para ReparaTec. */
.rtv-woocommerce.single-product .woocommerce-product-gallery {
  position: relative;
  overflow: visible;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery .flex-viewport {
  overflow: hidden;
  border-radius: 18px;
  background: #f5f6fb;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f5f6fb;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
}
.rtv-woocommerce.single-product .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
.rtv-woocommerce.single-product .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.rtv-woocommerce.single-product .flex-control-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f5f6fb;
  opacity: .62;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rtv-woocommerce.single-product .flex-control-thumbs img:hover,
.rtv-woocommerce.single-product .flex-control-thumbs img.flex-active {
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(68,61,253,.16);
}
.rtv-woocommerce.single-product .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rtv-woocommerce.single-product .flex-direction-nav a {
  position: absolute;
  top: calc(50% - 56px);
  z-index: 8;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--text);
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(16,24,40,.18);
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(10px);
}
.rtv-woocommerce.single-product .flex-direction-nav a::before {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}
.rtv-woocommerce.single-product .flex-direction-nav .flex-prev {
  left: 34px;
}
.rtv-woocommerce.single-product .flex-direction-nav .flex-prev::before {
  content: '‹';
}
.rtv-woocommerce.single-product .flex-direction-nav .flex-next {
  right: 34px;
}
.rtv-woocommerce.single-product .flex-direction-nav .flex-next::before {
  content: '›';
}
.rtv-woocommerce.single-product .flex-direction-nav a:hover,
.rtv-woocommerce.single-product .flex-direction-nav a:focus-visible {
  color: #fff;
  background: var(--primary);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 14px 32px rgba(68,61,253,.30);
}
.rtv-woocommerce.single-product .flex-direction-nav .flex-disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.rtv-woocommerce.single-product .woocommerce-product-gallery__trigger {
  top: 38px !important;
  right: 38px !important;
  z-index: 9;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16,24,40,.14);
}

@media (max-width: 900px) {
  .rtv-woocommerce.single-product div.product {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body.single-product.rtv-woocommerce #main {
    width: min(100% - 24px, 1180px);
  }
  .rtv-woocommerce.single-product div.product {
    gap: 1.35rem;
  }
  .rtv-woocommerce.single-product .flex-direction-nav a {
    top: calc(50% - 48px);
    width: 40px;
    height: 40px;
  }
  .rtv-woocommerce.single-product .flex-direction-nav .flex-prev {
    left: 22px;
  }
  .rtv-woocommerce.single-product .flex-direction-nav .flex-next {
    right: 22px;
  }
  .rtv-woocommerce.single-product .woocommerce-product-gallery__trigger {
    top: 26px !important;
    right: 26px !important;
  }
}


/* RTV: submenu de reformas por sectores */
@media (min-width: 980px) {
  .nav-menu > .menu-item-has-children > .nav-submenu {
    overflow: visible;
  }

  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children {
    position: relative;
  }

  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--primary);
    background: rgba(68,61,253,.07);
  }

  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, 2px);
  }

  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children > .nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, calc(100vw - 48px));
    max-height: min(68vh, 610px);
    overflow-y: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 80;
  }

  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children:hover > .nav-submenu,
  .nav-menu > .menu-item-has-children > .nav-submenu > .menu-item-has-children:focus-within > .nav-submenu {
    display: grid;
  }
}

@media (max-width: 979px) {
  .nav-toggle:checked ~ .nav-menu .nav-submenu .nav-submenu {
    margin: 6px 0 0 10px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(68,61,253,.12);
    background: var(--white);
  }

  .nav-toggle:checked ~ .nav-menu .nav-submenu .menu-item-has-children > a {
    color: var(--primary);
    font-weight: 800;
  }
}


/* RTV: mapa dinámico de zona de servicio en landings locales */
.landing-service-map {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(68,61,253,.10), transparent 34%),
    linear-gradient(135deg, #f7f8ff 0%, #ffffff 58%, #f8f5ee 100%);
  border-top: 1px solid rgba(68,61,253,.10);
  border-bottom: 1px solid rgba(68,61,253,.10);
}

.landing-service-map__grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.landing-service-map__copy h2 {
  margin: 18px 0 18px;
  max-width: 620px;
}

.landing-service-map__copy > p {
  margin-bottom: 24px;
  color: var(--muted);
}

.landing-service-map__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 28px;
  padding: 16px 18px;
  color: #30384b;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(68,61,253,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.landing-service-map__note span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.landing-service-map__note p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.55;
}

.landing-service-map__frame {
  position: relative;
  min-width: 0;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(68,61,253,.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.landing-service-map__frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -16px -16px 18px;
  border: 2px solid rgba(68,61,253,.14);
  border-radius: var(--radius-xl);
}

.landing-service-map__frame iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--soft-2);
}

@media (max-width: 860px) {
  .landing-service-map__grid {
    grid-template-columns: 1fr;
  }

  .landing-service-map__copy {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .landing-service-map {
    padding: 64px 0;
  }

  .landing-service-map__frame {
    padding: 7px;
    border-radius: var(--radius-lg);
  }

  .landing-service-map__frame::after {
    display: none;
  }

  .landing-service-map__frame iframe {
    min-height: 340px;
    height: 340px;
    border-radius: calc(var(--radius-lg) - 6px);
  }
}
