/* ===== Tokens ===== */
:root {
  --primary: #0284C7;
  --primary-dark: #036296;
  --on-primary: #FFFFFF;
  --secondary: #06B6D4;
  --accent: #0891B2;
  --bg: #F0F9FF;
  --fg: #0F172A;
  --card: #FFFFFF;
  --card-fg: #0F172A;
  --muted: #EFF7FB;
  --muted-fg: #64748B;
  --border: #E0F0F8;
  --destructive: #DC2626;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px -8px rgba(2, 132, 199, 0.25);
  --container: 1120px;
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: rgba(2,132,199,0.08); }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .875rem; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 2px 12px rgba(2,132,199,0.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
}
.logo__icon { display: inline-flex; color: var(--primary); }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.nav.is-open { transform: translateX(0); }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.1rem;
}
.nav__link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.nav__phone {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
}
.nav__cta { align-self: flex-start; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-primary);
  padding: 44px 0 90px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(135deg, var(--primary) 0%, var(--accent) 55%, var(--secondary) 100%);
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 44px);
  opacity: .6;
}
.hero__inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.eyebrow--center { display: block; text-align: center; color: var(--primary); }

.hero__title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 20ch;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.12); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 460px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stats strong { font-size: 1.3rem; font-weight: 800; }
.hero__stats span { font-size: .78rem; color: rgba(255,255,255,0.8); }

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 60px;
  color: var(--bg);
}

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section--muted { background: var(--muted); }

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section__title--left { text-align: left; }
.section__lead {
  text-align: center;
  color: var(--muted-fg);
  max-width: 56ch;
  margin: 0 auto 36px;
}

/* ===== Grids / Cards ===== */
.grid { display: grid; gap: 18px; }
.grid--services { grid-template-columns: 1fr; margin-top: 8px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted-fg); font-size: .93rem; }

.grid--why { grid-template-columns: 1fr; margin-top: 8px; }
.why {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.why__num {
  display: inline-block;
  font-weight: 800;
  font-size: .85rem;
  color: var(--on-primary);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.why h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.why p { color: var(--muted-fg); font-size: .93rem; }

/* ===== Gallery ===== */
.grid--gallery {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}
.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.25), transparent 40%),
    linear-gradient(135deg, var(--secondary), var(--primary-dark));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 45%);
}
.photo__label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 12px;
  background: linear-gradient(to top, rgba(2,23,45,0.55), transparent);
  width: 100%;
}
.gallery__note {
  text-align: center;
  color: var(--muted-fg);
  font-size: .82rem;
  margin-top: 22px;
}
.gallery__note code { background: var(--muted); padding: 2px 6px; border-radius: 4px; }

/* ===== Process ===== */
.steps { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted-fg); font-size: .93rem; }

/* ===== About ===== */
.about { display: flex; flex-direction: column; gap: 32px; }
.about__text p { color: var(--muted-fg); margin: 14px 0 18px; }
.about__list { display: flex; flex-direction: column; gap: 10px; }
.about__list li {
  padding-left: 26px;
  position: relative;
  font-weight: 600;
  font-size: .95rem;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--secondary);
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); }
.stat span { font-size: .8rem; color: var(--muted-fg); }

/* ===== Contact ===== */
.contact { display: flex; flex-direction: column; gap: 32px; }
.contact__lead { color: var(--muted-fg); margin: 14px 0 22px; }
.contact__details { display: flex; flex-direction: column; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 12px; color: var(--fg); font-weight: 600; }
.contact__details svg { color: var(--primary); flex: none; }

.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form__row label { font-size: .85rem; font-weight: 700; color: var(--fg); }
.form__row input, .form__row textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  color: var(--fg);
  resize: vertical;
  transition: border-color .15s ease;
}
.form__row input:focus, .form__row textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form__row.has-error input,
.form__row.has-error textarea { border-color: var(--destructive); }
.form__error {
  min-height: 16px;
  font-size: .78rem;
  color: var(--destructive);
}
.form__submit { width: 100%; margin-top: 4px; }
.form__note {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  margin-top: 12px;
  min-height: 18px;
  color: var(--accent);
}

/* ===== Footer ===== */
.footer { background: #06283f; color: #d7e9f5; padding: 40px 0 100px; }
.footer__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.logo--footer { color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 16px 20px; font-size: .9rem; }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: .8rem; color: #9db9cc; }

/* ===== Floating call button (mobile) ===== */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(2,132,199,0.55);
  z-index: 90;
}

/* ===== Tablet / Desktop ===== */
@media (min-width: 768px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--why { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: row; align-items: center; }
  .about__text { flex: 1.1; }
  .about__stats { flex: 1; }
  .contact { flex-direction: row; align-items: flex-start; }
  .contact__info { flex: 1; }
  .form { flex: 1; width: 100%; }
}

@media (min-width: 1024px) {
  .burger { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    transform: none;
    background: transparent;
    padding: 0;
    gap: 28px;
    inset: auto;
    overflow: visible;
  }
  .nav__list { flex-direction: row; gap: 22px; font-size: .95rem; }
  .nav__link { border-bottom: none; padding: 4px 0; }
  .nav__cta { display: inline-flex; }
  .grid--services { grid-template-columns: repeat(4, 1fr); }
  .grid--why { grid-template-columns: repeat(4, 1fr); }
  .grid--gallery { grid-template-columns: repeat(3, 1fr); }
  .fab { display: none; }
  .footer { padding-bottom: 40px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__list { gap: 16px; font-size: .88rem; }
}
