/* ============================================================================
   Alicja Wasilewska — Business English Trainer
   Stylesheet — dark luxury theme

   Sections:
     1. Design tokens (colours, fonts)        9. How it works
     2. Base / reset                         10. About
     3. Layout helpers + section kicker      11. Testimonials
     4. Buttons                              12. Pricing
     5. Header / navigation                  13. Contact form
     6. Hero                                 14. Footer
     7. What I help with                     15. Motion + responsive
     8. Companies

   To change the accent, edit --accent (brass) in section 1.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* A dark, warm luxury palette: deep forest base, ivory text, brass accent. */
  --bg:           #0f1a15;   /* deep forest near-black, the base */
  --bg-soft:      #13221b;   /* a touch lighter, for alternating sections */
  --bg-deep:      #0a130e;   /* deepest, for the companies section */
  --panel:        #182a21;   /* cards, inputs */
  --ink:          #ece5d6;   /* warm ivory text */
  --ink-soft:     #a7a08e;   /* muted warm taupe */
  --line:         #2b3a32;   /* hairlines on dark */
  --accent:       #c9a86a;   /* brass, the accent */
  --accent-bright:#dcc188;   /* hover / lighter brass */
  --accent-deep:  #a4824a;   /* darker brass */

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-section: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --max-width: 1120px;
}

/* ----------------------------------------------------------------------------
   2. BASE / RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.3rem; }

h1 em, h2 em { font-style: italic; color: var(--accent); }

/* A hand-drawn brass swash under the hero's accent word */
.swash { position: relative; white-space: nowrap; }
.swash::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.16em;
  height: 0.42em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='14' viewBox='0 0 160 14'%3E%3Cpath d='M3 9 Q 40 2 80 7 T 157 6' fill='none' stroke='%23c9a86a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-bright); }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: rgba(201, 168, 106, 0.3); color: #fff; }

/* ----------------------------------------------------------------------------
   3. LAYOUT HELPERS + SECTION KICKER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section { padding-block: var(--space-section); position: relative; }
/* Gentle alternation: most sections use the deep base; "soft" ones are a touch
   lighter. The companies section uses the deepest tone for one strong moment.
   The whole site stays within a single green family with one brass accent. */
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 48rem; margin-bottom: 3.25rem; }
.section-intro { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }

/* ----------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* Brass button with dark text — the luxury primary */
.btn-primary {
  background: var(--accent);
  color: #14110b;
  box-shadow: 0 10px 30px rgba(201, 168, 106, 0.18);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: #14110b;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(201, 168, 106, 0.28);
}
.btn-primary::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.55rem;
  transition: transform 0.25s ease;
}
.btn-primary:hover::after { transform: translateX(4px); }

/* Quiet outlined secondary */
.btn-text {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  padding-inline: 1.4rem;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); }

.btn-block { width: 100%; text-align: center; }

/* ----------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.85rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-menu a:hover { color: var(--ink); }

.nav-menu a:not(.nav-cta) { position: relative; }
.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-menu .nav-cta { color: var(--accent); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ----------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(64% 60% at 88% 0%, rgba(201, 168, 106, 0.13), transparent 60%),
    radial-gradient(56% 55% at 0% 8%, rgba(35, 74, 62, 0.45), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 35rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trust strip: plain text, brass middots */
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 2rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero-meta li { white-space: nowrap; }
/* Trailing separator so a wrapped line starts cleanly left-aligned,
   instead of a middot dangling at the start of the next line. */
.hero-meta li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--accent);
}

/* Photo: brass keyline frame with a soft warm glow behind it */
.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14% -10% -14% -10%;
  background: radial-gradient(58% 50% at 60% 38%, rgba(201, 168, 106, 0.28), transparent 70%);
  z-index: 0;
}
.hero-photo-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/* ----------------------------------------------------------------------------
   7. WHAT I HELP WITH (open editorial items)
   -------------------------------------------------------------------------- */
/* Two clear audience tracks above the cards */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.75rem;
  margin-bottom: 2.75rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.audience h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.audience p { color: var(--ink-soft); margin: 0; max-width: 36ch; }
@media (max-width: 620px) {
  .audience { grid-template-columns: 1fr; gap: 1.5rem; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 3rem;
}
.card {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.card h3 { margin-bottom: 0.45rem; color: var(--ink); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.card a { font-weight: 500; }

/* ----------------------------------------------------------------------------
   8. COMPANIES
   -------------------------------------------------------------------------- */
.section-accent {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}
.section-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 85% 20%, rgba(201, 168, 106, 0.10), transparent 60%);
  pointer-events: none;
}
.companies-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.companies-copy h2 { max-width: 20ch; }
.companies-copy > p { color: var(--ink-soft); max-width: 46ch; }

.feature-list, .reason-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.feature-list li, .reason-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.feature-list li::before, .reason-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.feature-list li strong { color: var(--ink); font-weight: 600; }

.companies-aside { padding-top: 0.25rem; }
.companies-aside h3 { margin-bottom: 1rem; }
@media (min-width: 861px) {
  .companies-aside { border-left: 1px solid var(--line); padding-left: 2.75rem; }
}
@media (max-width: 860px) {
  .companies-aside { border-top: 1px solid var(--line); padding-top: 1.75rem; }
}
.reason-list li { color: var(--ink-soft); }
.aside-note { margin-top: 1.25rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ----------------------------------------------------------------------------
   9. HOW IT WORKS
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 3rem;
}
.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
/* Worded sequence label instead of a digit */
.step-kicker {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------------------------------
   10. ABOUT
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-copy p { color: var(--ink-soft); max-width: 58ch; }

@media (min-width: 861px) {
  .about-langs { border-left: 1px solid var(--line); padding-left: 2.75rem; }
}
@media (max-width: 860px) {
  .about-langs { border-top: 1px solid var(--line); padding-top: 1.75rem; }
}
.about-langs h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
}
.lang-list { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.lang-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.lang-list li:last-child { border-bottom: 0; }
.lang-list li span:first-child { color: var(--ink); }
.lang-level { color: var(--ink-soft); font-size: 0.9rem; }

.lived-head { margin-top: 1.75rem; }
.places-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}
.places-list li { display: inline; white-space: nowrap; }
.places-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  color: var(--accent);
}

/* ----------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
/* Header row: heading on the left, carousel arrows on the right */
.testimonials-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.testimonials-head h2 { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 0.5rem; flex-shrink: 0; }
.carousel-btn {
  width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Carousel track: horizontal scroll with snap, scrollbar hidden */
.quotes {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Room (top + left) so the oversized quote marks aren't clipped by overflow.
     The negative left margin keeps the cards aligned with the heading. */
  padding: 0.6rem 0 0.75rem 0.6rem;
  margin-left: -0.6rem;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 auto;
  width: min(330px, 82%);
  margin: 0;
  position: relative;
  padding-top: 2.75rem;
  scroll-snap-align: start;
}
/* Oversized brass quotation mark */
.quote::before {
  content: "\201C";
  position: absolute;
  top: -0.35rem; left: -0.3rem;
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}
.quote blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
}
.quote figcaption { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.quote figcaption span {
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* ----------------------------------------------------------------------------
   12. PRICING
   -------------------------------------------------------------------------- */
/* Free intro call: the leading step, an open row with a brass top rule */
.intro-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  border-top: 2px solid var(--accent);
  padding-top: 1.4rem;
  margin-bottom: 3.25rem;
}
.intro-step h3 { margin: 0 0 0.25rem; }
.intro-step p { margin: 0; color: var(--ink-soft); max-width: 48ch; }

.pricing-block { margin-bottom: 2.75rem; }
.pricing-block:last-child { margin-bottom: 0; }
.pricing-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1.6rem;
}
.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0;
}
.pricing-note {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem 3rem;
}
.price-card {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  position: relative;
}
.price-card-featured { border-top-color: var(--accent); border-top-width: 2px; }
.price-card-wide { grid-column: 1 / -1; max-width: 560px; }
.price-tag {
  display: block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
}
.price-card h4 { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; margin: 0 0 0.5rem; }
.price {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.price span { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-soft); }
.price-quote { font-size: 1.25rem; }
.price-desc { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 1.25rem; }
.price-card .btn { margin-top: 0.25rem; }

/* Effort-reduction line under the How it works steps */
.effort {
  margin: 2.75rem 0 0;
  max-width: 54ch;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

/* Transformation programmes (value-stack cards) */
.programmes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem 2.75rem;
}
.programme {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 1.3rem;
}
.programme-featured { border-top: 2px solid var(--accent); }
.programme-wide { grid-column: 1 / -1; max-width: 580px; }
.programme-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.programme h4 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}
.programme .price { margin-bottom: 0.35rem; }
.programme .price-desc { margin-bottom: 0.6rem; }
/* Session format line: length, frequency, delivery */
.format {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
}
.includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
}
.includes li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.programme .btn { margin-top: auto; align-self: flex-start; }

/* Small note offering exam programmes, under the individual plans */
.exam-note {
  margin: 1.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* Guarantee / risk reversal callout */
.guarantee {
  margin: 2.75rem 0 0;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--ink-soft);
  max-width: 64ch;
}
.guarantee strong { color: var(--ink); }

/* ----------------------------------------------------------------------------
   13. CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy p { color: var(--ink-soft); max-width: 38ch; }
.reassure { font-size: 0.95rem; color: var(--accent); }
.reassure strong { color: var(--accent-bright); }
.contact-direct { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-direct li { margin-bottom: 0.5rem; color: var(--ink-soft); }

.contact-form { padding: 0; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
}
.field input::placeholder, .field textarea::placeholder { color: #7c7567; }
.field select { appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.18);
}
.field textarea { resize: vertical; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--accent); }
.form-note.error { color: #e0876f; }

/* A short typographic statement between pricing and the booking CTA */
.statement {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.statement p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 24ch;
  margin: 0;
  color: var(--ink);
}
.statement em { font-style: italic; color: var(--accent); }

/* ----------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
  background: var(--bg-deep);
}
.footer-inner { text-align: center; }
.footer-name { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 0.4rem; }
.footer-tag { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 0.2rem; }
.footer-meta { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 0.7rem; }
.footer-copy { color: var(--ink-soft); font-size: 0.85rem; margin: 0.35rem 0 0; }

/* ----------------------------------------------------------------------------
   15. MOTION + RESPONSIVE
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-animate].is-visible { opacity: 1; transform: none; }

.cards .card:nth-child(2),
.steps .step:nth-child(2),
.price-cards .price-card:nth-child(2) { transition-delay: 0.09s; }
.cards .card:nth-child(3),
.steps .step:nth-child(3) { transition-delay: 0.18s; }
.cards .card:nth-child(4) { transition-delay: 0.27s; }

.hero-stagger > [data-animate]:nth-child(1) { transition-delay: 0.05s; }
.hero-stagger > [data-animate]:nth-child(2) { transition-delay: 0.14s; }
.hero-stagger > [data-animate]:nth-child(3) { transition-delay: 0.23s; }
.hero-stagger > [data-animate]:nth-child(4) { transition-delay: 0.32s; }
.hero-stagger > [data-animate]:nth-child(5) { transition-delay: 0.41s; }

.hero-photo[data-animate] { opacity: 0; transform: translateY(22px) scale(0.985); }
.hero-photo.is-visible { opacity: 1; transform: none; }
.hero-photo-frame img {
  transform: scale(1.07);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-photo.is-visible .hero-photo-frame img { transform: scale(1); }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo.is-visible .hero-photo-frame { animation: floaty 7s ease-in-out 1.3s infinite; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate],
  .hero-photo[data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-photo-frame img { transform: none; transition: none; }
}

/* --- Tablet --- */
@media (max-width: 860px) {
  .hero-grid,
  .companies-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-photo { max-width: 400px; }
  .companies-copy h2 { max-width: none; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.85rem clamp(1.25rem, 5vw, 2.5rem); width: 100%; }
  .nav-menu a:not(.nav-cta)::after { display: none; }
}

/* --- Small phones --- */
@media (max-width: 460px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
