/* palette: ocean-rose */
:root {
  --primary-color: #0A3245;
  --secondary-color: #174E66;
  --accent-color: #B83050;
  --background-color: #F0F7FB;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Base Styles */
body, html {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--alt-font);
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.7;
}

/* Retro-Classic Preset Overrides */
section {
  padding: 72px 16px;
}
@media (min-width: 1024px) {
  section {
    padding: 80px 24px;
  }
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
}

p {
  font-family: var(--alt-font);
  line-height: 1.7;
}

.card {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  background: #ffffff;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}

.btn {
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  background: transparent;
  color: var(--primary-color);
  padding: 12px 24px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  min-height: 44px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0 var(--primary-color);
}

hr {
  border: none;
  text-align: center;
  margin: 40px auto;
}
hr::before {
  content: "— * —";
  display: block;
  font-size: 1.2rem;
  color: var(--accent-color);
  letter-spacing: 0.2em;
}

/* Custom CSS-Only Header & Burger */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
  z-index: 100;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--primary-color);
  padding: 16px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.site-nav ul li a {
  display: block;
  padding: 10px 0;
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 1px dashed var(--border-color);
}
.site-nav ul li:last-child a {
  border-bottom: none;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.burger-btn .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
  }
  .site-nav ul li a {
    padding: 0;
    border-bottom: none;
  }
  .site-nav ul li a:hover {
    color: var(--accent-color);
  }
}

/* Hero Section: Layered Depth Variant */
.hero-section {
  min-height: 82vh;
}
.hero-section .layer-bg {
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.45);
  z-index: 1;
}
.hero-section .layer-overlay {
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
  z-index: 2;
}
.hero-section .layer-content {
  z-index: 3;
}
.btn-hero-primary {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}
.btn-hero-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 2px 2px 0 #ffffff;
}
.btn-hero-secondary {
  border-color: #ffffff;
  color: #ffffff;
}
.btn-hero-secondary:hover {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 2px 2px 0 var(--primary-color);
}

/* Timeline Styling */
.timeline-container {
  padding-left: 20px;
}
@media (max-width: 768px) {
.timeline-container {
  padding-left: 40px;
}
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background-color: var(--accent-color);
}
.timeline-marker {
  position: absolute;
  left: 11px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: 4px solid var(--background-color);
  z-index: 10;
}
.timeline-content {
  width: 100%;
}
.step-num {
  color: var(--accent-color);
  font-family: var(--alt-font);
}

@media (min-width: 768px) {
  .timeline-container {
    padding-left: 0;
  }
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
  }
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
  }
}

/* Testimonial Wall (Masonry effect using CSS Columns) */
.testimonial-wall {
  column-count: 1;
  column-gap: 24px;
}
@media (min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .testimonial-wall {
    column-count: 3;
  }
}
.testimonial-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}

/* Gradient Stats Strip */
.stats-strip-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}
.stat-big-val {
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-family: var(--main-font);
  color: #ffffff;
}

/* Inputs and Form Controls */
input, textarea {
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--accent-color);
}

/* Scroll Reveal Animation (CSS Only) */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Touch Targets and Accessibility */
a, button, label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a, .footer-nav a {
  min-height: auto;
  display: inline;
}
input[type="checkbox"] {
  min-width: 20px;
  min-height: 20px;
}