/* ===== Yason Studio — Reset & Base ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0f1a;
  --bg-soft: #111727;
  --card: #151c2e;
  --card-2: #1b2438;
  --line: #243049;
  --text: #eef2fb;
  --muted: #9aa6c0;
  --brand: #5b8cff;
  --brand-2: #7b5bff;
  --accent: #34d399;
  --danger: #ff6b6b;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --maxw: 1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(91, 140, 255, .18), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(123, 91, 255, .14), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }

.gradient-text {
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px rgba(91, 140, 255, .35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--card-2); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, .72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand .logo-img { height: 30px; width: auto; display: block; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-weight: 800; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.lang-switch button {
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  font-size: .8rem; font-weight: 700; padding: 5px 9px; border-radius: 7px; transition: all .18s;
}
.lang-switch button.active { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #fff; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero { padding: 90px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  color: var(--brand); background: rgba(91, 140, 255, .12); border: 1px solid rgba(91, 140, 255, .3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero p.lead { color: var(--muted); font-size: 1.12rem; margin: 18px 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-badges { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge b { font-size: 1.5rem; display: block; }
.hero-badge span { color: var(--muted); font-size: .85rem; }

/* ===== Services / Pricing cards ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, .5); }
.card.featured { border-color: rgba(123, 91, 255, .6); box-shadow: 0 0 0 1px rgba(123,91,255,.3), var(--shadow); }
.card-media { height: 190px; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(11,15,26,.78); backdrop-filter: blur(6px);
  color: var(--text); font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card-body .desc { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.features { list-style: none; margin: 0 0 20px; display: grid; gap: 9px; }
.features li { display: flex; gap: 10px; font-size: .92rem; color: var(--text); }
.features li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price-row .from { color: var(--muted); font-size: .85rem; }
.price-row .amount { font-size: 2rem; font-weight: 800; }
.price-row .cur { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.price-note { color: var(--muted); font-size: .8rem; margin-bottom: 18px; }

/* Options inside cards */
.options { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.options-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.option:last-child { border-bottom: none; }
.option label { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
.option .opt-price { font-size: .88rem; font-weight: 700; color: var(--brand); white-space: nowrap; }

.card-total { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-total span { color: var(--muted); font-size: .9rem; }
.card-total b { font-size: 1.5rem; }

/* Free consultation banner */
.free-banner {
  background: linear-gradient(100deg, rgba(52,211,153,.14), rgba(91,140,255,.12));
  border: 1px solid rgba(52,211,153,.35); border-radius: var(--radius);
  padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.free-banner h3 { font-size: 1.5rem; }
.free-banner p { color: var(--muted); max-width: 540px; }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 16px;
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.about-grid img { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-grid h2 { margin-bottom: 16px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.about-socials { display: flex; gap: 12px; margin-top: 22px; }
.about-socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line);
  border-radius: 10px; font-size: .9rem; font-weight: 600; transition: all .2s;
}
.about-socials a:hover { border-color: var(--brand); background: var(--card-2); }

/* ===== Video gallery ===== */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.video-embed {
  position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ico { font-size: 1.3rem; }
.contact-item b { display: block; font-size: .95rem; }
.contact-item a, .contact-item span { color: var(--muted); font-size: .92rem; }
.contact-item a:hover { color: var(--brand); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-size: .95rem; font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-field textarea { resize: vertical; min-height: 110px; }

.contact-actions { display: grid; gap: 12px; margin: 20px 0 16px; }
.contact-actions .btn { justify-content: flex-start; }

/* ===== Legal pages ===== */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal .callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 18px 22px; margin: 20px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; margin-bottom: 26px; }

/* ===== Payment badges ===== */
.pay-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-badge {
  height: 38px; background: #fff; border-radius: 8px; padding: 6px 12px; display: inline-flex; align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.pay-badge svg { height: 100%; width: auto; }
.pay-logo { height: 40px; width: auto; display: block; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer h4 { font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--muted); font-size: .9rem; }
.footer a:hover { color: var(--text); }
.footer .legal-entity { color: var(--muted); font-size: .85rem; line-height: 1.8; }
.footer .legal-entity b { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: .85rem; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5, 8, 15, .8); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 520px; width: 100%; padding: 32px; box-shadow: var(--shadow); position: relative;
}
.modal h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal .modal-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.modal-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: .9rem; }
.modal-summary .row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.modal-summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero { padding: 56px 0 40px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; gap: 22px; }
  .hero-photo { order: -1; max-width: 360px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-grid img { max-width: 380px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }

  /* Header: collapse nav into burger, keep header tidy */
  .nav { height: 60px; }
  .burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-right { gap: 10px; }
  .nav-right .btn-primary { display: none; }  /* CTA lives in hero + menu on mobile */
  .lang-switch button { padding: 5px 8px; }
}

@media (max-width: 560px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .steps, .footer-grid, .video-grid { grid-template-columns: 1fr; }
  .free-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .free-banner .btn { width: 100%; justify-content: center; }
  .hero-badges { gap: 16px; }
  .hero-badge b { font-size: 1.25rem; }
  .card-body { padding: 20px; }
  .contact-card { padding: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand .logo-img { height: 26px; }
  .modal { padding: 24px 20px; }
}
