/* ==========================================================================
   Mackey Construction — Main Stylesheet
   ========================================================================== */

/* 1. Variables & Reset
   2. Base & Typography
   3. Navigation
   4. Buttons
   5. Hero — Home
   6. Hero — Page Banner
   7. Section Layouts
   8. Cards & Features
   9. Process Steps
   10. Stats Bar
   11. Gallery
   12. Testimonials
   13. Resources
   14. Contact & Form
   15. Footer
   16. Animations
   17. Utilities
   18. Responsive
   ========================================================================== */

/* ── 1. Variables & Reset ─────────────────────────────────────────────────── */

:root {
  --navy:       #1B2D4F;
  --navy-light: #243A63;
  --navy-dark:  #0F1B30;
  --gold:       #C9A84C;
  --gold-light: #DFC07A;
  --gold-dark:  #A8872E;
  --black:      #0D0D0D;
  --dark:       #1A1A1A;
  --gray-dark:  #444;
  --gray:       #777;
  --gray-light: #ADADAD;
  --cream:      #F7F6F1;
  --white:      #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 88px;
  --section-pad: 100px;
  --container: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.16);
}

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

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

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

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

/* ── 2. Base & Typography ─────────────────────────────────────────────────── */

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--gray-dark); max-width: 65ch; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-title + p {
  font-size: 1.05rem;
  color: var(--gray-dark);
  margin-bottom: 2.5rem;
}

.gold-line {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.gold-line.center { margin-left: auto; margin-right: auto; }

/* ── 3. Navigation ────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 2rem;
}

.nav.transparent { background: transparent; }

.nav.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 168px;
  width: auto;
  transition: opacity var(--transition);
}

.nav-logo img:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy-dark);
  padding: 1.5rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

.nav-mobile .btn { display: block; text-align: center; margin-top: 1.25rem; }

/* ── 4. Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(27,45,79,0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

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

.btn i { font-size: 0.9em; }

/* ── 5. Hero — Home ───────────────────────────────────────────────────────── */

.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      160deg,
      rgba(11,20,38,0.93) 0%,
      rgba(15,27,48,0.88) 40%,
      rgba(27,45,79,0.80) 100%
    ),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 1;
}

.hero-home::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(201,168,76,0.07), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 2rem 8rem;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-home h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.1;
}

.hero-home h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.80);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-trust-item i {
  color: var(--gold);
  font-size: 0.95rem;
}

.hero-trust-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.25);
}

/* ── 6. Hero — Page Banner ────────────────────────────────────────────────── */

.page-banner {
  background: var(--navy-dark);
  padding: calc(var(--nav-h) + 3.5rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(27,45,79,0.4) 0%, transparent 50%);
}

.page-banner-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 52ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gold); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb i { font-size: 0.7rem; }

/* ── 7. Section Layouts ───────────────────────────────────────────────────── */

.section {
  padding: var(--section-pad) 2rem;
}

.section-cream { background: var(--cream); }
.section-navy  { background: var(--navy-dark); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy .section-label { color: var(--gold-light); }
.section-navy p { color: rgba(255,255,255,0.72); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── 8. Cards & Features ──────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-body { padding: 2rem; }

.feature-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: var(--transition);
}

.feature-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-icon i {
  font-size: 1.4rem;
  color: var(--gold);
}

.feature-card:hover .feature-icon {
  background: var(--gold);
}

.feature-card:hover .feature-icon i {
  color: var(--navy-dark);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: none;
}

/* ── 9. Process Steps ─────────────────────────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.process-step {
  position: relative;
  padding: 2.25rem 2rem 2rem 2rem;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  counter-increment: steps;
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-icon i { color: var(--gold); font-size: 1.1rem; }

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--navy-dark);
}

.process-step p {
  font-size: 0.93rem;
  color: var(--gray);
  max-width: none;
}

/* Full process — linear list */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: relative;
}

.process-item:last-child { border-bottom: none; }

.process-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.process-num-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(201,168,76,0.3);
}

.process-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
  margin-top: 8px;
  min-height: 40px;
}

.process-item:last-child .process-connector { display: none; }

.process-item-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--navy-dark);
}

.process-item-body p {
  font-size: 0.97rem;
  color: var(--gray-dark);
  max-width: none;
  margin-bottom: 0.75rem;
}

.process-tag {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

/* ── 10. Stats Bar ────────────────────────────────────────────────────────── */

.stats-bar {
  background: var(--navy);
  padding: 2.75rem 2rem;
}

.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── 11. Gallery ──────────────────────────────────────────────────────────── */

.gallery-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  border: 1px solid #ddd;
  color: var(--gray);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,20,38,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.gallery-overlay-text h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay-text span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 12. Testimonials ─────────────────────────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  max-width: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-info { }
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-dark);
}
.testimonial-loc {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── 13. Resources ────────────────────────────────────────────────────────── */

.resource-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.resource-card:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.resource-icon {
  width: 48px;
  height: 48px;
  background: rgba(27,45,79,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-icon i { color: var(--navy); font-size: 1.25rem; }

.resource-content h4 { margin-bottom: 0.4rem; color: var(--navy-dark); }
.resource-content p { font-size: 0.92rem; color: var(--gray); max-width: none; }

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  transition: gap var(--transition);
}

.resource-link:hover { gap: 0.6rem; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 1rem;
  gap: 1rem;
}

.faq-question i {
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--gray-dark);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: none;
}

.faq-item.open .faq-answer { display: block; }

/* ── 14. Contact & Form ───────────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 0.75rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
  color: var(--gray-dark);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon i { color: var(--gold); font-size: 1rem; }

.contact-detail h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.97rem;
  color: var(--dark);
  max-width: none;
}

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

.form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}

.form-wrap h3 { margin-bottom: 0.4rem; }
.form-wrap > p { font-size: 0.93rem; margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.97rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23777' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-top: 0.75rem;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #2d7a4f;
  background: #f0faf5;
  border-radius: 4px;
  border: 1px solid #a3d9bb;
  margin-top: 1rem;
}

/* ── 15. Footer ───────────────────────────────────────────────────────────── */

.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 2rem 0;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 143px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ── 16. Animations ───────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.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; }

/* ── 17. Utilities ────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.72); margin: 0 auto 2.5rem; font-size: 1.08rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: 6px;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-image-badge .big-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-image-badge .big-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: rgba(27,45,79,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon i { color: var(--navy); font-size: 1rem; }

.value-item h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.value-item p  { font-size: 0.93rem; max-width: none; }

/* ── 18. Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root { --section-pad: 75px; }

  .two-col   { grid-template-columns: 1fr; gap: 3rem; }
  .two-col.reverse { direction: ltr; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .four-col  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .testimonial-grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 72px;
    --section-pad: 60px;
  }

  .nav-links,
  .nav-cta { display: none; }

  .nav-hamburger { display: flex; }

  .three-col,
  .testimonial-grid { grid-template-columns: 1fr; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

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

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

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

  .form-wrap { padding: 1.75rem; }

  .about-image-badge {
    right: 0.5rem;
    bottom: 0.5rem;
  }

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

  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-trust-sep { display: none; }

  .process-item { grid-template-columns: 56px 1fr; gap: 1.25rem; }
}

@media (max-width: 480px) {
  .four-col { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
