/* ============================================================
   Desguaces Carend — Corporate Redesign
   Premium Dark Mode · Refined Typography · Micro-interactions
   ============================================================ */

/* === 1. CUSTOM PROPERTIES === */
:root {
  /* Premium palette */
  --navy:       #0a0e17;
  --navy-soft:  #0f1729;
  --charcoal:   #1a1f2e;
  --slate:      #2a3040;
  --muted:      #6b7280;
  --muted-light:#9ca3af;
  --line:       #e5e7eb;
  --line-dark:  rgba(255,255,255,0.08);
  --paper:      #f8f6f1;
  --white:      #ffffff;

  /* Accent */
  --orange:     #f97316;
  --orange-deep:#ea580c;
  --amber:      #f59e0b;
  --green:      #22c55e;
  --green-deep: #16a34a;

  /* Gradients */
  --gradient-accent:  linear-gradient(135deg, var(--orange), var(--amber));
  --gradient-accent-soft: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(245,158,11,0.08));
  --gradient-dark:    linear-gradient(145deg, #0a0e17 0%, #0f1729 50%, #1a1f2e 100%);
  --gradient-hero:    radial-gradient(ellipse at 15% 25%, rgba(249,115,22,0.18) 0%, transparent 50%),
                      radial-gradient(ellipse at 85% 75%, rgba(245,158,11,0.10) 0%, transparent 40%),
                      var(--gradient-dark);
  --gradient-card:    linear-gradient(135deg, rgba(249,115,22,0.06), rgba(245,158,11,0.04));

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.03);
  --shadow-lg:  0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 40px rgba(0,0,0,0.08);
  --shadow-glow-accent: 0 8px 32px rgba(249,115,22,0.30);
  --shadow-glow-green:  0 8px 32px rgba(34,197,94,0.30);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.06);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   18px;
  --radius-full: 9999px;

  /* Text scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.2rem;

  /* Container */
  --container: 1180px;
  --container-pad: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --fast:  150ms ease;
  --base:  250ms var(--ease-out);
  --slow:  400ms var(--ease-out);
}

/* === 2. RESET === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{
  margin:0;
  font-family:var(--font);
  background:var(--paper);
  color:#1f2937;
  line-height:1.6;
  font-size:var(--text-base);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  width:100%
}
body.menu-open{overflow:hidden;height:100%;touch-action:none}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
input,select,textarea,button{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:0}
:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:4px}
::selection{background:var(--orange);color:#fff}

/* === 3. CONTAINER === */
.container{
  width:min(var(--container),calc(100% - var(--container-pad) * 2));
  margin-inline:auto
}

/* === 4. TOPBAR === */
.topbar{
  background:var(--navy);
  color:rgba(255,255,255,0.65);
  font-size:var(--text-sm);
  display:none;
  border-bottom:1px solid rgba(255,255,255,0.04)
}
.topbar .container{
  display:flex;
  gap:var(--space-sm);
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
  flex-wrap:wrap
}
.topbar strong{color:#fff;font-weight:600}
.topbar a{color:var(--amber);font-weight:600}
.topbar a:hover{color:var(--orange)}
.lang-selector{
  display:inline-flex;
  align-items:center;
  gap:2px;
  margin-left:var(--space-sm);
  padding-left:var(--space-sm);
  border-left:1px solid rgba(255,255,255,0.1)
}
.lang-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;height:20px;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.3px;
  border-radius:3px;
  text-decoration:none;
  color:rgba(255,255,255,0.4) !important;
  transition:all var(--fast);
  border:1px solid transparent
}
.lang-link:hover{
  color:rgba(255,255,255,0.8) !important;
  background:rgba(255,255,255,0.06)
}
.lang-link.active{
  color:var(--amber) !important;
  background:rgba(249,115,22,0.1);
  border-color:rgba(249,115,22,0.2)
}
.menu-lang{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-left:6px;
  padding-left:10px;
  border-left:1px solid var(--line)
}
.menu-lang a,
.mobile-lang-selector a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted) !important;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  text-decoration:none
}
.menu-lang a:hover,
.mobile-lang-selector a:hover{
  color:var(--navy) !important;
  border-color:rgba(249,115,22,.35)
}
.menu-lang a.active,
.mobile-lang-selector a.active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff !important
}
.mobile-lang-selector{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:6px 0 10px;
  padding:10px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

/* === 5. HEADER / NAV === */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  border-bottom:1px solid var(--line)
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-md);
  padding:12px var(--container-pad);
  width:100%;
  max-width:calc(var(--container) + var(--container-pad) * 2);
  margin-inline:auto
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:-0.04em;
  font-size:var(--text-lg);
  flex-shrink:0
}
.brand-mark{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:var(--radius-md);
  background:var(--gradient-accent);
  color:#160903;
  font-size:13px;
  font-weight:900;
  letter-spacing:0;
  flex-shrink:0;
  box-shadow:0 2px 8px rgba(249,115,22,0.25)
}
.brand-name{color:#0f1729}
.brand:hover .brand-mark{transform:scale(1.05);transition:transform var(--fast)}

.menu{display:none;gap:2px;align-items:center}
.menu a{
  color:var(--navy-soft);
  font-weight:550;
  font-size:var(--text-sm);
  padding:8px 14px;
  border-radius:var(--radius-full);
  transition:all var(--fast);
  position:relative
}
.menu a::after{
  content:'';
  position:absolute;
  bottom:2px;
  left:50%;
  width:0;
  height:2px;
  background:var(--gradient-accent);
  border-radius:2px;
  transition:all var(--fast);
  transform:translateX(-50%)
}
.menu a:hover::after{width:60%}
.menu a:hover{color:var(--orange);background:rgba(249,115,22,0.06)}

.hamburger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:48px;height:48px;
  border:1px solid var(--line);
  background:var(--white);
  cursor:pointer;
  padding:12px;
  border-radius:var(--radius-md);
  z-index:60;
  -webkit-tap-highlight-color:rgba(249,115,22,0.2);
  touch-action:manipulation;
  user-select:none
}
.hamburger:hover{background:rgba(0,0,0,0.04)}
.hamburger:active{background:rgba(0,0,0,0.08)}
.hamburger span{
  display:block;
  height:2.5px;
  background:#1f2937;
  border-radius:2px;
  transition:transform var(--base),opacity var(--base)
}
.hamburger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* Mobile menu - fullscreen overlay */
.mobile-menu{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  position:fixed;
  inset:0;
  width:100%;height:100dvh;
  background:var(--white);
  padding:80px 24px 40px;
  transform:translateY(-100%);
  transition:transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index:55;
  overflow-y:auto
}
.mobile-menu.open{transform:translateY(0)}
.mobile-menu a{
  width:100%;max-width:280px;
  text-align:center;
  padding:14px 20px;
  border-radius:var(--radius-md);
  font-weight:600;
  font-size:var(--text-lg);
  color:var(--ink);
  transition:background var(--fast);
  -webkit-tap-highlight-color:rgba(249,115,22,0.2)
}
.mobile-menu a:hover{background:rgba(249,115,22,0.08);color:var(--orange)}
.mobile-menu .btn{max-width:280px;width:100%;margin-top:6px}
.mobile-backdrop{
  position:fixed;inset:0;
  background:rgba(0,0,0,0.5);
  z-index:54;
  opacity:0;
  pointer-events:none;
  transition:opacity var(--base)
}
.mobile-backdrop.open{opacity:1;pointer-events:auto}

/* === 6. BUTTONS === */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--space-sm);
  min-height:48px;
  padding:12px 26px;
  border-radius:var(--radius-lg);
  font-weight:700;
  font-size:var(--text-sm);
  border:2px solid transparent;
  cursor:pointer;
  transition:all var(--fast);
  line-height:1.2;
  white-space:nowrap;
  letter-spacing:0.01em
}
.btn:active{transform:scale(0.97)}
.btn-primary{
  background:var(--gradient-accent);
  color:#160903;
  box-shadow:var(--shadow-glow-accent);
  border-color:transparent
}
.btn-primary:hover{
  filter:brightness(1.08);
  box-shadow:0 12px 40px rgba(249,115,22,0.35);
  transform:translateY(-2px)
}
.btn-dark{
  background:var(--navy);
  color:#fff;
  border-color:transparent
}
.btn-dark:hover{background:#1a2332;transform:translateY(-1px)}
.btn-green{
  background:var(--green);
  color:#052e16;
  border-color:transparent;
  box-shadow:var(--shadow-glow-green)
}
.btn-green:hover{filter:brightness(1.08);transform:translateY(-1px)}
.btn-light{
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:2px solid rgba(255,255,255,0.2);
  backdrop-filter:blur(4px)
}
.btn-light:hover{
  border-color:var(--orange);
  color:var(--orange);
  background:rgba(249,115,22,0.08);
  transform:translateY(-1px)
}
.btn-outline{
  background:transparent;
  color:rgba(255,255,255,0.85);
  border:2px solid rgba(255,255,255,0.2)
}
.btn-outline:hover{
  border-color:var(--orange);
  color:var(--orange);
  background:rgba(249,115,22,0.06)
}
.btn-sm{min-height:40px;padding:8px 18px;font-size:var(--text-xs)}
.btn-lg{min-height:56px;padding:16px 34px;font-size:var(--text-base)}

/* === 7. TYPOGRAPHY === */
h1{font-size:var(--text-3xl);font-weight:900;line-height:1.1;letter-spacing:-0.04em;margin-bottom:var(--space-md);color:#0f1729}
h2{font-size:var(--text-2xl);font-weight:800;line-height:1.2;letter-spacing:-0.03em;margin-bottom:var(--space-md);color:#0f1729}
h3{font-size:var(--text-xl);font-weight:700;line-height:1.3;margin-bottom:var(--space-sm);color:#0f1729}
p{margin-bottom:var(--space-md);color:var(--muted)}
p:last-child{margin-bottom:0}
strong{color:#0f1729;font-weight:700}
small{font-size:var(--text-xs);color:var(--muted)}
.lead{font-size:var(--text-lg);line-height:1.65;color:var(--muted)}
.eyebrow{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--orange);
  margin-bottom:var(--space-sm);
  background:var(--gradient-accent-soft);
  padding:4px 12px;
  border-radius:var(--radius-full);
  border:1px solid rgba(249,115,22,0.12)
}

/* === 8. HERO === */
.hero{
  background:var(--gradient-hero);
  color:#fff;
  padding:var(--space-2xl) var(--space-lg) 48px;
  position:relative;
  overflow:hidden
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity:0.5;
  pointer-events:none
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-2xl);
  position:relative;
  z-index:1
}
.hero h1{font-size:var(--text-3xl);color:#fff;margin-bottom:var(--space-md)}
.hero p{color:rgba(255,255,255,0.72);font-size:var(--text-lg);line-height:1.65}
.hero .btn{margin-right:var(--space-sm);margin-bottom:var(--space-sm)}
.hero .eyebrow{background:rgba(249,115,22,0.15);border-color:rgba(249,115,22,0.2);color:var(--amber)}

/* Hero panel (form) */
.hero-panel{
  background:rgba(255,255,255,0.04);
  border-radius:var(--radius-xl);
  padding:var(--space-xl) var(--space-lg);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  box-shadow:0 8px 32px rgba(0,0,0,0.2), var(--shadow-inset)
}
.hero-panel h2{font-size:var(--text-xl);color:#fff;margin-bottom:var(--space-sm)}
.hero-panel p{font-size:var(--text-sm);color:rgba(255,255,255,0.6);margin-bottom:var(--space-md)}
.hero-panel .eyebrow{background:rgba(249,115,22,0.15);border-color:rgba(249,115,22,0.2);color:var(--amber)}
.hero-panel small{display:block;margin-top:var(--space-sm);text-align:center;color:rgba(255,255,255,0.4)}

.form-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-sm)
}
.form-grid label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:11px;
  font-weight:600;
  color:rgba(255,255,255,0.55);
  text-transform:uppercase;
  letter-spacing:0.06em
}
.form-grid input,.form-grid select{
  width:100%;
  padding:12px 14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--radius-md);
  color:#fff;
  font-size:var(--text-base);
  font-weight:500;
  transition:all var(--fast);
  -webkit-appearance:none;
  appearance:none
}
.form-grid select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px;
  padding-right:36px
}
.form-grid input:focus,.form-grid select:focus{
  outline:0;
  border-color:var(--orange);
  background:rgba(255,255,255,0.1);
  box-shadow:0 0 0 3px rgba(249,115,22,0.15)
}
.form-grid input::placeholder{color:rgba(255,255,255,0.2);font-weight:400}
.form-grid .full{grid-column:1/-1}
.message{
  font-size:var(--text-sm);
  padding:var(--space-sm) var(--space-md);
  border-radius:var(--radius-sm);
  text-align:center;
  margin:var(--space-sm) 0 0
}
.message.err{
  background:rgba(239,68,68,0.12);
  color:#fca5a5;
  border:1px solid rgba(239,68,68,0.2)
}

/* Valuation form (cascading 3-field) */
.valuation-form{
  display:flex;
  flex-direction:column;
  gap:var(--space-sm)
}
.vf-row{
  display:grid;
  grid-template-columns:1fr 1fr 1fr auto;
  gap:var(--space-sm);
  align-items:end
}
.vf-field{
  display:flex;
  flex-direction:column;
  gap:4px
}
.vf-field label{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:0.8px;
  color:rgba(255,255,255,0.4);
  font-weight:600
}
.vf-field select{
  width:100%;
  padding:12px 14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-md);
  color:#fff;
  font-size:var(--text-sm);
  font-family:var(--font);
  font-weight:500;
  outline:none;
  transition:all var(--fast);
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:36px
}
.vf-field select:focus{
  border-color:var(--orange);
  background:rgba(255,255,255,0.08);
  box-shadow:0 0 0 3px rgba(249,115,22,0.12)
}
.vf-field select option{
  background:#1a1f2e;
  color:#fff
}
.vf-field select:disabled{
  opacity:0.35;
  cursor:not-allowed
}
.vf-submit{
  display:flex;
  align-items:end
}
.vf-submit .btn{
  white-space:nowrap;
  padding:12px 24px;
  font-size:var(--text-sm);
  height:100%;
  min-height:44px
}
.vf-foot{
  display:block;
  margin-top:var(--space-sm);
  text-align:center;
  color:rgba(255,255,255,0.35);
  font-size:var(--text-xs)
}
@media(max-width:768px){
  .vf-row{
    grid-template-columns:1fr 1fr
  }
  .vf-submit{
    grid-column:1/-1
  }
  .vf-submit .btn{width:100%}
}
@media(max-width:480px){
  .vf-row{
    grid-template-columns:1fr;
    gap:var(--space-sm)
  }
}

/* Stats bar */
.stats-bar{
  background:var(--navy-soft);
  border-top:1px solid rgba(255,255,255,0.04);
  padding:var(--space-xl) var(--space-lg);
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg);
  text-align:center;
  position:relative
}
.stats-bar::after{
  content:'';
  position:absolute;
  top:0;
  left:10%;
  right:10%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(249,115,22,0.3),transparent)
}
.stat{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:var(--space-md) 0
}
.stat-number{
  font-size:var(--text-4xl);
  font-weight:900;
  color:#fff;
  letter-spacing:-0.03em;
  line-height:1
}
.stat-label{
  font-size:var(--text-sm);
  color:rgba(255,255,255,0.5);
  font-weight:500;
  letter-spacing:0.02em
}

/* === 9. SECTIONS === */
.section{padding:var(--space-3xl) 0}
.section-white{background:var(--white)}
.section-dark{
  background:var(--navy);
  color:rgba(255,255,255,0.8)
}
.section-dark h2{color:#fff}
.section-dark .lead{color:rgba(255,255,255,0.6)}
.section-dark p{color:rgba(255,255,255,0.6)}
.section-dark .eyebrow{background:rgba(249,115,22,0.12);border-color:rgba(249,115,22,0.15)}

/* Split layout */
.split{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-2xl)
}
.split > *:first-child{order:-1}

/* === 10. CARDS === */
.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg)
}
.card{
  background:var(--white);
  border-radius:var(--radius-xl);
  padding:var(--space-xl) var(--space-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:all var(--base);
  position:relative
}
.card::before{
  content:'';
  position:absolute;
  top:0;
  left:var(--space-lg);
  right:var(--space-lg);
  height:3px;
  background:var(--gradient-accent);
  border-radius:0 0 3px 3px;
  opacity:0;
  transition:opacity var(--base)
}
.card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-4px);
  border-color:rgba(249,115,22,0.15)
}
.card:hover::before{opacity:1}
.card h3{color:var(--navy-soft);margin-bottom:var(--space-sm)}
.card p{font-size:var(--text-sm);color:var(--muted);margin-bottom:0;line-height:1.6}
.card-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  background:var(--gradient-accent-soft);
  border-radius:var(--radius-md);
  margin-bottom:var(--space-md);
  color:var(--orange);
  border:1px solid rgba(249,115,22,0.1)
}

/* Dark section cards */
.section-dark .card{
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.06);
  backdrop-filter:blur(4px)
}
.section-dark .card h3{color:#fff}
.section-dark .card p{color:rgba(255,255,255,0.55)}
.section-dark .card:hover{
  background:rgba(255,255,255,0.07);
  border-color:rgba(249,115,22,0.2)
}
.section-dark .card::before{
  left:0;right:0;
  border-radius:0;
  height:2px
}
.section-dark .card-icon{
  background:rgba(249,115,22,0.12);
  border-color:rgba(249,115,22,0.15)
}

/* === 11. SERVICE LIST === */
.service-list{
  display:flex;
  flex-direction:column;
  gap:var(--space-md)
}
.service-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:var(--text-base);
  color:#1f2937;
  font-weight:500;
  line-height:1.4
}
.service-list li::before{
  content:'';
  flex-shrink:0;
  width:22px;
  height:22px;
  margin-top:2px;
  background:var(--gradient-accent);
  border-radius:50%;
  display:grid;
  place-items:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23160903' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size:12px;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:0 2px 6px rgba(249,115,22,0.25)
}
.section-dark .service-list li{color:rgba(255,255,255,0.9)}

/* === 12. AREA GRID === */
.area-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-md)
}
.area{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:var(--space-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-xs);
  transition:all var(--fast)
}
.area:hover{
  box-shadow:var(--shadow-md);
  border-color:rgba(249,115,22,0.15);
  transform:translateY(-2px)
}
.area h3{font-size:var(--text-lg);margin-bottom:var(--space-xs);color:var(--navy-soft)}
.area p{font-size:var(--text-sm);color:var(--muted);margin-bottom:0}

/* === 13. TOWN GRID (Zonas & Provincias) === */
.comarca-grid{
  display:flex;
  flex-direction:column;
  gap:var(--space-lg)
}
.comarca-grid .comarca-card{margin-bottom:0}

/* Province links bar */
.province-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--space-sm);
  margin-bottom:var(--space-lg);
  padding:var(--space-md) var(--space-lg);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius-lg);
  border:1px solid var(--line-dark)
}
.province-label{
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--muted-light);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-right:var(--space-sm)
}
.btn-province{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 16px;
  background:rgba(249,115,22,0.08);
  color:var(--orange);
  border-radius:var(--radius-full);
  font-size:var(--text-sm);
  font-weight:600;
  text-decoration:none;
  transition:all var(--fast);
  border:1px solid transparent
}
.btn-province:hover{
  background:rgba(249,115,22,0.15);
  border-color:rgba(249,115,22,0.2);
  transform:translateY(-1px)
}
.btn-province small{
  font-weight:400;
  opacity:0.7;
  font-size:0.75rem
}

/* === 13. TOWN GRID (Zonas) === */
.comarca-card{
  background:var(--white);
  border-radius:var(--radius-xl);
  padding:var(--space-xl);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  margin-bottom:var(--space-lg);
  transition:all var(--base)
}
.comarca-card:hover{
  box-shadow:var(--shadow-lg);
  border-color:rgba(249,115,22,0.1)
}
.comarca-card .card-title{
  font-size:var(--text-lg);
  font-weight:700;
  color:var(--navy-soft);
  margin-bottom:var(--space-md);
  display:flex;
  align-items:center;
  gap:var(--space-sm)
}
.comarca-card .card-title::before{
  content:'';
  width:4px;
  height:20px;
  background:var(--gradient-accent);
  border-radius:2px;
  flex-shrink:0
}
.town-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:6px
}
.town-link{
  display:block;
  padding:8px 12px;
  font-size:var(--text-sm);
  color:var(--muted);
  border-radius:var(--radius-sm);
  transition:all var(--fast);
  text-decoration:none;
  font-weight:500
}
.town-link:hover{
  background:rgba(249,115,22,0.06);
  color:var(--orange);
  transform:translateX(3px)
}

/* === 14. TIMELINE / PROCESO === */
.step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--gradient-accent);
  color:#160903;
  font-weight:900;
  font-size:var(--text-sm);
  flex-shrink:0;
  margin-bottom:var(--space-sm);
  box-shadow:0 2px 8px rgba(249,115,22,0.25)
}

/* === 15. TESTIMONIOS === */
.testimonios{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg)
}
.testimonio{
  background:var(--white);
  border-radius:var(--radius-xl);
  padding:var(--space-xl) var(--space-xl) var(--space-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  position:relative;
  transition:all var(--base)
}
.testimonio:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.testimonio::before{
  content:'"';
  position:absolute;
  top:var(--space-sm);
  right:var(--space-xl);
  font-size:4.5rem;
  line-height:1;
  font-weight:900;
  color:rgba(249,115,22,0.07);
  font-family:Georgia,serif
}
.testimonio blockquote{
  font-size:var(--text-base);
  line-height:1.65;
  color:var(--muted);
  margin-bottom:var(--space-md);
  font-style:italic
}
.testimonio footer{
  display:flex;
  align-items:center;
  gap:var(--space-sm);
  border-top:1px solid var(--line);
  padding-top:var(--space-md)
}
.testimonio cite{
  font-style:normal;
  font-weight:700;
  font-size:var(--text-sm);
  color:var(--navy-soft)
}
.testimonio .role{
  font-size:var(--text-xs);
  color:var(--muted)
}

/* === 16. FAQ === */
.faq{display:flex;flex-direction:column;gap:var(--space-sm)}
details{
  background:var(--white);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  overflow:hidden;
  transition:all var(--fast)
}
details[open]{
  box-shadow:var(--shadow-sm);
  border-color:rgba(249,115,22,0.15)
}
summary{
  display:flex;
  align-items:center;
  gap:var(--space-md);
  padding:var(--space-lg);
  font-weight:600;
  font-size:var(--text-base);
  color:var(--navy-soft);
  cursor:pointer;
  list-style:none;
  -webkit-user-select:none;
  user-select:none;
  transition:color var(--fast)
}
details[open] summary{color:var(--orange)}
summary::-webkit-details-marker{display:none}
summary::marker{display:none;content:''}
summary::before{
  content:'+';
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--paper);
  font-size:var(--text-lg);
  font-weight:600;
  color:var(--orange);
  flex-shrink:0;
  transition:all var(--base)
}
details[open] summary::before{
  content:'−';
  background:var(--gradient-accent);
  color:#160903;
  transform:rotate(0deg)
}
details > p{
  padding:0 var(--space-lg) var(--space-lg);
  font-size:var(--text-sm);
  color:var(--muted);
  margin:0;
  line-height:1.65
}
details[open] p{animation:fadeIn var(--base) var(--ease-out) forwards}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}

/* === 17. BLOG === */
.blog-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-lg)
}
.blog-card{
  background:var(--white);
  border-radius:var(--radius-xl);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:all var(--base)
}
.blog-card:hover{
  box-shadow:var(--shadow-lg);
  transform:translateY(-4px)
}
.blog-card .thumb{
  width:100%;
  height:200px;
  background:var(--gradient-accent-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--orange);
  font-size:var(--text-sm);
  border-bottom:1px solid var(--line);
  background-image:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f97316' fill-opacity='0.05'%3E%3Cpath d='M20 0v40M0 20h40'/%3E%3C/g%3E%3C/svg%3E")
}
.blog-card-body{padding:var(--space-lg)}
.blog-card .date{
  font-size:11px;
  color:var(--orange);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:var(--space-xs)
}
.blog-card h3{font-size:var(--text-lg);margin-bottom:var(--space-xs);transition:color var(--fast)}
.blog-card:hover h3{color:var(--orange)}
.blog-card p{font-size:var(--text-sm);color:var(--muted);margin-bottom:var(--space-md);line-height:1.6}
.blog-card .read-more{
  font-size:var(--text-sm);
  font-weight:700;
  color:var(--orange);
  display:inline-flex;
  align-items:center;
  gap:var(--space-xs);
  transition:gap var(--fast)
}
.blog-card .read-more::after{
  content:'→';
  transition:transform var(--fast)
}
.blog-card:hover .read-more{gap:var(--space-sm)}
.blog-card:hover .read-more::after{transform:translateX(3px)}

/* === 17B. BLOG ARTICLE (individual pages) === */
.blog-article{
  background:var(--paper);
  min-height:60vh;
  padding:var(--space-2xl) 0 var(--space-3xl)
}
.blog-article-header{
  margin-bottom:var(--space-xl);
  padding-bottom:var(--space-lg);
  border-bottom:1px solid var(--line)
}
.blog-article-header .date{
  display:block;
  font-size:var(--text-sm);
  color:var(--orange);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:var(--space-sm)
}
.blog-article-header h1{
  font-size:var(--text-3xl);
  font-weight:900;
  line-height:1.15;
  letter-spacing:-0.03em;
  color:var(--navy-soft);
  margin:0
}
.blog-article-toc{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  padding:var(--space-xl);
  margin-bottom:var(--space-2xl);
  box-shadow:var(--shadow-sm)
}
.blog-article-toc h4{
  font-size:var(--text-sm);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--muted);
  margin-bottom:var(--space-md)
}
.blog-article-toc ul{
  display:flex;
  flex-direction:column;
  gap:var(--space-sm)
}
.blog-article-toc li a{
  display:flex;
  align-items:center;
  gap:var(--space-sm);
  padding:var(--space-sm) var(--space-md);
  border-radius:var(--radius-md);
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--navy-soft);
  transition:all var(--fast);
  text-decoration:none
}
.blog-article-toc li a::before{
  content:'';
  width:6px;height:6px;
  border-radius:50%;
  background:var(--orange);
  flex-shrink:0;
  opacity:0.4;
  transition:opacity var(--fast)
}
.blog-article-toc li a:hover{
  background:rgba(249,115,22,0.06);
  color:var(--orange)
}
.blog-article-toc li a:hover::before{opacity:1}
.blog-article-body{
  max-width:780px
}
.blog-article-body h2{
  font-size:var(--text-xl);
  font-weight:800;
  color:var(--navy-soft);
  margin-top:var(--space-2xl);
  margin-bottom:var(--space-md);
  letter-spacing:-0.02em;
  line-height:1.25
}
.blog-article-body h2:first-child{margin-top:0}
.blog-article-body h3{
  font-size:var(--text-lg);
  font-weight:700;
  color:var(--navy-soft);
  margin-top:var(--space-xl);
  margin-bottom:var(--space-sm)
}
.blog-article-body p{
  font-size:var(--text-base);
  line-height:1.75;
  color:var(--muted);
  margin-bottom:var(--space-md)
}
.blog-article-body p strong{color:var(--navy-soft)}
.blog-article-body ul,.blog-article-body ol{
  margin:0 0 var(--space-md);
  padding-left:var(--space-xl)
}
.blog-article-body li{
  font-size:var(--text-base);
  line-height:1.7;
  color:var(--muted);
  margin-bottom:var(--space-sm)
}
.blog-article-body ul li{list-style:disc}
.blog-article-body ol li{list-style:decimal}
.blog-article-body li strong{color:var(--navy-soft)}
.blog-article-body a{
  color:var(--orange);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
  transition:color var(--fast)
}
.blog-article-body a:hover{color:var(--orange-deep)}
.blog-article-footer{
  margin-top:var(--space-2xl);
  padding:var(--space-xl);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-sm);
  text-align:center
}
.blog-article-footer p{
  font-size:var(--text-sm);
  color:var(--muted);
  margin-bottom:var(--space-lg);
  line-height:1.6
}
.blog-cta{
  display:flex;
  gap:var(--space-md);
  flex-wrap:wrap;
  justify-content:center
}
.blog-related{
  margin-top:var(--space-2xl);
  padding-top:var(--space-xl);
  border-top:1px solid var(--line)
}
.blog-related h4{
  font-size:var(--text-base);
  font-weight:700;
  color:var(--navy-soft);
  margin-bottom:var(--space-lg)
}
.blog-rel-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-md)
}
.blog-rel-item{
  display:block;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:var(--space-lg);
  transition:all var(--base);
  text-decoration:none
}
.blog-rel-item:hover{
  box-shadow:var(--shadow-md);
  border-color:rgba(249,115,22,0.15);
  transform:translateY(-2px)
}
.blog-rel-item strong{
  display:block;
  font-size:var(--text-sm);
  color:var(--navy-soft);
  margin-bottom:var(--space-xs);
  transition:color var(--fast)
}
.blog-rel-item:hover strong{color:var(--orange)}
.blog-rel-item span{
  font-size:var(--text-xs);
  color:var(--muted)
}
.blog-nav{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-md);
  justify-content:space-between;
  align-items:center;
  margin-bottom:var(--space-xl);
  padding-bottom:var(--space-md);
  border-bottom:1px solid var(--line)
}
.blog-nav a{
  display:inline-flex;
  align-items:center;
  gap:var(--space-xs);
  font-size:var(--text-sm);
  font-weight:600;
  color:var(--muted);
  transition:color var(--fast);
  text-decoration:none
}
.blog-nav a:hover{color:var(--orange)}
.blog-nav-back{font-weight:700}

/* Tablet+ blog article */
@media(min-width:768px){
  .blog-article-header h1{font-size:var(--text-3xl)}
  .blog-rel-grid{grid-template-columns:repeat(2,1fr)}
  .blog-article-body h2{font-size:var(--text-2xl)}
}
@media(min-width:1024px){
  .blog-article-header h1{font-size:var(--text-4xl)}
  .blog-article{padding:var(--space-3xl) 0 var(--space-4xl)}
  .blog-rel-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .blog-article-header h1{font-size:var(--text-2xl)}
  .blog-article-toc{padding:var(--space-lg)}
  .blog-article-toc li a{font-size:var(--text-xs);padding:var(--space-xs) var(--space-sm)}
  .blog-article-body{padding:0}
  .blog-article-body h2{font-size:var(--text-lg)}
  .blog-article-footer{padding:var(--space-lg)}
  .blog-rel-item{padding:var(--space-md)}
  .blog-nav{border-bottom:0;padding-bottom:0}
}

/* === 18. CTA === */
.cta{
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:var(--space-xl);
  align-items:center;
  background:var(--gradient-hero);
  color:#fff;
  position:relative;
  overflow:hidden
}
.cta::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity:0.3;
  pointer-events:none
}
.cta h2{color:#fff;max-width:680px;margin-left:auto;margin-right:auto;position:relative;z-index:1}
.cta p{color:rgba(255,255,255,0.65);max-width:540px;margin-left:auto;margin-right:auto;position:relative;z-index:1}
.cta > div:last-child{
  display:flex;
  gap:var(--space-md);
  flex-wrap:wrap;
  justify-content:center;
  position:relative;z-index:1
}

/* === 19. FOOTER === */
.footer{
  background:var(--navy);
  color:rgba(255,255,255,0.7);
  padding:var(--space-3xl) 0 0;
  font-size:var(--text-sm)
}
.footer a{
  color:rgba(255,255,255,0.55);
  transition:all var(--fast);
  display:inline-block;
  padding:2px 0
}
.footer a:hover{color:var(--orange);transform:translateX(3px)}
.footer strong{color:#fff;font-size:var(--text-base)}
.footer p{color:rgba(255,255,255,0.4);margin-top:var(--space-sm);font-size:var(--text-sm);line-height:1.6}
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--space-xl);
  padding-bottom:var(--space-2xl)
}
.footer-grid > div{
  display:flex;
  flex-direction:column;
  gap:var(--space-sm)
}
.footer-grid > div:first-child strong{
  display:block;
  font-size:var(--text-lg);
  letter-spacing:-0.03em
}
.footer .copyright{
  border-top:1px solid rgba(255,255,255,0.05);
  padding:var(--space-lg) 0;
  color:rgba(255,255,255,0.3);
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-md);
  justify-content:space-between;
  align-items:center;
  font-size:var(--text-xs)
}
.footer .copyright a{color:rgba(255,255,255,0.3)}
.footer .copyright a:hover{color:var(--orange);transform:none}

/* === 20. MOBILE STICKY === */
.mobile-sticky{
  position:fixed;
  bottom:0;
  left:0;right:0;
  z-index:40;
  display:flex;
  gap:var(--space-sm);
  padding:var(--space-sm) var(--space-md);
  padding-bottom:max(var(--space-sm),env(safe-area-inset-bottom));
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
  box-shadow:0 -4px 20px rgba(0,0,0,0.06)
}
.mobile-sticky .btn{
  flex:1;
  font-size:var(--text-xs);
  min-height:50px;
  border-radius:var(--radius-md);
  display:flex;
  flex-direction:column;
  gap:1px;
  line-height:1.2;
  padding:8px 6px;
  align-items:center;
  justify-content:center
}
.mobile-sticky .btn small{font-size:9px;opacity:0.7;font-weight:400}

/* === 21. WHATSAPP FLOATING === */
.whatsapp-float{
  position:fixed;
  bottom:var(--space-xl);
  right:var(--space-xl);
  z-index:45;
  display:flex;
  flex-direction:column;
  align-items:end;
  gap:12px
}
.whatsapp-float-btn{
  width:60px;height:60px;
  border-radius:50%;
  background:var(--green);
  box-shadow:var(--shadow-glow-green);
  border:0;cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all var(--fast);
  animation:whatsappPulse 2.5s ease-in-out infinite;
  position:relative;
  z-index:2
}
.whatsapp-float-btn svg{width:28px;height:28px;fill:#fff}
.whatsapp-float-btn:active{transform:scale(0.95)}
@keyframes whatsappPulse{
  0%,100%{box-shadow:0 6px 24px rgba(34,197,94,0.35)}
  50%{box-shadow:0 6px 40px rgba(34,197,94,0.55)}
}

/* === 22A. WHATSAPP FLOATING LINKS (two options on click) === */
.whatsapp-float-links{
  display:none;
  flex-direction:column;
  gap:8px;
  transform-origin:bottom right
}
.whatsapp-float.open .whatsapp-float-links{display:flex}
.whatsapp-float.open .whatsapp-float-btn{animation:none}
.whatsapp-float-links a{
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--white);
  color:var(--ink);
  padding:12px 20px 12px 16px;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 4px 24px rgba(0,0,0,0.15);
  transition:all 0.15s;
  text-decoration:none;
  border:1px solid var(--line);
  animation:fadeIn 0.2s ease both
}
.whatsapp-float-links a:first-child{animation-delay:0s}
.whatsapp-float-links a:last-child{animation-delay:0.05s}
.whatsapp-float-links a:hover{transform:translateX(-4px)}
.whatsapp-float-links a .wa-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:50%;
  background:var(--green);
  flex-shrink:0
}
.whatsapp-float-links a .wa-icon svg{width:18px;height:18px;fill:#fff}
.whatsapp-float-links a .wa-label{display:flex;flex-direction:column;gap:1px}
.whatsapp-float-links a .wa-label span{font-size:11px;font-weight:400;opacity:0.7}
.whatsapp-float-links a .wa-label strong{font-size:14px}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(8px) scale(0.95)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

/* === 22B. ENTRANCE POPUP (first visit) — dark theme === */
.entrance-overlay{
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  z-index:200;
  background:rgba(0,0,0,0.7);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:var(--space-md);
  animation:entranceFadeIn 0.3s ease
}
.entrance-overlay.open{display:flex}
.entrance-popup{
  background:var(--gradient-dark);
  border-radius:24px;
  width:100%;
  max-width:480px;
  max-height:90vh;
  overflow-y:auto;
  padding:var(--space-xl) var(--space-xl) var(--space-lg);
  position:relative;
  box-shadow:0 32px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  animation:entranceSlideUp 0.35s cubic-bezier(0.16,1,0.3,1);
  border:1px solid rgba(255,255,255,0.06)
}
.entrance-popup::before{
  content:'';
  position:absolute;
  top:0;left:20px;right:20px;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--orange),var(--amber),var(--orange),transparent);
  border-radius:2px;
  opacity:0.6
}
.entrance-close{
  position:absolute;
  top:12px;right:14px;
  width:34px;height:34px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.4);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all var(--fast)
}
.entrance-close:hover{background:rgba(255,255,255,0.12);color:#fff}
.entrance-header{text-align:center;margin-bottom:var(--space-lg);padding-top:var(--space-sm)}
.entrance-icon{
  width:72px;height:72px;
  margin:0 auto var(--space-md);
  background:var(--gradient-accent-soft);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(249,115,22,0.15)
}
.entrance-icon svg{width:36px;height:36px;fill:var(--orange)}
.entrance-header h3{
  font-size:var(--text-xl);
  font-weight:800;
  background:var(--gradient-accent);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin:0 0 6px;
  letter-spacing:-0.02em
}
.entrance-header p{
  font-size:var(--text-sm);
  color:rgba(255,255,255,0.5);
  margin:0;
  line-height:1.5;
  max-width:340px;
  margin-inline:auto
}
.entrance-row{margin-bottom:var(--space-sm)}
.entrance-row input,.entrance-row select,.entrance-row textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  font-size:14px;
  font-family:inherit;
  background:rgba(255,255,255,0.04);
  color:rgba(255,255,255,0.85);
  transition:border-color var(--fast),box-shadow var(--fast);
  box-sizing:border-box
}
.entrance-row input::placeholder,.entrance-row select::placeholder,.entrance-row textarea::placeholder{color:rgba(255,255,255,0.25)}
.entrance-row input:focus,.entrance-row select:focus,.entrance-row textarea:focus{
  outline:0;
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(249,115,22,0.12)
}
.entrance-duo{display:flex;gap:var(--space-sm)}
.entrance-duo > *{flex:1;min-width:0}
.entrance-damage{
  display:flex;
  gap:6px;
  align-items:center
}
.ent-dmg{
  flex:1;
  text-align:center;
  padding:9px 6px;
  border-radius:10px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  transition:all var(--fast);
  user-select:none;
  color:rgba(255,255,255,0.5)
}
.ent-dmg.selected{
  background:rgba(249,115,22,0.15);
  border-color:rgba(249,115,22,0.3);
  color:var(--amber)
}
.entrance-row textarea{
  resize:vertical;
  min-height:65px
}
.entrance-actions{
  display:flex;
  gap:var(--space-sm);
  margin-top:var(--space-md)
}
.ent-btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 12px;
  border:0;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:all var(--fast);
  font-family:inherit
}
.ent-btn span{font-size:18px}
.ent-btn-valuar{
  background:var(--green);
  color:#fff;
  box-shadow:0 4px 16px rgba(34,197,94,0.25)
}
.ent-btn-valuar:hover{
  filter:brightness(1.1);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(34,197,94,0.35)
}
.ent-btn-pieza{
  background:var(--gradient-accent);
  color:#160903;
  box-shadow:0 4px 16px rgba(249,115,22,0.2)
}
.ent-btn-pieza:hover{
  filter:brightness(1.08);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(249,115,22,0.3)
}
@keyframes entranceFadeIn{
  from{opacity:0}
  to{opacity:1}
}
@keyframes entranceSlideUp{
  from{opacity:0;transform:translateY(40px) scale(0.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

/* === 23. COOKIES BANNER === */
.cookies-banner{
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:100;
  background:var(--navy-soft);
  color:rgba(255,255,255,0.85);
  padding:var(--space-md) var(--space-md);
  padding-bottom:max(var(--space-md),env(safe-area-inset-bottom));
  transform:translateY(100%);
  transition:transform var(--slow) var(--ease-out);
  box-shadow:0 -8px 40px rgba(0,0,0,0.25);
  border-top:1px solid rgba(255,255,255,0.06);
  max-height:90vh;
  overflow-y:auto
}
.cookies-banner.visible{transform:translateY(0)}
.cookies-banner .container{
  display:flex;
  flex-direction:column;
  gap:var(--space-sm);
  align-items:stretch;
  text-align:center
}
.cookies-banner p{
  font-size:var(--text-xs);
  color:rgba(255,255,255,0.65);
  max-width:720px;
  margin-bottom:0;
  line-height:1.5
}
.cookies-banner .btn{
  flex-shrink:0;
  min-height:48px;
  width:100%
}

/* === 24. MISC === */
.breadcrumb{
  font-size:var(--text-sm);
  color:var(--muted);
  margin-bottom:var(--space-md);
  display:flex;
  gap:var(--space-xs);
  align-items:center
}
.breadcrumb a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.breadcrumb a:hover{color:var(--orange)}
.breadcrumb span{color:var(--muted)}

/* === 25. MOBILE (≤480px) — extra small devices === */
@media(max-width:480px){
  :root{
    --container-pad:12px;
    --space-3xl:40px;
    --text-3xl:1.65rem;
    --text-2xl:1.35rem
  }
  .hero{padding:var(--space-xl) var(--space-lg) 40px}
  .hero h1{font-size:1.6rem}
  .hero p{font-size:var(--text-base)}
  .hero .btn{width:100%;margin-right:0;margin-bottom:var(--space-sm)}
  .hero-panel{padding:var(--space-lg) var(--space-md)}
  .hero-panel h2{font-size:var(--text-lg)}
  .form-grid input,.form-grid select{padding:14px;font-size:16px;min-height:48px}
  .form-grid label{font-size:10px}
  .stat-number{font-size:2rem}
  .stats-bar{gap:var(--space-sm);padding:var(--space-lg) var(--space-lg)}
  .section{padding:var(--space-3xl) 0}
  .card{padding:var(--space-lg) var(--space-md)}
  .comarca-card{padding:var(--space-lg) var(--space-md)}
  .town-grid{grid-template-columns:1fr 1fr;gap:4px}
  .town-link{padding:10px 10px;font-size:var(--text-xs);min-height:44px;display:flex;align-items:center}
  .mobile-sticky{padding:6px 8px;padding-bottom:max(6px,env(safe-area-inset-bottom))}
  .mobile-sticky .btn{min-height:48px;font-size:var(--text-sm);flex-direction:row;gap:4px}
  .mobile-sticky .btn small{font-size:10px}
  .footer-grid{gap:var(--space-lg)}
  /* Mobile menu compact */
  .mobile-menu{padding:72px 20px 24px;gap:4px}
  .hamburger{width:44px;height:44px;padding:10px}
  .mobile-menu a{padding:12px 16px;font-size:var(--text-base)}
  .footer{padding:var(--space-2xl) 0 0}
  .testimonio{padding:var(--space-lg)}
  .faq details summary{font-size:var(--text-sm);padding:var(--space-md)}
  .faq details > p{padding:0 var(--space-md) var(--space-md);font-size:var(--text-sm)}
  .blog-card .thumb{height:140px}
  .blog-card-body{padding:var(--space-md)}
  .cookies-banner{padding:var(--space-sm) var(--space-md);padding-bottom:max(var(--space-sm),env(safe-area-inset-bottom))}
  .cookies-banner p{font-size:11px;margin-bottom:0}
  .cookies-banner .container{gap:var(--space-sm)}
  .cookies-banner .btn{min-height:44px;font-size:var(--text-xs);padding:10px 16px}
  .split{gap:var(--space-lg)}
  .service-list li{font-size:var(--text-sm);gap:10px}
  .service-list li::before{width:20px;height:20px;background-size:10px}
  .cta{padding:var(--space-xl) 0}
  .cta h2{font-size:var(--text-xl)}
  .whatsapp-float{bottom:calc(var(--space-xl) + 70px)}
  .entrance-popup{padding:var(--space-lg) var(--space-md)}
  .entrance-icon{width:60px;height:60px}
  .entrance-icon svg{width:28px;height:28px}
  .entrance-header h3{font-size:var(--text-lg)}
  .entrance-duo{flex-direction:column}
  .entrance-actions{flex-direction:column}
  .ent-btn{padding:16px;font-size:16px}
  .entrance-damage{gap:4px}
  .ent-dmg{font-size:11px;padding:8px 4px}
}

/* === 26. RESPONSIVE — TABLET / MOBILE LANDSCAPE (481–1023px) === */
@media(min-width:481px) and (max-width:1023px){
  :root{
    --container-pad:20px;
    --space-3xl:56px;
    --text-3xl:2rem;
    --text-2xl:1.5rem
  }
  .hero{padding:var(--space-2xl) var(--space-lg) 48px}
  .hero h1{font-size:2.2rem}
  .hero-panel{padding:var(--space-xl) var(--space-lg)}
  .form-grid input,.form-grid select{min-height:48px;font-size:16px}
  .stats-bar{padding:var(--space-lg) var(--space-lg)}
  .stat-number{font-size:2.4rem}
  .town-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
  .town-link{padding:8px 10px;min-height:40px;display:flex;align-items:center}
  .section{padding:var(--space-3xl) 0}
  .card{padding:var(--space-lg) var(--space-lg)}
  .comarca-card{padding:var(--space-lg)}
  .blog-card .thumb{height:160px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .whatsapp-float{bottom:calc(var(--space-xl) + 70px)}
}

/* === 27. RESPONSIVE — TABLET (≥768px) === */
@media(min-width:768px){
  :root{
    --container-pad:24px;
    --text-3xl:2.2rem;
    --text-4xl:3rem
  }
  .topbar{display:block}
  .topbar .container{padding:8px 0}
  .stats-bar{
    grid-template-columns:repeat(3,1fr);
    text-align:left
  }
  .split{grid-template-columns:1fr 1fr;gap:var(--space-xl)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .area-grid{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:1fr 1fr}
  .testimonios{grid-template-columns:repeat(2,1fr)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .town-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
  .cookies-banner .container{
    flex-direction:row;
    text-align:left;
    align-items:center;
    gap:var(--space-md)
  }
  .cookies-banner p{
    flex:1;
    font-size:var(--text-sm);
    margin-bottom:0
  }
  .cookies-banner .btn{width:auto;min-height:44px}
  .hero{padding:var(--space-3xl) var(--space-lg) 56px}
  .hero h1{font-size:var(--text-4xl)}
  .hero .btn{min-width:160px}
  .hero-grid{gap:var(--space-xl)}
  .stat-number{font-size:2.8rem}
  .btn{padding:12px 24px}
}

/* === 28. RESPONSIVE — DESKTOP (≥1024px) === */
@media(min-width:1024px){
  :root{
    --container-pad:32px;
    --text-2xl:1.75rem;
    --text-3xl:2.8rem;
    --text-4xl:3.8rem;
    --space-3xl:80px
  }
  .hamburger,.mobile-menu,.mobile-backdrop{display:none!important}
  .menu{display:flex}
  .hero-grid{grid-template-columns:1.05fr 0.95fr;align-items:center}
  .hero h1{font-size:var(--text-4xl)}
  .hero{padding:var(--space-4xl) var(--space-2xl) 72px}
  .hero .btn{min-width:180px}
  .cards{grid-template-columns:repeat(3,1fr)}
  .testimonios{grid-template-columns:repeat(3,1fr)}
  .blog-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(4,1fr)}
  .whatsapp-float{bottom:140px}
  .mobile-sticky{display:none}
  .stats-bar{padding:var(--space-xl) var(--space-2xl)}
  .hero-grid > .hero-panel{align-self:start;position:sticky;top:100px}
  .split > *:first-child{order:0}
  .section{padding:var(--space-3xl) 0}
  .town-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
  .town-link{padding:8px 12px;font-size:var(--text-sm)}
  .stat-number{font-size:var(--text-4xl)}
  .footer-grid{gap:var(--space-xl)}
}

/* === 29. RESPONSIVE — WIDE (≥1280px) === */
@media(min-width:1280px){
  :root{
    --text-4xl:4.2rem;
    --text-5xl:4rem
  }
  .hero{padding:var(--space-4xl) var(--space-2xl) 80px}
  .hero h1{font-size:var(--text-5xl)}
  .town-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
  .town-link{padding:8px 14px}
}

/* === 30. REDUCED MOTION === */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}
}
