/* === TOKENS === */
:root {
  --navy: #0D1B2A;
  --navy-mid: #1A2E45;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --white: #FFFFFF;
  --off-white: #F5F3EE;
  --gray: #8A8F99;
  --gray-light: #E8E8E8;
  --text: #1A1A1A;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%;  }
a { text-decoration: none; color: inherit; }

/* === UTILITY === */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; text-align: center; padding: 16px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 24px 24px;
  gap: 20px;
}
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-mobile.open { display: flex; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.7) 50%,
    rgba(13,27,42,0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 680px;
  margin-left: max(24px, calc(50vw - 580px));
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 96px);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-bolt {
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-size: 120px;
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--navy);
  padding: 32px 24px;
}
.trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
  gap: 4px;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}
.trust-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.trust-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* === SERVICES === */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.service-card--cta {
  background: var(--navy);
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* === GALLERY === */
.gallery {
  padding: 100px 0;
  background: var(--white);
}
.gallery .container { margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 6px;
  max-height: 900px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.gallery-item--tall {
  grid-row: span 2;
  height: auto;
}
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,27,42,0.85));
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 20px 12px 10px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

/* === WHY === */
.why {
  padding: 100px 0;
  background: var(--off-white);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.check {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}

/* === CONTACT === */
.contact {
  padding: 100px 0;
  background: var(--navy);
}
.contact .section-title { color: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-block { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold-light); }
.contact-value-plain {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* === FOOTER === */
.footer {
  background: #060F18;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 60px 24px 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* === MOBILE === */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: none;
  }
  .gallery-item--tall { height: 280px; grid-row: span 1; }
  .gallery-item { height: 200px; }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-img-wrap { max-height: 340px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trust-item { padding: 8px 20px; }
  .trust-div { display: none; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; max-height: none; }
  .gallery-item, .gallery-item--tall { height: 260px; grid-row: span 1; }
  .gallery-label { opacity: 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-bolt { display: none; }
}

/* Portrait photo fix */
.gallery-item img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}
.gallery-item {
  height: 280px;
}
.gallery-item--tall {
  height: 580px;
}

/* Logo styles */
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

/* Force portrait images upright */
.gallery-item img {
  transform: rotate(0deg);
}

/* Nav brand text */
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-left: 12px;
}
@media (max-width: 700px) {
  .nav-brand-text { display: none; }
}

/* App install banner */
.app-banner {
  display: none;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 12px 16px;
}
.app-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
}
.app-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-banner-text strong {
  color: var(--white);
  font-size: 13px;
}
.app-banner-text span {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}
.app-banner-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.app-banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

/* Hero install button */
.btn-install {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-install:hover {
  background: var(--gold);
  color: var(--navy);
}
