:root {
  --navy: #122f4a;
  --navy-dark: #0b1e30;
  --navy-light: #1b4368;
  --gold: #c9ab72;
  --gold-hover: #b69558;
  --cream: #f9ebd0;
  --bg-light: #faf8f4;
  --white: #ffffff;
  --text-dark: #1c2833;
  --text-muted: #5a6772;
  --border-light: rgba(18, 47, 74, 0.1);
  --shadow-sm: 0 4px 16px rgba(18, 47, 74, 0.08);
  --shadow-md: 0 12px 32px rgba(18, 47, 74, 0.14);
  --radius: 8px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 47, 74, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 171, 114, 0.25);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.brand-logo img {
  height: 58px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.nav-links a {
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 171, 114, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}

.social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201, 171, 114, 0.45);
  border-radius: 6px;
  color: var(--cream);
  padding: 8px 10px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.78rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 30, 48, 0.88) 0%, rgba(18, 47, 74, 0.72) 55%, rgba(11, 30, 48, 0.6) 100%);
}

.hero-sm {
  min-height: 40vh;
  padding: 64px 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 0;
}

.hero-sm .hero-content {
  padding: 24px 0;
}

.hero-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 171, 114, 0.45);
  background: rgba(18, 47, 74, 0.65);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 18px;
}

.hero p.subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(249, 235, 208, 0.92);
  margin-bottom: 34px;
  font-weight: 400;
}

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

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-navy {
  background-color: var(--navy);
  color: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 14px;
}

.section-navy .section-header h2 {
  color: var(--cream);
}

.section-header p {
  color: var(--text-muted);
}

/* Service Cards (Home) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card-img {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.service-card-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.service-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card:hover .service-card-link {
  color: var(--gold-hover);
}

/* Pillars / Values */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 171, 114, 0.28);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201, 171, 114, 0.16);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card h2 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.pillar-card p {
  color: rgba(249, 235, 208, 0.84);
  font-size: 0.96rem;
}

/* About Split */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.about-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--cream);
}

.about-image-frame img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

/* Testimonials */
.testimonial-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 36px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 1.12rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 47, 74, 0.22);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Services Detail Page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse .service-detail-img {
  order: 2;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-detail-text h2 {
  font-size: 1.9rem;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-detail-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.02rem;
}

/* Portfolio Grid & Lightbox */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--navy-dark);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.07);
  opacity: 0.86;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 30, 48, 0.72), transparent 55%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 20, 32, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
  font-size: 1.55rem;
  color: var(--cream);
  margin-bottom: 14px;
}

.contact-info-card p {
  color: rgba(249, 235, 208, 0.85);
  margin-bottom: 28px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 171, 114, 0.22);
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 171, 114, 0.16);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-method a,
.contact-method span {
  font-size: 1.05rem;
  color: var(--cream);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(18, 47, 74, 0.22);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 171, 114, 0.22);
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(201, 171, 114, 0.18);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 500;
  display: none;
}

.form-status.visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream);
  padding: 64px 0 28px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 42px;
}

.footer-brand img {
  height: 76px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(249, 235, 208, 0.78);
  font-size: 0.92rem;
  max-width: 340px;
}

.site-footer h3 {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(249, 235, 208, 0.85);
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(201, 171, 114, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(249, 235, 208, 0.72);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

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

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

  .about-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .service-detail-img {
    order: 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(201, 171, 114, 0.3);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-social {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}