:root {
  --dark: #0f1b2d;
  --dark-2: #16233a;
  --accent: #f2a413;
  --accent-dark: #d88f08;
  --blue: #1f5faa;
  --light: #f5f7fa;
  --white: #ffffff;
  --gray: #6b7280;
  --text: #1c2430;
  --border: #e6e9ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4, .brand-name {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--dark);
}
p { margin: 0 0 16px; color: var(--gray); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; fill: currentColor; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--light); }
.eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-lead { font-size: 17px; }
.section-head .section-lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(242, 164, 19, 0.35); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }

/* Topbar */
.topbar { background: var(--dark); color: rgba(255,255,255,0.85); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 40px; }
.topbar-item { display: flex; align-items: center; gap: 8px; }
.topbar-item svg { color: var(--accent); flex-shrink: 0; }
.topbar-item a:hover { color: var(--accent); }
.topbar-cta { margin-left: auto; color: var(--accent); font-weight: 600; }
.topbar-cta:hover { color: var(--white); }
.topbar-item:nth-child(3) { display: flex; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 27, 45, 0.0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(15,27,45,0.06);
}
.header-inner { display: flex; align-items: center; gap: 32px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; color: var(--dark); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: 0.01em; }
.brand-name em { font-style: normal; color: var(--accent-dark); }
.brand-tag { font-size: 11.5px; font-style: italic; color: var(--blue); font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--dark); position: relative; padding: 6px 0; }
.main-nav a:hover { color: var(--accent-dark); }
.header-btn { flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,27,45,0.92) 20%, rgba(15,27,45,0.55) 60%, rgba(15,27,45,0.35) 100%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 720px; padding-top: 40px; padding-bottom: 40px; }
.hero-content .eyebrow { color: var(--accent); }
.hero-content h1 { color: var(--white); font-size: 52px; margin-bottom: 22px; }
.hero-lead { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  animation: bob 2.2s ease-in-out infinite; z-index: 1;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Features strip */
.features-strip { background: var(--dark); padding: 0; margin-top: -1px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 36px 24px;
}
.feature-item { display: flex; align-items: center; gap: 14px; padding: 0 20px; border-left: 1px solid rgba(255,255,255,0.12); }
.feature-item:first-child { border-left: none; padding-left: 0; }
.feature-item svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.feature-item strong { display: block; color: var(--white); font-family: 'Poppins', sans-serif; font-size: 15px; margin-bottom: 4px; }
.feature-item span { display: block; color: rgba(255,255,255,0.6); font-size: 13px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media-card {
  position: absolute; bottom: -28px; right: -28px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.about-media-card svg { width: 34px; height: 34px; color: var(--accent-dark); background: rgba(242,164,19,0.12); border-radius: 8px; padding: 7px; flex-shrink: 0; }
.about-media-card strong { display: block; font-size: 14px; color: var(--dark); }
.about-media-card span { font-size: 12.5px; color: var(--gray); }
.about-copy h2 { font-size: 34px; }
.check-list { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 10px;
  border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: rotate(45deg);
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--accent); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 0; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.why-copy h2 { font-size: 34px; }
.why-list { margin-top: 32px; display: flex; flex-direction: column; gap: 26px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; color: var(--accent-dark); flex-shrink: 0; width: 44px; }
.why-item strong { display: block; font-size: 17px; color: var(--dark); margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 14.5px; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: none; padding: 0; cursor: pointer; background: var(--dark);
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(15,27,45,0.85), transparent);
  color: var(--white); font-size: 13px; font-weight: 600; text-align: left;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--dark), var(--dark-2)); padding: 64px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; font-size: 28px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; margin-top: 3px; }
.contact-detail strong { display: block; color: var(--dark); font-size: 14.5px; margin-bottom: 2px; }
.contact-detail span, .contact-detail a { color: var(--gray); font-size: 14.5px; }
.contact-detail a:hover { color: var(--accent-dark); }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 260px; border: 0; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.form-note.is-error { color: #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--light);
  transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--white);
}
.form-note { text-align: center; margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--blue); min-height: 20px; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; margin-top: 18px; }
.brand-footer .brand-mark { color: var(--white); }
.brand-footer .brand-name { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 10px; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--dark); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 22px; height: 22px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15,27,45,0.94); z-index: 200;
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(900px, 90vw); max-height: 75vh; border-radius: 8px; }
.lightbox p { color: var(--white); margin-top: 16px; font-size: 15px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; background: none; border: none;
  color: var(--white); font-size: 36px; line-height: 1; cursor: pointer;
}

/* Mobile nav open state */
body.nav-open .main-nav {
  display: flex;
}

/* Responsive */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .feature-item:nth-child(3) { border-left: none; padding-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar-item:nth-child(3) { display: none; }
  .topbar-inner { justify-content: space-between; }
  .topbar-item:nth-child(2) { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 280px;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 22px; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform .3s ease; z-index: 99;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-btn { display: none; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .about-media-card { position: static; margin-top: -20px; margin-left: 20px; max-width: none; }
  .hero-content h1 { font-size: 38px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 480px) {
  .topbar-cta { font-size: 12.5px; }
  .topbar-item { font-size: 12.5px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 30px; }
  .cta-banner-inner { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}
