/* =============================================================
   Agnesdaheim - Brand System & Global Styles
   ============================================================= */

:root {
  --c-red: #D6232D;
  --c-red-dark: #A8141D;
  --c-red-soft: #FBE5E7;
  --c-blue: #2179BD;
  --c-blue-dark: #0F4D85;
  --c-blue-soft: #E4F0FB;
  --c-orange: #F89A1F;
  --c-green: #7BBE3A;
  --c-warm: #FFF9F3;
  --c-cream: #FBF3E7;
  --c-text: #1A2238;
  --c-muted: #5B6478;
  --c-border: #E8EBF0;
  --c-white: #FFFFFF;

  --font-display: 'Dancing Script', cursive;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(15, 77, 133, 0.06);
  --shadow-md: 0 8px 28px rgba(15, 77, 133, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 77, 133, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1240px;
  --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-warm);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-red); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; color: var(--c-text); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--c-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 80px) 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.display-script {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-red);
  font-size: 1.4em;
  line-height: 1;
  display: inline-block;
}
.text-blue { color: var(--c-blue); }
.text-red { color: var(--c-red); }
.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(214, 35, 45, 0.28);
}
.btn-primary:hover { background: var(--c-red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(214, 35, 45, 0.34); }
.btn-secondary {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(33, 121, 189, 0.25);
}
.btn-secondary:hover { background: var(--c-blue-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--c-blue-dark);
  border: 2px solid var(--c-blue);
}
.btn-outline:hover { background: var(--c-blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-text); padding: 10px 18px; }
.btn-ghost:hover { color: var(--c-red); }
.btn-arrow::after { content: "→"; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================================
   Navigation
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 243, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 235, 240, 0.6);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.nav-logo-text .red { color: var(--c-red); }
.nav-logo-text .blue { color: var(--c-blue); }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  color: var(--c-text);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav-menu a:hover { color: var(--c-red); }
.nav-menu a.active { color: var(--c-red); }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 4px; padding: 0; border-radius: 999px; align-items: center; }
.lang-switch a {
  padding: 3px;
  line-height: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity var(--transition), transform var(--transition);
}
.lang-switch a:hover { opacity: 0.9; transform: scale(1.06); }
.lang-switch a.active { opacity: 1; }
.lang-switch a.active .lang-flag {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.05),
    0 0 0 2px var(--c-red),
    0 2px 6px rgba(214, 35, 45, 0.18);
}
.lang-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  vertical-align: middle;
  flex-shrink: 0;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-text); transition: var(--transition); border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-menu, .nav-right .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .nav.open .nav-menu a { padding: 14px 16px; }
  .nav.open .nav-right .lang-switch { display: flex; position: absolute; top: 100%; margin-top: 320px; right: 24px; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(33, 121, 189, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(214, 35, 45, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-warm) 0%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(248, 154, 31, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .display-script { display: block; font-size: 1.1em; margin-top: 6px; }
.hero-text p { font-size: 1.15rem; margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--c-blue-soft), var(--c-red-soft));
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 77, 133, 0.25));
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--c-red); color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 0.95rem; color: var(--c-text); }
.hero-badge span { font-size: 0.82rem; color: var(--c-muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

/* =============================================================
   Stats bar
   ============================================================= */
.stats {
  background: linear-gradient(135deg, var(--c-blue-dark), var(--c-blue));
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08), transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.stat { text-align: center; }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.stat-number .plus { color: var(--c-orange); }
.stat-label { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; font-weight: 500; }

@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* =============================================================
   Cards / Features
   ============================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(33, 121, 189, 0.25); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(214, 35, 45, 0.25);
}
.card-icon.blue { background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark)); box-shadow: 0 8px 20px rgba(33, 121, 189, 0.25); }
.card-icon.green { background: linear-gradient(135deg, var(--c-green), #4f9626); box-shadow: 0 8px 20px rgba(123, 190, 58, 0.25); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card ul { margin-top: 14px; }
.card ul li { padding-left: 22px; position: relative; margin-bottom: 8px; color: var(--c-muted); font-size: 0.95rem; }
.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

/* =============================================================
   Section header
   ============================================================= */
.sec-header { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-header h2 { margin-bottom: 16px; }

/* =============================================================
   Process steps
   ============================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 26px 30px;
  position: relative;
  border: 1px solid var(--c-border);
  text-align: center;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(33, 121, 189, 0.25);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* =============================================================
   Testimonial
   ============================================================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--c-border);
  position: relative;
}
.testimonial::before {
  content: """;
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--c-red-soft);
  line-height: 1;
}
.testimonial p { color: var(--c-text); font-size: 1.02rem; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.85rem; color: var(--c-muted); }
.stars { color: var(--c-orange); margin-bottom: 12px; }

/* =============================================================
   Image / Text split
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.reverse > div:first-child { order: 2; }
.split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--c-cream);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 14px; font-size: 1.02rem; }
.split-list li { padding: 14px 0 14px 36px; position: relative; border-bottom: 1px solid var(--c-border); color: var(--c-text); }
.split-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-blue-soft);
  color: var(--c-blue-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
@media (max-width: 880px) { .split, .split.reverse > div:first-child { grid-template-columns: 1fr; order: unset; } }

/* =============================================================
   CTA section
   ============================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.92); margin: 0 auto 28px; max-width: 600px; font-size: 1.1rem; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--c-red); }
.cta-band .btn-primary:hover { background: var(--c-warm); color: var(--c-red-dark); }
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* =============================================================
   FAQ
   ============================================================= */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--c-text);
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--c-blue);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--c-muted);
  padding: 0 24px;
}
.faq-item.open .faq-a { padding: 0 24px 22px; max-height: 700px; }

/* =============================================================
   Contact / Form
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(33, 121, 189, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--c-muted); }
.field-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-red); flex-shrink: 0; }
.form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 0.95rem; display: none; line-height: 1.5; }
.form-msg.success { background: #E7F8EF; color: #1E7A3D; display: block; border-left: 4px solid #1E7A3D; }
.form-msg.error { background: #FDECEC; color: var(--c-red-dark); display: block; border-left: 4px solid var(--c-red); }
.field.field-error label { color: var(--c-red); }
.field.field-error input,
.field.field-error textarea,
.field.field-error select { border-color: var(--c-red); box-shadow: 0 0 0 4px rgba(214, 35, 45, 0.10); }
.field.field-error .field-check input[type="checkbox"] { outline: 2px solid var(--c-red); outline-offset: 2px; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-card {
  background: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-blue-soft); color: var(--c-blue-dark); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-card strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.contact-card span, .contact-card a { color: var(--c-muted); font-size: 0.95rem; }
.phone-list { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.phone-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-muted) !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.phone-line:hover { color: var(--c-blue-dark) !important; }
.phone-flag {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  overflow: hidden;
}
.phone-line small {
  margin-left: auto;
  color: var(--c-muted);
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.65;
  white-space: nowrap;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  aspect-ratio: 16/9;
  background: var(--c-cream);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* =============================================================
   Video facade (click-to-load YouTube — fast + Cookiebot-safe)
   ============================================================= */
.video-facade {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #1A1A1A;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  isolation: isolate;
}
.video-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 64, 0.05) 0%, rgba(15, 37, 64, 0.55) 100%);
  transition: opacity 0.4s;
  z-index: 1;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: -14px;
  background: linear-gradient(135deg, var(--c-red), var(--c-blue));
  z-index: -1;
  border-radius: calc(var(--radius-xl) + 14px);
  opacity: 0.22;
  filter: blur(32px);
}
.video-facade:hover { transform: translateY(-3px); }
.video-facade:hover::before { opacity: 0.75; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  background: var(--c-red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(214, 35, 45, 0.48), 0 0 0 0 rgba(214, 35, 45, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, box-shadow 0.3s;
  z-index: 2;
  border: 0;
  cursor: pointer;
  animation: videoPulse 2.4s ease-out infinite;
}
.video-facade:hover .video-play {
  transform: translate(-50%, -50%) scale(1.10);
  background: var(--c-red-dark);
  animation: none;
}
.video-play svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  margin-left: 5px;
}
.video-caption {
  position: absolute;
  bottom: 22px; left: 26px; right: 26px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.2px;
}
.video-facade.loaded {
  cursor: default;
  background-color: #000;
}
.video-facade.loaded::before,
.video-facade.loaded .video-play,
.video-facade.loaded .video-caption { display: none; }
.video-facade.loaded:hover { transform: none; }
.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}
@keyframes videoPulse {
  0%   { box-shadow: 0 18px 44px rgba(214, 35, 45, 0.48), 0 0 0 0 rgba(214, 35, 45, 0.45); }
  70%  { box-shadow: 0 18px 44px rgba(214, 35, 45, 0.48), 0 0 0 24px rgba(214, 35, 45, 0); }
  100% { box-shadow: 0 18px 44px rgba(214, 35, 45, 0.48), 0 0 0 0 rgba(214, 35, 45, 0); }
}

/* =============================================================
   President section
   ============================================================= */
.president {
  background: linear-gradient(135deg, var(--c-blue-soft) 0%, #fff 100%);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.president::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 35, 45, 0.08), transparent 70%);
  border-radius: 50%;
}
.president-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.president-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
  background: var(--c-cream);
  position: relative;
}
.president-img img { width: 100%; height: 100%; object-fit: cover; }
.president-img::after {
  content: "";
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg, var(--c-red), var(--c-blue));
  z-index: -1;
  border-radius: calc(var(--radius-xl) + 6px);
  opacity: 0.4;
  filter: blur(20px);
}
.president-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--c-red);
  line-height: 1.2;
  margin: 18px 0;
}
@media (max-width: 880px) { .president-grid { grid-template-columns: 1fr; } .president-img { max-width: 360px; margin: 0 auto; } }

/* =============================================================
   Footer (rich SEO-grade)
   ============================================================= */
.footer {
  background: linear-gradient(180deg, #0F2540 0%, #07172E 100%);
  color: #C8D2E0;
  padding: 72px 0 24px;
  margin-top: 80px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-blue) 100%);
}
.footer h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; font-weight: 700; }
.footer a { color: #C8D2E0; display: inline-block; padding: 4px 0; font-size: 0.94rem; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer ul li { margin-bottom: 6px; line-height: 1.4; }

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-cta {
  background: rgba(33, 121, 189, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}
.footer-cta p { color: #C8D2E0; font-size: 0.9rem; margin-bottom: 16px; line-height: 1.5; }
.footer-cta .btn { width: 100%; justify-content: center; padding: 12px 18px; font-size: 0.92rem; }
.footer-langs {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #8A98AD;
}
.footer-langs a {
  line-height: 0;
  padding: 3px;
  border-radius: 999px;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}
.footer-langs a:hover { opacity: 1; transform: scale(1.06); }
.footer-langs a.active { opacity: 1; }
.footer-langs .lang-flag {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.footer-langs a.active .lang-flag {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 2px rgba(255, 255, 255, 0.30);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

.footer-mid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr;
  gap: 40px;
  padding: 40px 0 32px;
}
@media (max-width: 880px) { .footer-mid { grid-template-columns: 1fr; gap: 32px; } }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 56px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-about p { color: #8A98AD; font-size: 0.92rem; line-height: 1.6; margin-bottom: 12px; }
.footer-contact-info { color: #C8D2E0; font-size: 0.92rem; line-height: 1.7; }
.footer-contact-info strong { color: #fff; }
.footer-contact-info a { padding: 0; display: inline; }

.trust-list { padding: 0; margin: 0; }
.trust-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  list-style: none;
  color: #C8D2E0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #6B7A93;
}
.footer-bottom a { color: #8A98AD; font-size: 0.85rem; margin-left: 16px; padding: 0; display: inline; }
.footer-credit {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #6B7A93;
  letter-spacing: 0.02em;
}
.footer-credit .heart {
  color: var(--c-red);
  font-size: 0.95rem;
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
  vertical-align: -1px;
}
.footer-credit a {
  color: #C8D2E0;
  font-weight: 600;
  padding: 0;
  display: inline;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 210, 224, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.footer-credit a:hover { color: #fff; border-bottom-color: #fff; }
@keyframes heartbeat {
  0%, 60%, 100% { transform: scale(1); }
  20%, 40% { transform: scale(1.15); }
}

/* =============================================================
   Leaflet map customization
   ============================================================= */
.leaflet-container {
  font-family: var(--font-body) !important;
  background: #E8EBF0;
}
.hq-marker-pin {
  background: var(--c-red);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(214, 35, 45, 0.40);
  border: 2px solid #fff;
  display: inline-block;
}
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: var(--shadow-md) !important;
}
.leaflet-popup-content { font-size: 0.95rem !important; color: var(--c-text); margin: 14px 18px !important; }
.leaflet-popup-content strong { color: var(--c-red); }

/* =============================================================
   Animations
   ============================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(20px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

.hero-text { animation: fadeUp 0.8s ease both; }
.hero-visual { animation: scaleIn 1s ease 0.2s both; }

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

/* =============================================================
   Page header (interior pages)
   ============================================================= */
.page-head {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 70px);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(33, 121, 189, 0.10), transparent 60%),
    var(--c-warm);
  position: relative;
}
.page-head h1 { margin-bottom: 14px; }
.page-head p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.crumbs { color: var(--c-muted); font-size: 0.88rem; margin-bottom: 18px; }
.crumbs a { color: var(--c-blue-dark); font-weight: 600; }
.crumbs span { margin: 0 8px; }

/* =============================================================
   Pill / badges
   ============================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-cream);
  color: var(--c-text);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
}
.pill-red { background: var(--c-red-soft); color: var(--c-red-dark); border-color: rgba(214, 35, 45, 0.18); }
.pill-blue { background: var(--c-blue-soft); color: var(--c-blue-dark); border-color: rgba(33, 121, 189, 0.18); }

/* =============================================================
   Legal page content
   ============================================================= */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.4rem; }
.legal-content h3 { margin-top: 24px; margin-bottom: 10px; font-size: 1.1rem; }
.legal-content p, .legal-content li { color: var(--c-text); margin-bottom: 12px; font-size: 0.98rem; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 14px; }
.legal-content li { list-style: disc; margin-bottom: 6px; }
.legal-content ol li { list-style: decimal; }
.legal-content strong { color: var(--c-text); }

/* =============================================================
   Utilities
   ============================================================= */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }
