/* erlino.app: стилове на сайта. Без цветни ленти по левия ръб. */

/* Шрифтове: Sofia Sans (Lettersoup, с български форми на кирилицата), локално копие без външни заявки. */
@font-face { font-family: 'Sofia Sans'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Sofia Sans'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-greek-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Sofia Sans'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-latin-ext-wght-normal.woff2) format('woff2-variations'); 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: 'Sofia Sans'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-latin-wght-normal.woff2) format('woff2-variations'); 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: 'Sofia Sans Extra Condensed'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-extra-condensed-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-extra-condensed-greek-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-extra-condensed-latin-ext-wght-normal.woff2) format('woff2-variations'); 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: 'Sofia Sans Extra Condensed'; font-weight: 1 1000; font-display: swap; src: url(/fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2) format('woff2-variations'); 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: #10201e;
  --muted: #4a5e5b;
  --glass: #e6f0ee;
  --glass-2: #d6e6e2;
  --paper: #ffffff;
  --teal: #0f766e;
  --teal-deep: #0a4a45;
  --signal: #f5c33b;
  --signal-ink: #3d2f00;
  --alert: #c2410c;
  --line: #c4d6d2;
  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --body: 'Sofia Sans', system-ui, sans-serif;
  --wrap: 1160px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--glass); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: 0.005em; margin: 0 0 0.4em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.sub { color: var(--muted); font-size: 1.15rem; max-width: 46em; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 1.4em; }

/* Горна лента */
.top { max-width: var(--wrap); margin: 0 auto; padding: 18px clamp(18px, 4vw, 40px); display: flex; align-items: center; gap: 22px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 2rem; letter-spacing: 0.01em; color: var(--teal-deep); text-decoration: none; line-height: 1; }
.links { display: flex; gap: 18px; margin-left: auto; }
.links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.links a:hover, .links a[aria-current] { color: var(--teal); text-decoration: underline; }
.langs { display: flex; gap: 2px; background: var(--paper); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.langs a { font: 700 0.78rem/1 var(--body); letter-spacing: 0.06em; color: var(--muted); text-decoration: none; padding: 7px 9px; border-radius: 999px; }
.langs a:hover { color: var(--ink); background: var(--glass); }
.langs a[aria-current] { background: var(--teal); color: #fff; }

/* Начало: заглавие и телефонът с таблото */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::after { /* отблясък на предното стъкло */
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 70%; height: 180%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  pointer-events: none; transform: rotate(4deg);
}
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.4rem, 9.2vw, 7.6rem); text-transform: uppercase; line-height: 0.86; margin-bottom: 0.32em; }
.hero h1 span { display: block; }
.hero h1.long { font-size: clamp(2.8rem, 6.2vw, 5.6rem); }
.hero h1 .accent { color: var(--teal); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 34em; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 18px 10px 14px; cursor: default; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store b { font-size: 1.15rem; }
.store small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal); font-weight: 700; }
.ios { margin: 0; color: var(--muted); font-size: 0.95rem; }

.hero-art { display: grid; place-items: center; }
.phone { width: min(330px, 100%); height: auto; border-radius: 34px; border: 9px solid var(--ink); background: var(--ink); box-shadow: 0 30px 50px -26px rgba(10, 74, 69, 0.55); }

/* Ленти */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band.year { background: var(--paper); }

/* Година по месеци */
.months { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(12, 1fr); border-top: 3px solid var(--ink); }
.month { padding: 12px 8px 18px; border-right: 1px solid var(--line); min-height: 170px; }
.month:last-child { border-right: 0; }
.mname { display: block; font: 800 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 12px; }
.month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.month li li, .month ul li { font-size: 0.86rem; line-height: 1.2; font-weight: 600; background: var(--glass); border-radius: 8px; padding: 6px 8px; }
.month.next { background: rgba(245, 195, 59, 0.14); }
.month.next .mname { color: var(--ink); }
.month ul li.due { background: var(--signal); color: var(--signal-ink); }

/* Възможности */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; margin: 36px 0 0; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid > div { border-top: 2px solid currentColor; padding-top: 14px; }
.grid dt { font: 800 1.55rem/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.grid dd { margin: 0; color: var(--muted); }

/* Снимки от екрана */
.band.screens { background: var(--glass-2); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(16px, 3vw, 40px); margin-top: 36px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 28px; border: 8px solid var(--ink); background: var(--ink); box-shadow: 0 24px 40px -24px rgba(10, 74, 69, 0.5); }
.shot figcaption { margin-top: 14px; font-weight: 600; text-align: center; }

/* Поверителност */
.band.private { background: var(--teal-deep); color: #e9f5f3; }
.band.private .sub, .band.private dd { color: #b9d8d3; }
.band.private .more { color: var(--signal); font-weight: 700; }

/* Справки */
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checks li { background: var(--paper); border-radius: var(--r); padding: 16px 18px; }
.checks b { display: block; font: 800 1.35rem/1.1 var(--display); text-transform: uppercase; }
.checks span { color: var(--muted); }

/* За фирми */
.band.teaser { padding-top: 0; }
.teaser-in { background: var(--paper); border-radius: 22px; padding: clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.teaser-in h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.teaser-in p { margin: 0; color: var(--muted); max-width: 40em; }
.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 12px; white-space: nowrap; }
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); }

/* Текстови страници */
.doc { padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); text-transform: uppercase; }
.doc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.doc .sub { margin-bottom: 1.6em; }
.doc .summary { background: var(--paper); border-radius: var(--r); padding: 18px 20px; font-size: 1.1rem; }
.contactline { margin-top: 2.4em; color: var(--muted); font-size: 0.95rem; }
.partners .lead { margin-bottom: 0.6em; }
.partners .grid { margin-bottom: 12px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--paper); border-radius: 999px; padding: 7px 14px; font-weight: 600; }
.plain { padding-left: 1.1em; margin: 0; }
.plain li { margin-bottom: 0.5em; }
.cta-box { margin-top: 48px; background: var(--paper); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.cta-box h2 { margin-top: 0; }
.contacts { display: grid; gap: 22px; margin: 0; }
.contacts dt { font: 800 1.2rem/1 var(--display); text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contacts dd { margin: 0; font-size: 1.2rem; }

/* Долна лента */
.foot { background: var(--ink); color: #b9c8c5; font-size: 0.95rem; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 36px clamp(18px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.foot .logo { color: #fff; font-size: 1.6rem; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: #e9f5f3; }

/* По-тесни екрани */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .phone { width: min(280px, 80%); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .months { grid-template-columns: 1fr; border-top: 0; }
  .month { display: grid; grid-template-columns: 8.5em 1fr; align-items: start; gap: 10px; min-height: 0; border-right: 0; border-top: 1px solid var(--line); padding: 10px 0; }
  .month.empty { padding: 6px 0; }
  .month.empty .mname { opacity: 0.55; font-size: 0.95rem; }
  .mname { margin: 4px 0 0; }
  .month ul { display: flex; flex-wrap: wrap; }
  .month.next { background: none; }
  .teaser-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 12px 18px; }
  .links { margin-left: 0; order: 3; width: 100%; }
  .langs { margin-left: auto; }
  .grid, .grid.three, .checks, .cols { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shot { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
