/* ===================================================
   STUDIO DOTT. LUCA MENEGHELLO — FINAL
   Apple-inspired, scroll-driven, cinematic
   =================================================== */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8ED;
  --gray-400: #86868B;
  --gray-600: #6E6E73;
  --gray-800: #1D1D1F;
  --navy: #003D6B;
  --navy-deep: #001D35;
  --blue: #2997FF;
  --gold: #BF9B4A;
  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -0.02em; }

.text-gradient {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold), #D4AD6A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

p.large {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover {
  background: var(--navy-deep);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,61,107,0.3);
}

.btn--glass {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
}
.btn--glass:hover { background: rgba(255,255,255,0.2); transform: scale(1.04); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn--outline:hover { border-color: var(--navy); transform: scale(1.04); }

.btn--white { background: var(--white); color: var(--text); }
.btn--white:hover { transform: scale(1.04); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }

.btn--link { background: none; padding: 0; color: var(--blue); font-weight: 600; font-size: 1.05rem; }
.btn--link:hover { color: var(--navy); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.navbar__inner { display: flex; align-items: center; justify-content: space-between; }

.navbar__logo { display: flex; align-items: center; gap: 10px; transition: all 0.4s var(--ease-out); }
.navbar__logo img { height: 38px; width: auto; transition: all 0.4s var(--ease-out); }
.navbar.scrolled .navbar__logo img { height: 30px; }
.navbar:not(.scrolled) .navbar__logo img { filter: brightness(0) invert(1); }

.navbar__logo-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 10px;
  transition: all 0.4s var(--ease-out);
}
.navbar.scrolled .navbar__logo-name { color: var(--text); border-left-color: var(--gray-200); }

.navbar__nav { display: flex; align-items: center; gap: 2px; }

.navbar__link {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
}
.navbar__link:hover { color: var(--white); }
.navbar__link.active { color: var(--white); font-weight: 500; }
.navbar.scrolled .navbar__link { color: var(--text-secondary); }
.navbar.scrolled .navbar__link:hover { color: var(--text); background: var(--gray-100); }
.navbar.scrolled .navbar__link.active { color: var(--text); }

.navbar__cta {
  margin-left: 8px;
  padding: 7px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out);
}
.navbar__cta:hover { background: rgba(255,255,255,0.25); }
.navbar.scrolled .navbar__cta { background: var(--navy); color: var(--white); border-color: var(--navy); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.navbar__toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.navbar.scrolled .navbar__toggle span { background: var(--text); }

/* ==============================
   HERO — CINEMATIC FULLSCREEN
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.1);
  transition: transform 8s linear;
}

.hero.in-view .hero__bg img,
.hero.in-view .hero__bg video {
  transform: scale(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 140px 28px 100px;
  max-width: 1000px;
}

.hero__words { overflow: hidden; margin-bottom: 28px; }

.hero__title {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.8s var(--ease-out);
}

.hero.in-view .hero__title .word { transform: translateY(0); opacity: 1; }

.hero__title .word:nth-child(1) { transition-delay: 0.1s; }
.hero__title .word:nth-child(2) { transition-delay: 0.18s; }
.hero__title .word:nth-child(3) { transition-delay: 0.26s; }
.hero__title .word:nth-child(4) { transition-delay: 0.34s; }
.hero__title .word:nth-child(5) { transition-delay: 0.42s; }
.hero__title .word:nth-child(6) { transition-delay: 0.50s; }
.hero__title .word:nth-child(7) { transition-delay: 0.58s; }
.hero__title .word:nth-child(8) { transition-delay: 0.66s; }
.hero__title .word:nth-child(9) { transition-delay: 0.74s; }
.hero__title .word:nth-child(10) { transition-delay: 0.82s; }

.hero__title .word.gold {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, var(--gold), #D4B96A);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-out) 0.7s;
}
.hero.in-view .hero__sub { opacity: 1; transform: translateY(0); }

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-out) 0.9s;
}
.hero.in-view .hero__actions { opacity: 1; transform: translateY(0); }

.hero__scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: cue-in 1s var(--ease-out) 1.5s forwards;
}

@keyframes cue-in { to { opacity: 1; } }

.hero__scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line { width: 1px; height: 56px; position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down { 0% { top: -100%; } 100% { top: 200%; } }

/* ---- Hero inner pages ---- */
.hero--inner { min-height: 50vh; justify-content: flex-end; padding-bottom: 0; }
.hero--inner .hero__content { padding: 160px 28px 60px; }
.hero--inner .hero__bg img { opacity: 0.35; }
.hero--inner .hero__sub { color: rgba(255,255,255,0.75); }

.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.78rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.9); }

/* ==============================
   STATS — FLOATING CARD
   ============================== */
.stats-float { position: relative; z-index: 3; margin-top: -80px; padding: 0 28px 60px; }

.stats-float__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid var(--gray-100);
  transition: background 0.4s var(--ease-out);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--gray-50); }

.stat__num {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}

.stat__label { display: block; font-size: 0.78rem; color: var(--gray-400); margin-top: 8px; letter-spacing: 0.02em; white-space: nowrap; }

/* ==============================
   SECTION BASICS
   ============================== */
.section { padding: 120px 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.55); }
.section--navy { background: var(--navy-deep); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.6); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 80px; }
.section__head h2 { margin-bottom: 20px; }
.section__head p { font-size: 1.1rem; line-height: 1.65; }

/* ==============================
   HORIZONTAL SCROLL SERVICES
   ============================== */
.hscroll-wrap { position: relative; height: 300vh; }

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hscroll-track { display: flex; gap: 32px; padding: 0 10vw; will-change: transform; }

.hscroll-card {
  flex: 0 0 420px;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  border: 1px solid var(--gray-200);
}

.hscroll-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.hscroll-card__img { height: 260px; overflow: hidden; }
.hscroll-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.hscroll-card:hover .hscroll-card__img img { transform: scale(1.08); }

.hscroll-card__body { padding: 32px 28px; }
.hscroll-card__body .label { margin-bottom: 10px; }
.hscroll-card__body h3 { margin-bottom: 12px; letter-spacing: -0.02em; }
.hscroll-card__body p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }

.hscroll-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--blue); }
.hscroll-card__link svg { transition: transform 0.3s var(--ease-out); }
.hscroll-card__link:hover svg { transform: translateX(5px); }

/* ==============================
   IMAGE REVEAL (clip-path)
   ============================== */
.reveal-img { position: relative; overflow: hidden; border-radius: 20px; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
.reveal-img.visible img { clip-path: inset(0 0 0 0); }

/* ==============================
   SPLIT LAYOUT
   ============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text .label { margin-bottom: 12px; }
.split__text h2, .split__text h3 { margin-bottom: 20px; }
.split__text p { font-size: 1.02rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }

/* ==============================
   BIG QUOTE / STATEMENT
   ============================== */
.statement { padding: 160px 0; text-align: center; }
.statement__text {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--gray-200);
  max-width: 900px;
  margin: 0 auto;
}
.statement__text .highlight-word { color: var(--text); transition: color 0.6s var(--ease-out); }
.section--dark .statement__text { color: rgba(255,255,255,0.15); }
.section--dark .statement__text .highlight-word { color: var(--white); }

/* ==============================
   R&D CARDS (dark)
   ============================== */
.rd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.rd-card {
  padding: 48px 36px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: all 0.5s var(--ease-out);
}
.rd-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.rd-card__num {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--gold), rgba(191,155,74,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rd-card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.rd-card p { font-size: 0.95rem; line-height: 1.7; }

/* ==============================
   NORMS / BADGES
   ============================== */
.norms-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.norm-pill {
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  background: var(--gray-100);
  transition: all 0.5s var(--ease-out);
  cursor: default;
}
.norm-pill:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.norm-pill__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.norm-pill h4 { font-size: 1rem; margin-bottom: 4px; }
.norm-pill p { font-size: 0.78rem; color: var(--gray-400); }

/* ==============================
   FULL-WIDTH IMAGE STRIP
   ============================== */
.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.img-strip__item { height: 45vh; overflow: hidden; position: relative; }
.img-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.img-strip__item:hover img { transform: scale(1.06); }

/* ==============================
   SERVICE DETAIL (inner page)
   ============================== */
.svc-block { padding: 100px 0; border-bottom: 1px solid var(--gray-100); }
.svc-block:last-of-type { border-bottom: none; }
.svc-block .split__text h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.svc-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.svc-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); }
.svc-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.tag { padding: 5px 14px; font-size: 0.72rem; font-weight: 600; border-radius: 100px; background: var(--gray-100); color: var(--navy); }

/* ==============================
   PROCESS STEPS
   ============================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step { text-align: center; padding: 32px 16px; }

.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  transition: all 0.4s var(--ease-out);
}
.step:hover .step__num { background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.1); }
.step h4 { font-size: 0.92rem; margin-bottom: 6px; }
.step p { font-size: 0.82rem; color: var(--gray-400); }

/* ==============================
   VALUES
   ============================== */
.vals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.val {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}
.val:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.06); }

.val__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.val h4 { font-size: 0.92rem; }

/* ==============================
   FEATURES LIST
   ============================== */
.feats { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.feat { display: flex; gap: 18px; align-items: flex-start; }

.feat__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feat h4 { font-size: 0.92rem; margin-bottom: 3px; color: var(--text); }
.feat p { font-size: 0.88rem; color: var(--text-secondary); }

/* ==============================
   CTA
   ============================== */
.cta { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,29,53,0.85)); }

.cta__inner { position: relative; z-index: 2; }
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.55); font-size: 1.15rem; max-width: 500px; margin: 0 auto 40px; }
.cta .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==============================
   CONTACT
   ============================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 36px; }

.ci { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }

.ci__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.ci p { font-size: 0.88rem; color: var(--text-secondary); }
.ci a { color: var(--blue); font-weight: 500; }
.ci a:hover { color: var(--navy); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.contact-form h3 { margin-bottom: 24px; font-size: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--gray-50);
  outline: none;
  transition: all 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,61,107,0.06);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* GDPR checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 24px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.form-check span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.form-check span a { color: var(--blue); font-weight: 500; }
.form-check span a:hover { color: var(--navy); }

/* Form messages */
.form-msg {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.form-msg--success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg--error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

.map-wrap { margin-top: 60px; border-radius: 20px; overflow: hidden; height: 320px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ==============================
   NEWS
   ============================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.5s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.news-card__img { height: 200px; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.news-card:hover .news-card__img img { transform: scale(1.08); }

.news-card__body { padding: 28px 24px; }
.news-card__date { font-size: 0.72rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.news-card__body h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 12px; letter-spacing: -0.02em; }
.news-card__body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }

.news-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.3s;
}
.news-card__toggle:hover { color: var(--navy); }
.news-card__toggle svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.news-card.expanded .news-card__toggle svg { transform: rotate(180deg); }

.news-card__full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.news-card.expanded .news-card__full { max-height: 2000px; }

.news-card__full-inner {
  padding: 0 24px 28px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.news-card__full-inner p { margin-bottom: 14px; }
.news-card__full-inner ul { margin: 12px 0; padding-left: 20px; }
.news-card__full-inner ul li { list-style: disc; margin-bottom: 6px; }
.news-card__full-inner strong { color: var(--text); }
.news-card__full-inner table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.82rem; }
.news-card__full-inner th, .news-card__full-inner td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; }
.news-card__full-inner th { background: var(--gray-100); font-weight: 600; color: var(--text); }

/* ==============================
   LEGAL / PROSE PAGES
   ============================== */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 { font-size: 1.6rem; margin-bottom: 20px; margin-top: 48px; }
.prose h3 { font-size: 1.2rem; margin-bottom: 14px; margin-top: 36px; }
.prose p { font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.prose strong { color: var(--text); }
.prose a { color: var(--blue); font-weight: 500; }
.prose a:hover { color: var(--navy); }
.prose ul, .prose ol { margin: 12px 0 20px; padding-left: 24px; }
.prose li { font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); list-style: disc; margin-bottom: 6px; }
.prose ol li { list-style: decimal; }
.prose .last-update { font-size: 0.82rem; color: var(--gray-400); font-style: italic; margin-top: 40px; border-top: 1px solid var(--gray-200); padding-top: 20px; }

/* ==============================
   COOKIE BANNER
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner__text { flex: 1; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.cookie-banner__text a { color: var(--blue); font-weight: 500; }

.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__actions .btn { padding: 10px 24px; font-size: 0.82rem; }
.cookie-banner__actions .btn--cookie-reject { background: transparent; border: 1px solid var(--gray-200); color: var(--text-secondary); }
.cookie-banner__actions .btn--cookie-reject:hover { background: var(--gray-200); }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--black);
  padding: 72px 0 28px;
  color: rgba(255,255,255,0.4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-wrap img { height: 36px; filter: brightness(0) invert(1); }
.footer__logo-wrap span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 10px;
  line-height: 1.3;
}

.footer__brand p { font-size: 0.85rem; line-height: 1.7; }

.footer h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__links span { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,0.3); }
.footer__legal a:hover { color: var(--gold); }

/* ==============================
   SCROLL ANIMATIONS
   ============================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.12s; }
.fade-up.d2 { transition-delay: 0.24s; }
.fade-up.d3 { transition-delay: 0.36s; }
.fade-up.d4 { transition-delay: 0.48s; }

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.parallax { will-change: transform; transition: transform 0.1s linear; }

/* ==============================
   SCROLL TOP
   ============================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s var(--ease-out);
  z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-deep); transform: translateY(-3px); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .rd-grid { grid-template-columns: 1fr 1fr; }
  .norms-row { grid-template-columns: 1fr 1fr; }
  .stats-float__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hscroll-wrap { height: auto; }
  .hscroll-sticky { position: relative; height: auto; overflow: visible; padding: 0; }
  .hscroll-track { flex-direction: column; gap: 24px; padding: 0 28px; max-width: 1120px; margin: 0 auto; }
  .hscroll-card { flex: none; width: 100%; min-height: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .hscroll-card__img { height: 100%; min-height: 240px; }
  .hscroll-card__body { display: flex; flex-direction: column; justify-content: center; padding: 28px 24px; }
  .img-strip { grid-template-columns: 1fr; }
  .img-strip__item { height: 35vh; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .navbar__nav { display: none; }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .navbar__nav.open .navbar__link { color: var(--text); padding: 12px 16px; }
  .navbar__nav.open .navbar__cta { margin: 8px 0 0; background: var(--navy); color: var(--white); text-align: center; }
  .navbar__toggle { display: flex; }
  .navbar__logo-name { font-size: 0.6rem; padding-left: 8px; }
  .navbar__logo img { height: 28px; }
  .navbar.scrolled .navbar__logo img { height: 24px; }
  .rd-grid, .vals-grid, .norms-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-float__inner { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .stat:last-child { border-bottom: none; }
  .hero--inner { min-height: 40vh; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .statement { padding: 100px 0; }
  .hscroll-track { padding: 0 20px; }
  .hscroll-card { grid-template-columns: 1fr; }
  .hscroll-card__img { min-height: 200px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 8px; align-items: center; }
}
