:root {
  --bg: #f5efe4;
  --bg-soft: #fbf7ef;
  --green: #123f32;
  --text: #2b2924;
  --gold: #a77b3e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* GLAVA */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 231, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 31, 29, 0.10);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.brand:visited,
.brand:hover,
.brand:active {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.05;
  color: var(--green);
}

.brand-line {
  font: 9px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(31, 31, 29, 0.55);
  margin-top: 3px;
}

header .nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 12px Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

header .nav nav a,
header .nav nav a:visited,
header .nav nav a:active {
  display: inline-block;
  color: rgba(31, 31, 29, 0.62);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

header .nav nav a:hover {
  color: #8e1f1b;
}

header .nav nav a.active {
  color: rgba(31, 31, 29, 0.62);
  font-weight: 500;
  border-bottom-color: transparent;
}

header .nav nav a.active:hover {
  color: #8e1f1b;
}

/* HERO */

.hero {
  min-height: 645px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(245, 239, 228, 1) 0%, rgba(245, 239, 228, 0.98) 26%, rgba(245, 239, 228, 0.78) 43%, rgba(245, 239, 228, 0.22) 61%, rgba(245, 239, 228, 0) 78%),
    url("../images/govornistvo-hero.jpg");
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid rgba(162, 132, 89, 0.22);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 34px 88px;
}

.hero-copy {
  max-width: 540px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-line {
  margin: 30px 0 0;
  color: #7c5a2f;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 500px;
  font-size: 18px;
  color: #2d302a;
  line-height: 1.68;
}

/* OSNOVNA STRUKTURA */

main {
  background: var(--bg-soft);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 34px;
}

.section + .section {
  border-top: 1px solid rgba(162, 132, 89, 0.20);
}

.narrow {
  max-width: 910px;
}

h2 {
  margin: 0 0 28px;
  color: var(--green);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.title-rule {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin: -16px 0 30px;
}

p {
  margin: 0 0 22px;
  font-size: 18px;
}

p:last-child {
  margin-bottom: 0;
}

/* OSREDNJI POUDARJENI SKLOP */

.statement {
  background: linear-gradient(180deg, #efe6d7 0%, #f4eadc 100%);
  border-top: 1px solid rgba(162, 132, 89, 0.22);
  border-bottom: 1px solid rgba(162, 132, 89, 0.22);
}

.statement-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 70px 34px;
  text-align: center;
}

.statement-title {
  margin: 0 0 28px;
  color: var(--green);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.statement p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #3b392f;
}

/* STOLPCI IN TEME */

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px 88px;
  align-items: start;
}

.two-columns.with-divider {
  gap: 72px;
}

.two-columns.with-divider > div + div {
  border-left: 1px solid rgba(162, 132, 89, 0.28);
  padding-left: 58px;
}

.topic {
  margin-bottom: 34px;
}

.topic:last-child {
  margin-bottom: 0;
}

.topic h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.topic p {
  margin: 0;
  font-size: 17px;
  color: #36342d;
  line-height: 1.58;
}

.intro-text {
  max-width: 900px;
  margin-bottom: 42px;
}

.paired-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.paired-sections > section + section {
  border-left: 1px solid rgba(162, 132, 89, 0.28);
  padding-left: 58px;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 46px;
  margin-top: 32px;
}

.forms-grid + p {
  margin-top: 44px;
}

/* KONTAKT */

.contact {
  background: #efe6d7;
  border-top: 1px solid rgba(162, 132, 89, 0.25);
}

.contact-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 34px 76px;
  text-align: center;
}

.email {
  display: inline-block;
  margin: 4px 0 22px;
  color: var(--green);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  border-bottom: 2px solid rgba(167, 123, 62, 0.55);
  overflow-wrap: anywhere;
}

.contact p {
  max-width: 690px;
  margin-left: auto;
  margin-right: auto;
}

/* NOGA */

.footer {
  padding: 26px 34px 34px;
  color: #6e675c;
  text-align: center;
  font-size: 14px;
  background: var(--bg);
  border-top: 1px solid rgba(162, 132, 89, 0.18);
}

/* TABLIČNI IN MANJŠI POGLED */

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(245, 239, 228, 0.95) 0%, rgba(245, 239, 228, 0.92) 54%, rgba(245, 239, 228, 0.72) 100%),
      url("../images/govornistvo-hero.jpg");
    background-position: center right;
  }

  .hero-inner {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .two-columns,
  .paired-sections,
  .forms-grid {
    grid-template-columns: 1fr;
  }

  .two-columns.with-divider > div + div,
  .paired-sections > section + section {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(162, 132, 89, 0.24);
    padding-top: 48px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}

/* MOBILNI POGLED */

@media (max-width: 800px) {
  header .nav {
    width: 100%;
    max-width: none;
    padding: 14px 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  header .brand {
    justify-content: center;
    gap: 10px;
    text-align: left;
  }

  header .brand-logo {
    width: 32px;
    height: 32px;
  }

  header .brand-name {
    font-size: 16px;
    line-height: 1.05;
  }

  header .brand-line {
    font-size: 8px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  header .nav nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .hero-inner,
  .section,
  .statement-inner,
  .contact-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1 {
    font-size: 49px;
  }

  .hero-line {
    font-size: 20px;
  }

  p,
  .hero-text {
    font-size: 17px;
  }

  .email {
    font-size: 29px;
  }
}