/* ============================================
   ND TESTING — Medical Diagnostic Website
   Color Palette: Terracotta + Sand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-terracotta: #B85843;
  --color-terracotta-dark: #9A4735;
  --color-terracotta-light: #D4826F;
  --color-sand: #F5F0E8;
  --color-sand-dark: #E8DFD0;
  --color-sand-mid: #EDE5D8;
  --color-cream: #FBF9F5;
  --color-charcoal: #1E1E1E;
  --color-dark: #2A2522;
  --color-text: #3A322C;
  --color-text-muted: #7A7068;
  --color-text-light: #A89F96;
  --color-white: #FFFFFF;
  --color-border: #E5DDD2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(42, 37, 34, 0.06), 0 1px 2px rgba(42, 37, 34, 0.04);
  --shadow-md: 0 4px 16px rgba(42, 37, 34, 0.08), 0 2px 4px rgba(42, 37, 34, 0.04);
  --shadow-lg: 0 12px 40px rgba(42, 37, 34, 0.12), 0 4px 12px rgba(42, 37, 34, 0.06);
  --shadow-xl: 0 24px 60px rgba(42, 37, 34, 0.14);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-terracotta);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  border: 2px solid var(--color-terracotta);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-terracotta);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background: var(--color-sand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--color-terracotta);
  background: rgba(184, 88, 67, 0.06);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--color-sand);
}

.hamburger {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
  transition: all var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
  background: var(--color-cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.badge-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-terracotta);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.text-terracotta {
  color: var(--color-terracotta);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  padding-left: var(--space-lg);
}

.hero-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 600/750;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-float {
  position: absolute;
  bottom: -40px;
  left: -60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-cream);
  width: 220px;
}

.hero-image-float img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.float-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.625rem 0.875rem;
  background: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark);
}

.float-badge svg {
  color: var(--color-terracotta);
  flex-shrink: 0;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-sand);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
}

.trust-item svg {
  color: var(--color-terracotta);
  flex-shrink: 0;
}

/* --- Services --- */
.services {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--space-2xl);
}

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

.section-header.center .section-label {
  justify-content: center;
}

.section-header.center .section-label::before {
  display: none;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--color-terracotta-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  color: var(--color-terracotta);
  margin-bottom: var(--space-lg);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-terracotta);
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 0.625rem;
}

/* --- About --- */
.about {
  padding: var(--space-4xl) 0;
  background: var(--color-sand);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-visual {
  position: relative;
  padding-right: var(--space-lg);
}

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

.about-img-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 520/640;
}

.about-img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-sand);
  width: 55%;
  aspect-ratio: 280/340;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 30px;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.about-content .section-title {
  margin-bottom: var(--space-lg);
}

.about-content > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) 0;
  margin: var(--space-xl) 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-feature svg {
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.about-content .btn {
  margin-top: var(--space-md);
}

/* --- Process --- */
.process {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.process-step:hover {
  border-color: var(--color-terracotta-light);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-sand-dark);
  line-height: 1;
  margin-bottom: var(--space-md);
  transition: color var(--transition);
}

.process-step:hover .step-number {
  color: var(--color-terracotta-light);
}

.process-step h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 88, 67, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq {
  padding: var(--space-4xl) 0;
  background: var(--color-cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-xl);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--color-terracotta-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-terracotta);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-terracotta);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-sand);
  transition: all var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Contact --- */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--color-sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-terracotta);
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail a {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--color-terracotta);
}

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

/* Contact Form */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--color-dark);
}

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-dark);
  background: var(--color-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(184, 88, 67, 0.1);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: var(--radius-md);
  color: #2E7D32;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: var(--space-md);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.footer-links a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-terracotta-light);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.7fr;
    gap: var(--space-xl);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 5rem;
    --space-3xl: 4rem;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

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

  .hero-visual {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .trust-items {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

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

  .about-visual {
    order: -1;
    padding-right: 0;
    max-width: 480px;
    margin: 0 auto;
  }

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

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

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

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

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

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

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

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

  .trust-items {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
