:root {
  --bg: #f4efe7;
  --surface: #fffdf9;
  --surface-soft: #f7f1e8;
  --ink: #13233d;
  --muted: #5f6574;
  --line: rgba(19, 35, 61, 0.12);
  --gold: #bf8b30;
  --gold-dark: #8f661e;
  --red: #b93a32;
  --navy: #13233d;
  --navy-soft: #20355a;
  --shadow: 0 22px 70px rgba(19, 35, 61, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(191, 139, 48, 0.22), transparent 24%),
    radial-gradient(circle at right 20%, rgba(185, 58, 50, 0.1), transparent 18%),
    linear-gradient(180deg, #f8f4ee, #f2ece2 60%, #f7f3ec);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  padding: 1.2rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.4rem;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--red);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.75);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
}

h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.contact-copy p,
.profile-copy p,
.contact-details p,
.certification-note span,
.floating-note span,
label {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 0.75rem;
}

.hero-cta-note {
  margin: 0 0 1.2rem;
  font-weight: 700;
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: #fff;
  box-shadow: 0 14px 30px rgba(185, 58, 50, 0.22);
}

.button-secondary,
.button-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-points,
.checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-points li,
.checklist li {
  margin-bottom: 0.45rem;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.hero-image-card img {
  width: 100%;
  display: block;
  min-height: 540px;
  object-fit: cover;
  border-radius: 24px;
}

.floating-note,
.certification-note,
.profile-panel,
.contact-card,
.feature-card,
.quote-box {
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  width: min(300px, 82%);
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(19, 35, 61, 0.08);
}

.floating-note strong,
.certification-note strong,
.profile-points strong {
  display: block;
  margin-bottom: 0.35rem;
}

.trust-strip {
  padding: 0 0 1rem;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.trust-items p {
  margin: 0;
  padding: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  font-weight: 700;
}

.review-highlight {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.4rem;
  align-items: center;
}

.review-score,
.review-copy {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.score-number {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 4.8rem;
  line-height: 1;
}

.score-stars {
  display: block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-size: 1.8rem;
  letter-spacing: 0.12em;
}

.score-label {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-weight: 600;
}

.review-cards {
  margin-top: 1.5rem;
}

.review-video {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 1.5rem;
}

.presentation-layout {
  max-width: 900px;
  margin: 0 auto;
}

.presentation-content {
  display: grid;
  gap: 1.4rem;
}

.review-video-copy,
.review-video-player {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.review-video-player video {
  width: 100%;
  display: block;
  max-height: 340px;
  border-radius: 18px;
  background: #000;
}

.presentation-photo-card {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.presentation-photo-card img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.review-card {
  position: relative;
}

.review-card::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.review-name,
.review-meta {
  margin: 0;
}

.review-name {
  font-weight: 800;
  color: var(--ink);
}

.review-meta {
  margin-top: 0.25rem;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 700;
}

.review-text {
  margin-bottom: 0;
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.34);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(191, 139, 48, 0.18), transparent 20%),
    linear-gradient(135deg, #162845, #0d1a31 70%);
  color: #fff;
}

.section-quote {
  padding-top: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 700px;
}

.cards {
  display: grid;
  gap: 1.4rem;
}

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

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

.feature-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.services-grid {
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-card .button {
  margin-top: auto;
  width: fit-content;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(191, 139, 48, 0.18), rgba(185, 58, 50, 0.14));
  border: 1px solid rgba(19, 35, 61, 0.12);
  font-size: 1.35rem;
}

.feature-card.soft {
  background: rgba(247, 241, 232, 0.92);
}

.feature-kicker {
  margin: 0 0 0.85rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.profile-layout,
.certification-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.profile-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.profile-points div {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-points span,
.profile-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.profile-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.profile-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(191, 139, 48, 0.18);
  color: #f2d7a1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.certification-card {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.certification-card img {
  width: 100%;
  display: block;
  max-height: 430px;
  object-fit: cover;
  border-radius: 22px;
}

.certification-note {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--surface-soft);
}

.certification-note img {
  width: min(220px, 100%);
  height: auto;
}

.quote-box {
  padding: 2rem 2.4rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(191, 139, 48, 0.14), rgba(185, 58, 50, 0.12));
  border: 1px solid rgba(19, 35, 61, 0.08);
}

.quote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.contact-details {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.contact-details p {
  margin: 0 0 0.55rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-card label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(191, 139, 48, 0.18);
  border-color: var(--gold);
}

.form-feedback {
  margin: 0.5rem 0 0;
  color: var(--navy-soft);
  font-weight: 700;
}

.section-final-exam {
  padding-top: 1.8rem;
}

.final-exam-photo {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  color: var(--muted);
}

.chatbot-toggle {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--red));
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(19, 35, 61, 0.33);
}

.chatbot-panel {
  position: fixed;
  right: 1.2rem;
  bottom: 5.2rem;
  width: min(420px, calc(100vw - 2rem));
  max-height: min(70vh, 700px);
  display: none;
  grid-template-rows: auto 1fr auto;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.97);
  border: 1px solid rgba(19, 35, 61, 0.1);
  box-shadow: var(--shadow);
  z-index: 40;
}

.chatbot-panel.is-open {
  display: grid;
}

.chatbot-header {
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.chatbot-header h3 {
  margin: 0;
}

.chatbot-eyebrow {
  margin: 0 0 0.3rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.chatbot-close {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  padding: 1rem;
  overflow-y: auto;
  display: grid;
  gap: 0.75rem;
}

.chatbot-message {
  margin: 0;
  max-width: 90%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  line-height: 1.45;
}

.chatbot-message-user {
  justify-self: end;
  background: rgba(191, 139, 48, 0.2);
  border: 1px solid rgba(191, 139, 48, 0.36);
}

.chatbot-message-bot {
  justify-self: start;
  background: rgba(19, 35, 61, 0.1);
  border: 1px solid rgba(19, 35, 61, 0.2);
}

.chatbot-form {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1rem 1rem;
}

.chatbot-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.chatbot-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  resize: vertical;
  min-height: 88px;
}

.chatbot-form textarea:focus {
  outline: 2px solid rgba(191, 139, 48, 0.2);
  border-color: var(--gold);
}

.chatbot-actions {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.chatbot-status {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero,
  .profile-layout,
  .certification-layout,
  .contact-layout,
  .review-highlight,
  .review-video,
  .presentation-layout,
  .three-up,
  .two-up,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-bottom: 2.5rem;
  }

  .brand {
    font-size: 1.65rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero-image-card img {
    min-height: 340px;
  }

  .button,
  .nav-links,
  .nav-links a {
    width: 100%;
  }

  .chatbot-toggle {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .chatbot-panel {
    right: 0.7rem;
    bottom: 4.8rem;
    width: calc(100vw - 1.4rem);
    max-height: 74vh;
  }
}
