@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/karla-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/karla-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/karla-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/karla-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink-deep: #0E2A2C;
  --ink-deep-2: #16393B;
  --gold: #A87B37;
  --gold-on-paper: #85612B;
  --gold-on-dark: #B4843B;
  --gold-lit: #C79C56;
  --olive: #567C4B;
  --sage: #ACC791;
  --clay: #B4553A;
  --paper: #FFF8E4;
  --paper-2: #F1E7D0;
  --ink: #1A2420;
  --ink-muted: #5A6660;
  
  --gold-40: rgba(168, 123, 55, 0.4);
  --gold-55: rgba(168, 123, 55, 0.55);

  --display: "Bodoni Moda", Didot, Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --radius: 0;

  --s-1: .5rem;
  --s-2: 1rem;
  --s-3: 1.75rem;
  --s-4: 3rem;
  --s-5: 5rem;
  --s-6: 7.5rem;
  
  --container: 72rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
img[src*="efv-logo.svg"] { clip-path: ellipse(38.9% 37.7% at 49.9% 50.3%); }

/* Typography */
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: var(--s-3); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: var(--s-3); }
h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: 0; }

.eyebrow { font-family: var(--body); font-weight: 600; font-size: .8rem; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; margin-bottom: var(--s-2); color: var(--gold-on-paper); }
.label { font-family: var(--body); font-weight: 600; font-size: .75rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.note, .t-small { font-family: var(--body); font-weight: 400; font-size: .82rem; line-height: 1.55; }
.lede { font-size: 1.1rem; line-height: 1.6; max-width: 48rem; margin: 0 auto var(--s-4); }

.prose p { margin-bottom: var(--s-2); }
.prose p:last-child { margin-bottom: 0; }
.prose { max-width: 42rem; margin: 0 auto; }
.text-center { text-align: center; }

/* Surfaces */
.surface-0 { background: var(--ink-deep); color: var(--paper); }
.surface-0 .eyebrow { color: var(--gold-on-dark); }
.surface-0 h1, .surface-0 h2, .surface-0 h3 { color: var(--paper); }
.surface-0 a:not(.btn) { color: var(--paper); }
.surface-0 .note { color: rgba(255,248,228,0.7); }

.surface-1 { background: var(--paper); color: var(--ink); }
.surface-1 a:not(.btn) { color: var(--ink); }
.surface-1 .note { color: var(--ink-muted); }

.surface-2 { background: var(--paper-2); color: var(--ink); }
.surface-2 a:not(.btn) { color: var(--ink); }
.surface-2 .note { color: var(--ink-muted); }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }

.section-pad { padding-top: var(--s-6); padding-bottom: var(--s-6); }
.section-pad-sm { padding-top: var(--s-5); padding-bottom: var(--s-5); }
@media (max-width: 900px) {
  .section-pad { padding-top: var(--s-5); padding-bottom: var(--s-5); }
  .section-pad-sm { padding-top: var(--s-4); padding-bottom: var(--s-4); }
  .brand-crest { width: 108px; height: 108px; }
  .hero { padding-top: 90px; }
}
.section-head { margin-bottom: var(--s-4); }

/* Buttons & Links */
.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--paper);
  border-radius: var(--radius);
  padding: var(--s-2) var(--s-3);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s, color 0.18s;
}
.btn:hover { background: color-mix(in srgb, var(--clay) 92%, black); }
.btn:disabled { opacity: 0.6; cursor: wait; }
a { color: var(--ink); text-underline-offset: 0.2em; transition: color 0.15s; }
a:hover { color: var(--clay); }

/* Focus Rings */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-lit); outline-offset: 2px;
}

/* Header */
.site-header {
  position: relative; overflow: visible; z-index: 50;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--gold-55);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: .8rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.brand { position: absolute; left: 50%; transform: translateX(-50%); top: .6rem; z-index: 5; line-height: 0; }
/* Navigācija dalīta ap centrēto medaljonu — ar vienu labo bloku 1440px platumā
   "The company" pazuda zem ģerboņa. Katra puse aizņem vienādu daļu, centrs paliek brīvs. */
.site-nav { display: flex; gap: 1.8rem; align-items: center; flex: 1 1 0; }
.site-nav-left { justify-content: flex-start; }
.site-nav-right { justify-content: flex-end; }
/* :not(.btn) — poga tagad dzīvo navigācijas iekšienē, un bez šī tā pārmantotu
   lielos burtus un izretinājumu no saišu noteikuma. */
.site-nav a:not(.btn) {
  color: var(--paper); text-decoration: none; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .16em;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 0;
}
.site-nav a:not(.btn):hover { color: var(--gold-lit); }
.header-cta { padding: .7rem 1.3rem; font-size: .9rem; }
.nav-toggle { display: none; }

/* Signature Divider */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rule::before, .rule::after {
  content: ''; flex: 1; border-bottom: 1px solid;
}
.surface-0 .rule::before, .surface-0 .rule::after { border-bottom-color: var(--gold-55); }
.surface-1 .rule::before, .surface-1 .rule::after { border-bottom-color: var(--gold-40); }
.surface-2 .rule::before, .surface-2 .rule::after { border-bottom-color: var(--gold-40); }
.rule span {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 1rem;
  flex-shrink: 0;
}

/* Hero */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; padding-top: 140px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Vinjete, ne vienmērīgs scrim. Vienmērīgs prasa izvēlēties starp lasāmu tekstu un redzamu bildi:
   pie .52 sveču atspīdumi nogāž lokālo kontrastu uz 2.5, pie .84 bilde pazūd. Šeit centrs, kur
   sēž teksts, ir ~.91 blīvs, malas ~.46, tāpēc galds un gaismas paliek redzamas. */
.hero-scrim {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
  background:
    radial-gradient(ellipse 72% 62% at 50% 48%, rgba(14,42,44,.88) 0%, rgba(14,42,44,.72) 45%, rgba(14,42,44,.10) 100%),
    linear-gradient(rgba(14,42,44,.25), rgba(14,42,44,.42));
}
.hero-inner { position: relative; z-index: 2; padding: 0 1.5rem; max-width: 48rem; text-align: center; }
/* Hero eyebrow ir KRĒMS, ne zelts. Zelts uz foto prasītu scrim .84, kas noslīcina pašu bildi;
   ar krēmu pietiek ar .52 un fotogrāfija paliek redzama. Zelts turpinās visās plakanā fona sekcijās. */
.hero .eyebrow { color: var(--paper); }

/* Brand */
.brand-crest { width: 172px; height: 172px; }

/* Cards / Offer Tiles */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }
.offer-tile {
  background: var(--paper);
  border: 1px solid var(--gold-40);
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.offer-tile:hover { border-color: var(--gold-lit); }
.offer-tile img {
  aspect-ratio: 10 / 7; object-fit: cover; width: 100%;
  filter: saturate(0.85); transition: filter 0.2s;
}
.offer-tile:hover img { filter: saturate(1); }
.offer-tile-body { padding: var(--s-3) var(--s-2); display: flex; flex-direction: column; text-align: left; }
.offer-tile-body h3 { color: var(--ink); margin-bottom: var(--s-1); }
.offer-tile-body p { color: var(--ink-muted); margin-bottom: 0; font-size: 1rem; }

/* Company Plate */
.company-plate {
  border-top: 1px solid var(--gold-40);
  border-bottom: 1px solid var(--gold-40);
  text-align: left;
}
.company-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-2);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--gold-40);
}
.company-row:last-child { border-bottom: none; }
.company-row dt { color: var(--gold-on-paper); display: flex; align-items: center; }
.company-row dd { color: var(--ink); font-weight: 400; }
@media (max-width: 600px) {
  .company-row { grid-template-columns: 1fr; gap: 0.2rem; padding: var(--s-3) 0; }
}

/* Images & Media */
.wide-band { width: 100%; aspect-ratio: 21/9; object-fit: cover; margin-top: var(--s-4); }

/* Form */
.inquiry-form {
  border: 1px solid var(--gold-40);
  padding: var(--s-4) var(--s-3);
  background: var(--paper);
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-bottom: var(--s-3); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.inquiry-form label {
  display: flex; flex-direction: column; gap: var(--s-1);
  color: var(--gold-on-paper); font-family: var(--body); font-weight: 600;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
}
.inquiry-form .optional {
  color: var(--ink-muted); text-transform: none; letter-spacing: 0;
  font-weight: 400; font-size: .75rem; /* rem, ne em: .85em uz 12px etiķetes deva 10.2px */
}
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  border: 1px solid var(--gold-40);
  background: transparent; color: var(--ink);
  padding: var(--s-2); border-radius: 0;
  font-family: var(--body); font-size: 1.02rem;
  width: 100%;
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: 3px solid var(--gold-lit); outline-offset: 2px; border-color: var(--gold-lit);
}
.inquiry-form > label { margin-bottom: var(--s-3); }
.btn-submit { width: 100%; padding: 1.1rem; }
.hp { position: absolute; left: -6000px; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: var(--s-2); font-size: .95rem; min-height: 1.4rem; text-align: center; }
.form-status.ok { color: var(--olive); }
.form-status.err { color: var(--clay); }

/* Footer */
/* Bez apvalka gredzena: 96px aplis ar zelta apmali ap 72px zīmi atstāja redzamu
   atstarpi. Ģerbonim jau ir savs navy gredzens — otrs tam apkārt ir troksnis. */
.footer-crest { width: 140px; height: 140px; margin: 0 auto var(--s-3); }
@media (max-width: 720px) { .footer-crest { width: 104px; height: 104px; } }
.footer-brand { font-family: var(--display); font-size: 1.5rem; color: var(--paper); margin-bottom: var(--s-1); }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile Nav — medaljons iet parastajā plūsmā, nevis absolūti, citādi tas aizsegtu
   izkrītošo izvēlni. Abas navigācijas atveras vertikāli zem tā, nevis viena otrai virsū. */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-inner { justify-content: center; padding: .6rem 1.5rem; }
  .brand { position: static; transform: none; margin: 0 auto; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    position: absolute; right: 1rem; top: 1.4rem; z-index: 6;
    background: none; border: none; padding: .6rem; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--paper); transition: transform .2s ease, opacity .2s ease; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open .header-inner { flex-wrap: wrap; gap: 0; } /* gap:0 — citādi header-inner 2rem atstarpe
     starp abiem nav blokiem sadala izvēlni divās nesaistītās grupās */
  .nav-open .site-nav {
    display: flex; flex-direction: column; gap: 0;
    flex: 1 0 100%; padding: .5rem 0 0;
  }
  .nav-open .site-nav-left { border-top: 1px solid var(--gold-55); margin-top: .8rem; padding-top: .8rem; }
  .nav-open .site-nav a { padding: .8rem 1rem; text-align: center; }
  .nav-open .header-cta { margin: .4rem auto 0; display: inline-block; }
}
