/* ============================================
   VOOM — ClearSight AI Website
   Brand Design System & Styles
   ============================================ */

/* ----- 1. Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ----- 2. Custom Properties ----- */
:root {
  /* Brand colours */
  --forest-green: #478A33;
  --prussian-blue: #00384C;
  --slate-grey: #62828F;
  --lime-green: #AFCB21;
  --jet-black: #333333;
  --white: #FFFFFF;

  /* Derived colours */
  --forest-green-dark: #3a7229;
  --bg-light: #f8faf6;
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 56, 76, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 56, 76, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 56, 76, 0.16);

  /* Typography */
  --font-family: 'Nunito', sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

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

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
}

/* ----- 3. Typography ----- */
body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--jet-black);
  background-color: var(--white);
}

h1, h2, h3, h4 {
  color: var(--prussian-blue);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-accent { color: var(--forest-green); }
.text-slate { color: var(--slate-grey); }
.text-white { color: var(--white); }

/* ----- 4. Layout Utilities ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--bg-light);
}

.section--dark {
  background-color: var(--prussian-blue);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.flex {
  display: flex;
  gap: var(--space-md);
}

.flex--center {
  align-items: center;
  justify-content: center;
}

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

/* ----- 5. Header & Navigation ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 44px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav__link {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--prussian-blue);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--forest-green);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--forest-green);
  transition: width 0.2s;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--prussian-blue);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ----- 6. Hero Sections ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--prussian-blue) 0%, #005a6e 50%, var(--forest-green) 100%);
  color: var(--white);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero--home {
  min-height: 600px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__content p {
  font-size: var(--fs-lg);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero__decoration {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(175, 203, 33, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* ----- 7. Components ----- */

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background-color: var(--forest-green);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--forest-green-dark);
}

.btn--secondary {
  background-color: var(--lime-green);
  color: var(--prussian-blue);
}

.btn--secondary:hover {
  background-color: #9dba15;
}

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

.btn--outline:hover {
  background-color: var(--white);
  color: var(--prussian-blue);
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-green), var(--forest-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--slate-grey);
}

/* Benefit cards — numbered */
.benefit-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--lime-green);
}

.benefit-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest-green);
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  margin-bottom: var(--space-md);
}

/* Team cards */
.team-card {
  text-align: center;
}

.team-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--lime-green);
}

.team-card h3 {
  margin-bottom: var(--space-xs);
}

.team-card p {
  color: var(--slate-grey);
  font-size: var(--fs-sm);
}

/* Testimonial */
.testimonial {
  background: linear-gradient(135deg, var(--prussian-blue), #005a6e);
  color: var(--white);
  padding: var(--space-3xl) 0;
}

.testimonial__quote {
  font-size: var(--fs-xl);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto var(--space-md);
  position: relative;
  padding-left: var(--space-xl);
}

.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: var(--lime-green);
  font-style: normal;
  line-height: 1;
}

.testimonial__attribution {
  max-width: 800px;
  margin: 0 auto;
  color: var(--lime-green);
  font-weight: var(--fw-semibold);
}

/* Section header */
.section__header {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.section__header h2 {
  margin-bottom: var(--space-sm);
}

.section__header p {
  color: var(--slate-grey);
  font-size: var(--fs-md);
}

/* CTA Block */
.cta-block {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--forest-green), var(--prussian-blue));
  color: var(--white);
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-block p {
  font-size: var(--fs-lg);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Image with rounded corners */
.img-rounded {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* Split layout (text + image side by side) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split__text h2 {
  margin-bottom: var(--space-md);
}

.split__image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* Steps / How it works */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-green), var(--prussian-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
}

.step__content h3 {
  margin-bottom: var(--space-xs);
}

.step__content p {
  color: var(--slate-grey);
}

/* Case study panel — compartmentalised layout */
.case-study-panel {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid #e8edf0;
}

.case-study-panel__header {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) var(--space-xl);
  background: var(--bg-light);
  border-bottom: 2px solid var(--lime-green);
}

.case-study-panel__section {
  padding: var(--space-xl);
  border-bottom: 1px solid #e8edf0;
}

.case-study-panel__section:last-of-type {
  border-bottom: none;
}

.case-study-panel__label {
  display: inline-block;
  background: linear-gradient(135deg, var(--forest-green), var(--prussian-blue));
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
}

.case-study-panel__quotes {
  background: linear-gradient(135deg, var(--prussian-blue), #005a6e);
  border-bottom: none;
}

.case-study-panel__quotes .testimonial-card {
  background: rgba(255, 255, 255, 0.08);
}

.case-study-panel__quotes .testimonial-card__quote {
  color: var(--white);
}

.case-study-panel__download {
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-light);
}

/* Client quote cards — What Our Clients Say */
.client-quote-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, background 0.2s;
}

.client-quote-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.client-quote-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 0.4rem 0.8rem;
  margin-bottom: var(--space-md);
  max-width: 140px;
}

.client-quote-card__logo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.client-quote-card p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* Case study specific — legacy */
.case-study__header {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.case-study__logo {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.case-study-stat {
  text-align: center;
  padding: var(--space-lg);
}

.case-study-stat__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
}

.case-study-stat__label {
  font-weight: var(--fw-semibold);
  color: var(--prussian-blue);
  font-size: var(--fs-sm);
}

/* Contact form */
.form {
  max-width: 600px;
}

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

.form__label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: var(--fw-semibold);
  color: var(--prussian-blue);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem var(--space-md);
  border: 2px solid #dde4e8;
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  transition: border-color 0.2s;
  background: var(--white);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--forest-green);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input.error,
.form__textarea.error {
  border-color: #e74c3c;
}

.form__error {
  color: #e74c3c;
  font-size: var(--fs-xs);
  margin-top: 4px;
  display: none;
}

.form__error.visible {
  display: block;
}

.form__success {
  background: var(--bg-light);
  border: 2px solid var(--forest-green);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  color: var(--forest-green);
  font-weight: var(--fw-semibold);
  text-align: center;
  display: none;
}

.form__success.visible {
  display: block;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--forest-green);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ----- 8. Page-Specific ----- */

/* Home — product intro section */
.product-intro {
  position: relative;
}

.product-intro__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.product-intro .container {
  position: relative;
  z-index: 1;
}

/* Solutions — benefit detail blocks */
.benefit-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.benefit-detail:last-child {
  margin-bottom: 0;
}

.benefit-detail__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-green), var(--forest-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.benefit-detail__icon svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* Case study — challenges grid */
.challenges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: center;
}

.challenge-item {
  padding: var(--space-lg);
  background: rgba(175, 203, 33, 0.1);
  border-radius: var(--border-radius-lg);
}

.challenge-item svg {
  width: 48px;
  height: 48px;
  fill: var(--forest-green);
  margin: 0 auto var(--space-sm);
}

/* Download button */
.btn--download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.btn--download svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Comparison table */
.comparison {
  overflow-x: auto;
}

.comparison__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison__table th,
.comparison__table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid #eef1f3;
}

.comparison__table thead th {
  background: var(--prussian-blue);
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.comparison__table tbody td:first-child {
  font-weight: var(--fw-semibold);
  color: var(--prussian-blue);
}

.comparison__table .comparison__highlight {
  background: rgba(175, 203, 33, 0.08);
}

.comparison__table .comparison__highlight td {
  border-bottom-color: rgba(175, 203, 33, 0.2);
}

.comparison__table .comparison__highlight td:first-child {
  color: var(--forest-green);
}

.comparison__price {
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--prussian-blue);
}

.comparison__highlight .comparison__price {
  color: var(--forest-green);
}

/* Client logos strip */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}

.client-logos img {
  height: 56px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Product cards (solutions overview) */
.product-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card__body {
  padding: var(--space-lg);
}

.product-card__body h3 {
  margin-bottom: var(--space-sm);
}

.product-card__body p {
  color: var(--slate-grey);
  margin-bottom: var(--space-md);
}

/* Testimonial carousel — multiple quotes */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--lime-green);
}

.testimonial-card__quote {
  font-style: italic;
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.testimonial-card__source {
  color: var(--lime-green);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.testimonial-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  margin-top: var(--space-xs);
  max-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card__logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* Grid 4-col for logos etc */
.grid--4 { grid-template-columns: 1fr; }

/* Team grid — 2 cols centred */
.grid--2-center {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ----- 9. Footer ----- */
.footer {
  background-color: var(--prussian-blue);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand img {
  height: 40px;
  margin-bottom: var(--space-sm);
}

.footer__brand p {
  color: var(--slate-grey);
  font-size: var(--fs-xs);
  max-width: 300px;
}

.footer__nav h4 {
  color: var(--lime-green);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.footer__nav a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__contact h4 {
  color: var(--lime-green);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.footer__contact a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--white);
}

/* Protected contact reveal */
.reveal-link {
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.reveal-link:hover {
  opacity: 1;
}

.contact-reveal {
  text-align: center;
  padding: var(--space-lg) 0;
}

.contact-reveal__text {
  color: var(--slate-grey);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
}

.captcha-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.captcha-overlay__box {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  width: 90%;
}

.captcha-overlay__box p {
  margin-bottom: var(--space-md);
  font-weight: var(--fw-semibold);
  color: var(--prussian-blue);
}

.captcha-overlay__widget {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.captcha-overlay__close {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--slate-grey);
  cursor: pointer;
  font-size: var(--fs-sm);
  padding: var(--space-xs);
  transition: color 0.2s;
}

.captcha-overlay__close:hover {
  color: var(--prussian-blue);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
}

/* ----- 10. Responsive ----- */

/* Tablet (768px+) */
@media (min-width: 768px) {
  :root {
    --fs-4xl: 3.5rem;
    --fs-3xl: 2.75rem;
  }

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

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

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

  .benefit-detail:nth-child(even) .benefit-detail__content {
    order: -1;
  }

  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero--home {
    min-height: 650px;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .nav__toggle { display: none !important; }

  .hero__content {
    max-width: 580px;
  }

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

/* Mobile (below 768px) */
@media (max-width: 767px) {
  :root {
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.875rem;
    --fs-xl: 1.25rem;
    --space-3xl: 3.5rem;
    --space-2xl: 2.5rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav__list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav__list.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--fs-lg);
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .hero--home {
    min-height: auto;
  }

  .case-study__header,
  .case-study-panel__header {
    flex-direction: column;
    text-align: center;
  }

  .case-study-panel__section {
    padding: var(--space-lg) var(--space-md);
  }

  .case-study-panel__download {
    padding: var(--space-md);
  }

  .team-card__photo {
    width: 140px;
    height: 140px;
  }

  .testimonial__quote {
    font-size: var(--fs-md);
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
