/* ===== Expert Team Slovakia (ETS) — stylesheet ===== */

:root {
  --navy-900: #07182e;
  --navy-800: #0b2545;
  --navy-700: #11385f;
  --blue-600: #1b4965;
  --blue-500: #2c6e8f;
  --teal-500: #2a9d8f;
  --teal-400: #38b2a3;
  --cyan-300: #5fa8d3;
  --ink: #18202b;
  --muted: #5a6b7b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-card: #ffffff;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, .08), 0 1px 2px rgba(11, 37, 69, .04);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(7, 24, 46, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--teal-500); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-800); font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section__head p { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-800); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 1.05rem; line-height: 1.1; }
.brand__name small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy-700); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal-500); }
.nav .btn { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: #fff; font-weight: 600; font-size: .95rem;
  padding: 11px 22px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
  border: none; cursor: pointer;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent; color: var(--navy-800);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { color: var(--navy-800); border-color: var(--teal-400); background: var(--bg-soft); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(95,168,211,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(42,157,143,.28), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--blue-600));
  color: #eaf2fb;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 80px; }
.hero .eyebrow { color: var(--cyan-300); }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 16ch; margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan-300), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.18rem; color: #c6d6e8; max-width: 60ch; margin: 0 0 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }

/* ===== Stats ===== */
.stats {
  position: relative; z-index: 2;
  margin-top: -48px; margin-bottom: 0;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat { padding: 28px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--blue-600); letter-spacing: -.02em; }
.stat__label { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ===== Feature / offer cards ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4e2ee; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(27,73,101,.12), rgba(42,157,143,.16));
  display: grid; place-items: center; color: var(--blue-600);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ===== Two-column "for / why" ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line); color: var(--ink); font-size: .98rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ===== Members ===== */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4e2ee; }
.member__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.member__logo {
  width: 52px; height: 52px; flex: none; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  box-shadow: var(--shadow-sm);
}
.member__name { font-size: 1.06rem; font-weight: 700; color: var(--navy-800); line-height: 1.2; }
.member__tag {
  display: inline-block; margin-top: 5px; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--blue-500);
  background: rgba(44,110,143,.1); padding: 3px 9px; border-radius: 999px;
}
.member__headline { font-weight: 600; color: var(--navy-700); font-size: .98rem; margin: 2px 0 8px; }
.member__desc { color: var(--muted); font-size: .9rem; margin: 0 0 16px; flex: 1; }
.member__apps { list-style: none; margin: 0 0 18px; padding: 0; }
.member__apps li {
  position: relative; padding: 4px 0 4px 22px; font-size: .87rem; color: var(--ink);
}
.member__apps li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232a9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.member__link {
  margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px;
}
.member__link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.member__link:hover svg { transform: translate(2px, -2px); }

/* logo color themes */
.lg-water  { background: linear-gradient(135deg, #1b4965, #2c6e8f); }
.lg-meteo  { background: linear-gradient(135deg, #2c6e8f, #5fa8d3); }
.lg-tech   { background: linear-gradient(135deg, #1b4965, #2a9d8f); }
.lg-warn   { background: linear-gradient(135deg, #c1440e, #e07a3f); }
.lg-consult{ background: linear-gradient(135deg, #5a3e85, #8a6bb5); }
.lg-eng    { background: linear-gradient(135deg, #11385f, #1b4965); }
.lg-green  { background: linear-gradient(135deg, #20794f, #38b2a3); }

/* ===== Company sections ===== */
.company { padding: 84px 0; }
.company + .company { border-top: 1px solid var(--line); }
.company--alt { background: var(--bg-soft); }
.company__inner {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center;
}
.company--reverse .company__media { order: 2; }
.company__media { position: relative; }
.company__media svg {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.company__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.company__num {
  font-weight: 800; font-size: .9rem; letter-spacing: .12em; color: var(--teal-500);
}
.company__body h2 { font-size: clamp(1.5rem, 2.7vw, 2rem); margin-bottom: 6px; }
.company__headline { color: var(--navy-700); font-weight: 600; font-size: 1.05rem; margin: 0 0 14px; }
.company__desc { color: var(--muted); margin: 0 0 22px; font-size: 1rem; }
.company__apps {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
}
.company__apps li { position: relative; padding: 5px 0 5px 24px; font-size: .92rem; color: var(--ink); }
.company__apps li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%232a9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 860px) {
  .company { padding: 56px 0; }
  .company__inner { grid-template-columns: 1fr; gap: 32px; }
  .company--reverse .company__media { order: 0; }
  .company__apps { grid-template-columns: 1fr; }
}

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(95,168,211,.3), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff; border-radius: 22px; padding: 56px 48px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #cfe0f0; max-width: 60ch; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-band .btn { background: #fff; color: var(--navy-800); }
.cta-band .btn:hover { color: var(--navy-800); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: #b9c8da; padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand__name, .footer .brand { color: #fff; }
.footer p { color: #93a7bd; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #b9c8da; font-size: .95rem; }
.footer a:hover { color: var(--teal-400); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #7e93a9;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--3, .members { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
         align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav .btn { margin: 12px 24px; justify-content: center; }
  .nav-toggle { display: block; }
  .grid--3, .grid--2, .members { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
