/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --midnight: #0A1F3F;
  --midnight-light: #132D54;
  --midnight-deep: #061529;
  --mint: #A8D5BA;
  --mint-light: #C5E8D4;
  --mint-muted: #D4E9DC;
  --cream: #F7F5F0;
  --cream-dark: #EDE9E0;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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;
  overflow-x: hidden;
}

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

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

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

/* ===== TYPOGRAPHY ===== */
.section-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
  display: block;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--midnight);
  margin-bottom: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn-primary:hover {
  background: var(--mint-light);
  border-color: var(--mint-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 31, 63, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--midnight);
  border-color: var(--midnight);
}

.btn-ghost:hover {
  background: var(--midnight);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 31, 63, 0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(10, 31, 63, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--midnight);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--midnight);
}

.logo-sub {
  font-size: 0.6875rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav a:hover {
  color: var(--midnight);
  background: rgba(10, 31, 63, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--midnight);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-headline em {
  font-style: italic;
  color: var(--mint);
}

.hero-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 40px;
  max-width: 480px;
}

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

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

.hero-image-inner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(10, 31, 63, 0.12);
}

.hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 640/820;
}

.hero-accent {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 160px;
  height: 160px;
  background: var(--mint);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.5;
}

/* ===== STATS ===== */
.stats {
  background: var(--midnight);
  padding: 48px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mint);
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(168, 213, 186, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(168, 213, 186, 0.2);
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}

.about-image-col {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10, 31, 63, 0.1);
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 580/720;
}

.about-copy-col {
  padding-left: 16px;
}

.about-copy-col p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--midnight);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-dark);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 32px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 31, 63, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--midnight);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 12px;
}

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

/* ===== PROCESS ===== */
.process {
  padding: 120px 0;
  background: var(--midnight);
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.process-header .section-kicker {
  color: var(--mint);
}

.process-header .section-headline {
  color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  text-align: left;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(168, 213, 186, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

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

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: 120px 0;
  background: var(--cream);
}

.testimonial-inner {
  max-width: 760px;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  width: 48px;
  height: 48px;
  color: var(--mint);
  opacity: 0.4;
  margin: 0 auto 32px;
}

.testimonial blockquote {
  margin-bottom: 32px;
}

.testimonial blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--midnight);
}

cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cite-name {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--midnight);
}

.cite-detail {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--white);
}

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

.contact-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 40px;
}

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

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

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 4px;
}

.contact-row span,
.contact-row a {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-row a:hover {
  color: var(--midnight);
  text-decoration: underline;
}

/* ===== FORM ===== */
.contact-form-col {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.2);
}

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

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

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--mint);
  margin: 0 auto 16px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--midnight);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.9375rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--midnight-deep);
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

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

.footer-brand-text {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--white);
}

.footer nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.footer nav a {
  padding: 8px 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.footer nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-legal {
  font-size: 0.6875rem !important;
  color: rgba(255, 255, 255, 0.25) !important;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid rgba(10, 31, 63, 0.06);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 16px 32px rgba(10, 31, 63, 0.08);
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-headline {
    max-width: none;
  }

  .hero-body {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-accent {
    width: 100px;
    height: 100px;
    bottom: -16px;
    left: -16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-copy-col {
    padding-left: 0;
  }

  .about-image-col {
    max-width: 480px;
    margin: 0 auto;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-col {
    padding: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8125rem;
  }
}
