/* =====================================================================
   Učenje zate — Anja Antloga
   Design: Figma "anja_2"  →  HTML / CSS / JS
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --blue: #244fc2;
  --yellow: #ffd55c;
  --orange: #f46f36;
  --light-blue: #93b1ef;
  --light-blue-25: rgba(147, 177, 239, 0.25);
  --off-white: #f7f7f7;
  --white: #ffffff;
  --black: #000000;
  --line: #e1e2e3;
  --placeholder: #c2c2c2;

  --shadow-card: 4px 12px 25px rgba(180, 180, 180, 0.15);
  --shadow-soft: 4px 12px 25px rgba(180, 180, 180, 0.2);
  --shadow-testimonial: 4px 12px 25px rgba(0, 0, 0, 0.25);

  --r-hero: 32px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-img: 24px;
  --r-sm: 16px;
  --r-pill: 999px;

  /* Bolota je plačljiva pisava iz dizajna – če je nameščena/naložena, se
     uporabi samodejno, sicer pade na Montserrat (enak geometrijski značaj). */
  --font-display: "Bolota", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 1440px;
  --gutter: 112px;
  --header-h: 115px;
  --header-gap: 20px;                                        /* razmik nad glavo */
  --header-total: calc(var(--header-h) + var(--header-gap)); /* skupna višina glave */
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  /* sidra (#kontakt …) naj se ustavijo pod fiksno glavo */
  scroll-padding-top: calc(var(--header-total) + 12px);
}

body {
  margin: 0;
  max-width: 100%;
  /* prostor za fiksno glavo */
  padding-top: var(--header-total);
  background: var(--off-white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Novejši brskalniki: "clip" reže brez ustvarjanja konteksta drsenja. */
@supports (overflow: clip) {
  html { overflow-x: clip; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { padding-inline: 48px; }

.section { padding-block: 56px; }
.section--tight { padding-block: 32px; }

/* ---------- 4. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h1 { font-size: clamp(34px, 4.6vw, 56px); }

.h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
}

.h3 {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
}

.eyebrow {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--blue);
}

.lead { font-size: 16px; line-height: 1.45; }
.small { font-size: 13px; line-height: 18px; }

.note {
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 12px 32px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.btn:active { transform: translateY(0); }

.btn--orange { background: var(--orange); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--light-blue { background: var(--light-blue); color: var(--black); }

.btn--ghost-light {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn--ghost-light:hover { background: var(--white); color: var(--blue); }

.btn--ghost-dark {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
}
.btn--ghost-dark:hover { background: var(--black); color: var(--white); }

.btn--wide { padding-inline: 60px; }
.btn--block { width: 100%; }
.btn__icon { width: 24px; height: 25px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
}

/* Text link with arrow ("Preberi več →") */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--blue);
}
.link-arrow::after {
  content: "";
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("../assets/icons/ic-chevron.svg") center / contain no-repeat;
  mask: url("../assets/icons/ic-chevron.svg") center / contain no-repeat;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}
.link-arrow:hover::after { transform: rotate(-90deg) translateY(4px); }

/* ---------- 6. Header ---------- */
/* Glava je "fixed" in ne "sticky": ker je na <body> overflow-x, telo postane
   drsni vsebnik in lepljiva glava se nanj ne bi mogla pripeti (ob scrollu bi
   odplavala z vsebino). Fiksna glava deluje ne glede na overflow.
   Prostor zanjo naredi padding-top na <body> (--header-total). */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
  /* razmik nad glavo (prej je bil na .wrap in se je poznal pri vseh sekcijah) */
  padding-top: var(--header-gap);
  background: var(--off-white);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.header--sub { background: var(--white); box-shadow: var(--shadow-card); }
.header.is-stuck { background: var(--white); box-shadow: var(--shadow-card); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: block;
  width: 81px;
  flex: none;
}
.logo img { width: 100%; }
.logo__mark { height: 55px; object-fit: contain; object-position: left top; }
.logo__text { height: 11px; object-fit: contain; object-position: left; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 39px; }
.nav a {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
  padding-block: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right 0.22s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }

.header__cta { min-width: 150px; }

/* Hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel (po mobilnem dizajnu)
   Zaprt panel je odmaknjen v LEVO (-100%), ne v desno: vsebina desno od
   platna v nekaterih mobilnih brskalnikih (Samsung Internet) razširi
   dokument, brskalnik pa nato stran pomanjša — levo od izhodišča se to
   ne zgodi. */
.mobile-menu {
  position: fixed;
  /* Panel pokrije CEL zaslon (tudi glavo): lepljiva glava ob zaklenjenem
     drsenju ni vedno vidna, zato ima meni svoj logotip in gumb za zapiranje. */
  inset: 0;
  z-index: 70;
  background: var(--off-white);
  padding: 0 20px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  margin-bottom: 8px;
}
.mobile-menu__close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--black);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.25s ease, color 0.2s ease;
}
.mobile-menu__close:hover { background: var(--light-blue-25); color: var(--blue); transform: rotate(90deg); }
.mobile-menu__close svg { width: 24px; height: 24px; display: block; }
.mobile-menu a.mobile-menu__link {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 38px;
  padding-block: 9px;
}
.mobile-menu__contact { margin-top: 40px; display: grid; gap: 16px; }
.mobile-menu__contact h2 { font-size: 24px; font-weight: 700; }

/* ---------- 7. Hero (domov) ---------- */
.hero {
  position: relative;
  margin-inline: 48px;
  margin-top: 0;
  background: var(--blue);
  border-radius: var(--r-hero);
  overflow: hidden;
  min-height: 673px;
  display: flex;
  align-items: center;
  color: var(--off-white);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  padding: 80px 67px;
}

.hero__title { color: var(--off-white); max-width: 12ch; }
.hero__text { margin-top: 32px; max-width: 540px; }
.hero .btn-row { margin-top: 40px; }

.hero__media {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 52%;
  max-width: 728px;
  height: 94%;
  z-index: 2;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  left: 12%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 1;
}
.hero__photo {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 92%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

/* Podstran hero */
.subhero {
  position: relative;
  margin-inline: 48px;
  background: var(--blue);
  border-radius: var(--r-hero);
  overflow: hidden;
  min-height: 298px;
  display: flex;
  align-items: center;
  color: var(--off-white);
  margin-top: 56px;
}
.subhero__pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.subhero__shape {
  position: absolute;
  right: 40px; top: 0;
  height: 100%;
  width: auto;
  opacity: 0.9;
}
.subhero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 67px;
  max-width: 720px;
}
.subhero__title { color: var(--off-white); }
.subhero__text { margin-top: 16px; max-width: 390px; color: var(--white); }

/* ---------- 8. Partnerji ---------- */
.partners {
  position: relative;
  z-index: 3;
  margin-top: -66px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 56px);
  /* Logotipi so v eni vrsti in se dajo premikati na vseh velikostih zaslona.
     Ko JS doda samodejni trak (.partners--marquee), se overflow skrije. */
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.partners::-webkit-scrollbar { display: none; }

.partners img {
  flex: none;
  height: 85px;
  width: auto;
  /**max-width: 150px;
  object-fit: contain;**/
  filter: grayscale(1) contrast(1.25);
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.partners img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- 9. Section headings ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 409px);
  gap: 48px;
  align-items: start;
  padding-block: 56px;
}
.section-head__title { max-width: 559px; }
.section-head .eyebrow { margin-bottom: 24px; display: block; }
.section-head__aside { padding-top: 52px; }

.bullets { display: grid; gap: 4px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- 10. Storitve (velike kartice) ---------- */
.service {
  background: var(--light-blue-25);
  border-radius: var(--r-md);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 671px) minmax(0, 458px);
  gap: 24px;
  align-items: center;
}
.service + .service { margin-top: 35px; }

.service__icon { width: 30px; height: 29px; }
.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.06;
  color: var(--blue);
  margin-block: 16px;
}
.service__list { display: grid; gap: 8px; color: var(--blue); }
.service__list li { position: relative; padding-left: 21px; }
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.service__foot {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.price { display: flex; align-items: baseline; gap: 8px; color: var(--blue); }
.price__from { font-size: 13px; line-height: 18px; }
.price__value { font-size: 24px; font-weight: 700; line-height: 1.2; }
.price__unit { font-size: 13px; line-height: 18px; }

.service__media {
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 458 / 279;
}
.service__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 11. Citat ---------- */
.quote {
  margin-block: clamp(40px, 7vw, 112px);
  background: var(--light-blue-25);
  border-radius: var(--r-lg);
  padding: 64px 25px 56px;
  text-align: center;
  color: var(--blue);
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 0.92;
  max-width: 900px;
  margin-inline: auto;
}
.quote__author {
  margin-top: 24px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- 12. O meni ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 392px);
  gap: 80px;
  align-items: center;
  padding-block: 56px;
}
.about__text { max-width: 597px; margin-top: 24px; display: grid; gap: 16px; }
.about .btn { margin-top: 48px; }

.about__media { position: relative; clip-path: none !important;}
.about__frame {
  position: relative;
  background: var(--yellow);
  border-radius: var(--r-img);
  aspect-ratio: 392 / 426;
}
.about__photo {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  border-radius: var(--r-img);
  object-fit: cover;
  object-position: top center;
}
.badge {
  position: absolute;
  right: -22px;
  bottom: -32px;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-card);
  padding: 16px;
  width: 212px;
}
.badge__avatars { display: flex; }
.badge__avatars img { width: 24px; height: 24px; }
.badge__avatars img + img { margin-left: -10px; }
.badge__text { margin-top: 8px; font-size: 16px; }
.badge__text b { text-transform: uppercase; }

/* ---------- 13. Prednosti (4 kartice) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 21px;
  padding-block: 56px;
}
.feature {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.feature__ic {
  flex: none;
  width: 65px; height: 64px;
  border-radius: 10px;
  background: var(--light-blue-25);
  display: grid;
  place-items: center;
  padding: 14px;
}
/* velikosti ikon so prevzete iz Figme (target 38, mortarboard 53×47, online 49×50) */
.feature__ic img { width: 38px; height: 38px; object-fit: contain; }
.feature__ic img[src$="ic-mortarboard.png"] { width: 53px; height: 47px; }
.feature__ic img[src$="ic-online.png"] { width: 49px; height: 50px; }
.feature h3 { margin-bottom: 8px; }

/* ---------- 14. Mnenja ---------- */
.testimonials {
  background: var(--blue);
  border-radius: var(--r-lg);
  color: var(--white);
  padding: 60px 0 60px 54px;
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.testimonials__title { color: var(--white); max-width: 503px; }
.testimonials__text { margin-top: 24px; max-width: 367px; }

.slider-nav { display: flex; gap: 32px; margin-top: 40px; }
.slider-nav button {
  width: 71px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.slider-nav button:hover { transform: translateY(-2px); }
.slider-nav button.is-off { opacity: 0.35; }
.slider-nav button.is-off:hover { transform: none; }
.slider-nav img { width: 71px; height: 40px; }
.slider-nav button:first-child img { transform: scaleX(-1); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter img { width: 16px; height: 16px; }
.filter[aria-pressed="true"],
.filter:hover { background: var(--white); color: var(--blue); }

.testimonials__inner { min-width: 0; }

.slider {
  display: flex;
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.slider::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 445px;
  max-width: 100%;
  scroll-snap-align: start;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-hero);
  box-shadow: var(--shadow-testimonial);
  padding: 40px;
}
.testimonial__stars { width: 131px; height: 19px; }
.testimonial__quote { margin-top: 24px; }
.testimonial__person { display: flex; align-items: center; gap: 15px; margin-top: 24px; }
.testimonial__person img { width: 52px; height: 52px; }
.testimonial__name { font-weight: 700; text-transform: uppercase; }
.testimonial__role { font-size: 13px; line-height: 18px; }

/* ---------- 15. Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 505px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-block: 56px;
}
.contact__title { margin-top: 24px; max-width: 471px; }
.contact__list { display: grid; gap: 16px; margin-top: 54px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list img { width: 22px; height: 20px; object-fit: contain; }
.contact__list a:hover { color: var(--blue); text-decoration: underline; }

.contact__box {
  margin-top: 49px;
  background: var(--blue);
  color: var(--white);
  border-radius: 11px;
  padding: 16px 22px;
}
.contact__map {
  display: block;
  margin-top: 10px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact__map img { width: 100%; }

/* Obrazec */
.form-card {
  background: var(--white);
  border-radius: 25px;
  padding: 31px 50px;
  box-shadow: var(--shadow-card);
}
.field { display: grid; gap: 15px; margin-bottom: 28px; }
.field > label { font-size: 16px; }
.field .optional { color: rgba(0, 0, 0, 0.25); }

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--placeholder);
  background: var(--white);
  border-radius: 60px;
  padding: 11px 24px;
  min-height: 46px;
  font: inherit;
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.textarea { border-radius: 12px; min-height: 165px; resize: vertical; padding-top: 16px; }
.input::placeholder,
.textarea::placeholder { color: var(--placeholder); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  border-width: 2px;
  box-shadow: var(--shadow-card);
}
.select {
  appearance: none;
  color: var(--placeholder);
  background-image: url("../assets/icons/ic-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px;
  padding-right: 48px;
}
.select.has-value { color: var(--black); }

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--orange); }
.error {
  display: none;
  color: var(--orange);
  font-size: 13px;
  line-height: 18px;
}
.field.is-invalid .error { display: block; }

/* Soglasje (GDPR) */
.field--check { gap: 8px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.check input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.check a { color: var(--blue); text-decoration: underline; }
.field--check.is-invalid .check { color: var(--orange); }

.form-status {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--light-blue-25);
  font-size: 13px;
  display: none;
}
.form-status.is-visible { display: block; }

/* ---------- 15b. Past za robotke (skrito polje) ---------- */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 15c. Pojavno okno ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 79, 194, 0.35);
  backdrop-filter: blur(3px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 48px 40px 40px;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--black);
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal__close:hover { background: var(--off-white); transform: rotate(90deg); }

.modal__check {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--light-blue-25);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.modal__title {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--blue);
  margin-bottom: 12px;
}

.modal__text { color: var(--black); }
.modal__btn { margin-top: 28px; min-width: 160px; }

/* Različica ob napaki */
.modal--error .modal__check { background: rgba(244, 111, 54, 0.15); color: var(--orange); }
.modal--error .modal__title { color: var(--orange); }

/* ---------- 16. CTA ---------- */
.cta {
  /* v dizajnu ima ta pas 112 px prostora nad in pod sabo */
  margin-block: clamp(40px, 7vw, 112px);
  background: var(--light-blue-25);
  border-radius: var(--r-lg);
  padding: 64px 25px;
  text-align: center;
  color: var(--blue);
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 0.92;
  max-width: 958px;
  margin-inline: auto;
}
.cta__sub {
  margin-top: 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cta .btn { margin-top: 24px; }

/* ---------- 16b. Pogosta vprašanja (AEO) ---------- */
.faq { padding-block: 56px; }
.faq__list { display: grid; gap: 12px; margin-top: 40px; }

.faq__item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 18px);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: inherit; font-weight: inherit; line-height: inherit; margin: 0; }
.faq__item summary:hover { color: var(--blue); }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-blue-25) url("../assets/icons/ic-chevron.svg") center / 20px no-repeat;
  transition: transform 0.3s ease, background-color 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item[open] summary { color: var(--blue); }

.faq__answer { padding: 0 28px 24px; max-width: 68ch; }
.faq__answer a { color: var(--blue); text-decoration: underline; }

/* ---------- 16c. Pravne strani ---------- */
.legal {
  max-width: 760px;
  padding-block: 56px;
}
.legal h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--blue);
}
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: grid; gap: 6px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal code {
  background: var(--off-white);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 13px;
}
.legal__meta { font-size: 13px; color: #6b6b6b; }
.legal__note { font-size: 12px; color: #6b6b6b; }

.legal__todo {
  background: var(--yellow);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 15px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal__table thead th { background: var(--light-blue-25); font-weight: 700; }
.legal__table tr:last-child td { border-bottom: 0; }

/* ---------- 16d. Obvestilo o piškotkih ---------- */
.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(420px, calc(100vw - 40px));
}
.cookie[hidden] { display: none; }

.cookie__card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 24px 26px;
  border-top: 4px solid var(--blue);
}
.cookie__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cookie__text { font-size: 13px; line-height: 1.6; }
.cookie__text a { color: var(--blue); text-decoration: underline; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie__actions .btn { flex: 1 1 auto; }

/* Mobilno: obvestilo je pritrjeno na spodnji rob zaslona kot "bottom sheet". */
@media (max-width: 640px) {
  .cookie {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
  }
  .cookie__card {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-top: 5px solid var(--blue);
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
  }
  .cookie__title { font-size: 17px; }
  .cookie__text { font-size: 13px; }
  .cookie__actions { flex-direction: column; gap: 8px; margin-top: 16px; }
  .cookie__actions .btn { width: 100%; }
}

/* ---------- 16e. Preskoči na vsebino ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--light-blue-25);
  border-radius: var(--r-lg);
  margin-top: 56px;
  padding: 48px 90px 27px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 64px;
  align-items: start;
}
.footer__tagline { margin-top: 24px; font-size: 14px; line-height: 1.55; max-width: 231px; }
.footer h2 { font-size: 16px; font-weight: 600; margin-bottom: 32px; }
.footer ul { display: grid; gap: 12px; }
.footer a:hover { color: var(--blue); }
.footer__copy {
  margin-top: 56px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
}

/* ---------- 18. Cenik ---------- */
.price-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 78px;
  padding-block: 24px;
}
.price-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 100%;
  border-collapse: collapse;
}
.price-table caption {
  text-align: left;
  font-weight: 700;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.price-table th,
.price-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: right;
}
.price-table th { text-align: left; font-weight: 700; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.price-old { color: var(--placeholder); text-decoration: line-through; margin-left: 8px; }

/* ---------- 18b. Izkušnje (O meni) ---------- */
.experience {
  position: relative;
  background: var(--light-blue-25);
  border-radius: var(--r-lg);
  padding: 74px 65px;
  overflow: hidden;
}
.experience__head {
  display: grid;
  grid-template-columns: minmax(0, 571px) minmax(0, 367px);
  gap: 48px;
  align-items: end;
}
.experience__body { position: relative; z-index: 2; max-width: 656px; margin-top: 48px; display: grid; gap: 19px; }
.experience__list { display: grid; gap: 8px; }
.experience__list li { position: relative; padding-left: 25px; }
.experience__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.experience__shape { position: absolute; right: 0; bottom: 0; width: 22%; max-width: 268px; }

@media (max-width: 1024px) {
  .experience { padding: 40px 24px; }
  .experience__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .experience__shape { display: none; }
}

/* ---------- 19. Lektoriranje ---------- */
.steps { display: grid; gap: 16px; margin-top: 24px; max-width: 666px; list-style: none; padding: 0; }
.step { display: grid; grid-template-columns: 16px 1fr; gap: 16px; align-items: start; }
.step__no { font-weight: 700; color: var(--blue); text-align: center; }
.step ul { list-style: disc; padding-left: 24px; margin-top: 8px; display: grid; gap: 4px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 666px) minmax(0, 392px);
  gap: 80px;
  align-items: center;
  padding-block: 56px;
}
.split__media {
  background: var(--yellow);
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 392 / 426;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 20. Gibanje ---------- */
/* Animacije so v css/animations.css. Tu je le sistemski preklop. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 56px; }
  .hero__inner { padding: 64px 40px; }
  .subhero__inner { padding: 48px 40px; }
  .footer { padding-inline: 56px; }
  .testimonials { padding-left: 40px; }
  .price-tables { gap: 40px; }
}

@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head__aside { padding-top: 0; }
  .service { grid-template-columns: 1fr; }
  .service__media { order: -1; aspect-ratio: 16 / 9; }
  .about,
  .split { grid-template-columns: 1fr; gap: 64px; }
  .about__media,
  .split__media { max-width: 420px; }
  .badge { right: 0; }
  .contact { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: minmax(0, 1fr); padding: 40px 0 40px 32px; }
  .testimonials > div:first-child { padding-right: 32px; }
  .testimonials__inner { padding-right: 32px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --header-h: 84px; }

  .nav,
  .header__cta { display: none; }
  .burger { display: block; }
  .logo { width: 60px; }
  .logo__mark { height: 40px; }
  .logo__text { height: 9px; }

  .hero,
  .subhero { margin-inline: 16px; }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding: 40px 24px 0; gap: 24px; }
  .hero__media {
    position: relative;
    right: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 728 / 620;
  }
  .subhero { min-height: 200px; }
  .subhero__inner { padding: 32px 24px; }
  .subhero__shape { opacity: 0.35; }

  .partners { margin-top: -40px; gap: 24px; padding: 20px; }
  .partners img { height: 75px; }

  .features { grid-template-columns: 1fr; }
  .feature { gap: 20px; }
  .form-card { padding: 24px 20px; }
  .footer { padding: 32px 24px 24px; border-radius: 0; margin-inline: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__copy { margin-top: 32px; }
  .price-tables { grid-template-columns: 1fr; gap: 32px; }
  /* ena kartica zapolni širino drsnika, naslednja rahlo pokuka */
  .testimonial { flex: 0 0 calc(100% - 28px); padding: 28px; }
  .testimonial[hidden] { display: none; }
  .quote,
  .cta { padding: 40px 20px; }
  .badge { width: 180px; right: -8px; bottom: -24px; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  .service__foot { gap: 16px; }
  .partners { gap: 18px; }
  .partners img { height: 65px; }
}
