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

:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --navy-dark: #111b30;
  --gold: #c8a45a;
  --gold-light: #d4b76e;
  --gold-dark: #b8933f;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --cream: #faf9f7;
  --gray-100: #f0eeeb;
  --gray-200: #e2dfda;
  --gray-300: #c8c4bd;
  --gray-400: #9e9a93;
  --gray-500: #6b6760;
  --gray-600: #4a4740;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--gray-600);
  background: var(--cream);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), padding 0.3s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(26, 39, 68, 0.97);
  box-shadow: 0 1px 0 rgba(200, 164, 90, 0.15);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  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;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 27, 48, 0.88) 0%,
    rgba(26, 39, 68, 0.82) 40%,
    rgba(26, 39, 68, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  background: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 164, 90, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- SECTION COMMON ---- */
section {
  padding: 120px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* ---- SERVICES ---- */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}

.service-card {
  background: var(--cream);
  padding: 44px 36px;
  transition: background 0.4s var(--ease-out), color 0.4s;
}

.service-card:hover {
  background: var(--navy);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.65);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease-out);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color 0.4s;
}

.service-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-500);
  transition: color 0.4s;
}

/* ---- ABOUT ---- */
.about {
  background: var(--white);
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 2px;
}

.about-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* ---- SAFETY ---- */
.safety {
  background: var(--navy);
  padding: 120px 0;
}

.safety-inner {
  max-width: 900px;
}

.safety-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.safety-label-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.safety-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
}

.safety-item {
  position: relative;
  padding-left: 56px;
}

.safety-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: rgba(200, 164, 90, 0.2);
  line-height: 1;
}

.safety-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.safety-item p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

/* ---- CONTACT ---- */
.contact {
  background: var(--cream);
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-500);
  margin-bottom: 44px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 15px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.6;
}

.contact-detail a:hover {
  color: var(--gold-dark);
}

/* ---- FORM ---- */
.contact-form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: 2px;
  border: 1px solid var(--gray-200);
}

.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: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #e8f0e8;
  border-radius: 2px;
  font-size: 14px;
  color: #2d5a2d;
  font-weight: 400;
}

.form-success.show {
  display: flex;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.footer-contact a {
  font-size: 14px;
  color: var(--white);
  font-weight: 400;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    gap: 56px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 600px;
  }

  .hero-headline {
    margin-bottom: 20px;
  }

  .hero-sub {
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .service-card {
    padding: 36px 28px;
  }

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

  .about-image img {
    height: 360px;
  }

  .about-image-accent {
    display: none;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 20px;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
