/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep:    #0a1628;
  --navy:         #0d1b2a;
  --navy-mid:     #132238;
  --navy-light:   #1a2d45;
  --gold:         #c9a84c;
  --gold-light:   #dfc06e;
  --gold-dark:    #a8872e;
  --cream:        #f5f0e8;
  --cream-dark:   #e8dfd0;
  --white:        #ffffff;
  --text-light:   #e8e0d4;
  --text-muted:   #9ba8b8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Segoe UI', sans-serif;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* ── Loader ───────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; align-items: center; justify-content: center; }

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; color: var(--gold);
}
.nav-logo-text { letter-spacing: 0.02em; }
.nav-logo-accent { font-weight: 400; color: var(--text-light); }
.nav-menu {
  display: flex; align-items: center; gap: 32px;
}
.nav-menu a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color var(--transition); position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width var(--transition);
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important; color: var(--navy-deep) !important;
  padding: 10px 24px; border-radius: 2px;
  font-weight: 600; letter-spacing: 0.06em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; z-index: 101;
}
.nav-toggle-bar {
  width: 24px; height: 2px; background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/8834043/pexels-photo-8834043.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(13, 27, 42, 0.85) 40%,
    rgba(13, 27, 42, 0.70) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
.hero-title-accent {
  color: var(--gold);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted); max-width: 580px; margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex; justify-content: center; align-items: center; gap: 24px;
}
.trust-item { text-align: center; }
.trust-number {
  display: block; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--gold);
}
.trust-label {
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.trust-divider {
  width: 1px; height: 40px; background: rgba(201, 168, 76, 0.3);
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 40px; background: var(--gold);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px; transition: all var(--transition);
}
.btn-gold {
  background: var(--gold); color: var(--navy-deep);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold); color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section shared ───────────────────────────────────── */
section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 16px;
}
.section-title-accent { color: var(--gold); font-style: italic; }
.section-subtitle {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ── Services ─────────────────────────────────────────── */
.services { background: var(--navy-deep); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 40px 32px; border-radius: 4px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { margin-bottom: 20px; }
.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.service-desc {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.8;
}

/* ── About ────────────────────────────────────────────── */
.about { background: var(--navy); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.about-img-main img { width: 100%; height: 700px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 4px;
  overflow: hidden; border: 4px solid var(--navy);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-accent-box {
  position: absolute; top: -20px; left: -20px;
  background: var(--gold); padding: 20px 24px;
  border-radius: 4px; display: flex; flex-direction: column;
  align-items: center; box-shadow: 0 15px 40px rgba(201,168,76,0.3);
}
.about-accent-box .accent-number {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 700; color: var(--navy-deep); line-height: 1;
}
.about-accent-box .accent-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy-deep); margin-top: 4px;
}
.about-content { max-width: 520px; }
.about-text {
  font-size: 1rem; color: var(--text-muted); line-height: 1.9;
  margin-bottom: 20px;
}
.about-values { margin: 32px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 50%;
  color: var(--gold);
}
.value-item strong {
  display: block; font-size: 0.95rem; color: var(--white);
  margin-bottom: 2px;
}
.value-item span {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
}

/* ── Gallery ──────────────────────────────────────────── */
.gallery { background: var(--navy-deep); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 4px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 24px;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-overlay span {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--gold); font-style: italic;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 4; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 4 / 13; grid-row: 2 / 3; }

/* ── CTA Section ──────────────────────────────────────── */
.cta-section {
  position: relative; padding: 140px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/17553843/pexels-photo-17553843.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center/cover no-repeat;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(13,27,42,0.88) 100%);
}
.cta-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.cta-text {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ──────────────────────────────────────────── */
.contact { background: var(--navy); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-intro {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3); border-radius: 50%;
  color: var(--gold);
}
.contact-item strong {
  display: block; font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.contact-item span, .contact-item a {
  font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
}
.contact-item a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px; padding: 48px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--white); margin-bottom: 8px;
}
.form-subtitle {
  font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--navy-deep);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px; color: var(--text-light);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--navy-deep); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px; color: var(--gold);
  font-size: 0.9rem;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-tagline {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.8; margin-top: 16px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong, .footer-contact strong {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.footer-links a, .footer-contact a, .footer-contact span {
  font-size: 0.9rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ── Back to top ──────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── Reveal animations (progressive enhancement) ──────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .about-img-secondary { width: 160px; height: 160px; right: -20px; bottom: -20px; }
  .gallery-grid { grid-template-rows: repeat(2, 220px); }
}

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

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1rem; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-trust { flex-direction: column; gap: 16px; }
  .trust-divider { width: 40px; height: 1px; }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .about-img-main img { height: 500px; }
  .about-img-secondary { width: 120px; height: 120px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .gallery-item:nth-child(2) { grid-column: 1 / 2; }
  .gallery-item:nth-child(3) { grid-column: 2 / 3; }
  .gallery-item:nth-child(4) { grid-column: 1 / 2; }
  .gallery-item:nth-child(5) { grid-column: 2 / 3; }
  .gallery-grid .gallery-item img { height: 260px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: auto; }
}
