:root {
  --ad-ink: #172033;
  --ad-ink-soft: #4c5870;
  --ad-muted: #6f788b;
  --ad-line: #dfe5ee;
  --ad-surface: #ffffff;
  --ad-surface-soft: #f7f8fb;
  --ad-surface-warm: #fff8ef;
  --ad-navy: #111a2e;
  --ad-navy-2: #1f2b45;
  --ad-gold: #d89022;
  --ad-gold-soft: #f5dfb7;
  --ad-green: #26735d;
  --ad-blue: #315c92;
  --ad-radius: 8px;
  --ad-radius-lg: 12px;
  --ad-shadow: 0 18px 48px rgba(17, 26, 46, 0.1);
  --ad-shadow-soft: 0 10px 28px rgba(17, 26, 46, 0.07);
  --ad-container: 1180px;
  --ad-space-1: 8px;
  --ad-space-2: 12px;
  --ad-space-3: 16px;
  --ad-space-4: 24px;
  --ad-space-5: 32px;
  --ad-space-6: 48px;
  --ad-space-7: 72px;
  --ad-space-8: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ad-ink);
  background: var(--ad-surface);
}

.ad-home {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ad-ink);
  background: var(--ad-surface);
}

.ad-container {
  width: min(100% - 32px, var(--ad-container));
  margin: 0 auto;
}

.ad-section {
  padding: var(--ad-space-7) 0;
}

.ad-section--soft {
  background: var(--ad-surface-soft);
}

.ad-section--navy {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ad-navy) 0%, #26364f 100%);
}

.ad-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--ad-space-2);
  color: var(--ad-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ad-section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.ad-section-title {
  max-width: 760px;
  margin: 0;
  color: var(--ad-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.ad-section--navy .ad-section-title,
.ad-section--navy .ad-section-text,
.ad-section--navy .ad-card p,
.ad-section--navy .ad-card h3 {
  color: #ffffff;
}

.ad-section-text {
  max-width: 720px;
  margin: var(--ad-space-3) 0 0;
  color: var(--ad-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ad-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ad-space-2);
  align-items: center;
}

.ad-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--ad-ink);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ad-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ad-btn--primary {
  background: var(--ad-gold);
  color: #15110a;
  box-shadow: 0 14px 28px rgba(216, 144, 34, 0.22);
}

.ad-btn--secondary {
  background: var(--ad-surface);
  border-color: var(--ad-line);
  color: var(--ad-ink);
}

.ad-btn--dark {
  background: var(--ad-navy);
  color: #ffffff;
}

.ad-btn--whatsapp {
  background: #1f8f5f;
  color: #ffffff;
}

.ad-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.97) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(247, 248, 251, 0.88) 100%),
    url("../images/about-us/image-3.png") center right / cover no-repeat;
}

.ad-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ad-line);
}

.ad-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: var(--ad-space-6);
  align-items: center;
}

.ad-eyebrow {
  display: inline-flex;
  margin-bottom: var(--ad-space-3);
  border: 1px solid rgba(216, 144, 34, 0.35);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ad-navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.ad-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ad-ink);
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.ad-hero-subtext {
  max-width: 680px;
  margin: var(--ad-space-4) 0;
  color: var(--ad-ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.ad-hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ad-space-2);
  max-width: 760px;
  margin-top: var(--ad-space-5);
}

.ad-hero-note {
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: var(--ad-radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ad-ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ad-hero-note strong {
  display: block;
  color: var(--ad-ink);
}

.ad-lead-card {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: var(--ad-radius-lg);
  padding: var(--ad-space-5);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ad-shadow);
}

.ad-lead-card h2 {
  margin: 0 0 8px;
  color: var(--ad-ink);
  font-size: 1.45rem;
  font-weight: 800;
}

.ad-lead-card p {
  margin: 0 0 var(--ad-space-4);
  color: var(--ad-muted);
  line-height: 1.55;
}

.ad-form {
  display: grid;
  gap: var(--ad-space-2);
}

.ad-form label {
  color: var(--ad-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.ad-form input,
.ad-form select,
.ad-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ad-ink);
  font: inherit;
}

.ad-form textarea {
  min-height: 96px;
  resize: vertical;
}

.ad-form input:focus,
.ad-form select:focus,
.ad-form textarea:focus {
  border-color: var(--ad-gold);
  box-shadow: 0 0 0 3px rgba(216, 144, 34, 0.16);
  outline: none;
}

.ad-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--ad-green);
  font-size: 0.88rem;
  font-weight: 700;
}

.ad-trust-strip {
  padding: var(--ad-space-4) 0;
  background: var(--ad-navy);
}

.ad-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ad-radius);
  background: rgba(255, 255, 255, 0.12);
}

.ad-proof-item {
  min-height: 92px;
  padding: var(--ad-space-3);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.ad-proof-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ad-gold-soft);
  font-size: 1.1rem;
}

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

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

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

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

.ad-card {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: var(--ad-radius);
  padding: var(--ad-space-4);
  background: var(--ad-surface);
  box-shadow: var(--ad-shadow-soft);
}

.ad-card h3 {
  margin: 0 0 10px;
  color: var(--ad-ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.ad-card p {
  margin: 0;
  color: var(--ad-ink-soft);
  line-height: 1.62;
}

.ad-card a:not(.ad-btn) {
  color: var(--ad-blue);
  font-weight: 800;
  text-decoration: none;
}

.ad-card a:not(.ad-btn):hover {
  text-decoration: underline;
}

.ad-tool-card {
  display: grid;
  gap: var(--ad-space-3);
  align-content: start;
}

.ad-tool-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ad-tool-meta div {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 10px;
  color: var(--ad-ink-soft);
  font-size: 0.94rem;
}

.ad-tool-meta dt {
  color: var(--ad-muted);
  font-weight: 800;
}

.ad-course-group {
  display: grid;
  gap: var(--ad-space-3);
  align-content: start;
  border-left: 3px solid var(--ad-gold);
}

.ad-course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--ad-space-3) 0 0;
  padding: 0;
  list-style: none;
}

.ad-course-list a {
  display: inline-flex;
  border: 1px solid var(--ad-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ad-ink);
  font-weight: 800;
  text-decoration: none;
}

.ad-course-list a:hover {
  border-color: var(--ad-gold);
}

.ad-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--ad-space-6);
  align-items: center;
}

.ad-trust-image {
  overflow: hidden;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-surface-soft);
  box-shadow: var(--ad-shadow);
}

.ad-trust-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ad-journey {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--ad-space-5);
}

.ad-journey-step {
  position: relative;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ad-radius);
  padding: var(--ad-space-3);
  background: rgba(255, 255, 255, 0.07);
}

.ad-journey-step span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--ad-gold);
  color: #15110a;
  font-size: 0.82rem;
  font-weight: 900;
}

.ad-journey-step strong {
  display: block;
  color: #ffffff;
  line-height: 1.25;
}

.ad-faq {
  display: grid;
  gap: 12px;
  margin-top: var(--ad-space-5);
}

.ad-faq details {
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  background: #ffffff;
}

.ad-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ad-ink);
  font-weight: 850;
  list-style: none;
}

.ad-faq summary::-webkit-details-marker {
  display: none;
}

.ad-faq summary::after {
  content: "+";
  float: right;
  color: var(--ad-gold);
  font-size: 1.2rem;
}

.ad-faq details[open] summary::after {
  content: "-";
}

.ad-faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ad-ink-soft);
  line-height: 1.65;
}

.ad-final-cta {
  text-align: center;
}

.ad-final-cta .ad-section-title,
.ad-final-cta .ad-section-text {
  margin-left: auto;
  margin-right: auto;
}

.ad-final-cta .ad-button-row {
  justify-content: center;
  margin-top: var(--ad-space-4);
}

@media (max-width: 1100px) {
  .ad-grid--4,
  .ad-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ad-section {
    padding: var(--ad-space-6) 0;
  }

  .ad-hero {
    padding: 48px 0 32px;
    background:
      linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(255, 255, 255, 0.95)),
      url("../images/about-us/image-3.png") center / cover no-repeat;
  }

  .ad-hero-grid,
  .ad-split,
  .ad-grid--2,
  .ad-grid--3 {
    grid-template-columns: 1fr;
  }

  .ad-hero-notes,
  .ad-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ad-container {
    width: min(100% - 24px, var(--ad-container));
  }

  .ad-btn {
    width: 100%;
  }

  .ad-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
  }

  .ad-hero-notes,
  .ad-grid--4,
  .ad-journey {
    grid-template-columns: 1fr;
  }

  .ad-lead-card,
  .ad-card {
    padding: 20px;
  }

  .ad-tool-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
