/* Lleat Foundation — brand UI */
:root {
  --brand-red: #e11d2e;
  --brand-red-dark: #b9101f;
  --brand-blue: #0088d0;
  --brand-blue-dark: #006ba8;
  --ink: #0c1b2a;
  --muted: #3d4f63;
  --soft: #5a6b7d;
  --line: #d4e0ec;
  --line-soft: #e8eef5;
  --white: #ffffff;
  --surface: #f7fafc;
  --max: 1120px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(12, 27, 42, 0.06), 0 8px 24px rgba(12, 27, 42, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-red); }
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(1.95rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; background: #fff; padding: 0.75rem 1rem; z-index: 100;
  border-radius: 6px; box-shadow: var(--shadow);
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.top {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 40;
}
.top::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red) 0 38%, var(--brand-blue) 38% 100%);
}
.top-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 1rem;
}
.logo img {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);
}
.logo:hover { color: var(--ink); text-decoration: none; }
.menu {
  display: flex; align-items: center; gap: 0.2rem 1.4rem;
  margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0;
}
.menu a {
  text-decoration: none; color: var(--muted);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] {
  color: var(--brand-blue-dark); font-weight: 600;
}
.menu a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand-red); border-radius: 1px;
}
.menu .go {
  background: var(--brand-blue); color: #fff !important;
  padding: 0.48rem 1rem; border-radius: 6px; font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 2px 8px rgba(0, 136, 208, 0.25);
}
.menu .go:hover { background: var(--brand-blue-dark); }
.menu .go::after { display: none !important; }
.menu-btn {
  display: none; margin-left: auto;
  border: 1px solid var(--line); background: #fff;
  padding: 0.42rem 0.8rem; border-radius: 6px; font: inherit; cursor: pointer;
  color: var(--ink); font-size: 0.85rem; font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.72rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-blue {
  background: var(--brand-blue); color: #fff;
  box-shadow: 0 2px 10px rgba(0, 136, 208, 0.28);
}
.btn-blue:hover {
  background: var(--brand-blue-dark); color: #fff;
  box-shadow: 0 4px 14px rgba(0, 107, 168, 0.32);
}
.btn-red {
  background: var(--brand-red); color: #fff;
  box-shadow: 0 2px 10px rgba(225, 29, 46, 0.25);
}
.btn-red:hover { background: var(--brand-red-dark); color: #fff; }
.btn-line {
  background: var(--white); color: var(--ink);
  border-color: var(--line);
}
.btn-line:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
  background: #f0f8fc;
}
.btn-wide { width: 100%; text-align: center; }

/* Hero */
.hero {
  padding: 3.75rem 0 3.5rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 136, 208, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(225, 29, 46, 0.04), transparent 50%),
    #ffffff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.25rem;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.hero .lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.6rem;
  line-height: 1.7;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.85rem; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  width: fit-content;
}
.facts strong {
  display: block;
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 700;
}
.facts span {
  color: var(--soft);
  font-size: 0.8rem;
}
.hero-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  max-height: 460px;
}
.caption {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.88rem;
  background: var(--white);
}
.caption strong { display: block; color: var(--ink); font-weight: 650; }
.caption span { color: var(--soft); }

/* Sections */
.block { padding: 3.75rem 0; }
.block-alt {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}
.intro {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.85rem;
  font-size: 1.02rem;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 1px 2px rgba(12, 27, 42, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tile:hover {
  border-color: #b8cfe0;
  box-shadow: var(--shadow);
}
.tile h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.tile h3::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-right: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(0, 136, 208, 0.15);
}
.tile:nth-child(3n+2) h3::before { background: var(--brand-red); box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.12); }
.tile:nth-child(3n) h3::before { background: var(--brand-blue-dark); }
.tile p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.two-col ul {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.two-col li { margin-bottom: 0.45rem; }
.two-col li strong { color: var(--ink); }

.values {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.values span {
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  color: var(--brand-blue-dark);
  background: var(--white);
  font-weight: 550;
  border-radius: 999px;
}

.banner {
  background: linear-gradient(135deg, #0a3a5c 0%, var(--brand-blue) 85%);
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 107, 168, 0.2);
}
.banner h2 { color: #fff; }
.banner p {
  color: rgba(255,255,255,0.85);
  max-width: 32rem;
  margin: 0 auto 1.35rem;
  font-size: 1.02rem;
}
.banner .btn { margin: 0 0.3rem 0.4rem; }
.banner .btn-line {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
}
.banner .btn-line:hover {
  background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.55);
}

/* Academy */
.panel {
  background: linear-gradient(145deg, #0a3a5c 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(10, 58, 92, 0.18);
}
.panel h2 { color: #fff; }
.panel p { color: rgba(255,255,255,0.82); }
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
}
.panel-grid div {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.75rem 0.95rem;
  font-size: 0.92rem;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.dl {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(12, 27, 42, 0.03);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.dl:hover {
  border-color: #b8cfe0;
  box-shadow: var(--shadow);
}
.dl h3 { margin: 0; font-size: 1.2rem; }
.dl .note { font-size: 0.86rem; color: var(--muted); margin: 0; }
.dl .btn { margin-top: auto; }
.steps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-top: 1.35rem;
  background: var(--surface);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps ol { margin: 0.55rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.steps li { margin-bottom: 0.4rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(12, 27, 42, 0.03);
  transition: box-shadow 0.15s ease;
}
.gallery figure:hover { box-shadow: var(--shadow); }
.gallery a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e2eaf2;
  text-decoration: none;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--soft);
  border-top: 1px solid var(--line-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.35rem;
}
.side > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.7rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(12, 27, 42, 0.03);
}
.side h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  margin-bottom: 0.35rem;
  font-weight: 650;
}
.side p, .side a {
  margin: 0; font-size: 0.94rem; color: var(--ink); text-decoration: none;
}
.side a:hover { color: var(--brand-red); }

.wa-box {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0 !important;
}
.wa-box h3 { color: #166534; }
.wa-box p { color: #15803d; margin: 0 0 0.8rem !important; font-size: 0.9rem !important; }
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #16a34a;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.25);
}
.btn-wa:hover { background: #15803d; color: #fff !important; text-decoration: none; }
.btn-wa svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }

.form-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
}
input, textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.68rem 0.85rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 208, 0.15);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Page top */
.page-top {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0, 136, 208, 0.05), transparent 50%),
    #ffffff;
}
.page-top p { color: var(--muted); max-width: 36rem; margin: 0; font-size: 1.05rem; }

/* Footer */
.foot {
  background: linear-gradient(180deg, #0a2a40 0%, #071e2e 100%);
  color: rgba(255,255,255,0.68);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot strong {
  display: block;
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.foot a {
  display: block;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.foot a:hover { color: #fff; }
.foot-brand {
  display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.75rem;
  color: #fff; font-weight: 700; text-decoration: none; font-size: 1rem;
}
.foot-brand img {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.15rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
}

.prose { max-width: 38rem; }
.prose p { color: var(--muted); }
.prose h2 { font-size: 1.15rem; margin-top: 1.75rem; }

@media (max-width: 860px) {
  .hero-grid, .two-col, .contact-grid, .dl-grid, .panel-grid { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-photo img { max-height: 360px; aspect-ratio: 16/11; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .hero-grid { gap: 2rem; }
}
@media (max-width: 600px) {
  .menu-btn { display: inline-block; }
  .menu {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; flex-basis: 100%; gap: 0.5rem; padding: 0.55rem 0;
  }
  .menu.open { display: flex; }
  .menu a[aria-current="page"]::after { display: none; }
  .pair, .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
  .facts { width: 100%; }
  .banner, .panel { border-radius: 8px; padding: 1.75rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery img, .btn, .tile, .dl { transition: none; }
  .gallery a:hover img { transform: none; }
}
