:root {
  --sun: #ffb400;
  --sun-dark: #e09500;
  --navy: #0f2a43;
  --navy-dark: #0a1f33;
  --ink: #1f2937;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #e3e9ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sun), #ffcf4d);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 4px 12px rgba(255,180,0,.4);
}
.logo-text { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.logo-text span { color: var(--sun); }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: #d7e2ec; text-decoration: none; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--sun); }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 600;
  background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.15);
}
.header-phone:hover { background: var(--sun); color: var(--navy); }
.phone-icon { font-size: 15px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 24px; height: 3px; background: #fff; border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,67,.82), rgba(10,31,51,.92)); }
.hero-content { position: relative; padding: 90px 0; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero p { max-width: 640px; margin: 0 auto 30px; font-size: 1.15rem; color: #dee9f2; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: .95rem; color: #e9f2f9; }
.hero-badges span { color: #fff; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 28px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform .15s, background .2s; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--sun), var(--sun-dark)); color: #fff; box-shadow: 0 6px 18px rgba(255,180,0,.35); }
.btn-primary:hover { background: linear-gradient(135deg, #ffc21f, #e09500); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-dark); }
.section-dark .center-title, .section-dark .center-sub { color: #fff; }

h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy); margin-bottom: 14px; font-weight: 800; }
.section-dark h2 { color: #fff; }
.center-title { text-align: center; }
.center-sub { text-align: center; color: var(--muted); margin-bottom: 44px; font-size: 1.05rem; }
.section-dark .center-sub { color: #aebfd0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.col-media img { border-radius: 18px; box-shadow: 0 20px 40px rgba(15,42,67,.18); }
.col-text p { color: var(--muted); margin-bottom: 14px; }

.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; color: var(--ink); font-weight: 500; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--sun); font-weight: 800; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 26px rgba(15,42,67,.1); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(15,42,67,.16); }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card h3 { color: var(--navy); font-size: 1.25rem; padding: 18px 22px 6px; }
.card p { color: var(--muted); padding: 0 22px; font-size: .98rem; }
.card-link { display: inline-block; margin: 16px 22px 22px; color: var(--sun-dark); font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.benefit { background: var(--bg-alt); border-radius: 16px; padding: 30px 26px; text-align: center; border: 1px solid var(--line); }
.benefit-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sun), #ffcf4d);
  display: grid; place-items: center; font-size: 28px; color: #fff;
  box-shadow: 0 8px 18px rgba(255,180,0,.32);
}
.benefit h3 { color: var(--navy); margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .96rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.gallery img:hover { transform: scale(1.03); box-shadow: 0 12px 26px rgba(0,0,0,.4); }

/* Contact */
.contact-col { align-items: start; }
.contact-info { margin-top: 24px; display: grid; gap: 16px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: var(--bg-alt); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--sun-dark); font-size: 20px;
}
.ci-item strong { display: block; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.ci-item a, .ci-item span { color: var(--muted); font-size: 1.02rem; }

.form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 14px 30px rgba(15,42,67,.08); }
.form h3 { color: var(--navy); margin-bottom: 18px; font-size: 1.3rem; }
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 1rem; font-family: inherit;
  color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sun); border-color: transparent; }
.form-note { margin-top: 12px; text-align: center; font-weight: 600; color: var(--navy); }

/* Footer */
.footer { background: var(--navy-dark); color: #c6d4e0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 30px; padding: 56px 0 40px; }
.footer .logo-text { font-size: 22px; }
.footer-brand p { margin-top: 14px; color: #9db0c1; font-size: .95rem; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #c6d4e0; text-decoration: none; }
.footer-links a:hover { color: var(--sun); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 20px;
  transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--sun); color: var(--navy); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .9rem; color: #8da1b4; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: grid; place-items: center; z-index: 100; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; background: none; border: none; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .benefits, .gallery { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 240px;
    background: var(--navy); flex-direction: column; padding: 70px 24px; gap: 20px;
    transform: translateX(100%); transition: transform .3s; z-index: 40;
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-phone { display: none; }
  .cards, .benefits, .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero br { display: none; }
}
