/* =========================================================================
   ONA — Suzana Horvatić · Boutique nekretnine Samobor
   styles.css
   ========================================================================= */

/* ---------- Design tokens ----------------------------------------------- */
:root {
  /* Brand */
  --teal: #004F5B;
  --teal-dark: #00343D;
  --teal-soft: #E8F0F1;

  /* Neutrals */
  --cream: #FAF7F2;
  --sand: #EFE8DA;
  --sand-dark: #D9CFB8;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --line: #E4DECF;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-w: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(48px, 6.5vw, 88px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-dark); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  color: var(--teal-dark);
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
p { margin: 0 0 0.85em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-block;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout helpers --------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
section { padding-block: var(--section-y); }
.section-narrow { max-width: 880px; margin-inline: auto; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--teal);
}
.btn--ghost:hover {
  background: var(--teal);
  color: #fff;
}
.btn .icon {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Navigation -------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 80px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 52px;
  width: auto;
  transition: height .25s var(--ease);
}
@media (max-width: 720px) {
  .nav__inner { height: 64px; }
  .nav__logo img { height: 40px; }
}
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  padding: 10px 18px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.nav__phone:hover {
  background: var(--teal);
  color: #fff;
}
.nav__phone svg { width: 14px; height: 14px; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: var(--teal);
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__content { max-width: 580px; }
.hero h1 {
  margin-top: 6px;
  margin-bottom: 14px;
}
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 480px;
}
.hero__sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 440px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__visual {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--sand);
  border-radius: 4px;
  overflow: hidden;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__verse {
  margin: 16px 0 0;
  padding: 0;
}
.hero__verse p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: 0.005em;
}
.hero__verse cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Decorative magnolia mark */
.magnolia-mark {
  position: absolute;
  width: 90px; height: 90px;
  opacity: 0.12;
  color: var(--teal);
}

/* ---------- Section: About / Upoznajte Suzanu -------------------------- */
.about {
  background: var(--cream);
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.portrait-card {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.portrait-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--teal);
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.portrait-card__placeholder svg {
  width: 80px; height: 80px;
  opacity: 0.5;
}
.portrait-card__placeholder span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.about__credentials {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.credential {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.credential strong { color: var(--ink); font-weight: 500; }
.credential svg {
  width: 16px; height: 16px;
  margin-top: 4px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- Why Suzana cards ------------------------------------------- */
.why-suzana {
  background: var(--sand);
}
.why-suzana .section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--cream);
  padding: 32px 28px;
  border-radius: 4px;
  border-top: 3px solid var(--teal);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 79, 91, 0.08);
}
.value-card__icon {
  width: 44px; height: 44px;
  color: var(--teal);
  margin-bottom: 20px;
}
.value-card h3 { font-size: 24px; margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Why Samobor ------------------------------------------------ */
.why-samobor { background: var(--cream); }
.why-samobor .section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.why-samobor .lead { color: var(--muted); font-style: italic; }

.samobor-banner {
  margin: 0 0 48px;
  display: grid;
  gap: 24px;
}
.samobor-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}
.samobor-banner__caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  color: var(--teal-dark);
  text-align: center;
  max-width: 880px;
  margin: 8px auto 0;
  letter-spacing: -0.01em;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reason {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.reason:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.reason__icon {
  width: 36px; height: 36px;
  color: var(--teal);
  margin-bottom: 18px;
}
.reason h3 { font-size: 22px; margin-bottom: 10px; }
.reason p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

.samobor-closing {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--teal-dark);
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- Featured property ------------------------------------------ */
.featured { background: var(--teal); color: #fff; }
.featured h2, .featured h3 { color: #fff; }
.featured .eyebrow { color: rgba(255,255,255,0.7); }
.featured .section-head { text-align: center; margin-bottom: 56px; }
.featured__intro { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }

.property-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.property-card__photo {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.property-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.property-card__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.property-card__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.property-card h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.property-card__location {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  margin: 12px 0 24px;
  border-block: 1px solid var(--line);
}
.property-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.property-stat__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.property-stat__value {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--teal-dark);
}
.property-card p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

/* ---------- Tražim za klijente ----------------------------------------- */
.seeking {
  background: var(--cream);
}
.seeking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  position: relative;
}
.seeking__inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--teal);
}
.seeking p { color: var(--muted); font-size: 16px; }
.seeking__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}
.seeking__photo {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--sand);
}
.seeking__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.spec {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
}

/* ---------- Contact ---------------------------------------------------- */
.contact { background: var(--sand); }
.contact .section-head { text-align: center; margin-bottom: 40px; }
.contact__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--teal-dark);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
}
.form {
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 4px;
}
.form__row { margin-bottom: 18px; }
.form__row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--ink);
}
.form input,
.form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 3px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 120px; }
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.form__consent input { width: auto; margin-top: 4px; }
.form__submit { width: 100%; justify-content: center; }
.form__status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.form__status.ok { color: var(--teal); }
.form__status.err { color: #b94a4a; }

.contact-card {
  background: var(--cream);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card__person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.contact-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.contact-card__name { font-family: var(--font-display); font-size: 22px; color: var(--teal-dark); }
.contact-card__role { font-size: 13px; color: var(--muted); }

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
}
.contact-row svg {
  width: 18px; height: 18px;
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-row a { color: var(--ink); }
.contact-row a:hover { color: var(--teal); }
.contact-row__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

/* ---------- Footer ----------------------------------------------------- */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.78);
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer a { color: #fff; }
.footer a:hover { color: var(--sand-dark); }
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 28px;
}
.footer__logo img { height: 76px; width: auto; }
.footer__legal { line-height: 1.7; color: rgba(255,255,255,0.65); font-size: 13px; }
.footer__legal strong { color: #fff; font-weight: 500; }
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 8px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Mobile floating call button -------------------------------- */
.fab-call {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 79, 91, 0.32);
  z-index: 60;
}
.fab-call svg { width: 22px; height: 22px; }

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

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid,
  .about__grid,
  .contact__grid,
  .seeking__inner,
  .property-card {
    grid-template-columns: 1fr;
  }
  .hero__visual { aspect-ratio: 4 / 3; max-height: 520px; }
  .portrait-card { position: static; max-width: 380px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__phone span { display: none; }
  .nav__phone { padding: 10px 12px; }
  .nav__inner { gap: 12px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .fab-call { display: inline-flex; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  /* Buttons: allow wrap so long labels don't overflow narrow columns */
  .btn { white-space: normal; text-align: center; }

  /* Seeking section: less padding, full-width button */
  .seeking__inner {
    padding: 28px 22px;
    gap: 24px;
  }
  .seeking__inner .btn {
    width: 100%;
    justify-content: center;
  }
  .seeking__specs { gap: 8px; }
  .spec { font-size: 12.5px; padding: 7px 14px; }

  /* Cards: tighten interior padding to give content more room */
  .value-card { padding: 28px 22px; }
  .reason { padding: 22px 20px; }
  .form { padding: 24px 20px; }
  .contact-card { padding: 24px 20px; }
  .form__submit { white-space: normal; }

  /* Hero text: a touch smaller so it doesn't dominate small screens */
  .hero { padding-block: 28px 56px; }
  .hero__tagline { font-size: 20px; }

  /* About credentials: stack content cleanly */
  .credential { font-size: 13.5px; }

  /* Footer: tighter, full-width legal block */
  .footer { padding: 40px 0 24px; }
  .footer__bottom { font-size: 11.5px; }
}

@media (max-width: 380px) {
  /* Very small phones (older iPhones, narrow Androids) */
  .container { padding-inline: 16px; }
  .seeking__inner { padding: 24px 18px; }
  .value-card, .reason, .form, .contact-card { padding: 22px 18px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}

/* ---------- Legal pages — editorial layout ----------------------------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  counter-reset: legal-section;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 56px;
  transition: color .2s var(--ease);
}
.legal__back::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.legal__back:hover { color: var(--teal); }

.legal__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin: 0 0 18px;
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--teal-dark);
  margin: 0 0 24px;
  max-width: 620px;
}

.legal__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 620px;
}

.legal__meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.legal__divider {
  height: 1px;
  background: var(--line);
  margin: 56px 0 64px;
  border: 0;
  max-width: 96px;
}

.legal__section {
  margin-block: 56px;
  counter-increment: legal-section;
}
.legal__section:first-of-type { margin-top: 0; }

.legal__section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--teal-dark);
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.legal__section h2::before {
  content: counter(legal-section, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  opacity: 0.7;
}

.legal__section p,
.legal__section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.legal__section p { margin: 0 0 0.9em; }
.legal__section p:last-child { margin-bottom: 0; }
.legal__section strong { font-weight: 500; color: var(--ink); }

.legal__section ul,
.legal__section ol {
  padding-left: 0;
  margin: 1em 0;
  list-style: none;
}
.legal__section ul li,
.legal__section ol > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.65;
}
.legal__section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  opacity: 0.6;
}
.legal__section ol {
  counter-reset: legal-item;
}
.legal__section ol > li {
  counter-increment: legal-item;
}
.legal__section ol > li::before {
  content: counter(legal-item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--teal);
  opacity: 0.75;
  min-width: 24px;
}

/* Definition list — for GDPR data fields */
.legal__dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px 32px;
  margin: 1.5em 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.legal__dl dt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
}
.legal__dl dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Inline address — small left bar, no box */
.legal__address {
  margin: 1.25em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--teal);
  font-size: 15px;
  line-height: 1.65;
}
.legal__address strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

/* Channel list — for prigovori */
.legal__channels {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  display: grid;
  gap: 20px;
}
.legal__channels > li {
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--teal);
}
.legal__channels > li::before { content: none; }
.legal__channels strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 2px;
}
.legal__channels span,
.legal__channels a {
  font-size: 15px;
  color: var(--muted);
}
.legal__channels a { color: var(--teal); }

/* Editorial note (e.g. closing remarks) */
.legal__note {
  margin: 2em 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--teal-dark);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Pricing table — editorial */
.legal__pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.legal__pricing th,
.legal__pricing td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal__pricing thead th {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__pricing tbody td:first-child {
  padding-right: 32px;
  width: 45%;
}
.legal__pricing tbody td strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 2px;
}
.legal__pricing tbody td .muted {
  font-size: 13.5px;
  color: var(--muted);
}
.legal__pricing tbody tr:last-child td { border-bottom: 0; }

/* Closing signature */
.legal__signature {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  text-align: right;
}

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

@media (max-width: 640px) {
  .legal {
    padding: 40px 20px 64px;
  }
  .legal__back { margin-bottom: 36px; }
  .legal__divider { margin: 40px 0 48px; }
  .legal__section { margin-block: 40px; }
  .legal__dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
    padding: 18px 0;
  }
  .legal__dl dt { padding-top: 14px; }
  .legal__dl dt:first-of-type { padding-top: 0; }
  .legal__pricing tbody td:first-child { width: auto; padding-right: 0; }
  .legal__pricing { font-size: 14px; }
}
