/* ============================================================
   Kujundus #1 — v2 redesign (sama palett: tume kuld + roosakas)
   Tsentreeritud, editorial, Instagram-feed motiiv
   ============================================================ */

:root {
  --serif: "Fraunces", Georgia, serif;
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ink: #3E2A20;
  --ink-2: #5A4134;
  --paper: #FBF2ED;
  --paper-2: #F3E4DE;
  --rose: #E07A97;
  --rose-deep: #C25E7A;
  --blush: #F7D8E0;

  --gold: #C9962F;
  --gold-bright: #F0C45E;
  --gold-deep: #A67B2B;
  --gold-dark: #6E4E18;
  --gold-darker: #53390F;
  --cream: #FBF3E0;

  --line: #EBD6D2;
  --muted: #8A6A6F;

  --radius: 22px;
  --shadow: 0 24px 55px -28px rgba(62, 42, 32, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  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='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.04;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Kuldne foil esiletõst */
.hl {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0;
  background: linear-gradient(100deg, #8A6420 0%, #C9962F 50%, #A67B2B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; box-shadow: 0 14px 32px -14px rgba(194, 94, 122, 0.9); }
.btn-primary:hover { filter: brightness(1.04); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(251, 243, 224, 0.45); }
.btn-ghost:hover { background: rgba(251, 243, 224, 0.1); border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--ink); box-shadow: 0 14px 32px -16px rgba(201, 150, 47, 0.9); }
.btn-gold:hover { filter: brightness(1.05); }

/* Eyebrow */
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 1rem; }
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

/* Header — tsentreeritud */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(94, 66, 20, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(240, 196, 94, 0.22); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 0.85rem; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--cream); }
.brand-name em { font-style: normal; color: var(--gold-bright); }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { font-weight: 500; font-size: 0.95rem; color: rgba(251, 243, 224, 0.74); transition: color 0.15s; }
.site-nav a:hover { color: var(--gold-bright); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; }

/* Hero — tsentreeritud */
.hero {
  position: relative; overflow: hidden; color: var(--cream); text-align: center;
  background: radial-gradient(120% 130% at 50% -10%, #8A6420 0%, #6E4E18 46%, #53390F 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 45% at 50% 0%, rgba(240, 196, 94, 0.2), transparent 62%); pointer-events: none; }
.hero-inner { max-width: 900px; margin: 0 auto; padding: 5.5rem 1.5rem 3.5rem; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { margin: 0.25rem 0 1.4rem; }
.hero .hl { background: linear-gradient(100deg, #FFEBB0 0%, #F5C95F 40%, #E8BE58 72%, #D4A43C 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.2rem; color: rgba(251, 243, 224, 0.8); max-width: 32rem; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-bottom: 3rem; }

/* Instagram-feed motiiv */
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 460px; margin: 0 auto; transform: rotate(-2deg); padding: 1rem; background: rgba(251, 243, 224, 0.06); border: 1px solid rgba(240, 196, 94, 0.25); border-radius: 24px; }
.feed-tile { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; }
.feed-tile--rose { background: var(--rose); color: #fff; }
.feed-tile--gold { background: var(--gold-bright); color: var(--ink); }
.feed-tile--blush { background: var(--blush); color: var(--rose-deep); }
.feed-tile--mono { background: var(--ink); color: var(--gold-bright); font-family: var(--display); font-weight: 700; font-size: 1.4rem; }

/* Marquee */
.marquee { border-top: 1px solid rgba(240, 196, 94, 0.25); border-bottom: 1px solid rgba(240, 196, 94, 0.25); overflow: hidden; padding: 0.9rem 0; }
.marquee-track { display: flex; gap: 1.5rem; align-items: center; white-space: nowrap; animation: marquee 22s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--cream); }
.marquee-track i { font-style: normal; color: var(--gold-bright); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section--gold {
  background: linear-gradient(160deg, #7A5A1E 0%, #53390F 100%); color: var(--cream);
  border-top: 1px solid rgba(240, 196, 94, 0.25); border-bottom: 1px solid rgba(240, 196, 94, 0.25);
}
.section--gold .eyebrow { color: var(--gold-bright); }
.section--rose { background: linear-gradient(150deg, var(--rose), var(--rose-deep)); color: #fff; text-align: center; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center h2 { color: var(--cream); }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* Bento — 2×2 teenused */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem;
  display: flex; flex-direction: column; gap: 0.9rem; position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-num { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--gold-deep); line-height: 1; opacity: 0.85; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-list { margin-top: auto; padding-top: 0.5rem; display: grid; gap: 0.5rem; }
.card-list li { font-size: 0.92rem; padding-left: 1.4rem; position: relative; }
.card-list li::before { content: "✦"; position: absolute; left: 0; color: var(--rose); font-size: 0.75rem; top: 0.15rem; }
.card-price { font-size: 0.98rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.card-price strong { color: var(--ink); font-family: var(--display); font-size: 1.45rem; }
.card--featured {
  background: linear-gradient(150deg, #8A6420, #53390F); color: var(--cream); border-color: transparent;
}
.card--featured .card-num { color: var(--gold-bright); }
.card--featured h3 { color: var(--cream); }
.card--featured p { color: rgba(251, 243, 224, 0.82); }
.card--featured .card-list li { color: var(--cream); }
.card--featured .card-list li::before { color: var(--gold-bright); }
.card--featured .card-price { border-top-color: rgba(240, 196, 94, 0.3); color: rgba(251, 243, 224, 0.82); }
.card--featured .card-price strong { color: var(--gold-bright); }
.chip { position: absolute; top: 2rem; right: 2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--gold-bright); color: var(--ink); padding: 0.35rem 0.8rem; border-radius: 999px; }

/* Kellele — nummerdatud kaardid */
.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.pain-card { background: rgba(251, 243, 224, 0.08); border: 1px solid rgba(240, 196, 94, 0.28); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
.pain-num { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--gold-bright); line-height: 1; }
.pain-card p { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--cream); }
.note-banner { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2.4rem; text-align: center; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow); }
.note-big { font-family: var(--display); font-weight: 700; font-size: 1.8rem; margin-bottom: 0.7rem; }
.note-banner p { color: var(--muted); margin-bottom: 1.4rem; }

/* Minust — tekst vasakul, paneel paremal */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.about-card { background: linear-gradient(150deg, #8A6420, #53390F); color: var(--cream); border-radius: var(--radius); padding: 2rem 2.2rem; display: grid; gap: 0.85rem; box-shadow: var(--shadow); }
.about-card__line { font-family: var(--display); font-weight: 500; font-size: 1.15rem; padding-left: 1.5rem; position: relative; }
.about-card__line::before { content: "—"; position: absolute; left: 0; color: var(--gold-bright); }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.about-badges span { font-size: 0.82rem; font-weight: 500; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); padding: 0.45rem 0.95rem; border-radius: 999px; }

/* Lead — tsentreeritud */
.lead { max-width: 620px; margin: 0 auto; text-align: center; }
.lead h2 { color: #fff; margin: 0.5rem 0 1rem; }
.lead-sub { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.8rem; }
.lead-form { display: flex; gap: 0.6rem; max-width: 460px; margin: 0 auto 1rem; }
.lead-form input { flex: 1; min-width: 0; padding: 0.9rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1rem; }
.lead-form input::placeholder { color: rgba(255, 255, 255, 0.8); }
.lead-form input:focus { outline: 2px solid #fff; background: rgba(255, 255, 255, 0.24); }
.lead-form__note { color: rgba(255, 255, 255, 0.9); font-size: 0.85rem; }

/* Kontakt — üks suur kaart */
.contact { text-align: center; max-width: 720px; }
.contact-sub { color: var(--muted); max-width: 34rem; margin: 1.2rem auto 2.5rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-row { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--line); transition: background 0.18s ease; }
.contact-row:last-child { border-bottom: 0; }
.contact-row:hover { background: var(--paper-2); }
.contact-row__icon { font-size: 1.5rem; color: var(--rose); width: 2rem; text-align: center; }
.contact-row__label { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); width: 8rem; text-align: left; }
.contact-row__value { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }

/* Footer */
.site-footer { background: linear-gradient(160deg, #5A3F13, #53390F); color: var(--cream); }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 2.75rem 1.5rem; text-align: center; }
.brand--footer { justify-content: center; }
.footer-tag { color: rgba(251, 243, 224, 0.66); margin: 1rem 0; }
.footer-nav { display: flex; justify-content: center; gap: 1.75rem; margin-bottom: 1rem; }
.footer-nav a { font-size: 0.9rem; color: rgba(251, 243, 224, 0.66); }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-meta { font-size: 0.85rem; color: rgba(251, 243, 224, 0.5); }

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

/* Responsive */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .pain-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .feed { max-width: 360px; }
}
@media (max-width: 640px) {
  .site-nav, .nav-cta { display: none; }
  .nav-inner { justify-content: space-between; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--cream); }
  .site-header.open .site-nav { display: flex; flex-direction: column; gap: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--gold-dark); border-top: 1px solid rgba(240, 196, 94, 0.25); padding: 1.25rem 1.5rem; }
  .lead-form { flex-direction: column; }
  .contact-row { flex-wrap: wrap; }
  .contact-row__label { width: auto; }
  .section { padding: 3.5rem 1.5rem; }
}
