/* =============================================
   Bonta Advisory — Styles
   ============================================= */

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

html {
  scroll-behavior: smooth;
  background: var(--color-navy);
}

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

ul, ol {
  list-style: none;
}

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

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

/* --- Custom Properties --- */
:root {
  --color-navy: #1B2A4A;
  --color-coral: #E19AA0;
  --color-coral-dark: #D45560;
  --color-white: #FFFFFF;
  --color-gray-900: #2D2D2D;
  --color-gray-600: #6B7280;
  --color-gray-300: #D1D5DB;
  --color-gray-50: #F9FAFB;

  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 72px;
}

/* --- Base Typography --- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.2;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  scroll-margin-top: 80px;
}

#workWithMe,
#services,
#contact {
  scroll-margin-top: 30px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================
   NAV
   ============================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  border-bottom-color: var(--color-gray-300);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-coral);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-navy);
}

.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  border-radius: 1px;
}

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

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

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

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

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

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-navy);
}

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

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 768px) {
  .nav-overlay {
    display: none !important;
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* --- Hero Treatment: Oversized Quote Marks --- */
.hero--quotes::before,
.hero--quotes::after {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(12rem, 30vw, 28rem);
  color: var(--color-coral);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero--quotes::before {
  content: '\201C';
  top: 8%;
  left: 5%;
}

.hero--quotes::after {
  content: '\201D';
  bottom: 2%;
  right: 5%;
}

/* --- Hero Treatment: Soft Gradient Wash --- */
.hero--gradient {
  background: radial-gradient(ellipse at 60% 40%, rgba(232, 99, 110, 0.13) 0%, transparent 70%),
              radial-gradient(ellipse at 30% 70%, rgba(27, 42, 74, 0.07) 0%, transparent 60%);
}

/* --- Hero Treatment: Navy Block --- */
.hero--navy {
  background: var(--color-navy);
}

.hero--navy h1 {
  color: var(--color-white);
}

.hero--navy .hero-supporting p {
  color: rgba(255, 255, 255, 0.6);
}

.hero--navy .scroll-indicator {
  background: var(--color-coral);
}

.hero--navy ~ .site-nav:not(.scrolled) {
  background: rgba(27, 42, 74, 0.85);
}

/* Override nav colors when hero is navy and not scrolled past */
body.hero-is-navy .site-nav:not(.scrolled) {
  background: rgba(27, 42, 74, 0.85);
}

body.hero-is-navy .site-nav:not(.scrolled) .nav-brand,
body.hero-is-navy .site-nav:not(.scrolled) .nav-toggle span {
  color: var(--color-white);
}

body.hero-is-navy .site-nav:not(.scrolled) .nav-toggle span {
  background: var(--color-white);
}

body.hero-is-navy .site-nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

body.hero-is-navy .site-nav:not(.scrolled) .nav-links a:hover,
body.hero-is-navy .site-nav:not(.scrolled) .nav-links a.active {
  color: var(--color-white);
}

/* Ensure hero content stays above pseudo-elements */
.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 32px;
}

@media (min-width: 450px) {
  .hero-content {
    padding: 48px 16px;
    max-width: 880px;
  }
}

.hero-supporting p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-gray-600);
  line-height: 1.8;
}

.scroll-indicator {
  display: inline-block;
  margin-top: 48px;
  width: 2px;
  height: 40px;
  background: var(--color-coral);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator {
    animation: none;
    opacity: 0.5;
  }
}

/* =============================================
   ABOUT / PHILOSOPHY
   ============================================= */
.about {
  background: var(--color-gray-50);
  padding: 96px 0;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gray-300), transparent);
}

.about-mission {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-navy);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.about-divider {
  width: 48px;
  height: 3px;
  background: var(--color-coral);
  margin: 0 auto 40px;
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-900);
}

/* =============================================
   FOUNDER
   ============================================= */
.founder {
  padding: 96px 0;
}

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

.founder-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-coral-dark);
  margin-bottom: 16px;
}

.founder-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-900);
}

.founder-bio + .founder-bio {
  margin-top: 16px;
}

.founder-headshot {
  max-width: 370px;
  border-radius: 12px;
  width: 100%;
}

/* Option A: wider text, top-aligned */
.founder-headshot-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr 1fr;
  }

  .founder-grid--wide {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }

  .founder-grid.founder-grid--stacked {
    display: block;
  }
}

/* Option B: stacked / centered (editorial) */
.founder--stacked-variant {
}

.founder-grid--stacked {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.founder-stacked-image {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.founder-stacked-image .founder-headshot {
  max-width: 480px;
  border-radius: 12px;
}

.founder-grid--stacked .founder-label {
  text-align: center;
}

.founder-grid--stacked .founder-bio {
  text-align: left;
}

/* Option C: image in a card */
.founder--card-variant {
}

.founder-image-card {
  background: var(--color-gray-50);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.founder-image-card .founder-headshot {
  max-width: 100%;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .founder-grid--card {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

/* Option D: text wraps around floated image */
.founder-wrap-layout {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.founder-headshot--floated {
  float: right;
  max-width: 300px;
  width: 40%;
  margin: 0 0 20px 32px;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .founder-headshot--floated {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
  }
}

/* =============================================
   SERVICES (Jumbo Accordion)
   ============================================= */
.services {
  background: var(--color-gray-50);
  padding: 96px 0;
}

.services-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 56px;
}

/* Vertical tabs container */
.vtabs {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
}

/* Tab bar — 50% centered initially, slides left and narrows when active */
.vtabs-bar {
  flex-shrink: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 25%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin-left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vtabs.vtabs--active .vtabs-bar {
  width: 300px;
  margin-left: 0;
}

/* Individual tab button */
.vtab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  background: var(--color-white);
  border: none;
  border-radius: 10px;
  border-left: 3px solid transparent;
  padding: 22px 24px;
  cursor: pointer;
  font: inherit;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.vtab:hover {
  box-shadow: 0 4px 20px rgba(225, 154, 160, 0.12);
}

.vtab[aria-selected="true"] {
  border-left-color: var(--color-coral);
  box-shadow: 0 4px 20px rgba(225, 154, 160, 0.15);
}

.vtab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vtab-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vtab-subtitle {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-coral-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right-facing chevron */
.vtab-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.3;
  margin-left: 16px;
  transition: opacity 0.3s ease;
}

.vtab:hover .vtab-chevron {
  opacity: 0.5;
}

.vtab[aria-selected="true"] .vtab-chevron {
  opacity: 1;
  stroke: var(--color-coral-dark);
}

/* Content panel area — fixed width so text never reflows */
.vtabs-content {
  width: calc(100% - 300px - 48px);
  flex-shrink: 0;
  padding-left: 48px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  height: 0;
  transition: opacity 0.3s ease, height 0s 0.3s;
}

.vtabs.vtabs--active .vtabs-content {
  opacity: 1;
  pointer-events: auto;
  height: auto;
  transition: opacity 0.3s ease, height 0s 0s;
}

/* Slider — holds panels and form side by side */
.vtabs-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vtabs-slider.show-form {
  transform: translateX(calc(-100% - 48px));
}

.vtabs-panels {
  flex-shrink: 0;
  width: 100%;
  transition: opacity 0.35s ease;
}

.vtabs-slider.show-form .vtabs-panels {
  opacity: 0;
}

/* Inline form (slides in from right) */
.vtabs-form {
  flex-shrink: 0;
  width: 100%;
  margin-left: 48px;
  background: var(--color-gray-50);
}

.vtabs-form-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.vtabs-form-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-navy);
}

.vtabs-form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.vtabs-form-back:hover {
  color: var(--color-navy);
}

.vtabs-form-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}

.vtabs-form-inner .form-group {
  gap: 4px;
}

.vtabs-form-inner .form-group label {
  font-size: 0.8125rem;
}

.vtabs-form-inner .form-group input,
.vtabs-form-inner .form-group textarea {
  font-size: 0.875rem;
  padding: 9px 12px;
}

.vtabs-form-inner .form-group textarea {
  min-height: 80px;
}

.vtabs-form-inner .btn-submit {
  padding: 11px 28px;
  font-size: 0.875rem;
}

/* Individual panel */
.vtab-panel {
  display: none;
}

.vtab-panel.is-active {
  display: block;
  animation: vtabFadeIn 0.4s ease forwards;
}

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

/* Panel content sections */
.vtab-panel-section {
  margin-bottom: 24px;
}

.vtab-panel-section h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral-dark);
  margin-bottom: 8px;
}

.vtab-panel-section p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-gray-900);
}

/* Panel meta info */
.vtab-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  margin-bottom: 28px;
}

.vtab-panel-meta-item {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-gray-900);
}

.vtab-panel-meta-label {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  min-width: 72px;
}

/* CTA button — navy */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn-cta:hover {
  background: #243a5e;
}

@media (prefers-reduced-motion: reduce) {
  .vtabs-bar {
    transition: none;
  }
  .vtab-panel.is-active {
    animation: none;
    opacity: 1;
  }
  .vtabs-content {
    transition: none;
  }
  .vtabs-slider {
    transition: none;
  }
}

/* Mobile: accordion behavior */
@media (max-width: 767px) {
  .vtabs {
    flex-direction: column;
    gap: 0;
  }

  .vtabs-bar,
  .vtabs.vtabs--active .vtabs-bar {
    width: 100%;
    margin-left: 0;
  }

  /* Active tab loses bottom radius so content merges with it */
  .vtab {
    transition: box-shadow 0.3s ease;
  }

  .vtab[aria-selected="true"] {
    border-radius: 10px 10px 0 0;
    box-shadow: none;
    margin-bottom: 0;
    border-left-color: var(--color-coral);
  }

  /* Kill the gap between tabs so content sits flush */
  .vtabs-bar {
    gap: 0;
  }

  .vtab {
    margin-bottom: 12px;
  }

  .vtab[aria-selected="true"] + .vtabs-content {
    margin-bottom: 12px;
  }

  /* Smooth accordion expand/collapse on mobile using grid row trick */
  .vtabs-content {
    width: 100%;
    padding-left: 0;
    flex-shrink: 1;
    overflow: hidden;
    opacity: 1;
    height: auto;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
  }

  /* Only show card styling when active */
  .vtabs.vtabs--active .vtabs-content {
    grid-template-rows: 1fr;
    background: var(--color-white);
    border-left: 3px solid var(--color-coral);
    border-radius: 0 0 10px 10px;
    opacity: 1;
    height: auto;
  }

  .vtabs-content > .vtabs-slider {
    overflow: hidden;
    min-height: 0;
  }

  .vtabs-content > .vtabs-slider.show-form {
    overflow: visible;
  }

  /* Collapse inactive view so only the visible one sets height */
  .vtabs-slider:not(.show-form) .vtabs-form {
    height: 0;
    overflow: hidden;
    padding: 0;
  }

  .vtabs-slider.show-form .vtabs-panels {
    height: 0;
    overflow: hidden;
    padding: 0;
  }

  .vtabs-content .vtabs-panels {
    padding: 4px 24px 24px;
  }

  /* Kill panel fade animation on mobile */
  .vtab-panel.is-active {
    animation: none;
    opacity: 1;
  }

  /* Chevron twirls down when selected on mobile */
  .vtab-chevron {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .vtab[aria-selected="true"] .vtab-chevron {
    transform: rotate(90deg);
  }

  .vtab-panel-meta-item {
    flex-direction: column;
    gap: 2px;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .vtabs-form {
    margin-left: 0;
    background: transparent;
    padding: 4px 22px 22px;
    width: calc(100vw - 48px - 3px);
    flex-shrink: 0;
  }

  .vtabs-form-inner {
    max-width: 100%;
  }

  .vtabs-slider {
    overflow: hidden;
  }

  .vtabs-slider.show-form {
    transform: translateX(-100%);
  }
}

/* =============================================
   VALUE (Service Cards)
   ============================================= */
.value {
  padding: 96px 0;
}

.value-intro {
  text-align: center;
  max-width: 740px;
  margin: -24px auto 56px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-600);
}

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

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  border-top: 3px solid var(--color-coral);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(225, 154, 160, 0.15);
}

.service-card[aria-expanded="true"] {
  box-shadow: 0 4px 24px rgba(225, 154, 160, 0.18);
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

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

/* Toggle chip */
.more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-coral-dark);
  border: 1px solid rgba(212, 85, 96, 0.3);
  border-radius: 999px;
  background: rgba(212, 85, 96, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.service-card:hover .more-toggle {
  background: rgba(212, 85, 96, 0.08);
  border-color: rgba(212, 85, 96, 0.5);
}

.more-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card[aria-expanded="true"] .more-toggle svg {
  transform: rotate(180deg);
}

.service-card[aria-expanded="true"] .more-toggle-text::after {
  content: 'less';
}

.service-card:not([aria-expanded="true"]) .more-toggle-text::after {
  content: 'more';
}

/* Expandable examples list */
.service-examples {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
  list-style: none;
  padding: 0;
}

.service-card[aria-expanded="true"] .service-examples {
  grid-template-rows: 1fr;
  margin-top: 20px;
}

.service-examples-inner {
  overflow: hidden;
}

.service-examples li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card[aria-expanded="true"] .service-examples li {
  opacity: 1;
  transform: translateX(0);
}

.service-card[aria-expanded="true"] .service-examples li:nth-child(1) { transition-delay: 0.1s; }
.service-card[aria-expanded="true"] .service-examples li:nth-child(2) { transition-delay: 0.2s; }
.service-card[aria-expanded="true"] .service-examples li:nth-child(3) { transition-delay: 0.3s; }
.service-card[aria-expanded="true"] .service-examples li:nth-child(4) { transition-delay: 0.4s; }

.service-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--color-coral);
  border-radius: 1px;
}

.service-examples li:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service-examples li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .more-toggle svg {
    transition: none;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 96px 0;
}

.contact-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--color-white);
  color: var(--color-gray-900);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-600);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover {
  background: #152240;
}

.btn-submit:disabled {
  background: var(--color-gray-300);
  color: var(--color-white);
  cursor: not-allowed;
}

.btn-submit:disabled:hover {
  background: var(--color-gray-300);
}

@media (max-width: 767px) {
  .btn-submit {
    width: 100%;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 32px 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-inner p {
  font-size: 0.8125rem;
  opacity: 0.5;
  text-align: left;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-linkedin:hover {
  opacity: 1;
}

.footer-linkedin-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-linkedin {
    justify-self: end;
  }
}

/* =============================================
   THANK-YOU PAGE
   ============================================= */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}

.thanks-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.thanks-content p {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 32px;
}

.thanks-content a {
  font-weight: 500;
  color: var(--color-coral);
  transition: color 0.2s ease;
}

.thanks-content a:hover {
  color: var(--color-coral-dark);
}

/* =============================================
   MOBILE OVERRIDES
   ============================================= */
@media (max-width: 1023px) {
  .about,
  .founder,
  .services,
  .value,
  .contact {
    padding: 56px 0;
  }

  .founder,
  .services,
  .value {
    padding-bottom: 96px;
  }

  .service-card {
    box-shadow: 0 4px 20px rgba(225, 154, 160, 0.15);
  }
}
