/* =========================================================================
   Lello Piazza — Laboratorio Odontotecnico · Dental Innovation
   Design system & global stylesheet
   Author: site build
   ========================================================================= */

/* ----------------------------------------------------------------------- */
/* 1. Design tokens                                                        */
/* ----------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --c-bg:           #ffffff;
  --c-bg-soft:      #f3f8f9;
  --c-bg-mute:      #e8f1f2;
  --c-ink:          #0a232c;   /* headings / strong text */
  --c-body:         #45595f;   /* body copy */
  --c-body-soft:    #6b7e84;   /* secondary copy */
  --c-primary:      #0d5562;   /* brand petrol */
  --c-primary-dark: #08363f;
  --c-primary-deep: #061d23;   /* darkest, hero/footer bg */
  --c-accent:       #14c2af;   /* mint / teal accent */
  --c-accent-2:     #4ad7c8;
  --c-accent-soft:  #d6f3ef;
  --c-gold:         #c9a24c;   /* premium accent, used sparingly */
  --c-line:         #e1eaec;
  --c-line-strong:  #cfdce0;

  /* On-dark text */
  --c-on-dark:      #eaf6f6;
  --c-on-dark-soft: #a7c4c8;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(8, 40, 47, .06);
  --sh-md: 0 12px 30px rgba(8, 40, 47, .08);
  --sh-lg: 0 28px 60px rgba(8, 40, 47, .14);
  --sh-accent: 0 18px 40px rgba(13, 85, 98, .25);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------------------------------------------------- */
/* 2. Reset & base                                                         */
/* ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--c-body); }
strong { color: var(--c-ink); font-weight: 600; }

::selection { background: var(--c-accent); color: #042029; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------------- */
/* 3. Layout helpers                                                       */
/* ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--c-bg-soft); }
.section--mute { background: var(--c-bg-mute); }

.dark { background: var(--c-primary-deep); color: var(--c-on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--c-on-dark-soft); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 64ch; }
.measure-narrow { max-width: 52ch; }

/* ----------------------------------------------------------------------- */
/* 4. Typographic accents                                                  */
/* ----------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.dark .eyebrow { color: var(--c-accent-2); }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .8;
}
.eyebrow--center::before { display: none; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--c-body);
  line-height: 1.6;
}
.dark .lead { color: var(--c-on-dark-soft); }

.text-accent { color: var(--c-primary); }
.dark .text-accent { color: var(--c-accent-2); }

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 16px; }

/* gradient text used very sparingly */
.grad-text {
  background: linear-gradient(100deg, var(--c-accent) 0%, var(--c-accent-2) 60%, #7ee9dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------------------------------------------------- */
/* 5. Buttons                                                              */
/* ----------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .2s;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-accent); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--c-accent); --btn-fg: #042b2a; }
.btn--accent:hover { box-shadow: 0 18px 40px rgba(20, 194, 175, .35); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-primary);
  border-color: var(--c-line-strong);
}
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-bg-soft); box-shadow: var(--sh-sm); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--c-primary-dark); }

.dark .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.dark .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-primary);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .7em; color: var(--c-primary-dark); }
.dark .link-arrow { color: var(--c-accent-2); }

/* ----------------------------------------------------------------------- */
/* 6. Header & navigation                                                  */
/* ----------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled::before { opacity: 1; border-bottom-color: var(--c-line); }
.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  color: var(--c-ink);
}
.brand__tag {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-top: 4px;
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--c-ink);
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--c-primary); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-primary); }

.header-cta { display: inline-flex; align-items: center; gap: 14px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); top:0;}
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); top:0;}

/* ----------------------------------------------------------------------- */
/* 7. Hero                                                                 */
/* ----------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(20,194,175,.16), transparent 60%),
    radial-gradient(900px 500px at -5% 20%, rgba(13,85,98,.10), transparent 55%),
    linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__content { max-width: 600px; }
.hero h1 { margin-top: 22px; }
.hero__sub { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--c-body); max-width: 52ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero__meta .stat__num { font-size: 1.9rem; }

.hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(6,29,35,.35));
}
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-ink);
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(20,194,175,.25); }

/* ----------------------------------------------------------------------- */
/* 8. Stats / numbers                                                      */
/* ----------------------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--c-primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.dark .stat__num { color: var(--c-accent-2); }
.stat__label { font-size: .9rem; color: var(--c-body-soft); }
.dark .stat__label { color: var(--c-on-dark-soft); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ----------------------------------------------------------------------- */
/* 9. Cards & grids                                                        */
/* ----------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-primary);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }

.card--accent {
  background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-color: transparent;
  color: var(--c-on-dark);
}
.card--accent h3 { color: #fff; }
.card--accent p { color: var(--c-on-dark-soft); }
.card--accent .card__icon { background: rgba(255,255,255,.12); color: var(--c-accent-2); }

/* service card with index number */
.service-card { position: relative; overflow: hidden; }
.service-card__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--c-bg-mute);
  line-height: 1;
  transition: color .35s var(--ease);
}
.service-card:hover .service-card__num { color: var(--c-accent-soft); }
.service-card ul { margin-top: 16px; display: grid; gap: 9px; }
.service-card ul li {
  position: relative;
  padding-left: 26px;
  font-size: .95rem;
  color: var(--c-body);
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 14px; height: 9px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg) translateY(-2px);
}

/* feature media split */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 5 / 4;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__content h2 + .lead { margin-top: 16px; }
.feature ul.check { margin-top: 26px; display: grid; gap: 14px; }
.feature ul.check li {
  position: relative;
  padding-left: 38px;
  color: var(--c-body);
}
.feature ul.check li strong { display: block; color: var(--c-ink); font-weight: 600; margin-bottom: 2px; }
.feature ul.check li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d5562' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ----------------------------------------------------------------------- */
/* 10. Process / steps                                                     */
/* ----------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-accent);
  letter-spacing: .05em;
}
.step__bar { height: 3px; background: var(--c-line); border-radius: 3px; margin: 14px 0 18px; overflow: hidden; }
.step__bar i { display:block; height:100%; width: 40%; background: var(--c-accent); border-radius: 3px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }
.dark .step__bar { background: rgba(255,255,255,.14); }

/* ----------------------------------------------------------------------- */
/* 11. Pills / chips / tags                                                */
/* ----------------------------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-ink);
}
.pill svg { width: 1em; height: 1em; color: var(--c-primary); }
.dark .pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: var(--c-on-dark); }

/* ----------------------------------------------------------------------- */
/* 12. Page hero (interior pages)                                          */
/* ----------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 90px));
  padding-bottom: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 480px at 90% -20%, rgba(20,194,175,.16), transparent 60%),
    linear-gradient(180deg, #f7fbfb, #ffffff);
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { margin-top: 18px; }
.page-hero p { margin-top: 18px; font-size: clamp(1.05rem,1.5vw,1.25rem); }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--c-body-soft); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span { opacity: .5; }

/* ----------------------------------------------------------------------- */
/* 13. CTA band                                                            */
/* ----------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(20,194,175,.22), transparent 60%),
    linear-gradient(140deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute; right: -80px; top: -80px; z-index: -1;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.05);
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: var(--c-on-dark-soft); margin-top: 14px; max-width: 50ch; }
.cta-band .hero__actions { margin-top: 28px; }

/* ----------------------------------------------------------------------- */
/* 14. Testimonials                                                        */
/* ----------------------------------------------------------------------- */
.quote {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote__stars { color: var(--c-gold); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1.02rem; color: var(--c-ink); flex: 1; }
.quote__who { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.quote__name { font-weight: 600; color: var(--c-ink); font-size: .95rem; }
.quote__role { font-size: .82rem; color: var(--c-body-soft); }

/* ----------------------------------------------------------------------- */
/* 15. Accordion (FAQ)                                                     */
/* ----------------------------------------------------------------------- */
.accordion { display: grid; gap: 14px; }
.acc-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.acc-item[open] { border-color: var(--c-accent); box-shadow: var(--sh-sm); }
.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .ico {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-bg-mute);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s;
  position: relative;
}
.acc-item summary .ico::before,
.acc-item summary .ico::after {
  content: ""; position: absolute;
  background: var(--c-primary);
  border-radius: 2px;
}
.acc-item summary .ico::before { width: 12px; height: 2px; }
.acc-item summary .ico::after  { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.acc-item[open] summary .ico { background: var(--c-accent-soft); }
.acc-item[open] summary .ico::after { transform: scaleY(0); }
.acc-item .acc-body { padding: 0 24px 22px; color: var(--c-body); }

/* ----------------------------------------------------------------------- */
/* 16. Forms                                                               */
/* ----------------------------------------------------------------------- */
.form-grid { display: grid; gap: 18px; }
.form-grid .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--c-ink); }
.field input, .field textarea, .field select {
  padding: 13px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aabb0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(20,194,175,.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--c-body-soft); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.form-consent input { margin-top: 3px; accent-color: var(--c-primary); }
.form-status { font-size:.92rem; font-weight:600; }
.form-status.is-ok { color: var(--c-primary); }
.form-status.is-err { color: #c0392b; }

/* contact info list */
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-icon {
  flex: none; width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: grid; place-items: center;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-display); font-size: 1rem; color: var(--c-ink); margin-bottom: 3px; }
.contact-item p, .contact-item a { color: var(--c-body); font-size: .96rem; }
.contact-item a:hover { color: var(--c-primary); }

/* ----------------------------------------------------------------------- */
/* 17. Logo / marquee strip                                                */
/* ----------------------------------------------------------------------- */
.trust-strip { border-block: 1px solid var(--c-line); }
.trust-strip .container { display: flex; align-items: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; justify-content: center; padding-block: 28px; }
.trust-strip span.lbl { font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; color:var(--c-body-soft); font-weight:600; }
.trust-strip .tech { font-family: var(--font-display); font-weight: 700; color: var(--c-primary-dark); opacity:.7; font-size: 1.05rem; }

/* ----------------------------------------------------------------------- */
/* 18. Footer                                                              */
/* ----------------------------------------------------------------------- */
.site-footer { background: var(--c-primary-deep); color: var(--c-on-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: var(--c-on-dark-soft); margin-top: 18px; max-width: 32ch; font-size: .96rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: var(--c-on-dark);
  transition: background .25s, transform .25s, color .25s;
}
.footer-social a:hover { background: var(--c-accent); color: #042b2a; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--c-on-dark-soft); font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-col p { color: var(--c-on-dark-soft); font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--c-on-dark-soft);
}
.footer-bottom a:hover { color: #fff; }

/* ----------------------------------------------------------------------- */
/* 19. Scroll reveal animation                                             */
/* ----------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* decorative floating blob */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .5;
  z-index: 0;
  pointer-events: none;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ----------------------------------------------------------------------- */
/* 20. Utilities                                                           */
/* ----------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.relative { position: relative; }
.z1 { position: relative; z-index: 1; }

/* ----------------------------------------------------------------------- */
/* 21. Responsive                                                          */
/* ----------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16/11; max-height: 360px; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta .btn:not(.header-cta__primary) { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 18px var(--gutter) 28px;
    box-shadow: var(--sh-md);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 14px; }
}

@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px; }
  .cta-band { padding: 32px 24px; }
  .header-cta__primary.btn { padding: 11px 18px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
