/* ═══════════════════════════════════════════════════════════════
   SIMPLYHOST — Design System v2 · Audacieux & Moderne
   Charcoal + Turquoise refined · Mobile-first
═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ───────────────────────────────────────────────── */
:root {
  /* Colors — charcoal scale */
  --ink-900:        #0A1420;
  --ink-800:        #0F1B26;
  --ink-700:        #1B2A38;
  --ink-600:        #2A3B4D;
  --ink-500:        #475569;
  --ink-400:        #64748B;
  --ink-300:        #94A3B8;

  /* Surfaces */
  --bg:             #FFFFFF;
  --bg-soft:        #F6F8FA;
  --bg-tint:        #EEF2F5;
  --line:           rgba(15, 27, 38, 0.08);
  --line-strong:    rgba(15, 27, 38, 0.16);
  --line-light:     rgba(255, 255, 255, 0.10);

  /* Brand — turquoise */
  --teal-700:       #0A7E7D;
  --teal-600:       #0B9695;
  --teal-500:       #06B6B5;   /* primary accent */
  --teal-400:       #2DD4D2;
  --teal-300:       #6FE7E5;
  --teal-glow:      rgba(6, 182, 181, 0.45);

  /* Semantic */
  --text:           var(--ink-800);
  --text-soft:      var(--ink-500);
  --text-muted:     var(--ink-400);
  --accent:         var(--teal-500);
  --accent-hover:   var(--teal-600);

  /* Typography */
  --font-sans:      'Inter', 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;
  --font-display:   'Inter', 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;

  /* Radii */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 27, 38, 0.06);
  --shadow-sm: 0 4px 14px rgba(15, 27, 38, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 27, 38, 0.10);
  --shadow-lg: 0 28px 70px rgba(15, 27, 38, 0.16);
  --shadow-glow: 0 14px 40px rgba(6, 182, 181, 0.30);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 120px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
p { margin: 0; }
em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
  position: relative;
}

/* ─── Layout primitives ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--dark {
  background: var(--ink-800);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p  { color: rgba(255, 255, 255, 0.78); }

.section__head {
  max-width: 740px;
  margin: 0 auto clamp(48px, 7vw, 80px);
  text-align: center;
}
.section__head h2 {
  font-size: clamp(32px, 5.4vw, 60px);
  margin-bottom: 18px;
}
.section__head--light h2 { color: #fff; }
.section__head--light em { color: var(--teal-300); }
.section__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section__lead { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--light { color: var(--teal-300); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn--sm { padding: 11px 18px; font-size: 13.5px; }
.btn--block { width: 100%; padding: 18px 24px; font-size: 16px; }

.btn--primary {
  background: var(--ink-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--ghost {
  background: var(--ink-800);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(6, 182, 181, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .6s var(--ease);
}
.btn--ghost:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--ghost:hover::before { transform: translateX(110%); }
.btn--light {
  background: #fff;
  color: var(--ink-800);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--link {
  color: var(--ink-800);
  padding: 14px 4px;
  border-radius: 0;
  position: relative;
}
.btn--link::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.btn--link:hover { color: var(--accent); }
.btn--link:hover::after { transform: scaleX(1); }

/* ─── Header ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: transform .35s var(--ease-snap);
  transform-origin: left center;
  filter: drop-shadow(0 2px 6px rgba(15, 27, 38, 0.06));
}
.logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(6, 182, 181, 0.18));
}
.logo__img {
  height: 80px;
  width: auto;
  display: block;
  transition: height .3s var(--ease);
}
.header.is-scrolled .logo__img { height: 60px; }
.logo--light .logo__img { height: 88px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.01em;
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--accent); }
.nav > a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ─── Nav dropdown (Services) ──────────────────────────────── */
.nav__group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__trigger {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.01em;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color .2s;
}
.nav__caret {
  font-size: 10px;
  line-height: 1;
  transition: transform .25s var(--ease);
  color: var(--accent);
}
.nav__group:hover .nav__trigger,
.nav__group:focus-within .nav__trigger,
.nav__group.is-open .nav__trigger {
  color: var(--accent);
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret,
.nav__group.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  z-index: 60;
}
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 3px 0 0 0;
}
.nav__dropdown::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: auto;
}
.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown,
.nav__group.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s 0s;
}
.nav__dropdown > a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-800);
  transition: background .2s var(--ease), transform .2s var(--ease), padding-left .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
  border-left: 3px solid transparent;
}
.nav__dropdown > a strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-800);
  transition: color .2s;
}
.nav__dropdown > a span {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  transition: color .2s;
}
.nav__dropdown > a:hover,
.nav__dropdown > a:focus-visible {
  background: linear-gradient(90deg, rgba(6, 182, 181, 0.10), rgba(6, 182, 181, 0.02));
  border-left-color: var(--accent);
  padding-left: 18px;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 181, 0.15);
  outline: none;
}
.nav__dropdown > a:hover strong,
.nav__dropdown > a:focus-visible strong { color: var(--accent); }
.nav__dropdown > a:hover span,
.nav__dropdown > a:focus-visible span { color: var(--ink-700); }
.nav__dropdown > a:active { transform: translateY(1px); }
.nav__dropdown-divider {
  display: block;
  height: 1px;
  margin: 6px 14px;
  background: var(--line);
}
.nav__dropdown-extra strong {
  color: var(--accent) !important;
}

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(140px, 18vw, 200px) 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(6, 182, 181, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(15, 27, 38, 0.07), transparent 70%),
    linear-gradient(180deg, #FAFCFD 0%, #FFFFFF 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(15, 27, 38, 0.06) 1px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  opacity: .5;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero__content { max-width: 620px; }
.hero__title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}
.hero__title em {
  display: inline-block;
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 4px;
  height: 14px;
  background: var(--teal-300);
  opacity: .35;
  border-radius: 4px;
  z-index: -1;
}
.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.trust__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(6, 182, 181, 0.35);
}
.trust__item strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--ink-800);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.trust__item span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.trust__divider { display: none; }

.hero__visual {
  position: relative;
  height: clamp(420px, 52vw, 540px);
}
.hero__card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  border: 1px solid var(--line);
  width: 280px;
}
.hero__card--1 {
  top: 40px; right: 0;
  transform: rotate(3deg);
}
.hero__card--1:hover { transform: rotate(0) translateY(-6px); }
.hero__card--2 {
  bottom: 30px; left: 0;
  width: 300px;
  transform: rotate(-2deg);
  background: var(--ink-800);
  color: #fff;
  border-color: transparent;
}
.hero__card--2:hover { transform: rotate(0) translateY(-6px); }
.hero__card h3 {
  font-size: 22px;
  margin: 12px 0 6px;
  font-weight: 800;
}
.hero__card--2 h3 {
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero__card--2 h3 small {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.hero__card p { font-size: 14px; color: var(--text-muted); margin: 4px 0; }
.hero__card--2 p { color: rgba(255, 255, 255, 0.7); }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(6, 182, 181, 0.12);
  color: var(--teal-700);
}
.tag--alt { background: rgba(255, 255, 255, 0.12); color: var(--teal-300); }

.rating { font-size: 13px; color: var(--accent); margin-top: 10px; font-weight: 600; }
.rating span { color: var(--text-muted); font-weight: 400; }

.bar {
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  margin: 14px 0 8px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-300), var(--teal-500));
  border-radius: var(--r-pill);
  transition: width 1s var(--ease);
}
.muted { font-size: 12px; color: var(--text-muted); }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ─── Platforms ────────────────────────────────────────────── */
.platforms {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platforms__label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 26px;
  font-weight: 700;
}
.platforms__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 5vw, 56px);
}
.platforms__logos span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 800;
  color: var(--ink-700);
  opacity: .42;
  letter-spacing: -0.02em;
  transition: opacity .25s, color .25s, transform .25s var(--ease);
}
.platforms__logos span:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Services ─────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 181, 0.35);
  box-shadow: var(--shadow-md);
}
.services .service--featured {
  background: linear-gradient(160deg, var(--ink-800), var(--ink-700));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.services .service--featured h3,
.section .service--featured h3 { color: #fff; }
.services .service--featured > p,
.section .service--featured > p { color: rgba(255, 255, 255, 0.82); }
.services .service--featured .service__icon {
  background: rgba(6, 182, 181, 0.22);
  color: var(--teal-300);
}
.services .service--featured .service__list li,
.section .service--featured .service__list li {
  color: rgba(255, 255, 255, 0.92);
}
.services .service--featured .service__list li::before { background: var(--teal-400); }
.services .service--featured .service__list a,
.section .service--featured .service__list a {
  color: var(--teal-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  border: 0;
}
.services .service--featured .service__link { color: var(--teal-300); }

.service__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.service__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(6, 182, 181, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service > p {
  color: var(--text-soft);
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.6;
}
.service__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.service__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.service__list a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(6, 182, 181, 0.3);
  transition: border-color .2s;
}
.service__list a:hover { border-color: var(--accent); }
.service__link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease), color .2s;
}
.service__link::after {
  content: "→";
  display: inline-block;
  transition: transform .3s var(--ease);
}
.service__link:hover { gap: 12px; color: var(--accent-hover); }
.service__link:hover::after { transform: translateX(4px); }

/* ─── Process (dark) ───────────────────────────────────────── */
.process { background: var(--ink-800); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  position: relative;
}
.process__steps::before {
  content: "";
  position: absolute;
  top: 42px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 231, 229, 0.35), transparent);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 1px solid rgba(111, 231, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--teal-300);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  position: relative;
}
.step__num::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(111, 231, 229, 0.18);
  opacity: 0;
  transition: opacity .3s;
}
.step:hover .step__num::after { opacity: 1; }
.step h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  color: #fff;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.step p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ─── Results ──────────────────────────────────────────────── */
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.result {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s;
}
.result:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 181, 0.3);
}
.result__value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 800;
  color: var(--ink-800);
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.045em;
}
.result__unit {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--accent);
  font-weight: 800;
  display: inline-block;
  margin-left: 4px;
  letter-spacing: -0.02em;
}
.result p {
  color: var(--text-soft);
  font-size: 14.5px;
  margin: 18px 0 0;
  line-height: 1.5;
}

/* ─── Trust / Annonces ─────────────────────────────────────── */
.trust { background: var(--bg-soft); }
.trust .section__head p strong { color: var(--ink-800); font-weight: 700; }

.trust__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 64px;
}
.trust-badge {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-badge__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge__icon svg { width: 26px; height: 26px; }
.trust-badge__icon--super { background: rgba(6, 182, 181, 0.14); color: var(--accent); }
.trust-badge__icon--love  { background: rgba(15, 27, 38, 0.08);  color: var(--ink-800); }
.trust-badge__txt strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
  color: var(--ink-800);
}
.trust-badge__txt span {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

.listings__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.listing {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.listing:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.listing__visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px;
}
.listing__visual--armonia  { background: linear-gradient(135deg, #7AB8DC 0%, #C6E2EE 100%); }
.listing__visual--bellagio { background: linear-gradient(135deg, #BEDEEA 0%, #E8F1F5 100%); }
.listing__visual--divina   { background: linear-gradient(135deg, #2C2540 0%, #F29E4C 100%); }
.listing__visual--coraya   { background: linear-gradient(135deg, #FFD89E 0%, #FFEFD4 100%); }
.listing__illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.listing__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform .6s var(--ease);
}
.listing:hover .listing__photo { transform: scale(1.05); }
.listing__medals {
  position: relative;
  z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.medal {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-800);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 27, 38, 0.1);
}
.medal svg { width: 12px; height: 12px; }
.medal--super { color: var(--teal-700); }
.medal--love  { color: #C2410C; }
.medal--new   { color: var(--ink-800); background: #FFD89E; }

.listing__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.listing__body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink-800);
}
.listing__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.listing__meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.listing__meta .rating {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
}
.listing__meta .rating em {
  font-style: normal;
  color: var(--ink-800);
  font-weight: 800;
  margin-left: 4px;
}
.listing__meta .rating small {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 2px;
  font-weight: 400;
}
.listing__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  transition: letter-spacing .2s, color .2s;
}
.listing:hover .listing__link { letter-spacing: 0.02em; color: var(--accent-hover); }

.trust__cta { text-align: center; }

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 0;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: -24px; left: 18px;
  font-family: var(--font-display);
  font-size: 110px;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  font-weight: 800;
}
.testimonial .rating { color: var(--accent); font-size: 16px; margin-bottom: 16px; }
.testimonial blockquote {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-800);
  font-weight: 500;
  letter-spacing: -0.012em;
}
.testimonial figcaption strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
  font-weight: 800;
  color: var(--ink-800);
}
.testimonial figcaption span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── CTA bands ────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: clamp(48px, 7vw, 72px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cta-band--dark {
  background: var(--ink-800);
  color: #fff;
  border-color: transparent;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 181, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-band--dark::before {
  background: radial-gradient(circle, rgba(6, 182, 181, 0.18), transparent 60%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-800);
}
.cta-band--dark h3 { color: #fff; }
.cta-band p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-soft);
}
.cta-band--dark p { color: rgba(255, 255, 255, 0.78); }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq__container { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] {
  border-color: rgba(6, 182, 181, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-800);
  letter-spacing: -0.01em;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* ─── Cities ───────────────────────────────────────────────── */
.cities { background: var(--bg-soft); }
.cities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 0;
}
.city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  padding-right: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.city-card strong {
  color: var(--ink-800);
  font-size: 15.5px;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.city-card span {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.city-card::after {
  content: "→";
  position: absolute;
  top: 50%; right: 18px;
  transform: translateY(-50%) translateX(-4px);
  opacity: 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  transition: transform .3s var(--ease), opacity .25s;
}
.city-card:hover {
  border-color: rgba(6, 182, 181, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.city-card:hover strong { color: var(--accent); }
.city-card:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ─── Contact ──────────────────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__info h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 18px;
}
.contact__info > p {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 420px;
  line-height: 1.6;
}
.contact__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact__meta li:last-child { border-bottom: 0; }
.contact__label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.contact__meta a {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink-800);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color .2s;
}
.contact__meta a:hover { color: var(--accent); }
.contact__meta span:not(.contact__label) {
  font-size: 16px;
  color: var(--ink-800);
  line-height: 1.5;
  font-weight: 500;
}

.contact__form {
  background: #fff;
  padding: 40px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--ink-800);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 182, 181, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form__note {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 4px 0 0;
}
.form__success,
.form__error {
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
}
.form__success {
  background: rgba(6, 182, 181, 0.10);
  border: 1px solid rgba(6, 182, 181, 0.4);
  color: var(--teal-700);
}
.form__error {
  background: #FDECEC;
  border: 1px solid #D64545;
  color: #8B1F1F;
}
.form__success strong,
.form__error strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.form__success p,
.form__error p { margin: 0; }

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink-900);
  color: #fff;
  padding: 72px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand p {
  color: rgba(255, 255, 255, 0.62);
  margin: 16px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.55;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 24px;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin: 0 0 14px;
  font-weight: 800;
}
.footer__col a,
.footer__col span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  padding: 4px 0;
  transition: color .2s, transform .2s var(--ease);
  line-height: 1.45;
}
.footer__col a:hover {
  color: var(--teal-300);
  transform: translateX(2px);
}
.footer__col--contact .footer__phone {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.footer__col--contact .footer__phone:hover { color: var(--teal-300); }
.footer__col--contact span {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  font-size: 13px;
}
.footer__col--contact .footer__hours {
  margin-top: 10px;
  font-size: 12px;
  color: var(--teal-300);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s;
}
.footer__legal a:hover { color: var(--teal-300); }

/* ─── Mobile sticky CTA ────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 14px 14px 14px;
  z-index: 45;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 15px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(6, 182, 181, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ─── Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ─── Trust strip (optional) ───────────────────────────────── */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 16px;
  flex-wrap: wrap;
  opacity: .8;
  font-size: 13px;
  color: var(--text-soft);
}
.trust-strip span::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* ─── Focus accessibility ──────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   Quality / Service / Cities / Blog inner pages
═══════════════════════════════════════════════════════════════ */
.quality-hero {
  padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  text-align: center;
}
.quality-hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.05;
  margin: 8px 0 18px;
  letter-spacing: -0.03em;
}
.quality-hero h1 em { color: var(--accent); font-style: normal; }
.quality-hero .lead {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
}
.quality-hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
  margin-top: 24px;
}
.quality-hero__stats > div { text-align: center; }
.quality-hero__stats strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.quality-hero__stats span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

.checklist { background: #fff; padding: clamp(48px, 7vw, 80px) 0 clamp(72px, 10vw, 120px); }
.checklist__group {
  margin-bottom: 36px;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.checklist__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.checklist__number {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--accent);
  background: rgba(6, 182, 181, 0.10);
  padding: 5px 10px;
  border-radius: var(--r-xs);
  letter-spacing: 0.04em;
  font-weight: 700;
}
.checklist__head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0;
  letter-spacing: -0.02em;
}
.checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}
.checklist__list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.checklist__list strong {
  font-weight: 700;
  color: var(--ink-800);
}

/* ─── Inner-page content blocks (services, blog, villes) ──── */
/* Use :where() to keep zero specificity so component styles always win */
:where(.section) > .container > h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
:where(.section) > .container > h2:first-child,
.section__head h2 { margin-top: 0; }
:where(.section) > .container > h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--ink-800);
  letter-spacing: -0.015em;
}
:where(.section) > .container > p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}
:where(.section) > .container > ul {
  margin-bottom: 20px;
  padding-left: 22px;
}
:where(.section) > .container > ul li {
  margin-bottom: 8px;
  line-height: 1.65;
}
:where(.section) > .container > p > a,
:where(.section) > .container > ul a {
  color: var(--accent);
  border-bottom: 1px solid rgba(6, 182, 181, 0.3);
  transition: border-color .2s, color .2s;
}
:where(.section) > .container > p > a:hover,
:where(.section) > .container > ul a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

/* Inner-page tables */
:where(.section) table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
  font-size: 15px;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
:where(.section) table th {
  background: var(--bg-soft);
  text-align: left;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--ink-800);
}
:where(.section) table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
:where(.section) table tr:last-child td { border-bottom: none; }
:where(.section) table tr:hover td { background: rgba(6, 182, 181, 0.03); }

:where(.section) blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 22px;
  margin: 26px 0;
  font-style: italic;
  color: var(--text-soft);
  background: linear-gradient(90deg, rgba(6, 182, 181, 0.05), transparent);
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  line-height: 1.6;
}

.section div[style*="background:#fafaf7"][style*="border-radius:12px"],
.section div[style*="background:#FAFAF7"][style*="border-radius:12px"] {
  background: var(--bg-soft) !important;
  border: 1px solid var(--line);
  border-radius: var(--r-md) !important;
  padding: 28px !important;
  box-shadow: var(--shadow-xs);
  transition: transform .25s, box-shadow .25s;
}
.section div[style*="background:#fafaf7"][style*="border-radius:12px"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — mobile-first refinements
═══════════════════════════════════════════════════════════════ */

/* Tablet ≤ 1024 */
@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .listings__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .process__steps::before { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .footer__col--contact { grid-column: span 3; }
}

/* Tablet/mobile ≤ 860 */
@media (max-width: 860px) {
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }

  /* Stack hero cards in flow — kill absolute positioning */
  .hero__visual {
    position: relative;
    height: auto;
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero__card {
    position: relative !important;
    width: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    padding: 20px;
  }
  .hero__card h3 { font-size: 18px; margin: 8px 0 4px; }
  .hero__card--2 h3 { flex-wrap: wrap; }
  .hero__card--2 h3 small { font-size: 11.5px; }
  .hero__card p { font-size: 13px; }

  .hero__trust { gap: 16px; flex-wrap: wrap; }
  .trust__divider { display: none; }
  .trust__item { flex: 1 1 30%; min-width: 100px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .trust__badges { grid-template-columns: 1fr; }
  .service--featured { transform: none; }
  /* Only collapse the nav when a burger exists alongside it (homepage) */
  .header__inner:has(.burger) .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px 20px 28px;
    gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    display: none;
    transform: none;
    transition: none;
  }
  .header__inner:has(.burger) .nav { top: 80px; max-height: calc(100vh - 80px); }
  .header__inner:has(.burger) .nav.is-open,
  .nav.is-open { display: flex !important; }

  /* Mobile dropdown: render inline as accordion */
  .nav__group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav__group > .nav__trigger { border-bottom: 0; }
  .nav__trigger {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
  }
  .nav__caret { display: none; }
  .nav__trigger { pointer-events: none; }
  .nav__trigger::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 6px;
  }
  .nav__dropdown {
    position: static;
    transform: none !important;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 2px 0 8px;
    margin: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    flex-direction: column;
  }
  .nav__dropdown::before,
  .nav__dropdown::after { display: none; }
  /* Sous-menus toujours visibles sur mobile pour montrer tout le contenu */
  .nav__dropdown,
  .nav__group.is-open .nav__dropdown { display: flex; }
  .nav__dropdown > a {
    padding: 10px 0 10px 16px;
    border-radius: 0;
    border-left: 2px solid rgba(6, 182, 181, 0.18);
    margin: 0;
    line-height: 1.3;
    display: block;
    transition: border-left-color .15s, background .15s;
  }
  .nav__dropdown > a:active {
    background: rgba(6, 182, 181, 0.06);
    border-left-color: var(--accent);
  }
  .nav__dropdown > a strong {
    font-size: 15px;
    color: var(--ink-800);
    display: block;
    margin-bottom: 1px;
    font-weight: 600;
    line-height: 1.3;
  }
  .nav__dropdown > a span {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.35;
    display: block;
  }
  .nav__dropdown-divider { display: none; }
  /* Trigger texte propre, sans curseur car non cliquable */
  .nav__trigger {
    padding: 14px 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 0;
    cursor: default;
  }
  .nav__group { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
  /* Inner pages without burger: keep nav visible, hide non-button links to save space */
  .header__inner:not(:has(.burger)) .nav > a:not(.btn) {
    display: none;
  }
  .header__inner:not(:has(.burger)) .nav {
    gap: 0;
  }
  .nav > a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-800);
  }
  .nav > a:not(.btn)::after { display: none; }
  /* Estimation CTA in mobile menu — full primary button */
  .nav > a.btn {
    margin-top: 18px;
    width: 100%;
    border: 0;
    padding: 16px 24px;
    background: var(--ink-800);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }
  .nav > a.btn:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-glow);
  }
  .burger { display: flex; }
}

/* Mobile ≤ 640 */
@media (max-width: 640px) {
  :root {
    --section-y: 60px;
    --gutter: 18px;
  }
  .header,
  .header.is-scrolled { padding: 8px 0; background: rgba(255,255,255,0.96); }
  .header__inner { min-height: 64px; gap: 12px; }
  .logo__img,
  .header.is-scrolled .logo__img { height: 64px; }
  .burger {
    border-radius: 12px;
    background: rgba(15, 27, 38, 0.04);
    transition: background .2s;
  }
  .burger.is-open { background: var(--accent); }
  .burger.is-open span { background: #fff; }

  .hero { padding: 96px 0 56px; }
  .hero__title { font-size: clamp(36px, 9vw, 48px); }
  .hero__lead { font-size: 15.5px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 40px; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { gap: 10px; padding-top: 22px; }
  .trust__item { padding: 14px 8px; gap: 4px; }
  .trust__item strong { font-size: 19px; }
  .trust__item span { font-size: 11px; }

  .hero__visual {
    height: auto;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .hero__card {
    position: relative;
    width: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    padding: 18px 18px 20px;
  }
  .hero__card h3 { font-size: 16px; margin: 8px 0 4px; }
  .hero__card--2 h3 small { font-size: 11px; }
  .hero__card p { font-size: 12.5px; }

  .services__grid,
  .results__grid,
  .listings__grid,
  .process__steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 26px; }

  .footer { padding: 48px 0 24px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__col--contact { grid-column: span 2; }
  .footer__base {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
  }

  .cta-band__inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-band__inner > div { width: 100%; }
  .cta-band .btn { width: 100%; max-width: 320px; }

  .testimonial { padding: 28px 24px; }
  .checklist__group { padding: 22px; }

  body { padding-bottom: 76px; }
  .mobile-cta { display: block; }

  /* iOS anti-zoom on form fields */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

/* iPhone SE / small phones ≤ 380 */
@media (max-width: 380px) {
  .hero__title { font-size: 32px; }
  .quality-hero h1 { font-size: 28px; }
  .section__head h2 { font-size: 26px; }
  .cities__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__col--contact { grid-column: span 1; }
}

/* ─── Carousel testimonials ────────────────────────────────── */
.carousel {
  position: relative;
  margin-top: 24px;
}
.carousel__viewport {
  overflow: hidden;
  margin: 0 -8px;
  padding: 28px 8px 8px;
}
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.4,.2,.2,1);
  will-change: transform;
}
.carousel__track .testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-800);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  box-shadow: var(--shadow-md);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 4px;
}
.carousel__btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}
.carousel__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s, width .25s;
}
.carousel__dot:hover { background: var(--ink-300, #c2c8cf); }
.carousel__dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 6px;
}
@media (max-width: 980px) {
  .carousel__track .testimonial { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 720px) {
  .carousel__track { gap: 16px; }
  .carousel__track .testimonial { flex: 0 0 100%; }
  .carousel__btn { width: 40px; height: 40px; font-size: 22px; }
  .carousel__btn--prev { left: -6px; }
  .carousel__btn--next { right: -6px; }
}
