/* MILKNOVA — one-page site. Brand palette: dark-navy logo, blue cow, red leaf, light-blue sky.
   Language: ka/en switch by html[data-lang]; without JS the Georgian text is shown. */
:root {
  --navy: #14246b;
  --blue: #1f4bd8;
  --sky: #d9eefc;
  --sky-2: #eef8ff;
  --ink: #0f1b4d;
  --muted: #4d5d8d;
  --line: #dbe7f6;
  --red: #e2312d;
  --wa: #17a34a;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(20, 36, 107, .10);
  --font-ka: 'Noto Sans Georgian', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-en: 'Inter', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-ka); font-size: 17px; line-height: 1.6; }
html[data-lang="en"] body { font-family: var(--font-en); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.latin { font-family: var(--font-en); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ka/en */
/* "body" in the selectors keeps the rule off the <html lang="en"> element itself */
body [lang="en"] { display: none; }
html[data-lang="en"] body [lang="en"] { display: inline; }
html[data-lang="en"] body [lang="ka"] { display: none; }
.lang { display: none; }
.js .lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang__btn { font: 700 13px/1 var(--font-en); letter-spacing: .04em; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; min-height: 32px; }
.lang__btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang__btn:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid #86b6ff; outline-offset: 2px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

/* logo (text + red leaf over the N) */
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.logo__txt { position: relative; display: inline-block; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.logo__n { position: relative; display: inline-block; }
.logo__leaf { position: absolute; width: .62em; height: auto; left: 52%; top: -.50em; transform: translateX(-50%); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px/1 var(--font-ka); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
html[data-lang="en"] .btn { font-family: var(--font-en); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 36, 107, .18); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0e1a55; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #12873c; }
.btn--white { background: #fff; color: var(--navy); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 62px; padding: 0 34px; font-size: 18px; }
.btn--round { width: 44px; min-height: 44px; padding: 0; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 36, 107, .06); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__link { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav__link:hover { background: var(--sky-2); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #c9e6fb 0%, #e6f4ff 55%, #f4faff 100%); padding: 56px 0 150px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--blue); text-transform: none; }
.hero__title { margin: 0; font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.08; letter-spacing: -.01em; }
.hero__line { display: block; }
.hero__line--a { color: var(--navy); }
.hero__line--b { color: var(--blue); }
.hero__lead { margin: 20px 0 0; max-width: 34ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero__phone { font-weight: 800; font-size: 1.15rem; color: var(--navy); text-decoration: none; margin-inline-start: 6px; }
.hero__art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 320px; }
.hero__sun { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 70%); top: 50%; left: 50%; transform: translate(-50%, -52%); }
.hero__cow { position: relative; width: min(440px, 100%); height: auto; filter: drop-shadow(0 18px 20px rgba(20, 36, 107, .18)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.hero__hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 150px; z-index: 1; }

/* sections */
.section { padding: 84px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.kicker { margin: 0 0 10px; font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.sec-title { margin: 0; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; color: var(--navy); }
.sec-lead { margin: 14px 0 0; font-size: 1.1rem; color: var(--muted); }

/* product cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 24px 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 36, 107, .14); }
.card__art { aspect-ratio: 1 / 1; margin: 6px 0 10px; background: #fff; border-radius: 16px; overflow: hidden; }
.card__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card__name { margin: 0; font-weight: 800; font-size: 1.45rem; line-height: 1.25; color: var(--c); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pill { font-size: .8rem; font-weight: 800; color: var(--navy); background: var(--sky); border-radius: 999px; padding: 4px 10px; line-height: 1.2; }
.card__text { margin: 8px 0 0; color: var(--muted); font-size: 1rem; }

/* Mix feature */
.mix { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: center; margin-top: 28px; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #fff7cf, #fff 55%); border: 1.5px solid #f3e3a1; box-shadow: var(--shadow); }
.mix__media { padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mix__media img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 10px 26px rgba(20, 36, 107, .16); }
.mix__media .mix__photo { max-width: 360px; aspect-ratio: 1 / 1; background: #fff; }
.mix__media .mix__label { max-width: 360px; }
.mix__body { padding: 36px 36px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.mix__badge { margin: 0; display: inline-block; background: #ffd83a; color: var(--navy); font-weight: 800; font-size: .95rem; padding: 6px 14px; border-radius: 999px; }
.mix__title { margin: 10px 0 0; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; color: var(--blue); }
.mix__text { margin: 12px 0 22px; max-width: 36ch; color: var(--muted); font-size: 1.08rem; }

/* business */
.business { background: linear-gradient(180deg, #fff 0%, var(--sky-2) 100%); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 800; font-size: 1.15rem; color: var(--navy); box-shadow: var(--shadow); }
.tile__ico { width: 46px; height: 46px; flex: none; color: var(--blue); }

/* contact */
.contact { background: var(--navy); color: #fff; text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.contact::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(79, 129, 255, .45), rgba(79, 129, 255, 0) 65%); }
.contact__inner { position: relative; z-index: 1; }
.contact__title { margin: 0; font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
.contact__text { margin: 14px auto 0; max-width: 40ch; color: #c9d6ff; font-size: 1.15rem; }
.contact__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.contact__meta { list-style: none; margin: 40px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 56px; }
.meta-label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: none; color: #9fb4ff; font-weight: 600; }
.meta-link { color: #fff; font-weight: 800; font-size: 1.3rem; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .3); }
.meta-link:hover { border-color: #fff; }

/* footer */
.footer { background: #0c1750; color: #b9c6f5; padding: 34px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.footer__logo { color: #fff; font-size: 22px; }
.footer__city { margin: 10px 0 0; }
.footer__legal { margin: 0; text-align: center; }
.footer__end { display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
.footer__rights { margin: 0; font-weight: 600; }
.footer .lang { border-color: #2c3d8c; background: transparent; }
.footer .lang__btn { color: #b9c6f5; }
.footer .lang__btn[aria-pressed="true"] { background: #fff; color: var(--navy); }

/* mobile bar */
.mbar { display: none; }

/* reveal on scroll (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav { display: none; }
  .header__actions { margin-inline-start: auto; }
  .hero { padding: 36px 0 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; min-height: 0; }
  .hero__cow { width: min(260px, 62vw); }
  .hero__sun { width: 260px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr; }
  .mix { grid-template-columns: 1fr; }
  .mix__media { padding: 18px 18px 0; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__end { justify-content: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__phone { margin: 4px auto 0; }
  .mix__body { padding: 26px 22px 30px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cow { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
