:root {
  --navy: #0d1f3c;
  --navy-2: #142a52;
  --amber: #f5b400;
  --amber-2: #d99c00;
  --ink: #1a1f2c;
  --muted: #5a6478;
  --line: #e5e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
img, svg { max-width: 100%; }

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

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 26px; height: 26px; fill: var(--amber); }
.brand-name { font-weight: 700; letter-spacing: 0.2px; font-size: 1.05rem; }
.topbar-call {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 0.98rem;
}
.topbar-call .ico { width: 18px; height: 18px; fill: var(--amber-2); }
.topbar-call:hover { color: var(--amber-2); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(245,180,0,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 0 96px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.hero .lede {
  font-size: 1.12rem;
  color: #cfd6e6;
  max-width: 640px;
  margin: 0 0 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #1a1500; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* Sections */
section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 28px;
  letter-spacing: -0.3px;
  color: var(--navy);
}
.services { padding: 80px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,31,60,0.08);
  border-color: #d9deeb;
}
.card-ico {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(245,180,0,0.14);
  color: var(--navy);
  margin-bottom: 14px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Area */
.area { padding: 60px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-inner { max-width: 760px; }
.area p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Contact */
.contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  display: inline-block;
  width: 70px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.contact-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--amber-2); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,180,0,0.18);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { align-self: flex-start; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 4px 0 0; }
.form-note a { color: var(--navy); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--navy); }
.footer-sep { color: #b8bfd0; }

/* Carousel / Gallery */
.gallery { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1730;
  box-shadow: 0 12px 32px rgba(13,31,60,0.12);
  outline: none;
}
.carousel:focus-visible {
  box-shadow: 0 0 0 3px rgba(245,180,0,0.55), 0 12px 32px rgba(13,31,60,0.18);
}
.carousel-viewport {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.carousel-track {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  height: 100%;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  user-select: none;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(13,31,60,0.78) 0%, rgba(13,31,60,0.0) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13,31,60,0.25);
  transition: background 0.2s ease, transform 0.05s ease;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn:active { transform: translateY(-50%) scale(0.96); }
.carousel-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.55);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot:hover { background: rgba(255,255,255,0.85); }
.carousel-dot.is-active { background: var(--amber); transform: scale(1.25); }
.carousel-dot:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

@media (max-width: 720px) {
  .hero { padding: 64px 0 72px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar-call span { display: none; }
  .topbar-call .ico { width: 22px; height: 22px; }
  .topbar-call::after { content: "Call"; font-weight: 600; color: var(--navy); }
  .gallery { padding: 56px 0; }
  .carousel-viewport { aspect-ratio: 4 / 3; }
  .carousel-btn { width: 38px; height: 38px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-caption { padding: 14px 16px; font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}
