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

:root {
  --navy: #0F1C3F;
  --navy-light: #1A2D5A;
  --navy-dark: #091128;
  --gold: #C8A45C;
  --gold-light: #D4B76E;
  --gold-dark: #B08D3F;
  --cream: #F7F4EE;
  --cream-dark: #EDE8DD;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #F7F4EE;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(15, 28, 63, 0.10);
  --shadow-lg: 0 12px 48px rgba(15, 28, 63, 0.15);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(15, 28, 63, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo-mark {
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-menu a:hover {
  color: var(--gold);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/5799096/pexels-photo-5799096.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,17,40,0.88) 0%, rgba(15,28,63,0.75) 50%, rgba(26,45,90,0.60) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(247,244,238,0.80);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,164,92,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-large {
  padding: 18px 48px;
  font-size: 1.05rem;
  width: 100%;
}

/* ─── Section shared ─── */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(15,28,63,0.06);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── About ─── */
.about-dark {
  background: var(--navy);
}
.about-eyebrow {
  color: var(--gold) !important;
}
.about-title {
  color: var(--white) !important;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 6/7;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(247,244,238,0.78);
  margin-bottom: 20px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(247,244,238,0.60);
  letter-spacing: 0.04em;
}

/* ─── Projects ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-card--large {
  grid-column: span 7;
  aspect-ratio: 3/2;
}
.project-card:not(.project-card--large) {
  aspect-ratio: 1;
}
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(9,17,40,0.90) 0%, transparent 100%);
}
.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.project-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

/* ─── Testimonials ─── */
.testimonials-dark {
  background: var(--navy);
}
.testimonials-eyebrow {
  color: var(--gold) !important;
}
.testimonials-title {
  color: var(--white) !important;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.testimonial-quote {
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.6;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(247,244,238,0.88);
  margin-bottom: 24px;
}
.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

/* ─── CTA ─── */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/5799054/pexels-photo-5799054.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,17,40,0.92);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
}
.cta-eyebrow {
  color: var(--gold) !important;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}
.cta-text {
  font-size: 1.05rem;
  color: rgba(247,244,238,0.75);
  line-height: 1.7;
  margin-bottom: 48px;
}
.contact-form {
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(247,244,238,0.70);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(247,244,238,0.35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.10);
}
.form-group select option {
  background: var(--navy);
  color: var(--white);
}
.form-success {
  text-align: center;
  padding: 16px;
  margin-top: 16px;
  background: rgba(200,164,92,0.15);
  border: 1px solid rgba(200,164,92,0.3);
  border-radius: var(--radius);
  color: var(--gold);
  font-weight: 600;
}
.contact-direct {
  margin-top: 32px;
  text-align: center;
}
.contact-direct p {
  font-size: 0.9rem;
  color: rgba(247,244,238,0.55);
  margin-bottom: 12px;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover {
  color: var(--gold);
}

/* ─── Map ─── */
.map-section {
  background: var(--cream-dark);
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 350px;
  filter: saturate(0.6) contrast(1.1);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px;
}
.footer-brand p {
  color: rgba(247,244,238,0.60);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-contact h4,
.footer-links h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
}
.footer-contact address {
  font-style: normal;
  line-height: 1.8;
  color: rgba(247,244,238,0.65);
  font-size: 0.95rem;
}
.footer-contact a {
  color: rgba(247,244,238,0.65);
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--gold);
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(247,244,238,0.65);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(247,244,238,0.35);
}

/* ─── Scroll reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-menu a {
    font-size: 1.1rem;
  }
  .hero-content {
    padding-top: 80px;
  }
  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap {
    aspect-ratio: 4/3;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card--large {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-stats {
    gap: 24px;
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
