/* style.css — Clear365 Design System + Components */

/* ============ TYPE SCALE ============ */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --font-display: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ LIGHT MODE ============ */
:root, [data-theme="light"] {
  --color-bg:             #F8F9FB;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F2F4F8;
  --color-surface-offset: #EDF0F5;
  --color-surface-offset-2: #E5E9F0;
  --color-surface-dynamic: #DCE1EA;
  --color-divider:        #D0D6E0;
  --color-border:         #C2CADB;

  --color-text:           #0B1D3A;
  --color-text-muted:     #5A6A85;
  --color-text-faint:     #9AA5B8;
  --color-text-inverse:   #F8F9FB;

  --color-primary:        #00A3FF;
  --color-primary-hover:  #0089D6;
  --color-primary-active: #0070B0;
  --color-primary-highlight: #E0F2FF;

  --color-navy:           #0B1D3A;
  --color-navy-light:     #142D54;
  --color-navy-lighter:   #1E3D6E;

  --color-error:          #D1344B;
  --color-error-hover:    #B02A3E;
  --color-error-highlight: #FDE8EC;

  --color-success:        #1A8754;
  --color-success-hover:  #146D43;
  --color-success-highlight: #E6F5ED;

  --color-warning:        #E6900A;
  --color-warning-hover:  #C27808;
  --color-warning-highlight: #FFF4E0;

  --shadow-sm: 0 1px 2px oklch(0.15 0.02 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.15 0.02 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.15 0.02 250 / 0.12);
}

/* ============ DARK MODE ============ */
[data-theme="dark"] {
  --color-bg:             #080E1A;
  --color-surface:        #0D1526;
  --color-surface-2:      #121C32;
  --color-surface-offset: #0F1828;
  --color-surface-offset-2: #15203A;
  --color-surface-dynamic: #1B2844;
  --color-divider:        #1E2D4E;
  --color-border:         #2A3B5C;

  --color-text:           #D8DDE8;
  --color-text-muted:     #8895AD;
  --color-text-faint:     #556178;
  --color-text-inverse:   #0B1D3A;

  --color-primary:        #3DB8FF;
  --color-primary-hover:  #66C8FF;
  --color-primary-active: #0098F0;
  --color-primary-highlight: #0D2A44;

  --color-navy:           #8EACDB;
  --color-navy-light:     #6B8EC4;
  --color-navy-lighter:   #4D72AA;

  --color-error:          #F47080;
  --color-error-hover:    #E8485C;
  --color-error-highlight: #2D1218;

  --color-success:        #4AC77E;
  --color-success-hover:  #30AE62;
  --color-success-highlight: #0E2519;

  --color-warning:        #F5B64A;
  --color-warning-hover:  #E8A030;
  --color-warning-highlight: #2C2010;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #080E1A;
    --color-surface:        #0D1526;
    --color-surface-2:      #121C32;
    --color-surface-offset: #0F1828;
    --color-surface-offset-2: #15203A;
    --color-surface-dynamic: #1B2844;
    --color-divider:        #1E2D4E;
    --color-border:         #2A3B5C;
    --color-text:           #D8DDE8;
    --color-text-muted:     #8895AD;
    --color-text-faint:     #556178;
    --color-text-inverse:   #0B1D3A;
    --color-primary:        #3DB8FF;
    --color-primary-hover:  #66C8FF;
    --color-primary-active: #0098F0;
    --color-primary-highlight: #0D2A44;
    --color-navy:           #8EACDB;
    --color-navy-light:     #6B8EC4;
    --color-navy-lighter:   #4D72AA;
    --color-error:          #F47080;
    --color-success:        #4AC77E;
    --color-warning:        #F5B64A;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-default);
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  padding: var(--space-3) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-text-inverse);
}
.btn--navy:hover {
  background: var(--color-navy-light);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-text-faint);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
}
.mobile-menu-btn:hover { background: var(--color-surface-offset); }
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

@media (max-width: 899px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: var(--text-base); }
  .mobile-menu-btn { display: flex; }
  .nav-cta-desktop { display: none; }
}

@media (min-width: 900px) {
  .mobile-menu-btn { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, oklch(from var(--color-primary) l c h / 0.05), transparent),
    radial-gradient(ellipse 40% 60% at 20% 70%, oklch(from var(--color-navy) l c h / 0.04), transparent);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image:
    linear-gradient(oklch(from var(--color-navy) l c h / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, oklch(from var(--color-navy) l c h / 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  max-width: 720px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.hero-label::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

[data-theme="dark"] .hero h1 {
  color: var(--color-text);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============ TRUST BAR ============ */
.trust-bar {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
  background: var(--color-surface);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 16px;
  height: 16px;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.service-price {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ============ SECTION HEADINGS ============ */
.section-heading {
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.section-heading p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-8);
}

.step-card {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: oklch(from var(--color-primary) l c h / 0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============ COMPLIANCE ============ */
.compliance-section {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
}

[data-theme="dark"] .compliance-section {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.compliance-section .section-label {
  color: var(--color-primary);
}

.compliance-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: inherit;
}

.compliance-section > p {
  color: oklch(from var(--color-text-inverse) l c h / 0.7);
  margin-bottom: var(--space-10);
  max-width: 600px;
}

[data-theme="dark"] .compliance-section > p {
  color: var(--color-text-muted);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.compliance-card {
  background: oklch(from var(--color-text-inverse) l c h / 0.08);
  border: 1px solid oklch(from var(--color-text-inverse) l c h / 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

[data-theme="dark"] .compliance-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.compliance-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: inherit;
}

.compliance-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: oklch(from var(--color-text-inverse) l c h / 0.7);
}

[data-theme="dark"] .compliance-card p {
  color: var(--color-text-muted);
}

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

.compliance-cta .btn--primary {
  background: var(--color-primary);
}

/* ============ ABOUT ============ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 280px 1fr;
    gap: var(--space-12);
  }
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: 0 8px 32px oklch(from var(--color-text) l c h / 0.08);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.about-title {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.about-bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* Career line */
.about-career {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.about-career strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Certifications */
.about-certs {
  margin-bottom: var(--space-8);
}

.about-certs-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-2);
}

.cert-tier {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.cert-tier:last-child {
  margin-bottom: 0;
}

.cert-tier-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.cert-tier-label--expert {
  background: var(--color-primary);
  color: #fff;
}

.cert-tier-label--associate {
  background: oklch(from var(--color-primary) l c h / 0.12);
  color: var(--color-primary);
}

.cert-tier-label--fundamentals {
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}

.cert-tier-label--other {
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cert-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

.cert-badge--expert {
  background: oklch(from var(--color-primary) l c h / 0.14);
  border-color: oklch(from var(--color-primary) l c h / 0.35);
  font-weight: 600;
}

.cert-badge--funda {
  background: var(--color-surface-offset);
  border-color: oklch(from var(--color-text) l c h / 0.08);
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .cert-tier {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* Skills */
.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.skill-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-offset);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.about-languages {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.about-languages strong {
  color: var(--color-text);
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
  border-radius: var(--radius-md);
  transition: var(--transition-interactive);
}

.about-linkedin:hover {
  background: oklch(from var(--color-primary) l c h / 0.06);
  border-color: var(--color-primary);
}

/* ============ RESOURCES ============ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}

.resource-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.resource-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resource-badge--available {
  background: var(--color-success-highlight);
  color: var(--color-success);
}

.resource-badge--soon {
  background: var(--color-surface-offset);
  color: var(--color-text-faint);
}

.email-capture {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.email-capture input {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-sm);
  min-width: 0;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.email-capture input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

.email-capture input::placeholder { color: var(--color-text-faint); }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-placeholder-icon {
  width: 48px;
  height: 48px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ============ CONTACT ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

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

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

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

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.form-note svg { flex-shrink: 0; }

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

.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

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

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 16px; height: 16px; }

.contact-detail a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive);
}

.social-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  list-style: none;
  justify-content: center;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 100%;
}

.footer-copy p {
  margin-bottom: var(--space-2);
  max-width: 100%;
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
