/* =========================================================================
   ROYS DIECAST — Design System
   Açık, modern, premium otomotiv teması. Mobil öncelikli.
   ========================================================================= */

:root {
  /* Renkler — açık tema */
  --bg:            #fbfbfd;
  --bg-soft:       #f4f5f7;
  --bg-card:       #ffffff;
  --ink:           #0c0e14;
  --ink-2:         #3a3f4b;
  --muted:         #6b7280;
  --line:          #e7e8ec;
  --line-2:        #eef0f3;

  /* Marka aksanı — yarış kırmızısı */
  --accent:        #e4002b;
  --accent-ink:    #b30022;
  --accent-soft:   #ffe9ec;
  --accent-glow:   rgba(228, 0, 43, .18);

  --gold:          #c8912b;

  /* Efektler */
  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     28px;
  --shadow-sm:     0 1px 2px rgba(12,14,20,.05), 0 2px 8px rgba(12,14,20,.04);
  --shadow-md:     0 10px 30px rgba(12,14,20,.08), 0 2px 8px rgba(12,14,20,.04);
  --shadow-lg:     0 30px 60px rgba(12,14,20,.12), 0 8px 24px rgba(12,14,20,.06);
  --shadow-accent: 0 20px 45px rgba(228,0,43,.22);

  --maxw:          1180px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", var(--font-sans);
}

/* ---- Reset / base ------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Accessible focus ring — visible only for keyboard users */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
button:focus-visible, .btn:focus-visible, a.btn:focus-visible {
  outline: 3px solid var(--accent-glow);
  outline-offset: 4px;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: 15px; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 24px 50px rgba(228,0,43,.3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #d3d5db; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 14px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 19px; min-width: 0; flex-shrink: 1; }
.brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink), #2a2d38); color: #fff; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 20px; height: 20px; }
.brand b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; min-width: 0; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--ink-2);
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; flex: none; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 8%, var(--accent-glow), transparent 60%),
    radial-gradient(50% 50% at 12% 0%, rgba(12,14,20,.06), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650;
  letter-spacing: .02em; color: var(--accent-ink); background: var(--accent-soft);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { margin-top: 20px; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: var(--ink-2); max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); font-weight: 550; }
.hero-trust .t svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* Hero görsel — foto→model dönüşüm kartı */
.hero-visual { position: relative; }
.transform-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.tc-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.tc-tile { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; border: 1px solid var(--line-2); }
.tc-tile .label { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.9); padding: 4px 9px; border-radius: 999px; color: var(--ink-2); }
.tc-photo { background: linear-gradient(135deg, #e9edf2, #d7dde6); }
.tc-model { background: linear-gradient(135deg, #fff, #fbe9ec); }
.tc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.tc-arrow svg { width: 20px; height: 20px; }
.tc-caption { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-caption .badge { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 11px; border-radius: 999px; }
.tc-caption .meta { font-size: 13px; color: var(--muted); }
.hero-visual .float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
}
.float-chip svg { width: 20px; height: 20px; color: var(--accent); }
.float-chip.fc-1 { top: -18px; right: 18px; }
.float-chip.fc-2 { bottom: -18px; left: -14px; }

/* Marka şeridi */
.marquee { border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; margin-top: 44px; }
.marquee .track { display: flex; gap: 46px; padding: 15px 0; white-space: nowrap; animation: scroll 26s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; color: #b7bcc6; font-size: 15px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "•"; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- Sections ----------------------------------------------------------- */
section { position: relative; }
.section { padding: 78px 0; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-top: 12px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }
.bg-soft { background: var(--bg-soft); }

/* ---- How it works ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.step .icon svg { width: 26px; height: 26px; }
.step .num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--line); line-height: 1; }
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---- Packages ----------------------------------------------------------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s; position: relative;
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pkg.featured {
  border-color: transparent; background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, var(--accent), #ff5b6e) border-box;
  border: 2px solid transparent; box-shadow: var(--shadow-lg); transform: translateY(-10px);
}
.pkg.featured:hover { transform: translateY(-14px); }
@media (min-width: 921px) { .pkg.featured { z-index: 2; } }
.pkg-badge {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  padding: 7px 13px; border-radius: 999px; margin-bottom: 18px; text-transform: uppercase;
  background: var(--bg-soft); color: var(--ink-2);
}
.pkg.featured .pkg-badge { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.pkg .scale-visual {
  display: flex; align-items: flex-end; gap: 8px; height: 54px; margin-bottom: 16px; color: var(--ink);
}
.pkg .scale-visual svg { height: 100%; width: auto; opacity: .9; }
.pkg h3 { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.pkg .scale { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.pkg .price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.pkg .price .amt { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
.pkg .price .cur { font-size: 1.4rem; font-weight: 700; color: var(--ink-2); }
.pkg .size-note { font-size: 13px; color: var(--muted); }
.pkg .blurb { color: var(--ink-2); font-size: 14.5px; margin: 14px 0 18px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.pkg ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.pkg ul li svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.pkg .pkg-cta { margin-top: auto; }
.pkg-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ---- Gallery ------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gcard {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-card);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gcard .art { aspect-ratio: 5/4; display: grid; place-items: center; position: relative; }
.gcard .art svg { width: 78%; height: auto; color: rgba(12,14,20,.82); }
.gcard .art .tag { position: absolute; top: 11px; left: 11px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); padding: 4px 10px; border-radius: 999px; color: var(--ink-2); }
.gcard .cap { padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; }
.gcard .cap b { font-size: 14.5px; }
.gcard .cap span { font-size: 12.5px; color: var(--accent-ink); font-weight: 700; }
.g1 { background: linear-gradient(135deg, #eef1f5, #dfe4ea); }
.g2 { background: linear-gradient(135deg, #fff0f2, #ffd9de); }
.g3 { background: linear-gradient(135deg, #eaf1ff, #d7e4fb); }
.g4 { background: linear-gradient(135deg, #f0f3ee, #dee7d6); }
.g5 { background: linear-gradient(135deg, #fbf2e6, #f3e2c6); }
.g6 { background: linear-gradient(135deg, #f2eefb, #e2d7f6); }
.g7 { background: linear-gradient(135deg, #e9f6f4, #cfeae4); }
.g8 { background: linear-gradient(135deg, #f6eef0, #ecd6dd); }

/* ---- Feature band ------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { text-align: center; padding: 8px; }
.feat .ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.feat .ic svg { width: 27px; height: 27px; color: var(--accent); }
.feat h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: #dcdee4; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 650; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq-item summary .chev svg { width: 17px; height: 17px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent); }
.faq-item .ans { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--ink), #1c1f2a); color: #fff; border-radius: var(--radius-lg); padding: 54px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 80% 0%, var(--accent-glow), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-band p { margin: 14px auto 26px; color: rgba(255,255,255,.72); max-width: 46ch; }
.cta-band .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; }
.foot-col a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; transition: transform .2s, border-color .2s, color .2s; }
.social a:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--accent); }
.social a svg { width: 20px; height: 20px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }

/* ---- Reveal animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .24s; }
.reveal-4 { transition-delay: .32s; }

/* ---- Hero blobs & float animations -------------------------------------- */
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; top: -140px; right: -80px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); animation: floatBlob 14s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; top: 120px; left: -120px; background: radial-gradient(circle, rgba(12,14,20,.08), transparent 70%); animation: floatBlob 18s ease-in-out infinite reverse; }
@keyframes floatBlob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,26px) scale(1.08); } }
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-chip { animation: floaty 5s ease-in-out infinite; }
.float-chip.fc-2 { animation-delay: 1.4s; }
.hero .eyebrow .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px var(--accent-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }

/* ---- Language switcher -------------------------------------------------- */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; font-size: 13.5px; font-weight: 650; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.lang-btn:hover { border-color: #d3d5db; transform: translateY(-1px); }
.lang-btn .flag { font-size: 15px; line-height: 1; }
.lang-btn svg { transition: transform .25s var(--ease); }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: all .22s var(--ease); z-index: 120; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); transition: background .15s; }
.lang-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-menu a.active { color: var(--accent); font-weight: 650; }
.lang-menu a .flag { font-size: 17px; }
.mobile-langs { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 8px; border-bottom: 1px solid var(--line-2); }
.mobile-langs a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.mobile-langs a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Logo marquee ------------------------------------------------------- */
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.marquee .track { align-items: center; }
.marquee .logo { display: inline-flex; align-items: center; color: #aab0bb; transition: color .3s, transform .3s; flex: none; }
.marquee .logo svg { height: 30px; width: auto; }
.marquee .logo:hover { color: var(--ink); transform: scale(1.06); }
.marquee:hover .track { animation-play-state: paused; }

/* ---- Live chat widget --------------------------------------------------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
.chat-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.chat-fab:hover { transform: scale(1.06); background: var(--accent-ink); }
.chat-fab svg { width: 27px; height: 27px; position: absolute; transition: opacity .25s, transform .25s; }
.chat-fab .i-close { opacity: 0; transform: rotate(-45deg) scale(.6); }
.chat-widget.open .chat-fab .i-chat { opacity: 0; transform: rotate(45deg) scale(.6); }
.chat-widget.open .chat-fab .i-close { opacity: 1; transform: none; }
.chat-fab-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #16a34a; border: 2.5px solid #fff; }
.chat-widget.open .chat-fab-dot { display: none; }

.chat-panel { position: absolute; right: 0; bottom: 76px; width: 360px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 120px)); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right; transition: all .3s var(--ease); }
.chat-widget.open .chat-panel { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, var(--ink), #1c1f2a); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 24px; height: 24px; color: #fff; }
.chat-head-txt { flex: 1; line-height: 1.3; }
.chat-head-txt b { font-family: var(--font-display); font-size: 15px; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.chat-status .d { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.chat-status.off .d { background: #9aa3b0; }
.chat-min { width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.chat-min:hover { background: rgba(255,255,255,.22); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; word-wrap: break-word; animation: msgIn .3s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.chat-msg.me { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat-input { padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-name { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; margin-bottom: 8px; }
.chat-name:focus { outline: none; border-color: var(--accent); }
.chat-send-row { display: flex; gap: 8px; }
.chat-send-row input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; }
.chat-send-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.chat-send-row button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--accent); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.chat-send-row button:hover { background: var(--accent-ink); transform: scale(1.05); }
.chat-send-row button svg { width: 19px; height: 19px; }

@media (max-width: 720px) {
  .chat-widget { right: 16px; bottom: 16px; }
  .chat-panel { bottom: 72px; }
}

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

/* ---- Mobile nav drawer -------------------------------------------------- */
.mobile-menu { display: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero .lead { max-width: none; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pkg.featured { transform: none; order: -1; }
  .pkg.featured:hover { transform: translateY(-6px); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .lang-switch { display: none; }        /* moved into mobile drawer */
  .nav-cta .btn-primary { display: none; }        /* moved into mobile drawer */
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .section { padding: 58px 0; }
  .hero { padding: 34px 0 20px; }
  .hero-actions .btn { flex: 1; }
  .cta-band { padding: 40px 24px; }

  .mobile-menu {
    display: block; position: fixed; inset: 68px 0 auto 0; z-index: 90;
    background: rgba(251,251,253,.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .4s var(--ease); padding: 18px 22px 26px;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: 14px 8px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .btn { margin-top: 16px; }
  .mobile-langs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
  .mobile-langs a {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .mobile-langs a.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
}

@media (max-width: 460px) {
  .wrap { padding-inline: 16px; }
  .nav { height: 60px; gap: 10px; }
  .brand { font-size: 17px; }
  .brand .mark { width: 30px; height: 30px; }
  .brand .mark svg { width: 17px; height: 17px; }
  .mobile-menu { inset: 60px 0 auto 0; max-height: calc(100vh - 60px); }
  .hero-trust { gap: 14px; }
  .tc-caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 13px 20px; font-size: 14.5px; }
  .btn-lg { padding: 15px 22px; font-size: 15px; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-fab { width: 54px; height: 54px; }
  .chat-fab svg { width: 24px; height: 24px; }
}

/* ---- Global overflow guards: nothing may push horizontal scroll ---- */
html, body { max-width: 100%; }
img, svg, video, iframe { max-width: 100%; height: auto; }
.wrap, section, main, footer, header { max-width: 100%; }
