/* ================================================
   Casas Contenedores España — Estilo visual
   Paleta: terracota/óxido (#C1622D) + tonos arena + verde eco
   Tipografía: Poppins (títulos) + Inter (texto)
   Dirección: cálido, natural, artesanal — evoca madera y acero corten,
   coherente con el mundo de las casas contenedor.
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --primary: #C1622D;
  --primary-2: #D97D46;
  --primary-600: #A34F22;
  --primary-700: #7A3B19;
  --primary-900: #3D1D0C;
  --lav-50: #FBF6F0;
  --lav-100: #F3E8DA;
  --lav-200: #E6D2B8;

  --ink: #131217;
  --ink-soft: #47424F;
  --ink-mute: #7A7484;

  --paper: #FFFFFF;
  --cloud: #FAF8FD;
  --line: #E9E3F5;

  --success: #4C7A4A;

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 12px rgba(19,18,23,0.06);
  --shadow: 0 14px 34px rgba(161,79,34,0.16);
  --shadow-lg: 0 26px 60px rgba(161,79,34,0.24);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);

  --font: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --dark: var(--ink);
  --text: var(--ink-soft);
  --text-muted: var(--ink-mute);
  --border: var(--line);
  --bg: var(--cloud);
  --white: var(--paper);
  --primary-dark: var(--primary-700);
  --primary-light: var(--lav-100);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
body { font-family: var(--font); color: var(--ink-soft); background: var(--paper); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; min-height: 100%; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; display: flex; flex-direction: column; }
footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ink); }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.15; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h1 span.accent-word { color: var(--primary); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { color: var(--ink-mute); line-height: 1.75; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 100px; font-weight: 700; font-size: 0.94rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; white-space: nowrap; font-family: var(--font); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%); color: #fff; box-shadow: 0 12px 26px rgba(163,79,34,0.38); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(163,79,34,0.46); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-white { background: var(--paper); color: var(--primary-700); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--lav-100); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }
.btn-hero-outline { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.16); border-color: #fff; transform: translateY(-2px); }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 100px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--lav-100); color: var(--primary-700); }
.badge-dark { background: rgba(255,255,255,0.12); color: #fff; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header .badge { margin-bottom: 18px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.04rem; max-width: 600px; margin: 0 auto; }

/* ================================================
   NAVBAR
   ================================================ */
.navbar { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 24px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo img.logo-full { height: 34px; object-fit: contain; }
.navbar-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.navbar-nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--ink); border-color: var(--primary); }
.navbar-cta { display: flex; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-menu.open { display: flex; }

@media (max-width: 900px) { .navbar-nav, .navbar-cta { display: none; } .hamburger { display: flex; } }

/* ================================================
   HERO — dégradé violet foncé + mockup navigateur CSS
   ================================================ */
.hero { position: relative; background: linear-gradient(160deg, var(--ink) 0%, #3D1D0C 55%, var(--primary-700) 130%); color: #fff; padding: 76px 0 96px; overflow: hidden; }
.hero-blob { position: absolute; top: -180px; right: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(140,82,255,0.45) 0%, transparent 70%); border-radius: 50%; filter: blur(10px); }
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-text .badge { background: rgba(140,82,255,0.2); color: var(--primary-2); }
.hero-text h1 { color: #fff; margin: 20px 0 18px; }
.hero-text p { color: rgba(255,255,255,0.74); font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: #fff; }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* Mockup fenêtre navigateur (CSS pur) pour illustrer le hero */
.browser-mock { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--cloud); border-bottom: 1px solid var(--line); }
.browser-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-mock-url { flex: 1; margin-left: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 5px 14px; font-size: 0.72rem; color: var(--ink-mute); font-family: var(--font-mono); }
.browser-mock-body { padding: 22px; }
.browser-mock-skel { height: 12px; background: var(--lav-100); border-radius: 6px; margin-bottom: 10px; }
.browser-mock-skel.w60 { width: 60%; }
.browser-mock-skel.w80 { width: 80%; }
.browser-mock-skel.w40 { width: 40%; }
.browser-mock-block { height: 90px; background: linear-gradient(135deg, var(--lav-100), var(--lav-50)); border-radius: var(--radius-sm); margin: 16px 0; display: flex; align-items: center; justify-content: center; }
.browser-mock-block svg { color: var(--primary); }
.browser-mock-hero-form { padding: 24px; background: var(--paper); }

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar { padding: 28px 0; background: var(--cloud); border-bottom: 1px solid var(--line); }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.trust-bar-inner span { font-size: 0.85rem; color: var(--ink-mute); font-weight: 600; }
.trust-bar-inner strong { color: var(--primary-700); }

/* ================================================
   SERVICES — rangées alternées icône + texte
   ================================================ */
.services-section { padding: 88px 0; }
.service-row-list { display: flex; flex-direction: column; gap: 0; }
.service-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row-icon { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--lav-100), var(--lav-50)); display: flex; align-items: center; justify-content: center; color: var(--primary-700); flex-shrink: 0; }
.service-row-body h3 { margin-bottom: 6px; }
.service-row-body p { font-size: 0.94rem; margin: 0; max-width: 560px; }
.service-row-cta { flex-shrink: 0; }
.service-row:hover { background: var(--cloud); margin: 0 -20px; padding: 30px 20px; border-radius: var(--radius); border-bottom-color: transparent; }

@media (max-width: 760px) {
  .service-row { grid-template-columns: 56px 1fr; }
  .service-row-cta { grid-column: 2; }
}

/* ================================================
   PROCESS — étapes horizontales reliées
   ================================================ */
.process-section { padding: 84px 0; background: var(--cloud); }
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-step::after { content: ''; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: var(--line); background-image: linear-gradient(to right, var(--primary-2) 50%, transparent 0%); background-size: 10px 2px; }
.process-step:last-child::after { display: none; }
.process-step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 2px solid var(--primary); color: var(--primary-700); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; margin: 0 auto 18px; position: relative; z-index: 1; }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; }

@media (max-width: 800px) {
  .process-row { grid-template-columns: 1fr; gap: 32px; }
  .process-step::after { display: none; }
}

/* ================================================
   REGIONS
   ================================================ */
.regions-section { padding: 80px 0; }
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.region-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; color: var(--ink); font-weight: 700; font-size: 0.9rem; transition: all var(--transition); }
.region-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--primary-700); }
.region-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; }

/* ================================================
   DEVIS SECTION
   ================================================ */
.devis-section { padding: 88px 0; background: linear-gradient(160deg, var(--ink) 0%, var(--primary-900) 130%); position: relative; overflow: hidden; }
.devis-section::before { content: ''; position: absolute; bottom: -140px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(140,82,255,0.3) 0%, transparent 70%); }
.devis-header { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.devis-header .badge { background: rgba(140,82,255,0.2); color: var(--primary-2); }
.devis-header h2 { color: #fff; margin: 16px 0 12px; }
.devis-header p { color: rgba(255,255,255,0.68); max-width: 560px; margin: 0 auto; }
.tally-wrapper { max-width: 640px; margin: 0 auto; background: var(--paper); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.tally-intro { margin-bottom: 16px; }
.tally-intro h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tally-intro p { font-size: 0.9rem; }

/* ================================================
   PAGE HERO (ville / région / département / services)
   ================================================ */
.page-hero { background: linear-gradient(160deg, var(--ink) 0%, #3D1D0C 60%, var(--primary-700) 140%); color: #fff; padding: 56px 0 70px; position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; margin-bottom: 20px; flex-wrap: wrap; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: var(--primary-2); font-weight: 600; }
.page-hero-content h1 { color: #fff; margin-bottom: 14px; font-size: clamp(1.85rem, 4vw, 2.7rem); }
.page-hero-content > p { color: rgba(255,255,255,0.72); font-size: 1.02rem; max-width: 540px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.meta-item { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: #fff; font-weight: 600; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 7px 14px; border-radius: 100px; }
.meta-item svg { color: var(--primary-2); flex-shrink: 0; }

.hero-form-card { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.hero-form-badge { display: inline-block; background: var(--lav-100); color: var(--primary-700); font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-form-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.hero-form-card > p { margin-bottom: 14px; font-size: 0.9rem; }
.hero-form-trust { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--ink-mute); margin-top: 10px; }
.hero-form-trust svg { color: var(--success); flex-shrink: 0; }

@media (max-width: 900px) { .page-hero-grid, .hero-content { grid-template-columns: 1fr; } }

/* ================================================
   CONTENU ÉDITORIAL (ville / région / département / service)
   ================================================ */
.content-shell { padding: 64px 0 20px; }
.content-col { max-width: 1160px; width: 100%; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; color: var(--primary-700); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.lead-card { background: var(--lav-50); border: 1px solid var(--lav-200); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 12px; }
.lead-card p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin: 0; }
.lead-card p + p { margin-top: 14px; font-size: 0.94rem; }

.content-block { margin: 52px 0; }
.content-block-head { margin-bottom: 26px; text-align: center; }
.content-block-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }

/* ================================================
   PRICE CARDS — "¿Cuánto cuesta?" en cartes
   ================================================ */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-2); }
.price-card .pc-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.price-card strong { display: block; font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.price-card .pc-price { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--primary-700); font-size: 1.35rem; margin-bottom: 10px; }
.price-card p { font-size: 0.86rem; margin: 0; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } }

/* ================================================
   FEATURE GRID — grille numérotée avec séparateurs ("Cómo funciona")
   ================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-item { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.feature-item .fi-num { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--primary-2); margin-bottom: 12px; display: block; }
.feature-item strong { display: block; font-size: 1rem; margin-bottom: 6px; color: var(--ink); }
.feature-item p { font-size: 0.87rem; margin: 0; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

/* ================================================
   BLOC TEINTÉ — variation visuelle pour sections mises en avant
   ================================================ */
.block-tinted { background: var(--lav-50); border-radius: var(--radius-lg); padding: 40px 36px; }
@media (max-width: 600px) { .block-tinted { padding: 28px 20px; } }

/* ================================================
   MODEL CARDS — grandes vignettes tailles/habitaciones
   ================================================ */
.model-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.model-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.model-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.model-card .mc-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.model-card .mc-label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 4px; }
.model-card .mc-sub { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-mute); }
@media (max-width: 560px) { .model-cards-grid { grid-template-columns: repeat(2, 1fr); } }

.check-list { display: flex; flex-direction: column; gap: 4px; }
.check-list-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-list-item:last-child { border-bottom: none; }
.check-list-item .ci-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-list-item strong { display: block; font-size: 0.95rem; color: var(--ink); margin-bottom: 2px; }
.check-list-item p { font-size: 0.87rem; margin: 0; }

.mini-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mini-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mini-card strong { display: block; font-size: 0.92rem; color: var(--ink); margin-bottom: 4px; }
.mini-card p { font-size: 0.85rem; margin: 0; }

.pill-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.pill-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font-size: 0.84rem; font-weight: 600; transition: all var(--transition); }
.pill-link:hover { border-color: var(--primary); background: var(--lav-50); color: var(--primary-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.pill-link .pl-zip { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-mute); }
.pill-link.pill-strong { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-link.pill-strong:hover { background: var(--primary-700); border-color: var(--primary-700); }

.inline-cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--ink) 0%, var(--primary-900) 100%); border-radius: var(--radius-lg); padding: 32px 36px; margin: 20px 0; }
.inline-cta-banner h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.inline-cta-banner p { color: rgba(255,255,255,0.62); font-size: 0.87rem; margin: 0; }
.inline-cta-banner .btn { flex-shrink: 0; }

/* ================================================
   FAQ
   ================================================ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: var(--paper); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; font-weight: 700; font-size: 0.93rem; color: var(--ink); cursor: pointer; }
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); color: var(--primary-700); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.25s ease; padding: 0 20px; font-size: 0.88rem; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 20px 20px; }

/* ================================================
   LISTING / ACCORDÉON RÉGIONS
   ================================================ */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.listing-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.listing-filters input { padding: 13px 18px; border-radius: 100px; border: 1px solid var(--line); font-size: 0.9rem; font-family: var(--font); width: 100%; }
.listing-filters input:focus { outline: none; border-color: var(--primary); }
.listing-count { font-size: 0.85rem; color: var(--ink-mute); font-weight: 600; white-space: nowrap; }

.region-accordion { border-bottom: 1px solid var(--line); padding: 20px 0; }
.region-accordion summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.region-accordion summary::-webkit-details-marker { display: none; }
.region-accordion summary .ra-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.region-accordion summary .ra-meta { font-size: 0.76rem; color: var(--ink-mute); }
.region-accordion[open] summary { margin-bottom: 16px; }
.region-accordion summary::after { content: '+'; color: var(--primary-700); font-size: 1.2rem; font-weight: 700; }
.region-accordion[open] summary::after { content: '−'; }

/* ================================================
   STICKY CTA
   ================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: -120px; z-index: 300; background: var(--ink); transition: bottom 0.35s ease; box-shadow: 0 -8px 30px rgba(0,0,0,0.2); }
.sticky-cta.visible { bottom: 0; }
.sticky-cta-inner { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-cta-text strong { display: block; color: #fff; font-size: 0.92rem; }
.sticky-cta-text span { color: rgba(255,255,255,0.6); font-size: 0.78rem; }
.sticky-cta-actions { display: flex; align-items: center; gap: 10px; }
.sticky-cta-close { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
body.has-sticky-cta { padding-bottom: 74px; }

/* ================================================
   EXIT POPUP
   ================================================ */
.exit-popup-overlay { position: fixed; inset: 0; background: rgba(19,18,23,0.75); backdrop-filter: blur(4px); z-index: 400; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px; }
.exit-popup-overlay.visible { opacity: 1; visibility: visible; }
.exit-popup { background: var(--paper); border-radius: var(--radius-lg); padding: 40px; max-width: 420px; width: 100%; text-align: center; position: relative; transform: scale(0.92); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
.exit-popup-overlay.visible .exit-popup { transform: scale(1); }
.exit-popup-close { position: absolute; top: 16px; right: 16px; background: var(--cloud); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-mute); }
.exit-popup-icon { width: 56px; height: 56px; background: var(--lav-100); color: var(--primary-700); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.exit-popup h3 { margin-bottom: 10px; font-size: 1.3rem; }
.exit-popup p { margin-bottom: 22px; font-size: 0.92rem; }
.exit-popup-dismiss { display: block; margin: 14px auto 0; background: none; border: none; color: var(--ink-mute); font-size: 0.82rem; cursor: pointer; text-decoration: underline; }
body.no-scroll { overflow: hidden; }

/* ================================================
   REVEAL
   ================================================ */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

.social-link { width: 34px; height: 34px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; }
.social-link:hover { background: var(--ink); color: #fff; }

/* ================================================
   FOOTER
   ================================================ */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img.logo-full { height: 30px; object-fit: contain; }
.footer-brand > p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-section h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.87rem; }
.footer-links a:hover { color: var(--primary-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .mini-cards-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .hero { padding: 48px 0 64px; }
  .devis-section, .regions-section, .services-section, .process-section { padding: 56px 0; }
  .content-shell { padding: 44px 0 20px; }
}

/* ================================================
   LEAD FORM — formulario dinámico multi-paso
   ================================================ */
.lead-form-card { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--ink-soft); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-700); }
.btn-block { width: 100%; justify-content: center; }

.cc-form-step { display: none; }
.cc-form-step.active { display: block; animation: ccFadeIn 0.25s ease; }
@keyframes ccFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.cc-form-label { display: block; font-weight: 700; font-family: var(--font-heading); color: var(--ink); font-size: 0.95rem; margin-bottom: 12px; }
.cc-form-options { display: grid; gap: 10px; }
.cc-option { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); font-size: 0.92rem; color: var(--ink-soft); }
.cc-option:hover { border-color: var(--primary-2); background: var(--lav-50); }
.cc-option input[type="radio"] { accent-color: var(--primary); width: 17px; height: 17px; flex-shrink: 0; }
.cc-option:has(input:checked) { border-color: var(--primary); background: var(--lav-50); color: var(--ink); font-weight: 600; }

.cc-form-input { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font); color: var(--ink); transition: border-color var(--transition); }
.cc-form-input:focus { outline: none; border-color: var(--primary); }

.cc-form-nav { display: flex; gap: 10px; margin-top: 18px; }
.cc-form-step > .btn-block { margin-top: 18px; }
.cc-form-nav .btn-outline { flex: 0 0 auto; }
.cc-form-nav .btn-primary { flex: 1; justify-content: center; }

.cc-form-progress { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background var(--transition); }
.cc-dot.active { background: var(--primary); }

.cc-form-success { text-align: center; padding: 10px 0; }
.cc-form-success svg { color: var(--success); margin-bottom: 12px; }
.cc-form-success h4 { font-size: 1.15rem; margin-bottom: 8px; }
.cc-form-success p { font-size: 0.9rem; }

.cc-shake { animation: ccShake 0.4s ease; }
@keyframes ccShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ================================================
   HOME HERO — style pleine largeur avec photo de fond
   ================================================ */
.home-hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31,27,22,0.88) 0%, rgba(31,27,22,0.62) 45%, rgba(31,27,22,0.25) 100%),
    linear-gradient(160deg, var(--ink) 0%, var(--primary-900) 60%, var(--primary-700) 140%);
  background-image:
    linear-gradient(90deg, rgba(31,27,22,0.88) 0%, rgba(31,27,22,0.62) 45%, rgba(31,27,22,0.25) 100%),
    url('/assets/container-house-hero.webp');
  background-size: cover;
  background-position: center;
}
.home-hero-content { max-width: 640px; position: relative; z-index: 1; }
.home-hero .breadcrumb { color: rgba(255,255,255,0.55); }
.home-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.home-hero .breadcrumb a:hover { color: #fff; }
.home-hero-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--primary-2); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.home-hero-eyebrow .dash { width: 28px; height: 2px; background: var(--primary-2); display: inline-block; }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin-bottom: 18px; }
.home-hero-content > p { color: rgba(255,255,255,0.88); font-size: 1.08rem; line-height: 1.7; max-width: 540px; }
.home-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.home-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.16); color: #fff; padding: 9px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.home-badge svg { color: var(--primary-2); flex-shrink: 0; }

.home-hero-form-section { padding: 56px 0 0; }
.home-hero-form-wrap { max-width: 560px; margin: 0 auto; }

@media (max-width: 720px) {
  .home-hero { min-height: auto; padding: 60px 0 50px; }
  .home-badge { font-size: 0.76rem; padding: 7px 12px; }
}

/* ================================================
   SPEC TABLE — ficha técnica orientativa
   ================================================ */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--font-heading); font-weight: 700; color: var(--ink); background: var(--lav-50); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-note { font-size: 0.8rem; color: var(--ink-mute); margin-top: 10px; font-style: italic; }

.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 10px; }
.step-card { background: var(--cloud); border-radius: var(--radius); padding: 18px 16px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.step-card strong { display: block; font-size: 0.92rem; margin-bottom: 4px; color: var(--ink); }
.step-card p { font-size: 0.82rem; margin: 0; }

@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .spec-table { font-size: 0.82rem; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
}
@media (max-width: 560px) {
  .steps-row { grid-template-columns: 1fr; }
}

/* ================================================
   SPLIT HERO — style clair, texte + photo (pages provincia/ciudad)
   ================================================ */
.split-hero { background: var(--cloud); padding: 64px 0 60px; }
.split-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split-hero-content h1 { margin-bottom: 14px; }
.split-hero-content > p { font-size: 1.05rem; margin: 0 0 24px; }
.split-hero-trustrow { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; }
.split-hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.split-hero-trust-item svg { color: var(--primary); flex-shrink: 0; }
.split-hero .breadcrumb { color: var(--ink-mute); }
.split-hero .breadcrumb a { color: var(--ink-soft); }
.split-hero .breadcrumb a:hover { color: var(--primary-700); }
.split-hero .breadcrumb .current { color: var(--primary-700); font-weight: 600; }
.split-hero-image-wrap { position: relative; }
.split-hero-image { width: 100%; aspect-ratio: 4/3.4; border-radius: var(--radius-lg); background-image: url('/assets/container-house-hero.webp'); background-size: cover; background-position: center; background-color: var(--primary-900); }
.split-hero-badge { position: absolute; left: 20px; bottom: -22px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.split-hero-badge-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--lav-100); color: var(--primary-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.split-hero-badge strong { display: block; font-size: 0.88rem; color: var(--ink); }
.split-hero-badge span { display: block; font-size: 0.76rem; color: var(--ink-mute); }

@media (max-width: 900px) {
  .split-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-hero-image { aspect-ratio: 16/10; }
  .split-hero-badge { position: static; margin-top: 16px; display: inline-flex; }
}

/* ================================================
   LOGO — icône carrée + nom du site
   ================================================ */
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo .logo-square { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.navbar-logo .logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-square { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; filter: none; }
.footer-logo .logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: #fff; }