/* ==========================================================================
   VICTORIA MODELING AGENCY — Design tokens
   Palette: void black / chrome silver / rose-wine accent
   Type: Cormorant Garamond (display) + Inter (body & utility)
   ========================================================================== */

:root {
  /* color */
  --void:        #0D0D0D;
  --raised:      #161616;
  --card:        #1B1B1B;
  --card-2:      #1F1F1F;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);

  --silver:      #E8E8E8;
  --silver-dim:  #C6C6C6;
  --muted:       rgba(232,232,232,.58);
  --muted-2:     rgba(232,232,232,.38);

  --rose:        #D94B7E;
  --rose-bright: #F05D92;
  --wine:        #8E1B46;
  --rose-glow:   rgba(217,75,126,.18);

  /* type */
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --max: 1400px;
  --gap-section: 160px;
  --gap-section-sm: 96px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--silver);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--rose); color: var(--void); }

:focus-visible {
  outline: 1px solid var(--rose-bright);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-bright);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--rose-bright), transparent);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--silver);
  letter-spacing: .01em;
}

p { color: var(--muted); }

/* Background wash shared by the whole page */
body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(217,75,126,.05), transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #131313 100%);
}

.stars-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  pointer-events: none;
}

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(13,13,13,.92);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__word {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: .18em;
  color: var(--silver);
  white-space: nowrap;
}

.nav__word small {
  display: block;
  font-family: var(--body);
  font-size: 8px;
  letter-spacing: .32em;
  color: var(--rose-bright);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.nav__links a:hover { color: var(--silver); }

.nav__links .btn--primary { display: none; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--silver);
  width: 36px;
  height: 36px;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--rose-bright), var(--wine));
  color: #fff;
  box-shadow: 0 12px 30px rgba(142,27,70,.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(217,75,126,.45);
}

.btn--ghost {
  background: transparent;
  color: var(--silver-dim);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--silver);
  border-color: var(--rose);
  box-shadow: 0 0 0 1px var(--rose-glow), 0 0 24px var(--rose-glow);
}

.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero__linework {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 60px;
}

.hero__copy {
  max-width: 800px;
}

.hero__copy .eyebrow { margin-bottom: 26px; }

.hero__title {
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: .005em;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--rose-bright), var(--rose) 60%, var(--wine));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero__cta {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted-2);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose);
}

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */

.section {
  padding: var(--gap-section-sm) 0;
  position: relative;
}

.section--pad-lg { padding: var(--gap-section) 0; }

.section__head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section__head h2 {
  margin-top: 20px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
}

.section__head p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 50%, transparent);
  border: none;
  max-width: var(--max);
  margin: 0 auto;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about__lead {
  font-family: var(--display);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.5;
  color: var(--silver-dim);
  font-style: italic;
}

.about__body p + p { margin-top: 18px; }
.about__body p { font-size: 16px; line-height: 1.8; }

.about__stats {
  margin-top: 36px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  color: var(--rose-bright);
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process__item {
  background: var(--card);
  padding: 40px 30px;
  transition: background .35s var(--ease);
}

.process__item:hover { background: var(--card-2); }

.process__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--rose-bright);
  letter-spacing: .08em;
}

.process__item h3 {
  margin-top: 18px;
  font-size: 21px;
}

.process__item p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
}

/* ==========================================================================
   TRUST
   ========================================================================== */

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust__card {
  background: var(--card);
  padding: 36px;
  display: flex;
  gap: 20px;
}

.trust__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-bright);
}

.trust__card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.trust__card p { font-size: 14.5px; line-height: 1.65; }

/* ==========================================================================
   APPLICATION FORM
   ========================================================================== */

.apply {
  background: var(--raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apply__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.apply__side {
  align-self: center;
}

.apply__side .section__head { margin-bottom: 32px; }

.apply__note {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--rose);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}

.apply__note h4 {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--silver);
  margin-bottom: 8px;
  font-family: var(--body);
  font-weight: 600;
}

.apply__note p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.apply__note + .apply__note { margin-top: 14px; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px;
  position: relative;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 9px;
}

.field .req { color: var(--rose-bright); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--silver);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-glow);
  background: rgba(255,255,255,.045);
}

.field textarea { resize: vertical; min-height: 90px; }

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.field--check input {
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--rose);
  flex-shrink: 0;
}

.field--check label {
  text-transform: none;
  font-size: 13.5px;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.55;
}

.field__hint {
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted-2);
}

.field__error {
  margin-top: 7px;
  font-size: 12px;
  color: var(--rose-bright);
  display: none;
}

.field.is-invalid input,
.field.is-invalid select { border-color: var(--rose-bright); }
.field.is-invalid .field__error { display: block; }

.form__foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form__foot p {
  font-size: 12px;
  color: var(--muted-2);
  max-width: 40ch;
}

.form__status {
  margin-top: 18px;
  font-size: 13px;
  min-height: 18px;
}

.form__status.is-error { color: var(--rose-bright); }
.form__status.is-ok { color: #7fd9a8; }

/* success state */
.form__success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form.is-sent .form__fields,
.form.is-sent .form__foot { display: none; }

.form.is-sent .form__success { display: block; }

.form__success .mark {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-bright);
}

.form__success h3 { font-size: 24px; margin-bottom: 12px; }
.form__success p { max-width: 40ch; margin: 0 auto; font-size: 14.5px; line-height: 1.7; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__list { max-width: 820px; }

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--silver);
  font-family: var(--display);
  font-size: 19px;
}

.faq__q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.faq__q .plus::before,
.faq__q .plus::after {
  content: '';
  position: absolute;
  background: var(--silver-dim);
}
.faq__q .plus::before { width: 10px; height: 1px; }
.faq__q .plus::after { width: 1px; height: 10px; }

.faq__item.is-open .faq__q .plus { transform: rotate(135deg); border-color: var(--rose); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq__a p { padding-bottom: 26px; font-size: 15px; line-height: 1.75; max-width: 68ch; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 90px 0 40px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer__brand .nav__word { font-size: 22px; }

.footer__brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 34ch;
}

.footer h4 {
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.footer li a:hover { color: var(--silver); }

.footer__disclaimer {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted-2);
  margin-bottom: 30px;
}

.footer__disclaimer strong { color: var(--silver-dim); font-weight: 600; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}

.footer__socials { display: flex; gap: 18px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .apply__inner { grid-template-columns: 1fr; gap: 40px; } /* Menší mezera na mobilu mezi textem a formulářem */
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container, .nav__inner, .hero__inner { padding-left: 24px; padding-right: 24px; }
  .nav__inner .btn--primary { display: none; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13,13,13,.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links .btn--primary {
    display: inline-flex;
    margin-top: 14px;
    padding: 15px 34px;
    width: 100%;
    text-align: center;
    border-bottom: none;
    color: #fff;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .nav__toggle { display: flex; align-items: center; justify-content: center; }
  .hero { padding-top: 130px; }
  .form { padding: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section--pad-lg { padding: 88px 0; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .form { padding: 24px 20px; } /* Pro iPhone: jemně menší padding formuláře, ať je víc místa pro textová pole */
}