﻿:root {
  --navy-900: #0d2f4f;
  --navy-700: #1d4f7b;
  --gold-500: #d9a824;
  --gold-400: #e6bc45;
  --sand-100: #f7f5ef;
  --white: #ffffff;
  --ink: #0f2537;
  --muted: #5a6b78;
  --success: #1e7f5f;
  --shadow: 0 16px 30px rgba(13, 47, 79, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(230, 188, 69, 0.12), transparent 42%),
    radial-gradient(circle at 90% 5%, rgba(29, 79, 123, 0.12), transparent 35%),
    var(--sand-100);
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  font-family: "DM Serif Display", serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

a {
  color: var(--navy-700);
}



.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 120;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5.25rem 0;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.muted {
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 47, 79, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  width: 190px;
}

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

.nav a {
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-500);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--navy-900);
  margin: 4px 0;
}

.hero {
  padding-top: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.hero-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.35rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-400));
  color: #20170a;
  box-shadow: 0 9px 16px rgba(217, 168, 36, 0.3);
}

.btn-secondary {
  background: rgba(13, 47, 79, 0.09);
  color: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}

.avatar-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  background:
    radial-gradient(circle at 25% 25%, var(--gold-500), transparent 35%),
    linear-gradient(130deg, var(--navy-900), var(--navy-700));
}

.tone-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 239, 0.95));
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(13, 47, 79, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 8px 15px rgba(13, 47, 79, 0.06);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 47, 79, 0.1);
  padding: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label,
legend {
  font-weight: 700;
  color: var(--navy-900);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem;
  border: 1px solid rgba(13, 47, 79, 0.2);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

fieldset {
  border: 1px solid rgba(13, 47, 79, 0.16);
  border-radius: 12px;
  margin: 1rem 0;
  padding: 0.8rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.checkbox-grid label,
.checkbox-consent,
fieldset label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 600;
}

.checkbox-grid input,
.checkbox-consent input,
fieldset input[type="checkbox"],
fieldset input[type="radio"] {
  width: auto;
  margin-top: 0.25rem;
}

.form-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.faq-filter {
  border: 1px solid rgba(13, 47, 79, 0.18);
  background: var(--white);
  color: var(--navy-900);
  border-radius: 999px;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.faq-filter.active {
  background: var(--navy-900);
  color: var(--white);
}

.faq-list details {
  background: var(--white);
  border: 1px solid rgba(13, 47, 79, 0.14);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy-900);
}

.legal .cards {
  margin-top: 1rem;
}

.footer {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 38, 0.56);
  z-index: 70;
}

.cookie-box {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(700px, 94%);
  z-index: 80;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid rgba(13, 47, 79, 0.15);
  padding: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hidden {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .cards.three,
  .cards.two {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 4%;
    border-bottom: 1px solid rgba(13, 47, 79, 0.12);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 6rem;
  }

  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

.legal-more {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-more:hover,
.legal-more:focus-visible {
  color: var(--gold-500);
}

.footer a {
  color: #f8d77f;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.legal-page-main {
  padding: 6rem 0 4rem;
}

.legal-page-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 47, 79, 0.12);
  padding: 1.5rem;
}

.legal-page-card h1 {
  margin-bottom: 0.5rem;
}

.legal-page-card h2 {
  margin-top: 1.7rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
}

.back-home {
  display: inline-block;
  margin-top: 1.2rem;
}

.avatar-photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 18px rgba(13, 47, 79, 0.2);
  background: #f7f5ef;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  max-width:100%;
}


input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

