/* =========================================================
   Capri Pasta & Pizza — Coming Soon
   Identité : Jaune Capri · Noir · Tricolore italien
   ========================================================= */

:root {
  --yellow: #FCD60B;
  --yellow-deep: #F2C200;
  --yellow-soft: #FFE55C;
  --black: #0B0B0C;
  --ink: #151517;
  --ink-2: #1E1E21;
  --white: #FFFDF6;
  --green: #0E7033;
  --red: #C8202A;
  --muted: #A9A79F;

  --f-serif: 'Playfair Display', Georgia, serif;
  --f-script: 'Great Vibes', cursive;
  --f-sans: 'Montserrat', system-ui, sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  color: var(--black);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Tricolor ribbon ---------- */
.tricolor { display: flex; height: 6px; position: relative; z-index: 5; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--green); }
.tricolor span:nth-child(2) { background: var(--white); }
.tricolor span:nth-child(3) { background: var(--red); }
.tricolor--thin { height: 4px; }

/* ---------- Script accents ---------- */
.script {
  font-family: var(--f-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.script--yellow { color: var(--yellow); }

/* ---------- Language Switcher ---------- */
.lang-switcher-wrap {
  position: absolute;
  top: 1.25rem;
  right: clamp(1rem, 3.5vw, 2.5rem);
  z-index: 20;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(11, 11, 12, 0.88);
  border: 1px solid rgba(255, 253, 246, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .5rem .85rem;
  font-family: var(--f-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 253, 246, 0.72);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s var(--ease);
  user-select: none;
}
.lang-btn:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
}
.lang-btn.is-active {
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 4px 14px rgba(252, 214, 11, 0.35);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 4.5rem 0 6rem;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--yellow-soft) 0%, var(--yellow) 45%, var(--yellow-deep) 100%);
  overflow: hidden;
  isolation: isolate;
}
/* grain */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: -1;
  pointer-events: none;
}

/* Train speed lines (inspired by the logo) */
.speed-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.speed-lines i {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(11,11,12,.55), transparent);
  width: 28vw;
  left: -30vw;
  animation: speed 4.5s linear infinite;
  opacity: .35;
}
.speed-lines i:nth-child(1) { top: 14%; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 24%; animation-delay: 1.6s; width: 18vw; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .6; }
.speed-lines i:nth-child(3) { top: 38%; animation-delay: .8s; width: 34vw; }
.speed-lines i:nth-child(4) { top: 52%; animation-delay: 2.7s; width: 22vw; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .55; }
.speed-lines i:nth-child(5) { top: 66%; animation-delay: 1.2s; }
.speed-lines i:nth-child(6) { top: 76%; animation-delay: 3.4s; width: 16vw; background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .6; }
.speed-lines i:nth-child(7) { top: 86%; animation-delay: 2.1s; width: 30vw; }
.speed-lines i:nth-child(8) { top: 92%; animation-delay: .3s; width: 20vw; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .5; }
.speed-lines i:nth-child(even) { animation-direction: reverse; animation-duration: 5.5s; }

@keyframes speed {
  from { transform: translateX(0); }
  to   { transform: translateX(160vw); }
}

.hero__inner {
  width: min(980px, 92%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1.1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow);
  background: var(--black);
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200,32,42,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,32,42,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(200,32,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,32,42,0); }
}

.hero__logo {
  width: min(620px, 88vw);
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.12));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero__title {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.hero__title .script {
  font-size: 1.35em;
  color: var(--red);
  display: inline-block;
  transform: translateY(.08em);
  padding-inline: .1em;
}
.hero__title .at {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  padding: .05em .35em;
  border-radius: 12px;
  transform: rotate(-3deg);
}

.hero__lead {
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 500;
  color: rgba(11,11,12,.8);
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.4rem, 1.5vw, 1rem);
  margin-top: .4rem;
}
.cd-box {
  position: relative;
  min-width: clamp(68px, 15vw, 128px);
  padding: clamp(.8rem, 2vw, 1.3rem) .6rem clamp(.7rem, 1.6vw, 1rem);
  background: linear-gradient(180deg, #1b1b1e 0%, var(--black) 100%);
  border-radius: 18px;
  box-shadow:
    0 22px 40px -18px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.cd-box::after { /* split-flap line */
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(255,255,255,.07);
}
.cd-box::before { /* tricolor tick */
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 42%; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--green) 33%, var(--white) 33% 66%, var(--red) 66%);
}
.cd-num {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.cd-num.tick { animation: tick .5s var(--ease); }
@keyframes tick {
  0%   { transform: translateY(-30%) scale(.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cd-label {
  margin-top: .45rem;
  font-size: clamp(.58rem, 1.2vw, .72rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,253,246,.65);
}
.cd-sep {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  opacity: .6;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.open-now { text-align: center; }
.open-now[hidden] { display: none; }
.open-badge {
  display: inline-block;
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--black); color: var(--yellow);
  padding: .3em .8em; border-radius: 18px;
  margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: .6rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.6rem;
  font: 700 .9rem/1 var(--f-sans);
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--dark { background: var(--black); color: var(--yellow); box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(0,0,0,.6); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--yellow); transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0;
  width: 28px; height: 46px;
  border: 2px solid var(--black); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 4px; height: 9px; border-radius: 4px; background: var(--black);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

/* =========================================================
   PROMO / VIDEO
   ========================================================= */
.promo {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(252,214,11,.12), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(200,32,42,.10), transparent 70%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}
.promo::before { /* big outline word */
  content: "CAPRI";
  position: absolute; left: -2vw; top: 50%; translate: 0 -50%;
  font-family: var(--f-serif); font-weight: 800;
  font-size: 30vw; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(252,214,11,.07);
  pointer-events: none;
}
.promo__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 36px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 33%, var(--white) 33% 66%, var(--red) 66%);
}
.kicker--dark { color: var(--black); }

.section-title {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
}
.section-title .script { font-size: 1.3em; }
.section-title .hl {
  color: var(--black);
  background: var(--yellow);
  padding: 0 .22em;
  border-radius: 10px;
  display: inline-block;
}
.section-title--dark { color: var(--black); }
.section-title--dark .script { color: var(--red); }

.promo__desc {
  margin-top: 1.3rem;
  max-width: 520px;
  color: rgba(255,253,246,.75);
  font-size: 1.05rem;
}

.features { list-style: none; margin-top: 2.2rem; display: grid; gap: 1rem; }
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.feature:hover {
  transform: translateX(6px);
  border-color: rgba(252,214,11,.45);
  background: rgba(252,214,11,.06);
}
.feature__icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--yellow);
  border-radius: 14px;
}
.feature h3 { font-size: 1.02rem; font-weight: 700; color: var(--white); }
.feature p { font-size: .92rem; color: rgba(255,253,246,.6); }

/* Phone mockup */
.promo__media { position: relative; justify-self: center; }
.phone {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 9 / 16;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2a2e, #0a0a0b);
  box-shadow:
    0 0 0 2px rgba(252,214,11,.35),
    0 40px 80px -20px rgba(0,0,0,.8),
    0 0 120px -20px rgba(252,214,11,.35);
  transform: rotate(2.5deg);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: rotate(0) scale(1.02); }
.phone__notch {
  position: absolute; top: 20px; left: 50%; translate: -50% 0;
  width: 90px; height: 24px; border-radius: 20px;
  background: #050505; z-index: 3;
}
.phone__video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 36px;
  background: var(--yellow) url("../assets/capri-logo.png") center / 72% auto no-repeat;
}
.sound-btn {
  position: absolute; right: 26px; bottom: 26px; z-index: 4;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem .9rem;
  font: 700 .72rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  border: none; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.6);
  transition: transform .3s var(--ease);
}
.sound-btn:hover { transform: scale(1.06); }
.sound-btn svg { width: 18px; height: 18px; fill: currentColor; }
.sound-btn .ico-sound { display: none; }
.sound-btn[aria-pressed="true"] .ico-sound { display: block; }
.sound-btn[aria-pressed="true"] .ico-muted { display: none; }

.promo__badge {
  position: absolute; top: 8%; left: -56px;
  width: 112px; height: 112px;
  display: grid; place-content: center; text-align: center;
  background: var(--red); color: var(--white);
  border-radius: 50%;
  font-family: var(--f-serif); font-weight: 800;
  box-shadow: 0 18px 40px -12px rgba(200,32,42,.7);
  transform: rotate(-12deg);
  animation: badge 5s ease-in-out infinite;
}
.promo__badge span { font-size: 1.6rem; line-height: 1; }
.promo__badge small { font-family: var(--f-sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-top: .25rem; }
@keyframes badge {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-10px); }
}

/* =========================================================
   RENDEZ-VOUS
   ========================================================= */
.rdv {
  padding: clamp(5rem, 9vw, 7rem) 0;
  background: var(--yellow);
  text-align: center;
  position: relative;
}
.rdv .kicker { justify-content: center; }
.rdv__cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  padding: 2.2rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--black); }
.card--accent { background: var(--black); color: var(--yellow); box-shadow: 8px 8px 0 var(--red); }
.card--accent:hover { box-shadow: 12px 12px 0 var(--red); }
.card__icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}
.card--accent .card__icon { background: var(--yellow); }
.card__icon svg { width: 26px; height: 26px; fill: var(--black); }
.card h3 { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.card__big { font-family: var(--f-serif); font-weight: 800; font-size: clamp(1.25rem, 2.1vw, 1.75rem); margin-top: .35rem; line-height: 1.25; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--black); color: var(--white); }
.footer__inner {
  padding: 3.5rem 0 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  text-align: center;
}
.footer__logo {
  width: 220px; height: auto;
  filter: invert(1) hue-rotate(180deg) saturate(1.4); /* keep tricolor tones on dark bg */
  opacity: .95;
}
.footer__tag { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.footer__credits { margin-top: 1rem; font-size: .9rem; color: rgba(255,253,246,.7); }
.footer__credits a {
  color: var(--yellow); font-weight: 700; text-decoration: none;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease);
}
.footer__credits a:hover { background-size: 100% 2px; }
.footer__credits .sep { margin: 0 .6rem; color: var(--red); }
.footer__copy { font-size: .78rem; color: rgba(255,253,246,.4); }

/* =========================================================
   Offer (from promo clip)
   ========================================================= */
.offer-pill {
  display: inline-flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center;
  padding: .55rem .6rem .55rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--black);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer-pill:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--black); }
.offer-pill strong { font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.offer-pill span {
  background: var(--red); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 999px;
}

.offer {
  margin-top: 1.8rem;
  padding: 1.6rem 1.6rem 1.4rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius);
  max-width: 520px;
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(252,214,11,.45);
  transform: rotate(-1deg);
}
.offer::after {
  content: ""; position: absolute; inset: auto 1.6rem 0; height: 4px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--green) 33%, var(--white) 33% 66%, var(--red) 66%);
}
.offer__slogan {
  font-family: var(--f-sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.15;
}
.offer__slogan span { color: var(--red); display: block; }
.offer__deal {
  display: inline-block;
  margin: .8rem 0 .7rem;
  padding: .45rem 1rem;
  background: var(--black); color: var(--yellow);
  font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-transform: uppercase; letter-spacing: .04em;
  border-radius: 10px;
}
.offer__rules { font-size: .92rem; font-weight: 600; color: rgba(11,11,12,.8); }

/* =========================================================
   Contact / Map
   ========================================================= */
.card__small { margin-top: .4rem; font-size: .92rem; font-weight: 600; opacity: .75; }

.contact {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.4rem;
  text-align: left;
}
.map {
  min-height: 340px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--black);
  background: var(--white);
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contact__list { display: grid; gap: 1rem; align-content: center; }
.contact__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--black); color: var(--white);
  border-radius: 18px;
  text-decoration: none;
  transition: transform .35s var(--ease), background .3s;
}
.contact__item:hover { transform: translateX(6px); background: #232327; }
.contact__item small {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow);
}
.contact__item > span:last-child { font-weight: 600; word-break: break-word; }
.contact__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow);
}
.contact__icon svg { width: 22px; height: 22px; fill: var(--black); }

.footer__contact { font-style: normal; font-size: .9rem; color: rgba(255,253,246,.75); line-height: 1.8; }
.footer__contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact .sep { margin: 0 .6rem; color: var(--red); }

/* =========================================================
   Contact Form (Anti-Spam)
   ========================================================= */
.contact-card {
  margin: 3.5rem auto 0;
  max-width: 760px;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--black);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 2.8rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--green) 33%, var(--white) 33% 66%, var(--red) 66%);
}
.contact-card__badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .4rem;
}
.contact-card__title {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}
.contact-card__sub {
  margin-top: .4rem;
  font-size: .95rem;
  color: rgba(255,253,246,.7);
  line-height: 1.5;
}

.c-form {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.c-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.c-form__group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.c-form__group label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,253,246,.85);
}
.c-form input[type="text"],
.c-form input[type="email"],
.c-form textarea {
  width: 100%;
  font-family: var(--f-sans);
  font-size: .95rem;
  color: var(--white);
  background: #1e1e22;
  border: 1px solid rgba(255,253,246,.15);
  border-radius: 12px;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.c-form textarea { resize: vertical; min-height: 110px; }
.c-form input:focus,
.c-form textarea:focus {
  background: #25252a;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(252,214,11,.22);
}
.c-form input::placeholder,
.c-form textarea::placeholder {
  color: rgba(255,253,246,.35);
}

/* Anti-Spam Hidden Trap */
.c-form__hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Captcha group */
.captcha-box {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}
.captcha-box input {
  max-width: 130px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
}
.captcha-hint {
  font-size: .75rem;
  color: var(--yellow);
  font-weight: 600;
  opacity: .9;
}

.c-form__footer {
  margin-top: .4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.c-form__btn {
  align-self: flex-start;
  border-color: var(--yellow);
}
.c-form__btn:hover {
  background: var(--yellow);
  color: var(--black);
}
.c-form__btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

.c-form__status {
  padding: .85rem 1.1rem;
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.4;
  font-weight: 600;
}
.c-form__status[hidden] { display: none; }
.c-form__status.is-success {
  background: rgba(14, 112, 51, .25);
  border: 1px solid rgba(14, 112, 51, .6);
  color: #79e39b;
}
.c-form__status.is-error {
  background: rgba(200, 32, 42, .25);
  border: 1px solid rgba(200, 32, 42, .6);
  color: #ffadb3;
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .offer { margin-inline: auto; text-align: center; }
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .promo__grid { grid-template-columns: 1fr; text-align: center; }
  .promo__text { order: 2; }
  .promo__desc { margin-inline: auto; }
  .kicker { justify-content: center; }
  .features { text-align: left; max-width: 520px; margin-inline: auto; }
  .promo__badge { left: -30px; width: 92px; height: 92px; }
  .promo__badge span { font-size: 1.3rem; }
  .rdv__cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .lang-switcher-wrap {
    position: static;
    margin-bottom: .4rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .lang-btn {
    padding: .4rem .7rem;
    font-size: .74rem;
  }
  .c-form__row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .hero { padding-top: 2.2rem; }
  .cd-sep { display: none; }
  .countdown { gap: .45rem; }
  .cd-box { min-width: 0; flex: 1; border-radius: 14px; }
  .countdown { width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .c-form__btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}

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