/* =====================================================================
   UTENOS — firminis stilius (Vizualinio identiteto gairės 2026 v1.0)
   Šaltinis: S:\8. Prekes zenklo vystymo skyrius\Vidinis\6.RINKODARA\00_BB_2026.09\UTENOS_brandbook.pdf
   Kelias iki šriftų — santykinis: šis failas šalia aplanko fonts/.
   ===================================================================== */

/* ---------- Šriftai (OFL, self-hosted; latin + latin-ext = LT raidės) ---------- */
/* Pagrindinis šriftas = Tenor Sans, bet NAUDOTI "UT Sans" (ut-sans.woff2): tai Tenor Sans be TrueType hinting.
   Originalus Tenor Sans (ir Google Fonts / fontsource versija) Windows naršyklėse < ~50px NEPIEŠIA
   ženklų virš didžiųjų raidžių: Š→S, Č→C, Ė→E, Ž→Z (patikrinta Edge 2026-11-12). Pervadinta pagal OFL RFN. */
@font-face { font-family: "UT Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/web/ut-sans.woff2") format("woff2"); }

@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/web/playfair-display-latin-ext-400-italic.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: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/web/playfair-display-latin-400-italic.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: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/web/poppins-latin-ext-300-normal.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: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/web/poppins-latin-300-normal.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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/web/poppins-latin-ext-400-normal.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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/web/poppins-latin-400-normal.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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/web/poppins-latin-ext-500-normal.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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/web/poppins-latin-500-normal.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; }
/* Breaking Road — komercinis, failo neturime. Jei bus gautas: fonts/web/breaking-road.woff2 */
@font-face { font-family: "Breaking Road"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/web/breaking-road.woff2") format("woff2"); }

/* ---------- Spalvos ir kintamieji ---------- */
:root {
  /* 6 firminės spalvos — kitų nenaudoti */
  --ut-juoda:   #000000;  /* Pantone Black C */
  --ut-moka:    #4D403B;  /* Tamsiai moka, Pantone 411 C */
  --ut-zalia:   #9FBFB3;  /* Šalavijų žalia, Pantone 5575 C — tik fonams / dekorui */
  --ut-linas:   #DFD8D0;  /* Šiltas linas, Pantone Warm Gray 1 C */
  --ut-balta:   #F7F6F2;  /* Natūrali balta, Pantone Cool Gray 1 */
  --ut-koral:   #D96B4D;  /* Koralinė raudona, Pantone 171 C — akcentas, ne smulkiam tekstui */
  --ut-white:   #FFFFFF;  /* gryna balta — leidžiama fonui (svetainės maketas) */

  --ut-text:    var(--ut-juoda);
  --ut-text-2:  var(--ut-moka);
  --ut-bg:      var(--ut-white);
  --ut-bg-soft: var(--ut-balta);
  --ut-bg-band: var(--ut-linas);
  --ut-line:    var(--ut-linas);
  --ut-line-strong: var(--ut-moka);

  --ut-font:        "UT Sans", "Segoe UI", Arial, sans-serif;              /* pagrindinis (= Tenor Sans) */
  --ut-font-accent: "Playfair Display", Georgia, "Times New Roman", serif; /* tik italic */
  --ut-font-util:   "Poppins", "Segoe UI", Arial, sans-serif;              /* smulkūs, formalūs */
  --ut-font-script: "Breaking Road", "Playfair Display", Georgia, serif;   /* pavieniai emociniai žodžiai */

  --ut-gutter: clamp(16px, 5vw, 72px);   /* ≈ 1/14 pločio (maketo tinklelis 14×16) */
  --ut-max: 1440px;
  --ut-radius: 2px;                      /* beveik stačiakampiai elementai */
}

/* ---------- Pagrindas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ut-bg); color: var(--ut-text);
  font-family: var(--ut-font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 1px solid var(--ut-juoda); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--ut-font); font-weight: 400; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.2vw, 56px); }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 15px; letter-spacing: .06em; }
p  { margin: 0 0 1em; }

.ut-accent  { font-family: var(--ut-font-accent); font-style: italic; text-transform: none; letter-spacing: 0; }
.ut-script  { font-family: var(--ut-font-script); font-style: normal; text-transform: none; letter-spacing: 0; }
.ut-small   { font-family: var(--ut-font-util); font-size: 12px; line-height: 1.5; }
.ut-label   { font-family: var(--ut-font-util); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ut-muted   { color: var(--ut-moka); }

.ut-container { width: 100%; max-width: var(--ut-max); margin: 0 auto; padding: 0 var(--ut-gutter); }
.ut-section   { padding: clamp(40px, 6vw, 96px) 0; }
.ut-section--soft { background: var(--ut-bg-soft); }
.ut-section--band { background: var(--ut-bg-band); }
.ut-section--dark { background: var(--ut-moka); color: var(--ut-balta); }
.ut-section--black{ background: var(--ut-juoda); color: var(--ut-white); }

/* ---------- Logotipas ---------- */
/* Logotipas — tik SVG failas (logo/UTENOS_tight.svg ir kt.), niekada ne tekstas šriftu.
   Spalva per `color` (SVG naudoja currentColor). Min. plotis: užrašas 40px, užrašas+ikona 55px, ikona 14px. */
.ut-logo { display: inline-block; color: var(--ut-juoda); line-height: 0; }
.ut-logo svg, .ut-logo img { height: auto; }
.ut-logo--header svg, .ut-logo--header img { width: clamp(96px, 9vw, 140px); }
.ut-logo--footer svg { width: 110px; }
.ut-logo--white { color: var(--ut-white); }

/* ---------- Mygtukai ---------- */
.ut-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ut-font-util); font-size: 12px; font-weight: 400; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1;
  padding: 11px 20px; border: 1px solid var(--ut-juoda); border-radius: var(--ut-radius);
  background: transparent; color: var(--ut-juoda); cursor: pointer; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.ut-btn:hover { background: var(--ut-juoda); color: var(--ut-white); text-decoration: none; }
.ut-btn--solid { background: var(--ut-juoda); color: var(--ut-white); }
.ut-btn--solid:hover { background: var(--ut-moka); border-color: var(--ut-moka); }
.ut-btn--light { border-color: var(--ut-white); color: var(--ut-white); }
.ut-btn--light:hover { background: var(--ut-white); color: var(--ut-juoda); }
.ut-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Formos ---------- */
.ut-input, .ut-select, .ut-textarea {
  font-family: var(--ut-font-util); font-size: 13px; color: var(--ut-juoda);
  background: var(--ut-white); border: 1px solid var(--ut-linas); border-radius: var(--ut-radius);
  padding: 10px 12px; width: 100%;
}
.ut-input:focus, .ut-select:focus, .ut-textarea:focus { outline: none; border-color: var(--ut-moka); }
.ut-field { display: grid; gap: 6px; margin-bottom: 16px; }
.ut-field > label { font-family: var(--ut-font-util); font-size: 12px; color: var(--ut-moka); }

/* ---------- Viršutinė juosta ir antraštė ---------- */
.ut-topbar { display: flex; justify-content: flex-end; }
.ut-topbar__msg { background: var(--ut-juoda); color: var(--ut-white); font-family: var(--ut-font-util);
  font-size: 11px; padding: 6px 24px; }
.ut-header { background: var(--ut-white); border-bottom: 1px solid var(--ut-line); position: sticky; top: 0; z-index: 10; }
.ut-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.ut-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); flex-wrap: wrap; }
.ut-nav a { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ut-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.ut-header__icons { display: flex; gap: 14px; }
.ut-header__icons svg { width: 18px; height: 18px; }

/* ---------- Hero: nuotrauka + didelis baltas UTENOS užrašas ---------- */
.ut-hero { position: relative; overflow: hidden; background: var(--ut-linas); }
.ut-hero > img { width: 100%; height: clamp(360px, 62vh, 720px); object-fit: cover; }
.ut-hero__wordmark { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ut-white); pointer-events: none; }
.ut-hero__wordmark svg { width: 62%; }

/* ---------- Kategorijų plytelės (nuotrauka + etiketė apačioje kairėje) ---------- */
.ut-tiles { display: grid; gap: clamp(12px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ut-tile { position: relative; display: block; overflow: hidden; background: var(--ut-linas); }
.ut-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.ut-tile:hover img { transform: scale(1.02); }
.ut-tile:hover { text-decoration: none; }
.ut-tile__label { position: absolute; left: 0; bottom: 0; background: var(--ut-linas); padding: 8px 14px; }
.ut-tile__label strong { display: block; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.ut-tile__label span { font-family: var(--ut-font-util); font-size: 11px; }
.ut-tile__overlay { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ut-white);
  font-family: var(--ut-font-util); font-weight: 300; text-transform: uppercase; font-size: clamp(32px, 5vw, 64px); }

/* ---------- Stulpeliai su plonomis skirtukų linijomis (medžiagos, privalumai) ---------- */
.ut-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ut-columns > * { text-align: center; padding: 24px 16px; }
.ut-columns > * + * { border-left: 1px solid var(--ut-moka); }
@media (max-width: 640px) { .ut-columns > * + * { border-left: 0; border-top: 1px solid var(--ut-linas); } }

/* ---------- Kortelė / modulis: be šešėlių, be apvalinimo ---------- */
.ut-card { background: var(--ut-white); border: 1px solid var(--ut-line); padding: 24px; }
.ut-split { display: grid; grid-template-columns: 1fr 1fr; }
.ut-split > * { min-height: 320px; }
.ut-split--reverse > :first-child { order: 2; }   /* šachmatinis išdėstymas (naujienlaiškis) */
@media (max-width: 760px) { .ut-split { grid-template-columns: 1fr; } .ut-split--reverse > :first-child { order: 0; } }

/* ---------- Raštas (fono dekoras) ---------- */
.ut-pattern { color: var(--ut-white); opacity: .9; pointer-events: none; }
.ut-pattern svg { width: 100%; height: auto; }

/* ---------- Lentelės (vidiniai įrankiai) ---------- */
.ut-table { width: 100%; border-collapse: collapse; font-family: var(--ut-font-util); font-size: 13px; }
.ut-table th { text-align: left; font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ut-moka); background: var(--ut-balta); border-bottom: 1px solid var(--ut-moka); padding: 10px 12px; }
.ut-table td { border-bottom: 1px solid var(--ut-linas); padding: 9px 12px; vertical-align: top; }
.ut-table td.num, .ut-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ut-table tbody tr:hover { background: var(--ut-balta); }

/* ---------- Pranešimai / būsenos (išvesta iš paletės, brandbook'e nėra) ---------- */
.ut-note { font-family: var(--ut-font-util); font-size: 13px; padding: 12px 16px; border-left: 3px solid var(--ut-moka); background: var(--ut-balta); }
.ut-note--ok    { border-color: var(--ut-zalia); background: color-mix(in srgb, var(--ut-zalia) 22%, white); }
.ut-note--warn  { border-color: var(--ut-koral); background: color-mix(in srgb, var(--ut-koral) 12%, white); }
.ut-badge { display: inline-block; font-family: var(--ut-font-util); font-size: 11px; padding: 2px 8px; border-radius: var(--ut-radius);
  background: var(--ut-linas); color: var(--ut-juoda); }
.ut-badge--ok   { background: var(--ut-zalia); }
.ut-badge--warn { background: var(--ut-koral); color: var(--ut-white); }

/* ---------- Poraštė ---------- */
.ut-footer { border-top: 1px solid var(--ut-line); font-family: var(--ut-font-util); font-size: 12px; }
.ut-footer__row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--ut-line); }
.ut-footer__copy { padding: 16px 0; font-size: 11px; color: var(--ut-moka); }

/* ---------- Ikonos: plona vienos linijos (stroke 1–1.5px), be užpildo ---------- */
.ut-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: square; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
