/* ==========================================================================
   Century MOTs — design system
   ========================================================================== */

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

:root {
  --red: #E2231A;
  --red-dark: #B91B14;
  --red-light: #FF4136;
  --ink: #1B1D21;
  --ink-soft: #363944;
  --grey: #6B7280;
  --grey-light: #9CA3AF;
  --silver: #C7CBD1;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --bg-dark: #14151A;
  --border: #E7E8EC;
  --success: #1E9E5A;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 21, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 21, 26, 0.16);
  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }
.lede { font-size: 1.15rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C6C8D0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ------------------------- Buttons (animated) ------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, color 0.3s ease, background 0.3s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--red) 0%, var(--red-light) 50%, var(--red) 100%);
  background-size: 220% 100%;
  background-position: 0% 0%;
  box-shadow: 0 10px 24px rgba(226, 35, 26, 0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(226, 35, 26, 0.45);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  font-size: 0.92rem;
}
.btn-arrow svg { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.btn-arrow:hover svg { transform: translateX(6px); }

/* pulsing ring for hero CTA */
.btn-pulse { position: relative; }
.btn-pulse::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--red-light);
  opacity: 0;
  animation: pulseRing 2.6s ease-out infinite;
}
@keyframes pulseRing {
  0% { opacity: 0.55; transform: scale(0.92); }
  80% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(20,21,26,0.08);
  height: 70px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; transition: height 0.35s ease; }
.site-header.is-scrolled .brand img { height: 38px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}
.site-header:not(.is-scrolled) .main-nav a,
.site-header:not(.is-scrolled) .brand-text { color: #fff; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red) !important; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
}
.site-header:not(.is-scrolled) .header-call { color: #fff; }
.header-call svg { color: var(--red-light); }
.site-header.is-scrolled .header-call svg { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 6s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,11,14,0.88) 10%, rgba(10,11,14,0.55) 55%, rgba(226,35,26,0.35) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding-top: var(--header-h); }
.hero-content .eyebrow { color: var(--red-light); }
.hero-content h1 { color: #fff; margin-bottom: 18px; }
.hero-content p { color: #DADBE2; font-size: 1.12rem; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.scroll-cue {
  position: absolute; bottom: 34px; right: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; opacity: 0.85; font-size: 0.75rem; font-family: var(--font-head); letter-spacing: 0.12em;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid #fff; border-radius: 14px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue .mouse::before {
  content: ''; width: 4px; height: 8px; background: #fff; border-radius: 2px;
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0);} 70% { opacity: 0; transform: translateY(10px);} 100% { opacity: 0;} }

/* ------------------------------ Trust bar -------------------------------- */
.trust-bar {
  position: relative; z-index: 3;
  background: #fff;
  margin: -64px 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 24px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--red); }
.trust-item .label { font-size: 0.82rem; color: var(--grey); font-weight: 600; }
.trust-spacer { height: 120px; }

/* ------------------------------ Welcome ---------------------------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.welcome-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.welcome-media img { transition: transform 0.6s ease; }
.welcome-media:hover img { transform: scale(1.05); }
.welcome-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(20,21,26,0.85); backdrop-filter: blur(6px);
  color: #fff; padding: 14px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.welcome-badge span.big { font-size: 1.4rem; color: var(--red-light); }
.welcome-list { margin-top: 24px; display: grid; gap: 14px; }
.welcome-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-weight: 500; }
.welcome-list svg { flex-shrink: 0; color: var(--red); margin-top: 3px; }

/* ------------------------------ Services --------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: left;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 68px; height: 68px; border-radius: 18px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-icon img { width: 34px; height: 34px; filter: brightness(0) invert(1); object-fit: contain; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 18px; }

/* ------------------------------- Offer ----------------------------------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offer-card {
  padding: 36px 30px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.offer-card::before {
  content: attr(data-num);
  position: absolute; top: -10px; right: 6px;
  font-family: var(--font-head); font-weight: 800; font-size: 5rem;
  color: var(--bg-soft); z-index: 0;
}
.offer-card > * { position: relative; z-index: 1; }
.offer-card h3 { margin-bottom: 12px; }

/* ---------------------------- Testimonials -------------------------------- */
.testimonials-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: stretch; }
.rating-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 32px 28px; text-align: center;
}
.rating-card .score { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; color: var(--ink); }
.rating-card .stars { color: #F5A623; font-size: 1.3rem; letter-spacing: 3px; margin: 8px 0; }
.rating-card .count { color: var(--grey); font-size: 0.88rem; margin-bottom: 18px; }
.rating-bars { display: grid; gap: 10px; text-align: left; }
.rating-bars .row { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.rating-bars .track { flex: 1; height: 6px; background: var(--bg-soft); border-radius: 4px; margin: 0 10px; overflow: hidden; }
.rating-bars .track i { display: block; height: 100%; background: var(--red); border-radius: 4px; }
.rating-card .powered { margin-top: 20px; font-size: 0.72rem; color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.08em; }

.testi-scroller {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.testimonials-wrap > :last-child { position: relative; min-height: 560px; }
.testi-track { display: flex; flex-direction: column; animation: testiScroll var(--testi-duration, 40s) linear infinite; }
.testi-scroller:hover .testi-track { animation-play-state: paused; }
.testi-slide { padding: 0 6px 20px; }
@keyframes testiScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .testi-scroller { overflow-y: auto; }
  .testi-track { animation: none; }
}
.testi-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; position: relative;
}
.testi-card .quote-mark { font-family: var(--font-head); font-size: 3.4rem; color: var(--border); line-height: 0; position: absolute; top: 30px; right: 30px; }
.testi-card p { font-size: 1.02rem; color: var(--ink-soft); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--ink));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.testi-author .name { font-weight: 700; font-family: var(--font-head); font-size: 0.94rem; }
.testi-author .stars { color: #F5A623; font-size: 0.85rem; }


/* ------------------------------- CTA band -------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #26282F 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(226,35,26,0.5), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #C6C8D0; margin: 0; }
.cta-band-text { position: relative; z-index: 1; }
.cta-band-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--bg-dark); color: #C6C8D0; padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: #9799A4; font-size: 0.92rem; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  margin-top: 8px; transition: background 0.3s ease, transform 0.3s ease;
}
.footer-social:hover { background: var(--red); transform: translateY(-3px); border-color: var(--red); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #9799A4; font-size: 0.92rem; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: #9799A4; margin-bottom: 12px; }
.footer-contact svg { color: var(--red-light); flex-shrink: 0; margin-top: 3px; }
.footer-hours .row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem; color: #7C7E89; flex-wrap: wrap; gap: 10px;
}

/* ---------------------------- Back to top / misc -------------------------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { animation: floatArrow 2.2s ease-in-out infinite; }
@keyframes floatArrow { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-4px);} }

.mobile-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
  background: var(--ink); color: #fff;
  padding: 12px 16px;
  align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.mobile-call-bar a { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }

/* --------------------------- Reveal animations ---------------------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
.reveal-delay-4.is-visible { transition-delay: 0.4s; }

/* -------------------------------- Page hero -------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  background: linear-gradient(120deg, var(--ink) 0%, #26282F 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(226,35,26,0.35), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: #B6B8C2; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .lede { color: #C6C8D0; max-width: 620px; }
.page-hero-icon {
  width: 78px; height: 78px; border-radius: 20px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.page-hero-icon img { width: 40px; height: 40px; filter: brightness(0) invert(1); }

.content-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 56px; align-items: start; }
.content-grid > * { min-width: 0; }
.info-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 30px;
  margin-bottom: 22px;
}
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { color: var(--red); }
.check-list { display: grid; gap: 12px; margin: 18px 0; }
.check-list li { display: flex; gap: 10px; color: var(--ink-soft); font-weight: 500; }
.check-list svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }

.sidebar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.sidebar-card h4 { margin-bottom: 14px; }
.price-tag { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-tag .amount { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--red); }
.price-tag .was { text-decoration: line-through; color: var(--grey-light); font-size: 1rem; }
.sidebar-card .note { font-size: 0.85rem; color: var(--grey); }
.sidebar-contact li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.sidebar-contact li:last-child { border-bottom: none; }
.sidebar-contact svg { color: var(--red); flex-shrink: 0; }

/* --------------------------------- Forms ----------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,35,26,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--grey); margin-top: -6px; }
.form-note--privacy { margin-top: 16px; }
.form-note a { color: var(--red); text-decoration: underline; }
.form-success, .form-error {
  display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm);
  font-size: 0.92rem; margin-bottom: 18px;
}
.form-success { background: #E9F8EF; color: #166A3D; }
.form-error { background: #FDECEC; color: #A3231C; }
.form-success.is-visible, .form-error.is-visible { display: flex; }

/* ------------------------------ Booking wizard ------------------------------ */
.wizard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 42px; }
.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.wizard-steps::before {
  content: ''; position: absolute; top: 18px; left: 6%; right: 6%; height: 2px; background: var(--border); z-index: 0;
}
.wizard-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.wizard-step .dot {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: var(--grey-light);
  transition: all 0.35s ease;
}
.wizard-step .lbl { font-size: 0.78rem; font-weight: 600; color: var(--grey-light); text-align: center; font-family: var(--font-head); }
.wizard-step.is-active .dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 6px rgba(226,35,26,0.12); }
.wizard-step.is-active .lbl { color: var(--ink); }
.wizard-step.is-done .dot { background: var(--red); border-color: var(--red); color: #fff; }
.wizard-step.is-done .lbl { color: var(--ink); }

.wizard-panel { display: none; animation: fadeSlideIn 0.45s ease; }
.wizard-panel.is-active { display: block; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(14px);} to { opacity: 1; transform: translateX(0);} }

.service-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-option {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 20px;
  cursor: pointer; transition: all 0.3s ease; position: relative;
}
.service-option:hover { border-color: var(--red-light); transform: translateY(-3px); }
.service-option.is-selected { border-color: var(--red); background: #FFF6F5; box-shadow: 0 0 0 4px rgba(226,35,26,0.1); }
.service-option h4 { margin-bottom: 6px; font-size: 1rem; }
.service-option .price { color: var(--red); font-weight: 800; font-family: var(--font-head); }
.service-option .desc { font-size: 0.85rem; color: var(--grey); }
.service-option .check {
  position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.service-option.is-selected .check { background: var(--red); border-color: var(--red); }
.service-option.is-selected .check svg { color: #fff; }

.date-picker { display: grid; gap: 18px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.month-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.month-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.month-nav .label { font-family: var(--font-head); font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-dow { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--grey-light); padding-bottom: 6px; }
.cal-day {
  aspect-ratio: 1; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer; transition: all 0.25s ease; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.cal-day .dot-status { width: 5px; height: 5px; border-radius: 50%; }
.cal-day.is-available:hover { border-color: var(--red-light); transform: translateY(-2px); }
.cal-day.is-available .dot-status { background: var(--success); }
.cal-day.is-limited .dot-status { background: #F5A623; }
.cal-day.is-full { opacity: 0.4; cursor: not-allowed; }
.cal-day.is-full .dot-status { background: var(--grey-light); }
.cal-day.is-disabled { opacity: 0.25; cursor: not-allowed; border-style: dashed; }
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.cal-day.is-selected .dot-status { background: #fff; }
.cal-legend { display: flex; gap: 18px; font-size: 0.8rem; color: var(--grey); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.slot-btn {
  padding: 13px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; transition: all 0.25s ease; text-align: center;
}
.slot-btn:hover:not(:disabled) { border-color: var(--red-light); transform: translateY(-2px); }
.slot-btn.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 36px; }
.summary-box { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 22px; margin-top: 24px; }
.summary-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.92rem; border-bottom: 1px dashed var(--border); }
.summary-box .row:last-child { border-bottom: none; }
.summary-box .row .k { color: var(--grey); }
.summary-box .row .v { font-weight: 700; }

.confirm-screen { text-align: center; padding: 20px 0; }
.confirm-icon {
  width: 90px; height: 90px; border-radius: 50%; background: #E9F8EF; color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  animation: popIn 0.5s cubic-bezier(.2,.8,.2,1);
}
@keyframes popIn { from { transform: scale(0.5); opacity: 0;} to { transform: scale(1); opacity: 1;} }
.confirm-ref {
  display: inline-block; margin: 18px 0; padding: 10px 22px; border-radius: 999px;
  background: var(--bg-soft); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.05em;
}
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ Admin -------------------------------------- */
.admin-shell { padding: calc(var(--header-h) + 40px) 0 80px; min-height: 100vh; background: var(--bg-soft); }
.admin-login { max-width: 380px; margin: 80px auto; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.admin-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; }
table.admin-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.9rem; white-space: nowrap; }
.admin-table th { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; color: var(--grey); }
.status-pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; font-family: var(--font-head); }
.status-pill.pending { background: #FFF4E0; color: #B5720A; }
.status-pill.confirmed { background: #E9F8EF; color: #166A3D; }
.status-pill.cancelled { background: #FDECEC; color: #A3231C; }
.status-pill.completed { background: #E7ECFF; color: #2F3FA6; }
.admin-table select { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border); font-size: 0.82rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 26px; }
.admin-stat { background: #fff; border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); }
.admin-stat .n { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; }
.admin-stat .l { font-size: 0.82rem; color: var(--grey); font-weight: 600; }

/* ---------------------------------- Map ------------------------------------ */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

.map-consent {
  height: 380px; background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px;
}
.map-consent p { max-width: 460px; margin: 0; font-size: 0.92rem; }
.map-consent a { color: var(--red); font-weight: 600; font-size: 0.9rem; }

/* ----------------------------- Cookie banner ------------------------------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 500;
  max-width: 440px; background: var(--ink); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px;
}
.cookie-banner p { color: #C6C8D0; font-size: 0.88rem; margin: 0 0 14px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.cookie-banner .btn-outline:hover { border-color: #fff; color: var(--ink); background: #fff; }

/* ------------------------------ Footer legal ------------------------------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a, .footer-legal button {
  color: #9799A4; font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }

/* ------------------------------- Legal pages ------------------------------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 24px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; color: var(--ink-soft); }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--red); text-decoration: underline; }
.legal .updated { color: var(--grey); font-size: 0.9rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { font-family: var(--font-head); background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }

/* ------------------------------- Responsive --------------------------------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 20px 24px 30px; box-shadow: var(--shadow-lg); gap: 4px;
  }
  .main-nav.is-open a { color: var(--ink) !important; padding: 14px 8px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .welcome-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonials-wrap { grid-template-columns: 1fr; }
  .testimonials-wrap > :last-child { min-height: 0; }
  .testi-scroller { position: relative; height: 560px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .service-select-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .header-call span { display: none; }
  .services-grid, .form-grid, .service-select-grid, .slot-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .wizard { padding: 26px 18px; }
  .wizard-step .lbl { display: none; }
  .mobile-call-bar { display: flex; }
  .back-to-top { bottom: 78px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 78px; max-width: none; }
  body { padding-bottom: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .services-grid, .slot-grid, .service-select-grid, .form-grid { grid-template-columns: 1fr; }
  .testi-scroller { height: 480px; }
  .testi-card { padding: 28px 24px; }
  .trust-bar { grid-template-columns: 1fr; margin: -40px 16px 0; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
}
