/* ==========================================================================
   MADL TALENT, LLC — Design System
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0a1628;
  --primary-light: #162240;
  --accent: #c8a951;
  --accent-hover: #b8963f;
  --white: #ffffff;
  --light-bg: #f7f8fc;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;

  --header-height: 72px;
  --container-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

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

/* ---------- Typography ---------- */
h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

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

small {
  font-size: 0.875rem;
}

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

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

.section {
  padding: 80px 0;
}

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

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

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .section-title::after {
  background-color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 81, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-primary:disabled,
.btn-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
}

.header.scrolled {
  background-color: var(--primary);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo .logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

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

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

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-image: linear-gradient(rgba(10, 22, 40, 0.78), rgba(10, 22, 40, 0.82)),
    url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 24px 80px;
}

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

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (smaller) for inner pages */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-image: linear-gradient(rgba(10, 22, 40, 0.8), rgba(10, 22, 40, 0.85)),
    url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-height) + 60px) 24px 60px;
}

.page-hero-content {
  max-width: 760px;
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.page-hero .hero-subtitle {
  font-size: 1.1rem;
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 12px;
}

.card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex: 1;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(200, 169, 81, 0.12);
  border-radius: 50%;
  color: var(--accent);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  border-top: 4px solid var(--accent);
}

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

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(200, 169, 81, 0.12);
  border-radius: 50%;
  color: var(--accent);
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-features {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.service-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background-color: var(--accent);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* ---------- Two-column content (mission / about) ---------- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-content.reverse .split-text {
  order: 2;
}

.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-text h2 {
  margin-bottom: 20px;
}

.split-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.audience-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.audience-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.audience-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--accent);
}

.audience-icon svg {
  width: 26px;
  height: 26px;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.audience-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- Lead form section (dark) ---------- */
.lead-section {
  background-color: var(--primary);
  color: var(--white);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.lead-info h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.lead-info p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.lead-info .lead-points {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-info .lead-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.lead-info .lead-points li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item .ci-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(200, 169, 81, 0.15);
  border-radius: 8px;
  color: var(--accent);
}

.contact-info-item .ci-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item .ci-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.contact-info-item .ci-value {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-item .ci-value a {
  color: var(--white);
}

.contact-info-item .ci-value a:hover {
  color: var(--accent);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hours-list li .day {
  color: var(--white);
}

.hours-list li.closed .time {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

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

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

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

.form-control::placeholder {
  color: #9ca3af;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-label .req {
  color: #c0392b;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check a {
  color: var(--accent);
  font-weight: 600;
}

.form-check a:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 15px 32px;
  font-size: 1rem;
}

.form-success,
.form-error {
  display: none;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-success {
  background-color: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: none;
}

.form-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* ---------- Stats / Impact ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Work examples ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.work-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

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

.work-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.work-detail {
  margin-bottom: 18px;
}

.work-detail .wd-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.work-detail .wd-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 36px 24px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.process-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---------- Business Model ---------- */
.bm-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-image: linear-gradient(rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.86)),
    url('img/business-model.jpg');
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-height) + 60px) 24px 60px;
}

.bm-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.bm-content.bm-content-reverse .bm-text {
  order: 2;
}

.bm-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bm-text h2 {
  margin-bottom: 18px;
}

.bm-text p {
  color: var(--text-light);
  margin-bottom: 14px;
}

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

/* ---------- Data collection table ---------- */
.data-collection-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-collection-table thead {
  background-color: var(--primary);
}

.data-collection-table th {
  text-align: left;
  padding: 16px 20px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-collection-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
  vertical-align: top;
}

.data-collection-table tbody tr {
  transition: background-color 0.2s ease;
}

.data-collection-table tbody tr:hover {
  background-color: var(--light-bg);
}

.data-collection-table td:first-child {
  font-weight: 600;
  color: var(--primary);
}

/* ---------- Map ---------- */
.map-container {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.04em;
}

.footer-logo .logo-accent {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 4px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-settings-link {
  color: var(--accent);
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: var(--transition);
}

.cookie-settings-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 22px 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--accent);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 640px;
}

.cookie-text a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--accent);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: var(--accent-hover);
}

.cookie-reject {
  background-color: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.cookie-reject:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cookie-customize {
  background-color: transparent;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-customize:hover {
  color: var(--accent-hover);
}

/* ---------- Cookie settings modal ---------- */
.cookie-settings-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 22, 40, 0.6);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-settings-modal.show {
  display: flex;
  opacity: 1;
}

.cookie-modal-box {
  background-color: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-header h3 {
  font-size: 1.25rem;
}

.cookie-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--light-bg);
  color: var(--text-light);
  font-size: 1.3rem;
  transition: var(--transition);
}

.cookie-modal-close:hover {
  background-color: var(--border);
  color: var(--text);
}

.cookie-modal-body {
  padding: 24px 28px;
}

.cookie-modal-body > p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}

.cookie-toggle:hover {
  border-color: var(--accent);
}

.cookie-toggle-info {
  flex: 1;
}

.cookie-toggle-info .ct-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-toggle-info .ct-title .badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(34, 197, 94, 0.12);
  color: #15803d;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.cookie-toggle-info .ct-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 26px;
  margin-top: 4px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  border-radius: 26px;
  transition: var(--transition);
}

.cookie-switch .slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .slider {
  background-color: var(--accent);
}

.cookie-switch input:checked + .slider::before {
  transform: translateX(22px);
}

.cookie-switch input:disabled + .slider {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: calc(var(--header-height) + 48px) 0 80px;
  background-color: var(--white);
}

.legal-content {
  max-width: 840px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}

.legal-section h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  margin-top: 8px;
}

.legal-section p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-section ul li {
  color: var(--text-light);
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--accent);
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 600;
}

.legal-back:hover {
  color: var(--accent-hover);
}

/* ---------- Animations ---------- */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate:nth-child(2) {
  transition-delay: 0.1s;
}

.animate:nth-child(3) {
  transition-delay: 0.2s;
}

.animate:nth-child(4) {
  transition-delay: 0.3s;
}

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

  .animate {
    opacity: 1;
    transform: none;
  }

  .hero {
    background-attachment: scroll;
  }
}

/* ---------- Responsive: Tablet (max-width 1024px) ---------- */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

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

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

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

  .lead-grid,
  .contact-grid,
  .split-content,
  .bm-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-content.reverse .split-text,
  .bm-content.bm-content-reverse .bm-text {
    order: 0;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2.7rem;
  }
}

/* ---------- Responsive: Mobile (max-width 768px) ---------- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: calc(var(--header-height) + 24px) 32px 32px;
    gap: 8px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 1050;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }

  .nav-overlay.show {
    display: block;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    padding: 100px 20px 64px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .features-grid,
  .services-grid,
  .work-grid,
  .values-grid,
  .stats-grid,
  .process-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form-wrapper,
  .contact-info-card {
    padding: 28px 22px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

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

  /* Cookie banner mobile */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 20px;
    gap: 16px;
  }

  .cookie-text {
    max-width: 100%;
  }

  .cookie-actions {
    justify-content: center;
  }

  .cookie-actions button {
    width: 100%;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer button {
    width: 100%;
  }

  .split-image img,
  .bm-image img {
    height: 280px;
  }

  .data-collection-table {
    font-size: 0.85rem;
  }

  .data-collection-table th,
  .data-collection-table td {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

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

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

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