/* Vandens Lašas — site styles (2026). Mobile first, no external fonts. */
:root {
  --navy: #0b3a66; --navy-deep: #072845; --blue: #1a73c9; --blue-2: #2e8fe6;
  --sky: #eef6fd; --sky-2: #dcecfb; --ink: #142233; --muted: #566577; --line: #dde6ef;
  --cta: #ffc233; --cta-hover: #ffd366; --ok: #0f7a3d; --err: #b42318;
  --r: 16px; --shadow: 0 1px 2px rgba(11, 58, 102, .06), 0 8px 24px rgba(11, 58, 102, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .7em 1.25em;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn.big { padding: .9em 1.6em; font-size: 1.08rem; }
.btn-call { background: var(--cta); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(255, 194, 51, .35); }
.btn-call:hover { background: var(--cta-hover); color: var(--navy-deep); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--sky-2); }
.btn-light:hover { background: var(--sky); color: var(--navy); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { margin-right: auto; }
.logo img { height: 44px; width: auto; }
.nav { display: none; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a[aria-current] { background: rgba(255, 255, 255, .14); box-shadow: inset 0 -3px 0 var(--cta); }
.hdr-call {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy-deep); background: var(--cta);
  text-decoration: none; font-weight: 800; padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}
.hdr-call:hover { background: var(--cta-hover); color: var(--navy-deep); }
.nav-btn { display: inline-flex; background: transparent; border: 2px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 12px; padding: 7px; cursor: pointer; }
.nav-btn .ic { width: 26px; height: 26px; }
.nav-btn .i-close, .hdr.open .nav-btn .i-open { display: none; }
.hdr.open .nav-btn .i-close { display: block; }
.hdr.open .nav {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--navy); padding: 8px 16px 18px; box-shadow: 0 12px 20px rgba(0, 0, 0, .2);
}
.hdr.open .nav a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 420px) { .hdr-call span { display: none; } .hdr-call { padding: 10px; } .logo img { height: 38px; } }
@media (min-width: 900px) {
  .nav { display: flex; gap: 4px; }
  .nav-btn { display: none; }
  .logo { margin-right: 24px; }
  .nav { margin-right: auto; }
  .logo img { height: 52px; }
  .hdr-in { min-height: 80px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(46, 143, 230, .55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(26, 115, 201, .5), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, #0f4f8a 60%, var(--blue) 100%);
}
.hero-in { display: grid; gap: 32px; padding: 44px 0 84px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dbeafb; max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--cta); margin-bottom: 14px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-light:hover { background: rgba(255, 255, 255, .2); }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dbeafb; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-art { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 340px; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); border: 4px solid rgba(255, 255, 255, .9); }
.hero-art img:first-child { grid-row: span 2; }
.hero-art.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero-art.n2 img:last-child { grid-row: span 2; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 50px; fill: #fff; }
@media (max-width: 899px) { .hero-art { height: 220px; } }
@media (max-width: 520px) { .hero-art { display: none; } .hero-in { padding: 32px 0 70px; } .hero-btns .btn { width: 100%; } }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.1fr 1fr; padding: 64px 0 104px; } .hero-art { height: 420px; } }

/* ---------- sections & cards ---------- */
.sec { padding: 56px 0; }
.sec.alt { background: var(--sky); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link .ic { width: 1.1em; transition: transform .15s; }
.link:hover .ic { transform: translateX(3px); }
.grid { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.svcs { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.svc { display: flex; flex-direction: column; padding: 26px 24px; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.svc:hover { transform: translateY(-4px); border-color: var(--sky-2); box-shadow: 0 16px 36px rgba(11, 58, 102, .14); color: var(--ink); }
.svc-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--sky); color: var(--blue); margin-bottom: 16px; }
.svc-ic .ic { width: 30px; height: 30px; }
.svc p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.more .ic { width: 1.05em; }

.works { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.work { overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.work:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 58, 102, .14); color: var(--ink); }
.work-img { aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover .work-img img { transform: scale(1.04); }
.work-txt { padding: 16px 18px 18px; }
.work-txt h3 { margin-bottom: 6px; font-size: 1.05rem; }
.work-txt small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

.about { display: grid; gap: 28px; align-items: center; }
.about .prose { font-size: 1.1rem; }
.ticks { list-style: none; margin: 0; padding: 24px; display: grid; gap: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--navy); }
.ticks .ic { color: #fff; background: var(--blue); border-radius: 50%; padding: 5px; width: 30px; height: 30px; }
@media (min-width: 860px) { .about { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.partners { padding: 40px 0; border-top: 1px solid var(--line); }
.small-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-bottom: 22px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.logos img { height: 52px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

.band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 44px 0; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.band h2 { color: #fff; margin-bottom: .2em; }
.band p { color: #dbeafb; margin: 0; }
.band-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .band-btns .btn { width: 100%; } }

/* ---------- inner pages ---------- */
.phead { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 30px 0 10px; border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 6px 0 .3em; }
.phead .lead { color: var(--muted); max-width: 44em; }
.crumbs { font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 4px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1em; }
.prose ul li { position: relative; padding: 6px 0 6px 34px; border-bottom: 1px dashed var(--line); }
.prose ul li:last-child { border-bottom: 0; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73c9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.prose h2 { margin-top: 1.2em; }
.prose > :last-child { margin-bottom: 0; }
.narrow { max-width: 760px; margin-bottom: 28px; }
.list-card { padding: 28px clamp(20px, 4vw, 40px); margin-top: 32px; }
.svc-page { display: grid; gap: 32px; }
.svc-big-ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--sky); color: var(--blue); margin-bottom: 20px; }
.svc-big-ic .ic { width: 38px; height: 38px; }
.svc-page article .prose { font-size: 1.08rem; }
.svc-page aside { display: grid; gap: 20px; align-content: start; }
.aside-cta { padding: 24px; background: var(--navy); color: #dbeafb; border: 0; }
.aside-cta h2 { color: #fff; font-size: 1.3rem; }
.stack { display: grid; gap: 10px; }
.aside-cta .btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.aside-list { padding: 22px; }
.aside-list h2 { font-size: 1.15rem; }
.aside-list ul { list-style: none; margin: 0; padding: 0; }
.aside-list a { display: flex; align-items: center; gap: 10px; padding: 9px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.aside-list li:last-child a { border-bottom: 0; }
@media (min-width: 900px) { .svc-page { grid-template-columns: 1fr 340px; gap: 48px; } .svc-page aside { position: sticky; top: 100px; } }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
.photos .ph { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--sky); }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photos .ph:hover img { transform: scale(1.05); }
.photos.one { grid-template-columns: minmax(0, 520px); }
.photos.one .ph { aspect-ratio: auto; }
.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 24px; align-items: start; }
.contact-card, .form { padding: clamp(22px, 4vw, 34px); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.clist li { display: flex; gap: 14px; align-items: flex-start; }
.clist .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.clist small { display: block; color: var(--muted); font-size: .85rem; }
.big-link { font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: .95rem; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fbfdff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 115, 201, .15); }
.form .two { display: grid; gap: 0 14px; }
.form .hint { color: var(--muted); font-size: .9rem; margin: -6px 0 14px; }
.form button { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.note.ok { background: #e3f6ea; color: var(--ok); }
.note.err { background: #fdecea; color: var(--err); }
@media (min-width: 560px) { .form .two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.3fr; gap: 32px; } }

/* ---------- footer ---------- */
.ftr { background: var(--navy-deep); color: #b9cde3; }
.ftr-in { display: grid; gap: 32px; padding: 48px 0 32px; }
.ftr h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.ftr-brand img { height: 48px; width: auto; margin-bottom: 14px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: var(--cta); }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flist li { display: flex; gap: 10px; align-items: center; }
.flist .ic { color: var(--cta); }
.copy { text-align: center; margin: 0; padding: 18px 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
@media (min-width: 760px) { .ftr-in { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; box-shadow: 0 -4px 18px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.cb-call { background: var(--cta); color: var(--navy-deep); }
.cb-mail { background: #fff; color: var(--navy); }
body { padding-bottom: 60px; }
@media (min-width: 760px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4, 18, 33, .94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; font-size: 2.4rem; line-height: 1; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #cfe0f2; font-weight: 700; }

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

/* ---------- language switch ---------- */
.lang { display: inline-flex; border: 2px solid rgba(255, 255, 255, .3); border-radius: 999px; overflow: hidden; flex: none; }
.lang a { color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 6px 11px; line-height: 1.2; }
.lang a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lang a[aria-current] { background: #fff; color: var(--navy); }
.lang-in-menu { display: none; }
.hdr.open .nav .lang-in-menu { display: inline-flex; align-self: flex-start; margin-top: 14px; }
.hdr.open .nav .lang-in-menu a { padding: 8px 16px; font-size: 1rem; border-bottom: 0; }
@media (max-width: 560px) { .lang-in-hdr { display: none; } }   /* phones: the switch lives in the menu */
@media (min-width: 900px) and (max-width: 1099px) { .hdr-call span { display: none; } .hdr-call { padding: 10px; } }   /* keep the header on one line */
@media (min-width: 900px) { .lang-in-menu { display: none !important; } }
