/* =========================================================
   EAI Homefix — Design System
   Black / White / Red · Inter + Manrope · 8px grid · 20px radius
   ========================================================= */

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

:root{
  --black: #0B0B0C;
  --near-black: #131316;
  --white: #FFFFFF;
  --red: #E4142A;
  --red-dark: #B80F20;
  --red-light: #FF4B5C;
  --gray-25: #FCFCFD;
  --gray-50: #FAFAFA;
  --gray-100: #F3F3F5;
  --gray-150: #EBEBEE;
  --gray-200: #E1E1E6;
  --gray-300: #C8C8D0;
  --gray-400: #9A9AA5;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-800: #232327;
  --gray-900: #17171A;

  --font-display: 'Manrope', 'SF Pro Display', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', 'SF Pro Display', -apple-system, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(11,11,12,0.04);
  --shadow-sm: 0 2px 8px rgba(11,11,12,0.06);
  --shadow-md: 0 8px 24px rgba(11,11,12,0.08);
  --shadow-lg: 0 16px 48px rgba(11,11,12,0.12);
  --shadow-xl: 0 24px 64px rgba(11,11,12,0.16);
  --shadow-red: 0 12px 32px rgba(228,20,42,0.28);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: .25s;
  --dur: .5s;
  --dur-slow: .85s;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,p,figure{ margin:0; }

::selection{ background: var(--red); color:var(--white); }

/* ---------- Custom cursor ---------- */
.cursor-dot{
  position: fixed; top:0; left:0; width:10px; height:10px; border-radius:50%;
  background: var(--red); pointer-events:none; z-index:9999; mix-blend-mode: difference;
  transform: translate(-50%,-50%); transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s;
  opacity:0;
}
.cursor-ring{
  position: fixed; top:0; left:0; width:36px; height:36px; border-radius:50%;
  border:1.5px solid rgba(11,11,12,.35); pointer-events:none; z-index:9998;
  transform: translate(-50%,-50%); transition: transform .18s var(--ease-out), width .25s, height .25s, opacity .25s, border-color .25s;
  opacity:0;
}
@media (hover:hover) and (pointer:fine){
  .cursor-dot,.cursor-ring{ opacity:1; }
}
.cursor-ring.is-hover{ width:64px; height:64px; border-color: var(--red); background: rgba(228,20,42,.06); }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:1280px; margin:0 auto; padding:0 var(--space-3); }
.section{ padding: var(--space-16) 0; position:relative; }
.section-tight{ padding: var(--space-10) 0; }
@media (max-width:900px){
  .section{ padding: var(--space-10) 0; }
  .container{ padding: 0 var(--space-2); }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-body); font-weight:600; font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--red); margin-bottom: var(--space-2);
}
.eyebrow::before{ content:''; width:18px; height:2px; background: var(--red); border-radius:2px; }

.section-head{ max-width: 680px; margin-bottom: var(--space-8); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
h1,h2,h3{ font-family: var(--font-display); font-weight:800; letter-spacing:-0.02em; color:var(--black); }
.h1{ font-size: clamp(40px, 6vw, 76px); line-height:1.02; }
.h2{ font-size: clamp(30px, 4.2vw, 48px); line-height:1.08; }
.h3{ font-size: clamp(20px, 2.4vw, 26px); line-height:1.2; }
.lede{ font-size: clamp(16px,1.6vw,19px); line-height:1.6; color: var(--gray-600); font-weight:500; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 18px 30px; border-radius: var(--radius-full); font-weight:700; font-size:15px;
  border:1px solid transparent; white-space:nowrap; position:relative; overflow:hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-primary{ background: var(--red); color:var(--white); box-shadow: var(--shadow-red); }
.btn-primary:hover{ background: var(--red-dark); box-shadow: 0 20px 40px rgba(228,20,42,.34); transform: translateY(-2px); }
.btn-dark{ background: var(--black); color:var(--white); }
.btn-dark:hover{ background:#000; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline{ background: transparent; border-color: rgba(11,11,12,.16); color: var(--black); }
.btn-outline:hover{ border-color: var(--black); transform: translateY(-2px); }
.btn-white{ background: var(--white); color: var(--black); }
.btn-white:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light{ background: rgba(255,255,255,.1); color:var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-ghost-light:hover{ background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-sm{ padding: 12px 22px; font-size:13px; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.4; pointer-events:none; }

/* Magnetic wrapper */
.magnetic{ display:inline-block; }

/* ---------- Glass ---------- */
.glass{
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.5);
}
.glass-dark{
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.08);
}

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index:1000;
  padding: 18px 0; transition: padding .4s var(--ease-out), background .4s, box-shadow .4s;
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap: var(--space-4); }
.nav.scrolled{ padding: 12px 0; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(11,11,12,.06); }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:800; font-size:18px; letter-spacing:-.01em; }
.brand img{ height:34px; width:auto; }
.nav-links{ display:flex; align-items:center; gap: var(--space-5); }
.nav-links a{ font-weight:600; font-size:14.5px; color: var(--gray-800); position:relative; padding:6px 0; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--red); transition:width .3s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; }
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height: 100svh; display:flex; align-items:center;
  padding-top: 120px; overflow:hidden; background: var(--black);
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; opacity:.55; transform: scale(1.08); }
.hero-bg::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.55) 40%, rgba(11,11,12,.92) 100%),
              linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.25) 55%, rgba(11,11,12,.55) 100%);
}
.hero-content{ position:relative; z-index:2; color:var(--white); max-width:760px; }
.hero-content .h1{ color:var(--white); }
.hero-content .lede{ color: rgba(255,255,255,.75); max-width:560px; margin-top: var(--space-2); }
.hero-cta{ display:flex; gap:16px; margin-top: var(--space-5); flex-wrap:wrap; }

.hero-search{
  margin-top: var(--space-6); display:flex; align-items:center; gap:6px;
  padding:8px; border-radius: var(--radius-full); max-width: 620px;
}
.hero-search input{
  flex:1; border:none; background:transparent; outline:none; padding:14px 18px; font-size:15px; color:var(--white); font-weight:500;
}
.hero-search input::placeholder{ color: rgba(255,255,255,.55); }
.hero-search .btn{ padding:14px 26px; }

.hero-floaters{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.float-card{
  position:absolute; padding:14px 18px; border-radius: var(--radius); display:flex; align-items:center; gap:12px;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-icon{ width:38px; height:38px; border-radius:12px; display:flex; align-items:center; justify-content:center; background: var(--red); color:#fff; flex-shrink:0; }
.float-card .fc-title{ font-weight:700; font-size:13.5px; color:var(--black); }
.float-card .fc-sub{ font-size:12px; color:var(--gray-500); font-weight:500; }
@keyframes floaty{ 0%,100%{ transform: translateY(0px);} 50%{ transform: translateY(-14px);} }

.hero-scroll{
  position:absolute; bottom: 32px; left:50%; transform: translateX(-50%); z-index:2;
  color: rgba(255,255,255,.6); display:flex; flex-direction:column; align-items:center; gap:8px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:600;
}
.scroll-line{ width:1px; height:36px; background: linear-gradient(180deg, rgba(255,255,255,.7), transparent); overflow:hidden; position:relative; }
.scroll-line::after{ content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--red); animation: scrolldrop 1.8s ease-in-out infinite; }
@keyframes scrolldrop{ 0%{ top:-100%;} 100%{ top:100%;} }

/* ---------- Trust bar ---------- */
.trust{ background: var(--black); color:var(--white); padding: var(--space-6) 0; }
.trust-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: var(--space-4); text-align:center; }
.trust-num{ font-family: var(--font-display); font-weight:800; font-size: clamp(28px,3.4vw,44px); }
.trust-num .accent{ color: var(--red); }
.trust-label{ font-size:13px; color: rgba(255,255,255,.55); margin-top:6px; font-weight:600; letter-spacing:.02em; }
@media (max-width:800px){ .trust-grid{ grid-template-columns: repeat(2,1fr); gap: var(--space-5); } }

/* ---------- Service categories ---------- */
.services-grid{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-3);
}
.svc-card{
  position:relative; border-radius: var(--radius); overflow:hidden; background: var(--gray-100);
  aspect-ratio: 1/1; cursor:pointer;
}
.svc-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease-out), filter .5s; }
.svc-card::before{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,11,12,0) 30%, rgba(11,11,12,.86) 100%); transition: background .4s; z-index:1; }
.svc-card:hover img{ transform: scale(1.08); }
.svc-body{ position:absolute; left:0; right:0; bottom:0; padding: var(--space-3); z-index:2; color:var(--white); }
.svc-tag{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:12px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); margin-bottom:10px; }
.svc-name{ font-family: var(--font-display); font-weight:800; font-size:19px; letter-spacing:-.01em; }
.svc-arrow{ position:absolute; top: var(--space-3); right: var(--space-3); width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); display:flex; align-items:center; justify-content:center; color:#fff; z-index:2; opacity:0; transform: translate(-6px,6px); transition: all .35s var(--ease-out); }
.svc-card:hover .svc-arrow{ opacity:1; transform:translate(0,0); background: var(--red); }

.svc-card.lg{ grid-column: span 6; aspect-ratio: 16/11; }
.svc-card.md{ grid-column: span 4; aspect-ratio: 4/5; }
.svc-card.sm{ grid-column: span 3; aspect-ratio: 1/1; }
@media (max-width: 1100px){
  .svc-card.lg{ grid-column: span 12; }
  .svc-card.md{ grid-column: span 6; }
  .svc-card.sm{ grid-column: span 6; }
}
@media (max-width: 600px){
  .svc-card.md, .svc-card.sm, .svc-card.lg{ grid-column: span 12; aspect-ratio: 4/3; }
}

.services-more{ display:flex; justify-content:center; margin-top: var(--space-6); }

/* ---------- Before / After ---------- */
.ba-wrap{ display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items:center; }
.ba-slider{ position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-xl); cursor: ew-resize; }
.ba-slider img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-after{ position:absolute; inset:0; clip-path: inset(0 50% 0 0); }
.ba-handle{ position:absolute; top:0; bottom:0; left:50%; width:0; }
.ba-handle::before{ content:''; position:absolute; top:0; bottom:0; left:0; width:2px; background:var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.ba-knob{ position:absolute; top:50%; left:0; transform: translate(-50%,-50%); width:52px; height:52px; border-radius:50%; background:var(--white); box-shadow: var(--shadow-lg); display:flex; align-items:center; justify-content:center; gap:2px; }
.ba-label{ position:absolute; top: var(--space-2); padding:6px 14px; border-radius: var(--radius-full); font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#fff; background: rgba(11,11,12,.5); backdrop-filter: blur(6px); }
.ba-label.before{ left: var(--space-2); }
.ba-label.after{ right: var(--space-2); background: var(--red); }
.ba-info h3{ margin-bottom: var(--space-2); }
.project-tabs{ display:flex; gap:10px; margin-top: var(--space-5); flex-wrap:wrap; }
.project-tab{ padding:10px 20px; border-radius: var(--radius-full); border:1px solid var(--gray-200); font-weight:600; font-size:13.5px; color: var(--gray-600); transition: all .3s var(--ease-out); }
.project-tab.active{ background: var(--black); color:var(--white); border-color:var(--black); }
@media (max-width:900px){ .ba-wrap{ grid-template-columns:1fr; } }

/* ---------- How it works timeline ---------- */
.timeline{ position:relative; }
.timeline-track{ position:absolute; top:36px; left:0; right:0; height:2px; background: var(--gray-200); }
.timeline-track-fill{ position:absolute; top:0; left:0; height:100%; width:0%; background: var(--red); transition: width 1.2s var(--ease-out); }
.timeline-steps{ display:grid; grid-template-columns: repeat(5,1fr); gap: var(--space-3); position:relative; }
.tl-step{ text-align:left; }
.tl-num{ width:72px; height:72px; border-radius:50%; background:var(--white); border:2px solid var(--gray-200); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:800; font-size:22px; color: var(--gray-400); margin-bottom: var(--space-3); transition: all .5s var(--ease-out); position:relative; z-index:2; }
.tl-step.active .tl-num{ background: var(--red); border-color: var(--red); color:#fff; box-shadow: var(--shadow-red); transform: scale(1.05); }
.tl-title{ font-weight:700; font-size:16px; margin-bottom:6px; }
.tl-desc{ font-size:13.5px; color: var(--gray-500); line-height:1.5; }
@media (max-width:900px){ .timeline-steps{ grid-template-columns: 1fr; gap: var(--space-5); } .timeline-track{ display:none; } }

/* ---------- Why choose us ---------- */
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-3); }
.why-card{ padding: var(--space-4); border-radius: var(--radius); background: var(--gray-50); border:1px solid var(--gray-150); transition: all .45s var(--ease-out); }
.why-card:hover{ background: var(--black); border-color: var(--black); transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.why-icon{ width:52px; height:52px; border-radius:16px; background: var(--white); border:1px solid var(--gray-200); display:flex; align-items:center; justify-content:center; color: var(--red); margin-bottom: var(--space-3); transition: all .4s; }
.why-card:hover .why-icon{ background: var(--red); border-color: var(--red); color:#fff; }
.why-card h3{ margin-bottom:8px; transition: color .4s; }
.why-card p{ color: var(--gray-500); font-size:14.5px; line-height:1.6; transition: color .4s; }
.why-card:hover h3, .why-card:hover p{ color: var(--white); }
.why-card:hover p{ color: rgba(255,255,255,.65); }
@media (max-width:900px){ .why-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .why-grid{ grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-wrap{ position:relative; max-width: 880px; margin:0 auto; text-align:center; }
.testi-quote{ font-family: var(--font-display); font-weight:700; font-size: clamp(20px,2.6vw,30px); line-height:1.4; color: var(--black); letter-spacing:-.01em; }
.testi-stars{ display:flex; justify-content:center; gap:4px; color: var(--red); margin-bottom: var(--space-3); }
.testi-person{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top: var(--space-5); }
.testi-person img{ width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid var(--white); box-shadow: var(--shadow-sm); }
.testi-name{ font-weight:700; font-size:14.5px; }
.testi-role{ font-size:13px; color: var(--gray-500); }
.testi-dots{ display:flex; justify-content:center; gap:8px; margin-top: var(--space-6); }
.testi-dot{ width:8px; height:8px; border-radius:50%; background: var(--gray-300); transition: all .35s var(--ease-out); }
.testi-dot.active{ width:26px; background: var(--red); }
.testi-nav{ position:absolute; top:50%; transform: translateY(-50%); width:48px; height:48px; border-radius:50%; background:var(--white); border:1px solid var(--gray-200); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); transition: all .3s var(--ease-out); }
.testi-nav:hover{ background: var(--black); color:#fff; border-color: var(--black); }
.testi-nav.prev{ left:-70px; } .testi-nav.next{ right:-70px; }
@media (max-width:960px){ .testi-nav{ display:none; } }

/* ---------- Service areas ---------- */
.areas-wrap{ display:grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-8); align-items:center; }
.areas-map{ position:relative; border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-xl); background: var(--gray-100); }
.areas-map img{ width:100%; height:100%; object-fit:cover; filter: grayscale(1) contrast(1.05); }
.map-pin{ position:absolute; width:16px; height:16px; border-radius:50%; background: var(--red); box-shadow: 0 0 0 6px rgba(228,20,42,.18); }
.map-pin::after{ content:''; position:absolute; inset:-10px; border-radius:50%; border:2px solid var(--red); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse{ 0%{ transform:scale(.6); opacity:1;} 100%{ transform:scale(2.2); opacity:0;} }
.areas-list{ display:grid; grid-template-columns: repeat(2,1fr); gap: 10px 24px; margin-top: var(--space-4); }
.areas-list li{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:14.5px; color: var(--gray-700); padding: 10px 0; border-bottom:1px solid var(--gray-150); }
@media (max-width:900px){ .areas-wrap{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--gray-200); }
.faq-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap: var(--space-3); padding: 26px 4px; background:none; border:none; text-align:left; font-family: var(--font-display); font-weight:700; font-size:17px; color: var(--black); }
.faq-plus{ flex-shrink:0; width:32px; height:32px; border-radius:50%; border:1px solid var(--gray-200); display:flex; align-items:center; justify-content:center; position:relative; transition: all .4s var(--ease-out); }
.faq-plus::before, .faq-plus::after{ content:''; position:absolute; background: var(--black); transition: all .4s var(--ease-out); }
.faq-plus::before{ width:12px; height:2px; }
.faq-plus::after{ width:2px; height:12px; }
.faq-item.open .faq-plus{ background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after{ background:#fff; }
.faq-item.open .faq-plus::after{ transform: scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease-in-out); }
.faq-a p{ padding: 0 4px 26px; color: var(--gray-500); font-size:15px; line-height:1.7; max-width:680px; }

/* ---------- Final CTA ---------- */
.final-cta{ position:relative; border-radius: var(--radius-lg); overflow:hidden; padding: var(--space-16) var(--space-8); background: var(--black); text-align:center; }
.final-cta::before{ content:''; position:absolute; inset:0; background: radial-gradient(60% 90% at 20% 0%, rgba(228,20,42,.35), transparent 60%), radial-gradient(50% 80% at 90% 100%, rgba(228,20,42,.22), transparent 60%); }
.final-cta > *{ position:relative; z-index:1; }
.final-cta .h2{ color:#fff; margin-bottom: var(--space-2); }
.final-cta p{ color: rgba(255,255,255,.65); max-width:520px; margin:0 auto var(--space-5); font-size:16px; }
.final-cta .hero-cta{ justify-content:center; }
@media (max-width:700px){ .final-cta{ padding: var(--space-8) var(--space-3); } }

/* ---------- Footer ---------- */
.footer{ background: var(--near-black); color: rgba(255,255,255,.6); padding-top: var(--space-10); }
.footer-top{ display:grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-5); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p{ margin-top: var(--space-2); font-size:14px; line-height:1.7; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top: var(--space-3); }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; transition: all .3s var(--ease-out); }
.footer-social a:hover{ background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-col h4{ color:#fff; font-family: var(--font-display); font-size:14px; font-weight:700; margin-bottom: var(--space-3); letter-spacing:.02em; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:14px; transition: color .25s; }
.footer-col a:hover{ color:#fff; }
.footer-newsletter{ display:flex; gap:8px; margin-top: var(--space-2); }
.footer-newsletter input{ flex:1; padding:13px 16px; border-radius: var(--radius-full); border:1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color:#fff; font-size:13.5px; outline:none; }
.footer-newsletter input::placeholder{ color: rgba(255,255,255,.4); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: var(--space-4) 0; font-size:12.5px; flex-wrap:wrap; gap:10px; }
@media (max-width: 980px){ .footer-top{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px){ .footer-top{ grid-template-columns: 1fr; } }

/* ---------- Reveal / motion utilities ---------- */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in{ opacity:1; transform: translateY(0); }
[data-reveal-scale]{ opacity:0; transform: scale(.94); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal-scale].in{ opacity:1; transform: scale(1); }
[data-stagger] > *{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-stagger].in > *{ opacity:1; transform: translateY(0); }
[data-stagger].in > *:nth-child(1){ transition-delay: .04s; }
[data-stagger].in > *:nth-child(2){ transition-delay: .10s; }
[data-stagger].in > *:nth-child(3){ transition-delay: .16s; }
[data-stagger].in > *:nth-child(4){ transition-delay: .22s; }
[data-stagger].in > *:nth-child(5){ transition-delay: .28s; }
[data-stagger].in > *:nth-child(6){ transition-delay: .34s; }
[data-stagger].in > *:nth-child(7){ transition-delay: .40s; }
[data-stagger].in > *:nth-child(8){ transition-delay: .46s; }

.page-transition{ position:fixed; inset:0; background: var(--black); z-index:99999; transform-origin: bottom; }

/* ---------- Preloader ---------- */
.preloader{ position:fixed; inset:0; background: var(--black); z-index:100000; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:20px; transition: opacity .6s var(--ease-out), visibility .6s; }
.preloader.done{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader img{ height:52px; animation: pulseLogo 1.4s ease-in-out infinite; }
@keyframes pulseLogo{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.6; transform:scale(.94);} }
.preloader-bar{ width:160px; height:2px; background: rgba(255,255,255,.15); border-radius:2px; overflow:hidden; }
.preloader-bar::after{ content:''; display:block; width:40%; height:100%; background: var(--red); animation: loadbar 1.1s ease-in-out infinite; }
@keyframes loadbar{ 0%{ transform: translateX(-100%);} 100%{ transform: translateX(350%);} }

/* ---------- Misc ---------- */
.pill{ display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border-radius: var(--radius-full); background: var(--gray-100); font-size:12.5px; font-weight:700; color: var(--gray-600); }
.badge-check{ width:20px; height:20px; border-radius:50%; background: var(--red); display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.icon{ width:20px; height:20px; }
.rise-on-hover{ transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.rise-on-hover:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items:center; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; gap: var(--space-5); } }

.tag-scroll{ display:flex; gap:10px; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }
.tag-scroll::-webkit-scrollbar{ display:none; }
.tag-chip{ flex-shrink:0; padding:9px 18px; border-radius: var(--radius-full); border:1px solid var(--gray-200); font-weight:600; font-size:13.5px; white-space:nowrap; transition: all .3s var(--ease-out); }
.tag-chip.active, .tag-chip:hover{ background: var(--black); border-color:var(--black); color:#fff; }

.skel{ position:relative; overflow:hidden; background: var(--gray-150); }
.skel::after{ content:''; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); transform: translateX(-100%); animation: shimmer 1.4s infinite; }
@keyframes shimmer{ 100%{ transform: translateX(100%); } }

.toast{ position:fixed; bottom:28px; right:28px; z-index:5000; background: var(--black); color:#fff; padding:16px 22px; border-radius: var(--radius); display:flex; align-items:center; gap:12px; box-shadow: var(--shadow-xl); transform: translateY(120%); transition: transform .5s var(--ease-out); }
.toast.show{ transform: translateY(0); }
.toast .tick{ width:26px; height:26px; border-radius:50%; background: var(--red); display:flex; align-items:center; justify-content:center; }

/* ---------- Dashboard ---------- */
.dash-page{ background: var(--gray-50); min-height:100vh; padding-top:96px; }
.dash-shell{ display:grid; grid-template-columns: 272px 1fr; gap: var(--space-4); align-items:start; padding: var(--space-4) 0 var(--space-10); }
.dash-sidebar{ background: var(--white); border-radius: var(--radius); border:1px solid var(--gray-150); padding: var(--space-3); position:sticky; top:96px; }
.dash-profile{ display:flex; align-items:center; gap:12px; padding: var(--space-2) var(--space-2) var(--space-3); border-bottom:1px solid var(--gray-150); margin-bottom: var(--space-2); }
.dash-profile img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.dash-profile .dp-name{ font-weight:700; font-size:14px; }
.dash-profile .dp-email{ font-size:12px; color: var(--gray-500); }
.dash-nav-item{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius: var(--radius-sm); font-weight:600; font-size:14px; color: var(--gray-600); transition: all .25s var(--ease-out); cursor:pointer; }
.dash-nav-item:hover{ background: var(--gray-50); color: var(--black); }
.dash-nav-item.active{ background: var(--black); color:#fff; }
.dash-nav-item .dni-icon{ width:18px; text-align:center; }
.dash-nav-item.logout{ margin-top:10px; border-top:1px solid var(--gray-150); padding-top:16px; border-radius:0; color: var(--red); }

.dash-main{ min-width:0; }
.dash-panel{ display:none; animation: stepIn .45s var(--ease-out); }
.dash-panel.active{ display:block; }
.dash-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom: var(--space-4); flex-wrap:wrap; gap:12px; }
.dash-head h1{ font-family: var(--font-display); font-weight:800; font-size:26px; }
.dash-head p{ color: var(--gray-500); font-size:14px; margin-top:4px; }

.stat-row{ display:grid; grid-template-columns: repeat(4,1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.stat-card{ background:#fff; border:1px solid var(--gray-150); border-radius: var(--radius); padding: var(--space-3); }
.stat-card .sc-num{ font-family:var(--font-display); font-weight:800; font-size:26px; }
.stat-card .sc-label{ font-size:12.5px; color: var(--gray-500); font-weight:600; margin-top:4px; }
@media (max-width:900px){ .stat-row{ grid-template-columns: repeat(2,1fr); } }

.appt-card{ display:flex; gap:16px; background:#fff; border:1px solid var(--gray-150); border-radius: var(--radius); padding: var(--space-3); margin-bottom:14px; align-items:center; transition: all .3s var(--ease-out); }
.appt-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.appt-icon{ width:52px; height:52px; border-radius:14px; background: var(--gray-100); display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.appt-body{ flex:1; min-width:0; }
.appt-title{ font-weight:700; font-size:15px; }
.appt-meta{ font-size:12.5px; color: var(--gray-500); margin-top:3px; }
.status-pill{ padding:5px 12px; border-radius: var(--radius-full); font-size:11.5px; font-weight:700; white-space:nowrap; }
.status-pill.confirmed{ background: rgba(228,20,42,.1); color: var(--red); }
.status-pill.completed{ background: rgba(16,163,74,.1); color:#10a34a; }
.status-pill.pending{ background: var(--gray-150); color: var(--gray-600); }

.history-table{ width:100%; border-collapse:collapse; background:#fff; border-radius: var(--radius); overflow:hidden; border:1px solid var(--gray-150); }
.history-table th{ text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color: var(--gray-400); padding:14px 18px; background: var(--gray-50); }
.history-table td{ padding:16px 18px; font-size:13.5px; border-top:1px solid var(--gray-150); }
.history-table tr:hover td{ background: var(--gray-50); }

.notif-item{ display:flex; gap:14px; padding:16px; border-radius: var(--radius-sm); border:1px solid var(--gray-150); background:#fff; margin-bottom:10px; }
.notif-item.unread{ background: rgba(228,20,42,.03); border-color: rgba(228,20,42,.18); }
.notif-dot{ width:8px; height:8px; border-radius:50%; background: var(--red); margin-top:6px; flex-shrink:0; }
.notif-body strong{ font-size:14px; }
.notif-body p{ font-size:13px; color: var(--gray-500); margin-top:3px; }
.notif-time{ font-size:11.5px; color: var(--gray-400); margin-top:6px; }

.support-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-3); }
.support-card{ background:#fff; border:1px solid var(--gray-150); border-radius: var(--radius); padding: var(--space-4); text-align:center; }
.support-card .why-icon{ margin:0 auto var(--space-3); }
@media (max-width:900px){ .support-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:600px){ .support-grid{ grid-template-columns: 1fr; } }

.review-card{ background:#fff; border:1px solid var(--gray-150); border-radius: var(--radius); padding: var(--space-3); margin-bottom:14px; }
.review-stars{ color: var(--red); font-size:13px; margin-bottom:6px; }

@media (max-width:960px){
  .dash-shell{ grid-template-columns:1fr; }
  .dash-sidebar{ position:static; display:flex; overflow-x:auto; gap:4px; }
  .dash-profile{ display:none; }
  .dash-nav-item{ flex-shrink:0; }
  .dash-nav-item.logout{ border-top:none; margin-top:0; }
}

/* ---------- Booking wizard ---------- */
.wizard-page{ background: var(--gray-50); min-height:100vh; padding: 132px 0 var(--space-10); }
.wizard-shell{ max-width: 880px; margin:0 auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow:hidden; }
.wizard-progress{ padding: var(--space-4) var(--space-5) var(--space-3); border-bottom:1px solid var(--gray-150); }
.wp-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.wp-title{ font-family:var(--font-display); font-weight:800; font-size:14px; }
.wp-count{ font-size:12.5px; font-weight:700; color: var(--gray-400); }
.wp-track{ height:4px; background: var(--gray-150); border-radius:4px; overflow:hidden; }
.wp-fill{ height:100%; width:14.28%; background: var(--red); border-radius:4px; transition: width .6s var(--ease-out); }
.wp-dots{ display:flex; justify-content:space-between; margin-top:14px; }
.wp-dot{ display:flex; flex-direction:column; align-items:center; gap:6px; font-size:10.5px; font-weight:700; color: var(--gray-300); flex:1; }
.wp-dot .dot-circle{ width:26px; height:26px; border-radius:50%; border:2px solid var(--gray-200); display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--gray-400); background:#fff; transition: all .4s var(--ease-out); }
.wp-dot.done .dot-circle{ background: var(--black); border-color:var(--black); color:#fff; }
.wp-dot.active .dot-circle{ background: var(--red); border-color: var(--red); color:#fff; box-shadow: 0 0 0 5px rgba(228,20,42,.14); }
.wp-dot.active, .wp-dot.done{ color: var(--black); }
.wp-dot span:last-child{ display:none; }
@media (min-width:700px){ .wp-dot span:last-child{ display:block; } }

.wizard-body{ padding: var(--space-6) var(--space-5); min-height: 420px; position:relative; }
.wiz-step{ display:none; animation: stepIn .5s var(--ease-out); }
.wiz-step.active{ display:block; }
@keyframes stepIn{ from{ opacity:0; transform: translateX(18px);} to{ opacity:1; transform:translateX(0);} }
.wiz-step h2{ font-size: clamp(22px,2.6vw,28px); margin-bottom:8px; }
.wiz-step .lede{ margin-bottom: var(--space-4); }

.pick-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.pick-card{ border:1.5px solid var(--gray-200); border-radius: var(--radius-sm); padding:16px 14px; text-align:center; transition: all .3s var(--ease-out); }
.pick-card .pk-emoji{ font-size:24px; margin-bottom:8px; }
.pick-card .pk-label{ font-weight:700; font-size:13px; }
.pick-card:hover{ border-color: var(--gray-400); transform: translateY(-3px); }
.pick-card.selected{ border-color: var(--red); background: rgba(228,20,42,.05); box-shadow: 0 6px 18px rgba(228,20,42,.12); }
@media (max-width:600px){ .pick-grid{ grid-template-columns: repeat(2,1fr); } }

.cal-wrap{ max-width:420px; }
.cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.cal-head button{ width:34px; height:34px; border-radius:50%; border:1px solid var(--gray-200); background:#fff; }
.cal-grid{ display:grid; grid-template-columns: repeat(7,1fr); gap:6px; text-align:center; }
.cal-dow{ font-size:11px; font-weight:700; color: var(--gray-400); padding-bottom:6px; }
.cal-day{ aspect-ratio:1; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; border:1px solid transparent; color: var(--gray-700); }
.cal-day.disabled{ color: var(--gray-300); pointer-events:none; }
.cal-day.avail:hover{ border-color: var(--gray-300); cursor:pointer; }
.cal-day.selected{ background: var(--red); color:#fff; }
.cal-day.empty{ visibility:hidden; }

.slot-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
.slot-group{ margin-bottom: var(--space-3); }
.slot-group h4{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--gray-400); margin-bottom:10px; }
.slot-btn{ padding:12px 10px; border-radius: var(--radius-sm); border:1.5px solid var(--gray-200); font-weight:600; font-size:13.5px; text-align:center; transition: all .3s var(--ease-out); }
.slot-btn:hover{ border-color: var(--gray-400); }
.slot-btn.selected{ background: var(--black); border-color: var(--black); color:#fff; }
@media (max-width:520px){ .slot-grid{ grid-template-columns: repeat(2,1fr); } }

.upload-zone{ border:2px dashed var(--gray-300); border-radius: var(--radius); padding: var(--space-6); text-align:center; transition: all .3s var(--ease-out); cursor:pointer; }
.upload-zone.drag{ border-color: var(--red); background: rgba(228,20,42,.04); }
.upload-zone .uz-icon{ width:52px; height:52px; border-radius:16px; background: var(--gray-100); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; color: var(--red); }
.upload-preview{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin-top: var(--space-3); }
.upload-thumb{ position:relative; aspect-ratio:1; border-radius:12px; overflow:hidden; background: var(--gray-100); }
.upload-thumb img{ width:100%; height:100%; object-fit:cover; }
.upload-thumb .rm{ position:absolute; top:4px; right:4px; width:22px; height:22px; border-radius:50%; background: rgba(11,11,12,.65); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; }

.field{ margin-bottom: var(--space-3); }
.field label{ display:block; font-size:12.5px; font-weight:700; color: var(--gray-600); margin-bottom:8px; }
.field input, .field textarea, .field select{ width:100%; padding:14px 16px; border-radius: var(--radius-sm); border:1.5px solid var(--gray-200); font-family: inherit; font-size:14.5px; outline:none; transition: border-color .25s; background:#fff; }
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--black); }
.field textarea{ resize:vertical; min-height:120px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.budget-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin-top:6px; }
.budget-chip{ padding:12px 6px; text-align:center; border-radius: var(--radius-sm); border:1.5px solid var(--gray-200); font-weight:700; font-size:12.5px; }
.budget-chip.selected{ background: var(--black); color:#fff; border-color: var(--black); }
@media (max-width:560px){ .budget-grid{ grid-template-columns: repeat(2,1fr); } }

.summary-card{ background: var(--gray-50); border-radius: var(--radius); padding: var(--space-4); border:1px solid var(--gray-150); }
.summary-row{ display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--gray-150); font-size:14px; }
.summary-row:last-child{ border-bottom:none; }
.summary-row .sk{ color: var(--gray-500); font-weight:600; }
.summary-row .sv{ font-weight:700; text-align:right; max-width:60%; }

.wizard-footer{ display:flex; justify-content:space-between; align-items:center; padding: var(--space-3) var(--space-5) var(--space-5); }

.success-screen{ text-align:center; padding: var(--space-6) 0; }
.success-check{ width:88px; height:88px; border-radius:50%; background: var(--red); display:flex; align-items:center; justify-content:center; margin:0 auto var(--space-4); animation: popIn .6s var(--ease-out); }
.success-check svg{ width:40px; height:40px; }
@keyframes popIn{ 0%{ transform:scale(0); } 70%{ transform:scale(1.12); } 100%{ transform:scale(1); } }
.success-check path{ stroke-dasharray: 40; stroke-dashoffset:40; animation: draw .5s .3s ease-out forwards; }
@keyframes draw{ to{ stroke-dashoffset:0; } }

/* ---------- Services listing page ---------- */
.svc-cat-block{ margin-bottom: var(--space-10); }
.svc-cat-head{ display:flex; align-items:baseline; justify-content:space-between; gap: var(--space-3); margin-bottom: var(--space-4); border-bottom:1px solid var(--gray-150); padding-bottom: var(--space-3); }
.svc-cat-head h2{ font-size: clamp(22px,2.6vw,30px); }
.svc-cat-count{ font-size:13px; font-weight:700; color: var(--gray-400); }
.svc-list-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.svc-list-grid .svc-card{ aspect-ratio: 4/5; }
@media (max-width:1100px){ .svc-list-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:760px){ .svc-list-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px){ .svc-list-grid{ grid-template-columns: 1fr 1fr; gap: var(--space-2); } }

/* ---------- Mobile nav ---------- */
.nav-toggle{ width:44px; height:44px; border-radius:50%; border:1px solid var(--gray-200); align-items:center; justify-content:center; gap:0; position:relative; background:var(--white); z-index:1100; }
.nav-toggle span{ position:absolute; width:16px; height:2px; background:var(--black); transition: all .35s var(--ease-out); }
.nav-toggle span:nth-child(1){ transform: translateY(-4px); }
.nav-toggle span:nth-child(2){ transform: translateY(4px); }
.nav-toggle.open span:nth-child(1){ transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ transform: rotate(-45deg); }
.mobile-menu{
  position:fixed; inset:0; background: var(--black); z-index:1050; display:flex; flex-direction:column;
  justify-content:center; padding: var(--space-8) var(--space-4);
  transform: translateY(-100%); transition: transform .55s var(--ease-in-out);
}
.mobile-menu.open{ transform: translateY(0); }
.mobile-menu a{ display:block; color:#fff; font-family:var(--font-display); font-weight:800; font-size:32px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mobile-menu .hero-cta{ margin-top: var(--space-5); }

/* ---------- Header spacer for inner pages ---------- */
.page-hero{
  position:relative; padding: 172px 0 var(--space-10); background: var(--black); color:#fff; overflow:hidden;
}
.page-hero::before{ content:''; position:absolute; inset:0; background: radial-gradient(60% 100% at 15% 0%, rgba(228,20,42,.28), transparent 60%); }
.page-hero > *{ position:relative; z-index:1; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,.5); margin-bottom: var(--space-3); font-weight:600; }
.breadcrumb a:hover{ color:#fff; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
