/* LIBRODUX: jednostavna stranica po uzoru na pilot.com, sadržaj i boje s letka */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../assets/fonts/inter-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../assets/fonts/inter-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../assets/fonts/inter-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../assets/fonts/inter-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: Lora; font-weight: 700; font-display: swap; src: url(../assets/fonts/lora-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Lora; font-weight: 700; font-display: swap; src: url(../assets/fonts/lora-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }

:root {
  --burg: #4d2f32;
  --burg-deep: #2f1b1e;
  --wine: #7a2733;          /* naslovi na letku */
  --gold: #c99a3c;
  --gold-light: #ecc65a;
  --cream: #f7f3ec;
  --ink: #231a1b;
  --mute: #6f6162;
  --line: #e9e0d3;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Lora, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--wine); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); color: var(--burg); }
h3 { font-size: 20px; }
.sub { color: var(--mute); font-size: 18px; margin: 14px auto 0; max-width: 640px; }
.eyebrow { margin: 0 0 14px; font: 600 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.eyebrow.dark { color: var(--gold); }
.muted { color: rgba(255, 255, 255, .7); }
.small { font-size: 14px; }

/* gumbi */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 999px; font: 600 15px/1 var(--sans);
  text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.pill:active { transform: translateY(1px); }
.pill.big { padding: 15px 26px; font-size: 16px; }
.pill-gold { background: linear-gradient(135deg, #f6dc8c, var(--gold)); color: var(--burg-deep); }
.pill-gold:hover { box-shadow: 0 8px 24px rgba(201, 154, 60, .4); }
.pill-burg { background: var(--burg); color: #fff; }
.pill-burg:hover { background: var(--burg-deep); }
.link-arrow { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(236, 198, 90, .6); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

/* traka s novostima */
.announce { display: block; text-align: center; padding: 9px 16px; background: var(--gold-light); color: var(--burg-deep); font-size: 14px; text-decoration: none; }
.announce:hover { text-decoration: underline; }

/* izbornik */
.nav { position: sticky; top: 0; z-index: 30; background: var(--burg-deep); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 30px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.pill) { color: #f3e8e3; text-decoration: none; font-size: 15px; font-weight: 600; }
.menu a:not(.pill):hover { color: var(--gold-light); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* naslovni dio */
.hero { background: radial-gradient(120% 90% at 85% 10%, #6a3d43 0%, var(--burg) 40%, var(--burg-deep) 100%); color: #fff; padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); color: #fff; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #eadbd6; margin: 20px 0 30px; max-width: 34ch; }
.hero .lead b { color: var(--gold-light); font-family: var(--serif); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.slogan { margin: 34px 0 0; font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 360px); padding: 0 0 40px; }
.frame { border-radius: 26px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); aspect-ratio: 9 / 16; background: #000; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.bubble {
  position: absolute; max-width: 250px; padding: 12px 16px; border-radius: 18px;
  background: #fff; color: var(--ink); font: 600 15px/1.35 var(--sans);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.bubble small { display: block; font-size: 11px; letter-spacing: .1em; color: var(--gold); margin-bottom: 2px; }
.bubble span { color: var(--wine); }
.b1 { top: 12%; left: -34%; border-bottom-left-radius: 4px; }
.b2 { bottom: 13%; right: -22%; background: var(--gold-light); color: var(--burg-deep); border-bottom-right-radius: 4px; }

.spines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding: 26px 0 30px; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .1); }
.spines span { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* sekcije */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tint { background: var(--cream); }
.section.dark { background: var(--burg-deep); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark .sub { color: #e2d3cd; margin-left: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.feature { padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(77, 47, 50, .1); }
.feature h3 { margin: 18px 0 8px; color: var(--burg); }
.feature p { margin: 0; color: var(--mute); font-size: 16px; }
.ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wine); flex: none; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split h2 + .sub { margin-left: 0; }
.split .pill { margin-top: 28px; }
.checks { list-style: none; margin: 0; padding: 30px 32px; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(77, 47, 50, .08); }
.checks li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--wine); border-bottom: 3px solid var(--wine); transform: rotate(-45deg); }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.price { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
.price h3 { color: var(--burg); }
.price p { color: var(--mute); margin: 8px 0 22px; font-size: 15px; flex: 1; }
.price strong { display: block; padding: 14px 16px 2px; border-radius: 14px 14px 0 0; background: var(--wine); color: #fff; font: 700 28px/1 var(--serif); }
.price small { display: block; padding: 4px 16px 14px; border-radius: 0 0 14px 14px; background: var(--wine); color: #f1d9dc; font-size: 13px; }
.note { color: var(--mute); font-size: 15px; margin: 26px auto 26px; max-width: 620px; }

.course-prices { display: grid; gap: 12px; }
.cp { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.cp span { font-weight: 600; }
.cp strong { font: 700 26px/1 var(--serif); color: var(--gold-light); white-space: nowrap; }
.cp.best { border-color: var(--gold); background: rgba(236, 198, 90, .1); }
.cp em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--burg-deep); background: var(--gold-light); border-radius: 99px; padding: 2px 8px; margin-left: 8px; }
.course-prices a { color: var(--gold-light); }

.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--cream); max-width: 1096px; }
.contact-card .sub { margin-left: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 19px; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .ico { width: 44px; height: 44px; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--wine); text-decoration: underline; }

/* podnožje */
.footer { background: var(--burg-deep); color: #e3d4cf; padding: 56px 0 26px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-logo { width: 200px; height: auto; }
.footer .slogan { margin-top: 18px; }
.legal { display: grid; gap: 4px; }
.legal b { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--gold-light); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* uži ekrani */
@media (max-width: 980px) {
  .features, .prices { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .split, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }
  .b1 { left: -12%; } .b2 { right: -8%; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--burg-deep); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.pill) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu .pill { margin-top: 14px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .logo img { height: 24px; }
}
@media (max-width: 560px) {
  .features, .prices { grid-template-columns: 1fr; }
  .hero-visual { width: 78%; }
  .b1 { left: -14%; top: 8%; max-width: 200px; font-size: 14px; }
  .b2 { right: -10%; }
  .contact-list { font-size: 17px; }
  .checks { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* pravne stranice */
.doc { max-width: 780px; margin: 0 auto; padding: 56px clamp(18px, 4vw, 32px) 80px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); color: var(--burg); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: #3b3132; }
.doc ul { padding-left: 22px; }
.doc .draft { background: #fff4d6; color: #6b4b00; border-radius: 12px; padding: 12px 16px; font-size: 15px; margin: 18px 0 8px; }
.doc .meta { color: var(--mute); font-size: 15px; }

/* naslovni dio bez slike */
.hero-in.solo { grid-template-columns: 1fr; padding-bottom: clamp(20px, 4vw, 40px); }
.hero-in.solo h1 { max-width: 15ch; font-size: clamp(42px, 7vw, 84px); }
.hero-in.solo .lead { max-width: 40ch; }

/* veći LIBRODUX: logo u traci i veliki zlatni logo u naslovnom dijelu */
.nav-in { height: 84px; }
.logo img { height: 44px; }
.menu { top: 84px; }
html { scroll-padding-top: 92px; }
.hero-logo { order: 2; justify-self: center; width: min(100%, 520px); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }
.hero-in { grid-template-columns: 1.1fr .9fr; padding-bottom: clamp(24px, 4vw, 48px); }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-logo { order: 0; width: min(78%, 420px); margin-bottom: 8px; }
}
@media (max-width: 760px) {
  .nav-in { height: 72px; }
  .logo img { height: 34px; }
  .menu { top: 72px; }
}
