/* =========================================
   VARIABLES
========================================= */
:root {
  --navy: #0b1730;
  --navy-soft: #111827;
  --blue: #1d4ed8;
  --blue-soft: #60a5fa;
  --silver-soft: #e5e7eb;
  --bg-soft: #f3f4f6;
  --bg-alt: #edf6ff;
  --text: #020617;
  --text-muted: #6b7280;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1120px;
}

/* =========================================
   RESET / GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.hidden {
  display: none;
}

.page {
  min-height: 100vh;
}

/* =========================================
   KEYFRAMES
========================================= */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================
   SECTION BASE
========================================= */
.section {
  padding: 80px 20px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  will-change: opacity, transform;
}

.section.in-view {
  animation: fadeUp 0.7s ease-out forwards;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--navy-soft);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 24px;
}

/* =========================================
   HEADER
========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.2s ease;
}

.header-scrolled {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

.header-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  padding-bottom: 3px;
  position: relative;
  transition: color 0.16s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.18s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: box-shadow 0.18s ease, transform 0.18s ease, background-position 0.4s ease;
}

.nav-contact::after {
  display: none;
}

.nav-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
  background-position: 100% 50%;
}

/* =========================================
   MOBILE NAV
========================================= */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.6px;
  background: #111827;
  border-radius: 4px;
  margin: 3.8px 0;
  transition: 0.25s ease;
}

.nav-toggle:hover {
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.45);
  transform: translateY(-1px);
}

/* Hamburger → X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 10px 20px;
}

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

.nav-mobile a {
  padding: 14px 0;
  font-size: 0.95rem;
  color: #1f2937;
  border-bottom: 1px solid rgba(228, 232, 240, 0.9);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* =========================================
   HERO
========================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px 80px;
  background: radial-gradient(circle at top, #e0f2fe 0%, #f8fafc 40%, #e5e7eb 100%);
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* parallax cloud blobs */
.hero-cloud {
  position: absolute;
  width: 320px;
  height: 160px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.hero-cloud-left {
  top: -40px;
  left: -60px;
  background: radial-gradient(circle at 30% 20%, rgba(191, 219, 254, 0.9), rgba(59, 130, 246, 0.05));
}

.hero-cloud-right {
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle at 70% 40%, rgba(148, 163, 184, 0.9), rgba(15, 23, 42, 0.05));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: #4b5563;
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.45);
}

.badge {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 20%, #bfdbfe, #1d4ed8);
  border-radius: 50%;
  font-size: 0.65rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--navy-soft);
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 22px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  padding: 12px 22px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
  background-size: 220% 220%;
  background-position: 0% 50%;
  transition: box-shadow 0.18s ease, transform 0.18s ease, background-position 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
  background-position: 100% 50%;
}

.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.75);
  transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.5);
  background: #ffffff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.88rem;
  color: #64748b;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 999px;
}

/* =========================================
   PANEL (WHAT AN APPRAISAL IS)
========================================= */
.panel {
  background: #ffffff;
}

.panel-card {
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  border-radius: var(--radius-xl);
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

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

.panel-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.4);
}

.panel-title-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.panel-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--navy-soft);
  margin: 6px 0 10px;
}

.panel-sub {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.panel-list {
  list-style: none;
  margin-bottom: 12px;
}

.panel-list li {
  font-size: 0.94rem;
  color: #374151;
  margin-bottom: 8px;
}

.panel-list li::before {
  content: "• ";
  color: var(--blue);
}

.panel-foot {
  font-size: 0.85rem;
  color: #6b7280;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

/* =========================================
   WHAT WE DO
========================================= */
.what {
  background: #ffffff;
}

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

.grid-4 h3 {
  font-size: 1.05rem;
  color: var(--navy-soft);
  margin-bottom: 6px;
}

.grid-4 p {
  font-size: 0.94rem;
  color: #6b7280;
  line-height: 1.6;
}

/* =========================================
   PROCESS
========================================= */
.process {
  background: var(--bg-soft);
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.flow-step {
  flex: 1 1 220px;
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.55);
}

.flow-step-number {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  border-radius: 50%;
  color: #eff6ff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.flow-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 4px;
}

.flow-step-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.flow-arrow {
  font-size: 2rem;
  color: #94a3b8;
}

/* =========================================
   BENEFITS
========================================= */
.benefits {
  background: #ffffff;
}

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

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.benefit-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at top, #dbeafe, #60a5fa);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #0f172a;
}

.about-preview {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.55);
}

.about-preview-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 6px;
}

/* =========================================
   BIO
========================================= */
.bio {
  background: #ffffff;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.bio-main p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 10px;
}

.bio-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.bio-name {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--navy-soft);
  margin-bottom: 10px;
}

.bio-subheading {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-top: 10px;
  margin-bottom: 6px;
}

.bio-list {
  list-style: none;
  padding-left: 0;
}

.bio-list li {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 6px;
}

.bio-list li::before {
  content: "• ";
  color: var(--blue);
}

/* Bio card */
.bio-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 18px 18px 16px;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
}

.bio-photo {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
  border: 2px solid rgba(148, 163, 184, 0.7);
}

.bio-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 2px;
}

.bio-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 8px;
}

.bio-card-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: left;
}

.bio-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.bio-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f0ff;
  color: #1d4ed8;
}

.bio-card-foot {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
  text-align: left;
}

.bio-divider {
  margin: 50px 0;
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

/* =========================================
   INTAKE
========================================= */
.intake {
  background: var(--bg-alt);
}

.lower-grid {
  display: flex;
  justify-content: center;
}

.form-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.55);
}

.form-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--navy-soft);
}

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

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

label {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 4px;
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

/* Checkbox alignment */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.form-footer {
  margin-top: 18px;
}

/* =========================================
   FAQ
========================================= */
.faq {
  background: #ffffff;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
}

.faq-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.4);
}

.faq-item {
  padding: 14px 0;
  border-top: 1px solid rgba(203, 213, 225, 0.9);
}

.faq-item:first-child {
  border-top: none;
}

.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.faq-a {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  padding: 22px 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #475569;
}

.footer-contact a {
  font-size: 0.85rem;
  color: var(--blue);
}

.disclaimer {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 6px;
}

.copyright {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 960px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .bio-card {
    text-align: left;
  }

  .bio-photo {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 60px 16px;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
  }

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