/* ============================================================
   ROOT & RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #005EB8;
  --purple:    #8B008B;
  --pewter:    #8E8E8E;
  --linen:     #FAF0E6;
  --antique:   #FAEBD7;
  --russet:    #80461B;
  --dark:      #1a1a2e;
  --text:      #333;
  --light-text:#666;
  --white:     #fff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Alegreya Sans', Georgia, serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: var(--white);
  z-index: 9999;
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-content { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-content p { flex: 1; font-size: 14px; color: #ccc; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
.modal-box {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-box h3 { font-family: 'EB Garamond', serif; font-size: 22px; margin-bottom: 20px; color: var(--dark); }
.cookie-option { margin-bottom: 16px; }
.cookie-option label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.cookie-option label input { width: 16px; height: 16px; cursor: pointer; }
.cookie-option p { font-size: 13px; color: var(--light-text); margin-top: 4px; padding-left: 26px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'Alegreya Sans', sans-serif;
}
.btn-primary:hover { background: #004a93; border-color: #004a93; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s;
  font-family: 'Alegreya Sans', sans-serif;
}
.btn-outline:hover { border-color: var(--white); }

.btn-service {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-service:hover { color: var(--purple); border-color: var(--purple); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: 66px;
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,80,0.72) 0%, rgba(139,0,139,0.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 720px;
  padding: 0 24px;
}
.hero-content h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 36px;
  opacity: 0.92;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
section h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: 90px 0;
  background: var(--linen);
}
.philosophy-text {
  font-size: 18px;
  color: var(--light-text);
  max-width: 720px;
  line-height: 1.8;
}

/* ============================================================
   SUPPORT METHODS
   ============================================================ */
.support {
  padding: 90px 0;
  background: var(--white);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.support-card {
  background: var(--antique);
  border-radius: 12px;
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.support-card:hover { box-shadow: 0 8px 32px rgba(0,94,184,0.12); transform: translateY(-4px); }
.support-icon {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 16px;
}
.support-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}
.support-card p { font-size: 16px; color: var(--light-text); }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 90px 0;
  background: var(--dark);
  color: var(--white);
}
.process .section-label { color: #7aadff; }
.process h2 { color: var(--white); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 52px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  font-family: 'EB Garamond', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}
.step p { font-size: 15px; color: #aab4c8; line-height: 1.6; }
.step-divider {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  flex-shrink: 0;
  margin-top: 28px;
  opacity: 0.5;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 70px 0;
  background: var(--blue);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: 'EB Garamond', serif;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 16px;
  opacity: 0.85;
  font-weight: 500;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 90px 0;
  background: var(--linen);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.service-img-wrap {
  height: 200px;
  overflow: hidden;
}
.service-img-wrap img { transition: transform 0.4s; }
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-family: 'EB Garamond', serif;
  font-size: 21px;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-body p { font-size: 15px; color: var(--light-text); flex: 1; }
.service-price {
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--russet);
}

/* ============================================================
   ABOUT IMAGE SECTION
   ============================================================ */
.about-img-section {
  padding: 90px 0;
  background: var(--white);
}
.about-flex {
  display: flex;
  align-items: center;
  gap: 64px;
}
.about-img {
  flex: 1;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.about-text { flex: 1; }
.about-text p {
  font-size: 17px;
  color: var(--light-text);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--antique);
}
.contact-sub {
  font-size: 18px;
  color: var(--light-text);
  margin-bottom: 48px;
  margin-top: -8px;
}
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: 0.3px; }
.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Alegreya Sans', sans-serif;
  background: var(--linen);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--linen);
  border: 1.5px solid #ddd;
  border-radius: 10px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
}
.radio-label input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.btn-large {
  padding: 16px 40px;
  font-size: 17px;
}
.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: #ccc;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: 14px; color: #aaa; line-height: 1.7; margin-bottom: 10px; }
.footer-brand .disclaimer { font-size: 12px; color: #777; font-style: italic; }
.footer-links h4 {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #aaa; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 13px;
  color: #666;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-pref-btn {
  background: none;
  border: 1px solid #444;
  color: #888;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-pref-btn:hover { border-color: #888; color: #ccc; }

/* ============================================================
   CONTACT FORM MODAL
   ============================================================ */
.contact-form-box {
  max-width: 600px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-close:hover { opacity: 1; }

.contact-form-box .registration-form {
  padding: 32px 24px;
  margin-top: 20px;
}
.contact-form-box .form-row { grid-template-columns: 1fr; }

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-item {
  text-align: center;
}
.contact-item h4 {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-item p {
  font-size: 14px;
  color: var(--light-text);
}
.contact-item a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--purple); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .support-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .registration-form { padding: 32px 24px; }
  .about-flex { flex-direction: column; gap: 36px; }
  .about-img { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-divider { width: 80px; height: 2px; margin: 0; }
}

@media (max-width: 640px) {
  .support-grid,
  .services-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 12px 24px;
    font-size: 16px;
  }
  .burger { display: flex; }
  .hero-content h1 { font-size: 36px; }
  .radio-group { gap: 14px; }
}
