/* ==========================================================================
   Arnett Financial — Stylesheet
   Aesthetic: Classic Professional — Navy, Gold, Cream
   Fonts: Cormorant Garamond (display) + Raleway (body)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #152d54;
  --navy-600: #1b3a68;
  --navy-500: #234b87;
  --gold-500: #c5a255;
  --gold-400: #d4b76a;
  --gold-300: #e2cb8b;
  --gold-200: #f0dfb0;
  --cream-100: #faf8f3;
  --cream-200: #f2efe6;
  --cream-300: #e8e3d8;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-muted: #6b6b6b;
  --text-light: #d0cfc9;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --header-height: 80px;
  --container-max: 1200px;
  --section-pad: 100px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream-100);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

em {
  font-style: italic;
  color: var(--gold-500);
}

p + p { margin-top: 1em; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.section-label.light { color: var(--gold-400); }

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

.section-title { margin-bottom: 16px; }
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-quart);
  text-align: center;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 162, 85, 0.3);
}

.btn-secondary {
  background: var(--navy-800);
  color: var(--cream-100);
  border-color: var(--navy-800);
}
.btn-secondary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--navy-800);
  color: var(--cream-100);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--cream-100);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out-quart);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

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

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

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-500);
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.logo-llc {
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero (Home) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideFade 36s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }

@keyframes heroSlideFade {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  16.6% { opacity: 1; }
  19%   { opacity: 0; }
  100% { opacity: 0; }
}

.page-hero .hero-slide.page-hero-slide {
  animation: pageHeroFade 14s infinite;
}
.page-hero .hero-slide.page-hero-slide:nth-child(1) { animation-delay: 0s; }
.page-hero .hero-slide.page-hero-slide:nth-child(2) { animation-delay: 7s; }

@keyframes pageHeroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  50%  { opacity: 1; }
  55%  { opacity: 0; }
  100% { opacity: 0; }
}

.page-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,0.78) 0%, rgba(10,22,40,0.62) 40%, rgba(10,22,40,0.78) 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,22,40,0.78) 0%, rgba(10,22,40,0.62) 40%, rgba(10,22,40,0.78) 100%);
  z-index: 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--gold-500) 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 100px 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,162,85,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,162,85,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  animation: heroFadeIn 1.2s var(--ease-out-expo) forwards;
}

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

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 24px;
  animation: heroFadeIn 1.2s 0.2s var(--ease-out-expo) both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: heroFadeIn 1.2s 0.35s var(--ease-out-expo) both;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: heroFadeIn 1.2s 0.5s var(--ease-out-expo) both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1.2s 0.65s var(--ease-out-expo) both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: heroFadeIn 1.2s 1s var(--ease-out-expo) both;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.page-hero-short {
  min-height: 40vh;
}

/* Three-photo strip behind the Additional Services hero */
.page-hero-photos {
  min-height: 46vh;
}
.hero-photo-strip {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
}
.hero-photo {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-700);
}
.hero-photo + .hero-photo {
  border-left: 1px solid rgba(197,162,85,0.25);
}

/* Keep a single page-hero image static (no fade revealing the navy background) */
.page-hero-static .hero-slide.page-hero-slide {
  animation: none;
  opacity: 1;
}

.page-hero-content {
  text-align: center;
  padding: 60px 24px;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}

/* --- Credibility Bar --- */
.credibility-bar {
  background: var(--navy-800);
  padding: 48px 0;
  border-bottom: 1px solid rgba(197,162,85,0.15);
}

.cred-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cred-item {
  text-align: center;
}

.cred-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

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

.cred-sublabel {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(197,162,85,0.75);
}

.cred-globe {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
}

.cred-usa {
  display: block;
  width: auto;
  height: 64px;
  margin: 0 auto 10px;
}

.cred-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* --- Services Grid (Home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--cream-300);
  transition: all 0.4s var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,22,40,0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* --- Philosophy Section --- */
.philosophy {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    var(--gold-500) 40px,
    var(--gold-500) 41px
  );
}

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

.philosophy-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 16px;
}

.philosophy-text + .btn-outline-light {
  margin-top: 24px;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--gold-500);
  transition: background 0.3s;
}

.value-item:hover {
  background: rgba(255,255,255,0.06);
}

.value-number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-500);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.value-item h4 {
  color: var(--white);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  text-align: center;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* --- About Page --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.story-image-placeholder {
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
}

.story-image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.story-image-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

.story-content h2 {
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-body);
  line-height: 1.85;
}

/* Mission */
.mission-section {
  background: var(--cream-200);
}

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

.mission-card {
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid var(--cream-300);
  text-align: center;
}

.mission-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-500);
  margin: 0 auto 20px;
}

.mission-card h3 {
  margin-bottom: 16px;
}

.mission-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Why Us */
.why-us {
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--cream-300);
  transition: all 0.3s var(--ease-out-quart);
}

.why-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10,22,40,0.06);
}

.why-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.why-item h4 { margin-bottom: 6px; }

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Services Page --- */
.services-detail {
  padding-top: 0;
}

.service-detail-block {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--cream-300);
  align-items: flex-start;
}

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

.sdb-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-300);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  width: 80px;
  text-align: center;
}

.sdb-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.sdb-content p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold-500);
  border-radius: 50%;
}

/* Process Section */
.process-section {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  max-width: 220px;
  padding: 20px;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(197,162,85,0.2));
  margin-top: 50px;
  flex-shrink: 0;
}

/* --- Contact Page --- */
.contact-section {
  padding-top: 80px;
}

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

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

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

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

.contact-detail-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-500);
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-detail-item h4 {
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--navy-600);
  transition: color 0.2s;
}
.contact-detail-item a:hover {
  color: var(--gold-500);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  padding: 48px 40px;
  border: 1px solid var(--cream-300);
  box-shadow: 0 8px 40px rgba(10,22,40,0.05);
}

.contact-form-card h3 {
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.required { color: var(--gold-500); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: 2px;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197,162,85,0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Founder Section */
.founder-section {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.founder-photo-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 30px 60px -30px rgba(10,22,40,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
}

.founder-photo.no-photo .founder-initials {
  opacity: 1;
}

.founder-photo-frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold-500);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.6;
}

.founder-content .section-label {
  margin-bottom: 12px;
}

/* --- Team (under Founder) --- */
.team-section {
  background: var(--white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
}
.team-photo-wrap {
  position: relative;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 24px 48px -28px rgba(10,22,40,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-photo-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold-500);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.6;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: center;
  margin-top: 28px;
}
.team-role {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 300px;
  }
}

.founder-content .section-title {
  margin-bottom: 8px;
}

.founder-role {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 24px;
}

.founder-bio {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.founder-creds {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.founder-creds li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--navy-900);
  line-height: 1.5;
}

.founder-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 1px;
  background: var(--gold-500);
}

@media (max-width: 880px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .founder-photo-frame {
    inset: 16px -16px -16px 16px;
  }
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

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

.form-success .success-icon {
  width: 64px;
  height: 64px;
  color: var(--gold-500);
  margin: 0 auto 20px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-900);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.footer-logo .logo-text {
  font-size: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  font-style: italic;
  font-family: var(--font-display);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer-disclaimer {
  margin-top: 8px;
  font-size: 0.7rem !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  :root {
    --section-pad: 72px;
  }

  .philosophy-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-grid {
    direction: ltr;
  }

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

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

  .service-features {
    grid-template-columns: 1fr;
  }

  .process-connector {
    display: none;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: right 0.4s var(--ease-out-expo);
    box-shadow: -8px 0 32px rgba(0,0,0,0.2);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav .nav-link {
    font-size: 1rem;
    padding: 16px 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cred-items {
    gap: 24px;
  }

  .cred-divider { display: none; }

  .cred-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .cred-item:last-child {
    grid-column: 1 / -1;
  }

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

  .service-detail-block {
    flex-direction: column;
    gap: 16px;
  }

  .sdb-number {
    width: auto;
    text-align: left;
  }

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

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

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

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

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

  .btn {
    padding: 14px 28px;
    font-size: 0.8rem;
  }
}
