/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.6s ease;
}
img, svg { display: block; max-width: 100%; }
svg[width][height] { width: attr(width px); height: attr(height px); flex-shrink: 0; }
/* Safety net: SVGs without explicit size never expand beyond their container */
svg:not([width]) { max-width: 100%; max-height: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ========== TOKENS ========== */
:root {
  --bg: #fbf9f5;
  --bg-alt: #f3efe8;
  --surface: #ffffff;
  --fg: #0a0a0a;
  --fg-2: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --hairline: rgba(10,10,10,0.10);
  --hairline-2: rgba(10,10,10,0.06);
  --accent: #c87456;
  --accent-ink: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04), 0 2px 8px rgba(10,10,10,0.04);
  --shadow-md: 0 8px 24px rgba(10,10,10,0.06), 0 24px 60px rgba(10,10,10,0.06);
  --shadow-lg: 0 24px 60px rgba(10,10,10,0.10), 0 40px 120px rgba(10,10,10,0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --container: 1280px;
}
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #131313;
  --surface: #1a1a1a;
  --fg: #f5f5f7;
  --fg-2: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #86868b;
  --hairline: rgba(255,255,255,0.10);
  --hairline-2: rgba(255,255,255,0.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4), 0 24px 60px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.6), 0 40px 120px rgba(0,0,0,0.5);
}

/* ========== TYPE ========== */
.eyebrow {
  font-size: 12px;
  font-weight: 590;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; color: var(--fg); }
.display {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.headline {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.subhead {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.lead {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--fg-2);
  letter-spacing: -0.012em;
}
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.04em; }

/* ========== LAYOUT ========== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 32px; }
section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section-tight { padding: clamp(72px, 8vw, 112px) 0; }
@media (max-width: 880px) {
  .container, .container-wide { padding: 0 20px; }
  section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--hairline-2);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.nav-inner {
  max-width: 1480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; font-size: 16px; min-width: 0; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; letter-spacing: -0.02em; }
.brand .brand-logo {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}
.brand-text {
  display: inline-flex; flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-name {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-loc {
  font-size: 11px; font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer .brand .brand-logo {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color 0.25s var(--ease); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: inline-flex; align-items: center; gap: 10px; }
.nav-cta {
  font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover { transform: scale(1.03); }

/* Hamburger */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-burger:hover { background: var(--hairline-2); }
.nav-burger-bars {
  display: flex; flex-direction: column; gap: 5px;
  width: 18px;
}
.nav-burger-bars span {
  display: block; height: 2px; background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 880px) {
  .nav-inner { padding: 14px 20px; gap: 10px; }
  .brand .brand-logo {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }
  .brand { gap: 10px; }
  .brand-name { font-size: 18px; }
  .brand-loc { font-size: 12px; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 22px 22px 28px;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.16);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu-close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 30px; line-height: 1; color: var(--fg);
  background: var(--hairline-2);
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.mobile-menu-close:hover { background: var(--hairline); }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a {
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-2);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s var(--ease);
}
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-menu-links a::after { content: '→'; opacity: 0.35; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.mobile-menu-links a:hover::after { transform: translateX(4px); opacity: 1; color: var(--accent); }
.mobile-menu-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.mobile-menu-ctas .btn { justify-content: center; padding: 16px 22px; font-size: 16px; width: 100%; }
.mobile-menu-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-2);
}
.mobile-trust-item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.mt-value { font-size: 15px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.mt-value.stars { color: #fbb040; letter-spacing: 1px; }
.mt-label { font-size: 10px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, black); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: color-mix(in srgb, var(--fg) 88%, var(--accent)); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--hairline); }
.btn-ghost:hover { background: var(--hairline-2); }
.btn-link { padding: 0; color: var(--accent); font-weight: 500; font-size: 15px; gap: 6px; }
.btn-link:hover { gap: 10px; }

/* ========== REVEAL ON SCROLL ========== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ========== HERO ========== */
.hero {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}
.hero-inner { text-align: center; padding: 0 32px; max-width: 1280px; margin: 0 auto; }
.hero-inner:first-child {
  flex: 1;
  min-height: unset;
  width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(110px, 14vh, 160px) 32px clamp(40px, 8vh, 80px);
}
.hero-eyebrow { margin-bottom: 24px; }
.hero-title { margin: 0 auto; max-width: 14ch; }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(48px) rotate(0.5deg); animation: heroWord 1.2s var(--ease) forwards; }
.hero-title .word.w1 { animation-delay: 0.05s; }
.hero-title .word.w2 { animation-delay: 0.18s; }
.hero-title .word.w3 { animation-delay: 0.31s; }
.hero-title .word.w4 { animation-delay: 0.44s; color: var(--accent); font-style: italic; font-family: "Iowan Old Style", Georgia, serif; font-weight: 500; }
@keyframes heroWord { to { opacity: 1; transform: none; } }
.hero-lead { margin: 24px auto 0; max-width: 56ch; opacity: 0; animation: fadeIn 1s var(--ease) 0.7s forwards; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeIn 1s var(--ease) 0.9s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* Trust bar inline (visible on every viewport) */
.hero-trust {
  margin: 28px auto 0;
  display: inline-flex; align-items: center;
  gap: 22px;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  opacity: 0; animation: fadeIn 1s var(--ease) 1.1s forwards;
}
.ht-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ht-value { font-size: 15px; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.ht-stars { font-size: 13px; color: #fbb040; letter-spacing: 1px; line-height: 1; }
.ht-label { font-size: 10px; color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.ht-divider { width: 1px; height: 24px; background: var(--hairline-2); }

@media (max-width: 600px) {
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    align-items: center;
    width: calc(100% - 32px);
    margin-left: auto; margin-right: auto;
    padding: 12px 14px;
    gap: 10px;
    border-radius: 18px;
  }
  .ht-value, .ht-stars { font-size: 13px; }
  .ht-label { font-size: 9px; letter-spacing: 0.06em; }
  .ht-divider { height: 22px; }
}

.hero-stage {
  margin-top: 72px;
  position: relative;
  height: clamp(420px, 60vh, 720px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
  opacity: 0; animation: fadeIn 1.2s var(--ease) 0.6s forwards;
}
.hero-stage-inner { position: absolute; inset: 0; }
.hero-image-layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
  overflow: hidden;
}
.hero-image-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-floating-card {
  position: absolute;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid var(--hairline-2);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.hero-fc-1 { top: 32px; left: 32px; animation: floatUp 6s ease-in-out infinite; }
.hero-fc-2 { bottom: 32px; right: 32px; animation: floatUp 7s ease-in-out infinite 0.5s; }
.hero-fc-3 { top: 50%; right: 48px; transform: translateY(-50%); animation: floatUp 8s ease-in-out infinite 1s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-fc-3 { animation-name: floatUp3; }
@keyframes floatUp3 { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }

.hero-marquee {
  margin-top: 64px;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  overflow: hidden;
  padding: 18px 0;
}
.hero-marquee-track {
  display: flex; gap: 64px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.02em;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === HERO MOBILE === */
@media (max-width: 880px) {
  .hero {
    min-height: 100svh;
    padding: 0;
  }
  .hero-inner { padding: 0 20px; }
  .hero-inner:first-child {
    flex: 1;
    min-height: unset;
    padding: clamp(96px, 13vh, 120px) 20px clamp(36px, 6vh, 64px);
  }
  .hero-eyebrow { font-size: 13px; margin-bottom: 20px; letter-spacing: 0.1em; }
  .hero-title { font-size: clamp(48px, 14vw, 72px); letter-spacing: -0.04em; max-width: 100%; }
  .hero-lead { font-size: 19px; margin-top: 18px; max-width: 36ch; line-height: 1.4; }
  .hero-ctas { margin-top: 28px; gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-cta-note { margin-top: 12px; font-size: 13px; }
  .hero-trust { margin-top: 28px; }

  .hero-stage {
    margin-top: 36px;
    height: clamp(260px, 50vh, 380px);
    border-radius: var(--radius-lg);
  }
  .hero-fc-1, .hero-fc-2 {
    padding: 10px 14px; font-size: 12px; border-radius: 14px;
  }
  .hero-fc-1 { top: 14px; left: 14px; }
  .hero-fc-2 { bottom: 14px; right: 14px; }
  .hero-fc-3 { display: none; }

  .hero-marquee { margin-top: 36px; padding: 12px 0; }
  .hero-marquee-track { gap: 36px; font-size: 11px; }
}

/* ========== PLACEHOLDER IMAGES ========== */
.ph {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--fg) 4%, transparent) 12px 13px);
}
.ph-label {
  position: absolute; left: 16px; bottom: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px; border-radius: 4px;
  text-transform: uppercase;
}

/* Stock-like rendered placeholder: soft gradient + window/wall hint */
.ph-room {
  background:
    radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #e8e2d6 0%, #d9cfbe 100%);
}
.ph-room.kitchen {
  background:
    radial-gradient(60% 40% at 20% 60%, color-mix(in srgb, #c4a378 50%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #f0e9dc 0%, #c8b89a 100%);
}
.ph-room.bath {
  background:
    radial-gradient(60% 40% at 80% 40%, color-mix(in srgb, #a4b8c0 60%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #eef2f4 0%, #b9c5cb 100%);
}
.ph-room.living {
  background:
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, #b89878 40%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #ece4d4 0%, #b6a587 100%);
}
.ph-room.dark {
  background:
    radial-gradient(60% 40% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #2a2622 0%, #161412 100%);
}
.ph-room.before {
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(0,0,0,0.04) 10px 11px),
    linear-gradient(180deg, #b9b3a8 0%, #8e8779 100%);
  filter: saturate(0.6);
}

/* ========== SECTION TITLES ========== */
.section-head { max-width: 880px; margin: 0 auto clamp(48px, 6vw, 88px); text-align: center; padding: 0 32px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.section-head .headline { margin-bottom: 18px; }
.section-head .subhead { max-width: 60ch; margin: 0 auto; }
.section-head.left { text-align: left; margin-left: 0; padding-left: 0; }
.section-head.left .subhead { margin-left: 0; }
@media (max-width: 880px) {
  .section-head { padding: 0 20px; margin-bottom: 36px; }
  .section-head .eyebrow { margin-bottom: 12px; }
  .section-head .headline { font-size: clamp(28px, 8vw, 40px); margin-bottom: 12px; }
  .section-head .subhead { font-size: 15px; }
}

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 360px;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.service-card.sc-feature { min-height: 460px; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .ph { position: absolute; inset: 0; z-index: 0; }
.service-card .body { position: relative; z-index: 1; padding: 32px 40px 88px; color: var(--fg); }
.service-card.dark { background: linear-gradient(160deg, #1f1c19 0%, #0f0d0b 100%); border-color: transparent; }
.service-card.dark .body { color: #f5efe6; }
.service-card.dark .body p { opacity: 0.78; }
.service-card.dark .meta { color: #f5efe6; opacity: 0.6; }
.service-card.dark .title { color: #ffffff; }
.service-card.dark .sc-list li { color: #f5efe6; }
.service-card.light .body { color: var(--fg); }

/* Service icon */
.service-card .sc-icon {
  position: relative; z-index: 2;
  width: 56px !important; height: 56px !important;
  max-width: 56px !important; max-height: 56px !important;
  border-radius: 16px;
  margin: 32px 32px 0;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  overflow: hidden;
  box-sizing: border-box;
}
.service-card .sc-icon svg {
  width: 28px !important; height: 28px !important;
  max-width: 28px !important; max-height: 28px !important;
  flex-shrink: 0;
  display: block;
}
.service-card.dark .sc-icon {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: #fff;
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.service-card.sc-feature .sc-icon {
  width: 64px !important; height: 64px !important;
  max-width: 64px !important; max-height: 64px !important;
  border-radius: 20px;
  margin: 40px 40px 0;
}
.service-card.sc-feature .sc-icon svg {
  width: 32px !important; height: 32px !important;
  max-width: 32px !important; max-height: 32px !important;
}
.service-card .stamp {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; padding: 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--fg); border: 1px solid var(--hairline-2);
  z-index: 2;
}
.service-card .meta { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; margin-bottom: 10px; }
.service-card .title { font-size: clamp(28px, 3vw, 44px); max-width: 12ch; }
.service-card p { font-size: 15px; opacity: 0.85; max-width: 38ch; margin-top: 10px; }
.service-card .arrow {
  position: absolute; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--fg);
  display: grid; place-items: center; font-size: 18px;
  border: 1px solid var(--hairline-2);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  z-index: 2;
}
.service-card:hover .arrow { transform: translate(4px, -4px); background: var(--accent); color: #fff; border-color: transparent; }
.sc-feature { grid-column: span 8; min-height: 560px; }
.sc-half { grid-column: span 4; }
.sc-third { grid-column: span 4; }
.sc-wide { grid-column: span 6; }
@media (max-width: 1024px) {
  .sc-feature { grid-column: span 12; min-height: 380px; }
  .sc-half, .sc-third { grid-column: span 6; }
  .sc-wide { grid-column: span 6; }
  .service-card { min-height: 280px; }
}
@media (max-width: 720px) {
  .services-grid { gap: 12px; }
  .sc-feature, .sc-half, .sc-third, .sc-wide { grid-column: span 12; }
  .service-card { min-height: 240px; border-radius: var(--radius); }
  .service-card.sc-feature { min-height: 320px; }
  .service-card .body { padding: 20px 22px 72px; }
  .service-card .sc-icon { margin: 20px 22px 0; width: 48px !important; height: 48px !important; max-width: 48px !important; max-height: 48px !important; border-radius: 14px; }
  .service-card .sc-icon svg { width: 24px !important; height: 24px !important; }
  .service-card.sc-feature .sc-icon { margin: 22px 22px 0; width: 54px !important; height: 54px !important; max-width: 54px !important; max-height: 54px !important; }
  .service-card.sc-feature .sc-icon svg { width: 26px !important; height: 26px !important; }
  .service-card .title { font-size: 24px; max-width: 18ch; }
  .service-card.sc-feature .title { font-size: 28px; }
  .service-card p { font-size: 14px; line-height: 1.5; }
  .service-card .arrow { width: 38px; height: 38px; bottom: 20px; right: 20px; font-size: 16px; }
  .service-card .stamp { top: 14px; right: 14px; font-size: 10px; padding: 5px 9px; }
  .service-card .meta { font-size: 11px; margin-bottom: 6px; }
}

/* ========== PROCESO (sticky pin) ========== */
.proceso { position: relative; }
.proceso-stage {
  height: 500vh;
  position: relative;
}
.proceso-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.proceso-track {
  position: relative;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: grid;
}
.proceso-item {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.proceso-item.active { opacity: 1; transform: none; pointer-events: auto; }
.proceso-text { position: relative; }
.proceso-text .step-num {
  font-family: "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}
.proceso-text h3 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.03em; margin-bottom: 18px; }
.proceso-text p { color: var(--muted); font-size: 18px; max-width: 44ch; line-height: 1.5; }
.proceso-text .step-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.proceso-text .step-tag {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--hairline); color: var(--muted-2);
}
.proceso-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  transition: transform 1.2s var(--ease);
}
.proceso-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proceso-visual-label {
  position: absolute; left: 24px; top: 24px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
  z-index: 2;
}
.proceso-progress {
  position: absolute; left: calc(50% + 72px); bottom: 32px; right: 64px;
  display: flex; gap: 8px;
  z-index: 2;
}
.proceso-progress-bar {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--hairline);
  overflow: hidden;
}
.proceso-progress-bar > span {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
@media (max-width: 880px) {
  .proceso-stage { height: auto; }
  .proceso-sticky { position: static; height: auto; display: block; overflow: visible; }
  .proceso-track { display: flex; flex-direction: column; gap: 64px; padding: 0 20px; }
  .proceso-item {
    grid-area: auto;
    display: flex; flex-direction: column; gap: 22px;
    opacity: 1; transform: none; pointer-events: auto;
  }
  .proceso-text .step-num { font-size: clamp(64px, 22vw, 110px); margin-bottom: 12px; }
  .proceso-text p { max-width: none; }
  .proceso-visual { transform: none !important; }
  .proceso-progress { display: none; }
}

/* ========== GALLERY (parallax tilt) ========== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.gallery-item .ph { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.gallery-item:hover .ph { transform: scale(1.05); }
.gallery-item .gi-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-item:hover .gi-img { transform: scale(1.06); }
.gallery-item .gi-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  z-index: 2;
}
.gallery-item .gi-meta .loc { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; margin-bottom: 6px; }
.gallery-item .gi-meta .name { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.gi-l { grid-column: span 7; aspect-ratio: 16/10; }
.gi-s { grid-column: span 5; aspect-ratio: 16/10; }
.gi-m { grid-column: span 4; }
@media (max-width: 880px) {
  .gallery-grid { gap: 10px; }
  .gi-l { grid-column: span 12; aspect-ratio: 5/4; }
  .gi-s { grid-column: span 12; aspect-ratio: 5/4; }
  .gi-m { grid-column: span 6; aspect-ratio: 1; }
  .gallery-item { border-radius: var(--radius); }
  .gallery-item .gi-meta { padding: 16px; }
  .gallery-item .gi-meta .name { font-size: 16px; }
  .gallery-item .gi-meta .loc { font-size: 10px; }
}

/* ========== BEFORE/AFTER ========== */
.ba-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1a1a1a;
}
.ba-stage { position: relative; aspect-ratio: 16/10; user-select: none; touch-action: pan-y; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after-clip { position: absolute; inset: 0; clip-path: inset(0 0 0 0); overflow: hidden; }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 3px; background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.5), 0 0 4px rgba(0,0,0,0.3);
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--fg);
  font-size: 18px; font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ba-handle:hover .ba-handle-knob,
.ba-handle.dragging .ba-handle-knob {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}
.ba-handle-knob::before {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
}
.ba-handle-knob svg { position: relative; z-index: 1; }
.ba-label {
  position: absolute; top: 18px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba-label.before { left: 18px; background: rgba(255,255,255,0.92); color: #111; }
.ba-label.after  { right: 18px; background: var(--accent); color: #fff; }
.ba-hint {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  animation: baHint 4.4s ease-in-out infinite;
}
@keyframes baHint {
  0%, 30%, 80%, 100% { opacity: 0; }
  10%, 60% { opacity: 1; }
}

/* Tabs to switch project pairs */
.ba-tabs {
  display: inline-flex; padding: 5px; border-radius: 999px;
  background: var(--hairline-2);
  gap: 4px;
  flex-wrap: wrap;
  max-width: 100%;
}
.ba-tabs button {
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.ba-tabs button.active { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.ba-tabs button:hover:not(.active) { color: var(--fg); }

.ba-section {
  margin-top: clamp(64px, 9vw, 112px);
}
.ba-intro {
  margin-bottom: 28px;
}
.ba-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 720px) {
  .ba-section { margin-top: 56px; }
  .ba-intro { margin-bottom: 20px; }
  .ba-header { margin-bottom: 16px; gap: 12px; }
  .ba-header .ba-meta { order: 2; flex: 1 1 100%; }
  .ba-header .ba-tabs { order: 1; flex: 1 1 100%; justify-content: stretch; }
  .ba-header .ba-tabs button { flex: 1; }
}
.ba-meta {
  display: flex; flex-direction: column; gap: 4px;
}
.ba-meta .ba-loc {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2);
}
.ba-meta .ba-name {
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}

@media (max-width: 720px) {
  .ba-wrap { border-radius: var(--radius-lg); }
  .ba-stage { aspect-ratio: 4/5; }
  .ba-handle-knob { width: 48px; height: 48px; font-size: 16px; }
  .ba-label { font-size: 10px; padding: 6px 11px; top: 14px; letter-spacing: 0.14em; }
  .ba-label.before { left: 14px; }
  .ba-label.after  { right: 14px; }
  .ba-hint { bottom: 14px; font-size: 10px; padding: 5px 10px; }
  .ba-tabs button { padding: 8px 14px; font-size: 12px; }
  .ba-meta .ba-name { font-size: 16px; }
}

/* ========== MATERIALES ========== */
.materiales-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.material-card {
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.material-card:hover { transform: translateY(-4px); }
.material-swatch {
  aspect-ratio: 1;
  position: relative;
}
.material-card .label { padding: 18px 20px; }
.material-card .label .n { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.material-card .label .m { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 880px) { .materiales-row { grid-template-columns: 1fr 1fr; } }

/* ========== COBERTURA (Málaga map) ========== */
.cobertura-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.cobertura-text h2 { margin-bottom: 24px; }
.cobertura-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 28px; }
.cobertura-zones li { list-style: none; padding: 12px 0; border-top: 1px solid var(--hairline-2); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cobertura-zones li .km { color: var(--muted-2); font-family: ui-monospace, "SF Mono", monospace; font-size: 11px; }
.map-wrap { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--hairline-2); }
.map-svg { width: 100%; height: 100%; }
.map-dot { fill: var(--accent); }
.map-pulse {
  fill: var(--accent); opacity: 0.28;
  animation: pulse 2.6s ease-in-out infinite;
  transform-box: fill-box; transform-origin: center;
}
.map-label {
  font-family: inherit; font-weight: 500;
  fill: var(--fg);
  paint-order: stroke;
  stroke: var(--bg-alt); stroke-width: 0.7; stroke-linejoin: round;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.28; } 50% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 880px) {
  .cobertura-grid { grid-template-columns: 1fr; gap: 32px; }
  .cobertura-zones { grid-template-columns: 1fr; gap: 0 24px; }
}

/* ========== EQUIPO ========== */
.equipo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.persona { position: relative; }
.persona-photo {
  aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 16px;
  background: var(--bg-alt);
  transition: transform 0.5s var(--ease);
}
.persona:hover .persona-photo { transform: scale(1.02); }
.persona .name { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.persona .role { color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 880px) { .equipo-row { grid-template-columns: 1fr 1fr; } }

/* ========== TESTIMONIOS ========== */
.testimonios { background: var(--bg-alt); }
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--hairline-2);
}
.testi-stars { display: flex; gap: 2px; color: #fbb040; margin-bottom: 16px; font-size: 14px; }
.testi-card p { font-size: 16px; line-height: 1.55; color: var(--fg-2); margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-weight: 600; color: var(--fg); }
.testi-author .who { font-size: 14px; font-weight: 500; }
.testi-author .meta { font-size: 12px; color: var(--muted); }
.google-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline-2); font-size: 13px; margin-bottom: 24px; }
.google-pill .score { font-weight: 600; }
.testi-author .meta { display: inline-flex; align-items: center; gap: 5px; }
.testi-author .meta-g { display: inline-flex; }

/* Resumen de valoración Google */
.reviews-summary {
  display: flex; align-items: center; gap: 20px;
  width: max-content; max-width: 100%;
  margin: 0 auto 40px;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--fg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.reviews-summary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.reviews-summary .rs-score { display: flex; flex-direction: column; line-height: 1; }
.reviews-summary .rs-num { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.reviews-summary .rs-stars { color: #fbbc05; font-size: 15px; letter-spacing: 1px; margin-top: 4px; }
.reviews-summary .rs-meta { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 1px solid var(--hairline-2); }
.reviews-summary .rs-meta strong { font-size: 15px; }
.reviews-summary .rs-meta span { font-size: 13px; color: var(--muted); }
.reviews-summary .rs-cta { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }

@media (max-width: 880px) {
  .testi-row { grid-template-columns: 1fr; }
  .testi-card { padding: 24px 22px; border-radius: var(--radius); }
  .reviews-placeholder { padding: 36px 20px; border-radius: var(--radius); }
  .reviews-summary { width: 100%; gap: 14px; padding: 14px 16px; }
  .reviews-summary .rs-num { font-size: 26px; }
  .reviews-summary .rs-meta { padding-left: 14px; }
  .reviews-summary .rs-cta { display: none; }
}

/* Badge flotante de valoración Google */
.google-rating-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: #fff; color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.06); border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.google-rating-float:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,0.22); }
.google-rating-float .grf-body { display: flex; flex-direction: column; line-height: 1.15; }
.google-rating-float .grf-top { display: inline-flex; align-items: center; gap: 6px; }
.google-rating-float .grf-num { font-weight: 700; font-size: 14px; }
.google-rating-float .grf-stars { color: #fbbc05; font-size: 12px; letter-spacing: 0.5px; }
.google-rating-float .grf-count { font-size: 11px; color: #5f6368; }
@media (max-width: 880px) {
  .google-rating-float { left: 12px; bottom: 84px; padding: 7px 13px 7px 10px; gap: 8px; }
  .google-rating-float .grf-num { font-size: 13px; }
  .google-rating-float .grf-count { font-size: 10px; }
}

/* ========== GARANTIAS ========== */
.garantias-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.garantia {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.garantia:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 30%, var(--hairline-2)); }
.garantia .num {
  font-family: "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 28px;
}
.garantia h4 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.garantia p { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 880px) {
  .garantias-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .garantia { padding: 22px 20px; border-radius: var(--radius); }
  .garantia .num { font-size: 42px; margin-bottom: 18px; }
  .garantia h4 { font-size: 16px; }
  .garantia p { font-size: 13px; }
}

/* ========== FAQ ========== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; text-align: left;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq-q .icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  font-size: 14px;
}
.faq-item.open .faq-q .icon { background: var(--accent); color: #fff; border-color: transparent; transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
  color: var(--muted);
  font-size: 16px; line-height: 1.6;
}
.faq-a > p { overflow: hidden; margin: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding: 0 0 28px; }

/* ========== PRESUPUESTO FORM ========== */
.cta-section { background: var(--fg); color: var(--bg); }
.cta-section .eyebrow { color: var(--accent); }
.cta-section h2 { color: var(--bg); }
.cta-section .subhead { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .cta-section { background: var(--bg-alt); }
.budget-card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface); color: var(--fg);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}
.budget-step { display: none; }
.budget-step.active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.budget-progress { display: flex; gap: 6px; margin-bottom: 32px; }
.budget-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--hairline); position: relative; overflow: hidden; }
.budget-progress span.done { background: var(--accent); }
.budget-step h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
.budget-step p.sub { color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) {
  .choice-grid { grid-template-columns: 1fr; }
  .budget-row { grid-template-columns: 1fr; }
  .budget-step h3 { font-size: 22px; }
  .budget-card { padding: 28px 22px; border-radius: var(--radius-lg); }
}
.choice {
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  text-align: left;
  font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.choice .glyph { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.choice.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.choice.selected .glyph { background: var(--accent); color: #fff; border-color: transparent; }
.budget-input {
  width: 100%; padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font: inherit; color: var(--fg); background: var(--bg);
  transition: border-color 0.3s var(--ease);
}
.budget-input:focus { outline: none; border-color: var(--accent); }
.budget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.budget-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.budget-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; margin: 20px 0; font-size: 14px; }
.budget-summary .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--hairline-2); }
.budget-summary .row:last-child { border: 0; padding-bottom: 0; }
.budget-summary .row .k { color: var(--muted); }
.budget-summary .row .v { font-weight: 500; }
.range-wrap { display: flex; align-items: center; gap: 16px; }
.range-wrap input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-wrap .val { font-variant-numeric: tabular-nums; min-width: 80px; text-align: right; font-weight: 500; }
.budget-done { text-align: center; padding: 24px 0; }
.budget-done .check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 28px; }

/* ========== CONTACTO / FOOTER ========== */
.contacto { padding-bottom: 0; }
.contacto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.contact-info { padding-top: 8px; }
.contact-info h2 { margin-bottom: 24px; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-channel {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--hairline-2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-channel:hover { transform: translateY(-2px); border-color: var(--accent); }
.cc-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.cc-icon.whatsapp { background: #25d366; color: #fff; }
.cc-body .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.cc-body .value { font-size: 16px; font-weight: 500; }
@media (max-width: 880px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-channel { padding: 16px 18px; }
  .cc-icon { width: 36px; height: 36px; }
  .cc-body .value { font-size: 15px; }
}

.footer {
  border-top: 1px solid var(--hairline-2);
  padding: 48px 0 32px;
  margin-top: clamp(80px, 10vw, 120px);
  color: var(--muted);
  font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h5 { font-size: 13px; font-weight: 500; margin-bottom: 16px; color: var(--fg); letter-spacing: -0.005em; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--hairline-2); flex-wrap: wrap; gap: 16px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
  .footer { margin-top: 56px; padding: 36px 0 92px; }
}

/* ========== WHATSAPP FLOAT ========== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  font-size: 24px;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366; opacity: 0;
  animation: waRing 2.4s ease-out infinite;
}
@keyframes waRing { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }

/* ========== CALL FLOAT (CTA de llamar) ========== */
.call-float {
  position: fixed; right: 24px; bottom: 96px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 40%, transparent);
  z-index: 50;
  transition: transform 0.3s var(--ease);
}
.call-float:hover { transform: scale(1.08); }
.call-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
  animation: callRing 2s ease-out infinite;
}
@keyframes callRing { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }

/* En móvil ocultamos los flotantes redondos para dejar paso a la barra inferior fija */
@media (max-width: 880px) {
  .call-float, .wa-float { display: none; }
}

/* ========== MOBILE STICKY CTA BAR ========== */
.mcta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 70;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--hairline-2);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.06);
}
.mcta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 480px; margin: 0 auto; }
.mcta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 14px; border-radius: 14px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.mcta-btn:active { transform: scale(0.97); }
.mcta-call { background: var(--accent); color: var(--accent-ink); }
.mcta-call:hover { background: color-mix(in srgb, var(--accent) 92%, black); }
.mcta-wa { background: #25d366; color: #fff; }
.mcta-wa:hover { background: color-mix(in srgb, #25d366 92%, black); }
.mcta-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.mcta-btn-label { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.mcta-btn-label .mcta-main { font-size: 14px; font-weight: 600; }
.mcta-btn-label .mcta-sub  { font-size: 10px; font-weight: 500; opacity: 0.85; letter-spacing: 0.03em; text-transform: uppercase; }
@media (max-width: 880px) { .mcta { display: block; } }
@media (max-width: 360px) {
  .mcta-btn-label .mcta-main { font-size: 12px; }
  .mcta-btn-label .mcta-sub  { font-size: 9px; }
}

/* ========== HERO CTA REFUERZO (botón con teléfono) ========== */
.btn-call {
  font-size: 17px; padding: 16px 28px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 32px color-mix(in srgb, var(--accent) 32%, transparent);
}
.btn-call::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: 0.85;
  animation: callDot 1.4s ease-in-out infinite;
  margin-left: 4px;
}
@keyframes callDot {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(1.5); }
}
.hero-cta-note {
  font-size: 13px; color: var(--muted-2); margin-top: 14px;
  letter-spacing: 0.01em; text-align: center;
  opacity: 0; animation: fadeIn 1s var(--ease) 1.1s forwards;
}
@media (max-width: 880px) {
  .btn-call { font-size: 17px; padding: 18px 22px; }
  .btn-call::after { display: none; }
}

/* ========== NAV CTA · variante llamar ========== */
.nav-cta-call {
  background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}
.nav-cta-call:hover {
  background: color-mix(in srgb, var(--accent) 90%, black);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.nav-cta-call svg { flex-shrink: 0; }
@media (max-width: 1024px) {
  .nav-cta .nav-cta-num { display: none; }
  .nav-cta-call { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .nav-cta-call svg { width: 18px; height: 18px; }
}

/* ========== GOOGLE REVIEWS PLACEHOLDER ========== */
.reviews-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 48px 24px; text-align: center;
  background: var(--surface); border: 1px dashed var(--hairline-2);
  border-radius: var(--radius-lg); max-width: 640px; margin: 0 auto;
}
.reviews-placeholder .rp-stars { font-size: 28px; color: #fbb040; letter-spacing: 4px; }
.reviews-placeholder .rp-text  { color: var(--muted); max-width: 44ch; line-height: 1.5; }

/* ========== SERVICE CARD LIST ========== */
.sc-list {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 7px;
}
.sc-list li {
  font-size: 14px; line-height: 1.45; color: inherit;
  padding-left: 16px; position: relative; opacity: 0.85;
}
.sc-list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--accent); font-size: 12px;
}
.service-card.dark .sc-list li { opacity: 0.75; }

/* ========== QUÉ INTEGRAMOS ========== */
.que-integramos { padding-top: 8px; }
.que-integramos-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.que-integramos-list li {
  font-size: 15px; line-height: 1.5; color: var(--muted);
  padding-left: 22px; position: relative;
}
.que-integramos-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 600; font-size: 13px;
}
.que-integramos-closing {
  font-size: 14px; font-style: italic; color: var(--muted-2);
  border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 8px;
}

/* ========== UTIL ========== */
.spacer-l { height: clamp(40px, 5vw, 80px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ========== PÁGINAS LEGALES ========== */
.legal-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline-2);
}
.legal-header .legal-header-in {
  max-width: var(--container); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-header .brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.legal-header .brand img { width: 40px; height: 40px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.legal {
  max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 32px clamp(64px, 8vw, 120px);
}
.legal .legal-eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.legal h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.legal .legal-updated { color: var(--muted-2); font-size: 14px; margin-bottom: 40px; }
.legal h2 {
  font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em;
  margin: 40px 0 14px; padding-top: 8px;
}
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p { color: var(--fg-2); line-height: 1.7; margin-bottom: 16px; }
.legal ul { color: var(--fg-2); line-height: 1.7; margin: 0 0 16px 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-card {
  background: var(--surface); border: 1px solid var(--hairline-2);
  border-radius: var(--radius); padding: 24px 28px; margin: 24px 0;
}
.legal .legal-card p { margin-bottom: 6px; }
.legal-foot {
  border-top: 1px solid var(--hairline-2);
  text-align: center; padding: 28px 32px; color: var(--muted); font-size: 14px;
}
@media (max-width: 880px) {
  .legal-header .legal-header-in { padding: 14px 20px; }
  .legal-header .brand span { display: none; }
  .legal { padding-left: 20px; padding-right: 20px; }
}
