:root {
  --night: #06142e;
  --night-2: #081b3d;
  --royal: #0b2a62;
  --royal-2: #123b83;
  --deep: #1f56a5;
  --gold: #d7b46a;
  --gold-2: #f4d88d;
  --ivory: #fbf7ec;
  --cream: #f5efe3;
  --white: #ffffff;
  --ink: #162033;
  --muted: #667085;
  --soft-blue: #eef4ff;
  --line: rgba(215, 180, 106, 0.32);
  --shadow: 0 24px 70px rgba(6, 20, 46, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--night);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(6, 20, 46, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215, 180, 106, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 20, 46, 0.94);
  box-shadow: 0 14px 40px rgba(6, 20, 46, 0.24);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-2);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(135deg, var(--night), var(--royal));
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.brand-logo {
  width: 58px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.footer-brand-logo {
  width: 62px;
  height: 56px;
}

.brand-text {
  display: grid;
  gap: 1px;
  color: var(--white);
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 800;
  margin-left: 6px;
  box-shadow: 0 10px 28px rgba(215, 180, 106, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

.section {
  padding: 96px 0;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 86, 165, 0.38), transparent 32%),
    radial-gradient(circle at 85% 25%, rgba(215, 180, 106, 0.18), transparent 28%),
    linear-gradient(135deg, var(--night), var(--royal) 56%, var(--night-2));
  color: var(--white);
  overflow: hidden;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 239, 227, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(31, 86, 165, 0.08), transparent 35%);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 92px 0 76px;
  margin-top: calc(var(--header-height) * -1);
  padding-top: calc(var(--header-height) + 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  gap: 68px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  left: -160px;
  top: 18%;
  background: rgba(31, 86, 165, 0.28);
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 8%;
  background: rgba(215, 180, 106, 0.16);
}

.eyebrow {
  color: var(--gold-2);
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 16px;
}

.section-soft .eyebrow,
.section:not(.section-dark) .eyebrow {
  color: var(--royal-2);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  color: var(--gold-2);
  text-wrap: balance;
  text-shadow: 0 10px 44px rgba(0,0,0,0.24);
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  color: var(--royal);
  text-wrap: balance;
}

.section-dark h2 {
  color: var(--gold-2);
}

h3 {
  font-size: 1.36rem;
  color: inherit;
}

p {
  margin: 0;
}

.hero-lead {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 850;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 40px rgba(215, 180, 106, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(215, 180, 106, 0.36);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.section-soft .btn-secondary,
.section:not(.section-dark) .btn-secondary {
  background: var(--royal);
  color: var(--white);
  border-color: transparent;
}

.btn.full {
  width: 100%;
}

.btn.small {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  color: rgba(255,255,255,0.84);
  border: 1px solid rgba(215, 180, 106, 0.26);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  justify-self: end;
}

.portrait-frame {
  position: relative;
  width: min(460px, 88vw);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.42);
  box-shadow: var(--shadow);
  background: var(--white);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(215, 180, 106, 0.45);
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.signature-card {
  position: absolute;
  left: -30px;
  bottom: 30px;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 18px 20px;
  background: rgba(251, 247, 236, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.signature-card span {
  color: var(--royal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 800;
}

.signature-card strong {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.73rem;
}

.trust-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(251, 247, 236, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(6, 20, 46, 0.18);
  overflow: hidden;
}

.trust-grid > div {
  padding: 24px;
  display: grid;
  gap: 6px;
}

.trust-grid > div + div {
  border-left: 1px solid rgba(215, 180, 106, 0.24);
}

.trust-grid strong {
  color: var(--royal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.trust-grid span,
.trust-grid a {
  color: var(--muted);
}

.split-grid,
.diploma-grid,
.management-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.section-copy p {
  color: var(--muted);
  margin-top: 20px;
  font-size: 1.04rem;
}

.section-dark .section-copy p,
.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--royal-2);
  font-weight: 850;
  border-bottom: 2px solid var(--gold);
}

.premium-panel,
.feature-card,
.price-card,
.benefit-card,
.testimonial-card,
.booking-form,
.contact-panel,
.dashboard-preview {
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(6, 20, 46, 0.08);
}

.premium-panel {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.premium-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(215,180,106,0.22), transparent 68%);
}

.panel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.premium-panel h3 {
  color: var(--royal);
  font-size: 1.8rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--royal-2);
  font-weight: 900;
}

.panel-note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(6, 20, 46, 0.06);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

.feature-card {
  padding: 28px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.74));
}

.feature-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
  margin-bottom: 26px;
}

.feature-card h3,
.price-card h3,
.benefit-card h3 {
  color: var(--royal);
}

.feature-card p,
.price-card p,
.benefit-card p {
  color: var(--muted);
  margin-top: 14px;
}

.section-wave::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,0.05) 48% 52%, transparent 52% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  z-index: 1;
}

.timeline-step {
  padding: 28px;
  border: 1px solid rgba(215, 180, 106, 0.3);
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--night);
  font-weight: 900;
  margin-bottom: 20px;
}

.timeline-step h3 {
  color: var(--gold-2);
  font-size: 1.32rem;
}

.timeline-step p {
  margin-top: 12px;
  color: rgba(255,255,255,0.76);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.price-card {
  position: relative;
  padding: 30px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
}

.price-card.featured {
  border-color: rgba(215, 180, 106, 0.72);
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(215, 180, 106, 0.18);
}

.price-card strong {
  display: inline-block;
  margin-top: 24px;
  color: var(--royal);
  font-size: 1.08rem;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--night);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  padding: 28px;
}

.benefit-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, var(--gold), var(--royal-2));
  border-radius: 999px;
}

.diploma-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.certificate-card {
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 26px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover,
.certificate-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(6, 20, 46, 0.22);
}

.certificate-card img {
  border-radius: 18px;
  width: 100%;
}

.certificate-card span {
  display: block;
  padding: 14px 8px 4px;
  color: var(--royal);
  font-weight: 850;
}

.management-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
}

.dashboard-preview {
  padding: 22px;
  background: linear-gradient(145deg, #fff, rgba(255,255,255,0.74));
}

.preview-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.preview-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(6, 20, 46, 0.18);
}

.preview-card,
.preview-row > div,
.preview-lines span {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,42,98,0.9), rgba(31,86,165,0.62));
}

.preview-card {
  height: 130px;
}

.preview-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.preview-row > div {
  height: 84px;
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.preview-lines span {
  height: 12px;
  background: rgba(6, 20, 46, 0.12);
}

.preview-lines span:nth-child(2) {
  width: 82%;
}

.preview-lines span:nth-child(3) {
  width: 65%;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 30px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(215,180,106,0.32);
}

.testimonial-card span {
  color: var(--gold-2);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.testimonial-card p {
  margin-top: 18px;
  color: rgba(255,255,255,0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.testimonial-card strong {
  display: block;
  margin-top: 20px;
  color: var(--white);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(215,180,106,0.28);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(6, 20, 46, 0.06);
  overflow: hidden;
}

.faq-list summary {
  padding: 20px 22px;
  list-style: none;
  font-weight: 850;
  color: var(--royal);
  cursor: pointer;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--gold);
  font-size: 1.4rem;
}

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

.faq-list p {
  color: var(--muted);
  padding: 0 22px 22px;
}

.section-contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(31,86,165,0.12), transparent 34%),
    linear-gradient(180deg, #f7f1e6, #fff);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  align-items: stretch;
}

.contact-panel,
.booking-form {
  padding: 36px;
  background: rgba(255,255,255,0.86);
}

.contact-panel h2 {
  color: var(--royal);
}

.contact-panel > p {
  margin-top: 18px;
  color: var(--muted);
}

.contact-link {
  flex: 1 1 220px;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--night), var(--royal));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(6, 20, 46, 0.14);
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--night);
  box-shadow: 0 10px 24px rgba(215, 180, 106, 0.24);
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.contact-link strong {
  color: var(--gold-2);
  font-size: 1.2rem;
  line-height: 1.15;
}

.contact-link small {
  color: rgba(255,255,255,0.72);
  line-height: 1.25;
}

.map-placeholder {
  min-height: 220px;
  margin-top: 26px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(215, 180, 106, 0.52);
  background:
    linear-gradient(135deg, rgba(6,20,46,0.92), rgba(11,42,98,0.88)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.05) 12px 13px);
  color: var(--white);
}

.map-placeholder span {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
}

.map-placeholder small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
}

.booking-form h3 {
  color: var(--royal);
  font-size: 2rem;
}

.form-note {
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.form-row.two {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  color: var(--royal);
  font-weight: 800;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(6, 20, 46, 0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31,86,165,0.7);
  box-shadow: 0 0 0 4px rgba(31,86,165,0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.consent input {
  width: auto;
  margin-top: 5px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--royal);
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.notice-section {
  background: #fff;
  padding: 34px 0;
}

.notice-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(215,180,106,0.32);
  border-radius: 20px;
  padding: 22px;
  background: rgba(251,247,236,0.72);
}

.notice-box strong {
  color: var(--royal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.notice-box p {
  color: var(--muted);
}

.site-footer {
  background: var(--night);
  color: var(--white);
  padding: 62px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p,
.site-footer span,
.site-footer a,
.site-footer small {
  color: rgba(255,255,255,0.7);
}

.site-footer h3 {
  color: var(--gold-2);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.site-footer div > a,
.site-footer div > span {
  display: block;
  margin-top: 9px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-2);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(6, 20, 46, 0.86);
  backdrop-filter: blur(12px);
}

.certificate-modal.is-open {
  display: flex;
}

.certificate-modal img {
  max-height: 88svh;
  width: min(1100px, 100%);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.36);
}

.modal-close {
  position: fixed;
  right: 22px;
  top: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(215,180,106,0.42);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1500;
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6,20,46,0.94);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(0,0,0,0.24);
}

.cookie-banner p {
  flex: 1;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1060px) {
  .hero-grid,
  .split-grid,
  .diploma-grid,
  .management-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .four-cols,
  .timeline,
  .benefits-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .trust-grid > div + div {
    border-left: 0;
    border-top: 1px solid rgba(215, 180, 106, 0.24);
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(6, 20, 46, 0.97);
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-logo {
    width: 52px;
    height: 48px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 66px);
  }

  .hero-grid {
    gap: 38px;
  }

  .signature-card {
    left: 14px;
    bottom: 14px;
  }

  .four-cols,
  .timeline,
  .benefits-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

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

  .notice-box {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    display: grid;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn,
  .contact-link {
    width: 100%;
  }

  .contact-link {
    min-height: 92px;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .portrait-frame {
    width: 100%;
    border-radius: 26px;
  }

  .signature-card {
    position: static;
    margin-top: 14px;
    min-width: 0;
  }

  .premium-panel,
  .feature-card,
  .price-card,
  .benefit-card,
  .testimonial-card,
  .booking-form,
  .contact-panel {
    padding: 24px;
  }

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

  .footer-bottom {
    display: grid;
  }
}

/* Pages légales */
.legal-page .site-header {
  position: sticky;
}

.legal-main {
  padding: calc(var(--header-height) + 70px) 0 86px;
  min-height: 70vh;
  background:
    radial-gradient(circle at 16% 20%, rgba(31,86,165,0.12), transparent 32%),
    linear-gradient(180deg, var(--ivory), #fff);
}

.legal-main h1 {
  color: var(--royal);
  text-shadow: none;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.legal-lead {
  max-width: 820px;
  margin: 20px 0 36px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-card {
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(215,180,106,0.28);
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 14px 38px rgba(6,20,46,0.06);
}

.legal-card h2 {
  font-size: 1.6rem;
  color: var(--royal);
}

.legal-card p {
  color: var(--muted);
  margin-top: 12px;
}

.legal-card a {
  color: var(--royal-2);
  font-weight: 800;
}

.legal-note {
  margin-top: 26px;
  padding: 18px;
  border-radius: 16px;
  color: var(--royal);
  background: rgba(215,180,106,0.16);
  font-weight: 800;
}

.legal-nav {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.cookie-banner[hidden] { display: none !important; }
