/* palette: teal-gold */
:root {
  --primary-color: #004D40;
  --secondary-color: #006B5C;
  --accent-color: #C9A227;
  --background-color: #F0FAFE;
  --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: 'Oswald', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

.bg-dark {
  background-color: var(--dark-color);
  color: white;
}

/* Base Styles */
body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Mobile-first base styles (320px+) */
section {
  padding: 48px 16px;
  margin: 0;
}

/* RETRO-CLASSIC PRESET RULES (LITERALLY COPIED) */
section{padding:56px 16px;margin:0} @media(min-width:1024px){section{padding:64px 24px}} h1,h2,h3{font-family:"Playfair Display","Georgia",serif} .card{border:2px solid var(--primary-color);border-radius:8px;box-shadow:4px 4px 0 rgba(0,0,0,0.1)} .btn{border:2px solid var(--primary-color);border-radius:8px;background:transparent;color:var(--primary-color)} hr{border:none;text-align:center} hr::before{content:"— * —";display:block;font-size:1.2rem;color:var(--accent-color)}

/* Header & Mobile Navigation */
.site-header {
  background-color: white;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
  z-index: 1000;
  padding: 12px 0;
}
.logo img {
  max-height: 48px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 2px solid var(--primary-color);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.site-nav a {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 16px;
  display: block;
}
.site-nav a:hover {
  color: var(--accent-color);
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
#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;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
    background-color: transparent;
  }
}

/* Typography Scale & Custom Elements */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-color);
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}
h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}
p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}
.kicker {
  font-family: var(--main-font);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

/* Buttons */
.btn {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--main-font);
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}
.btn-primary {
  background-color: var(--primary-color);
  color: white !important;
}
.btn-primary:hover {
  background-color: var(--secondary-color);
}
.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
}
.btn-outline:hover {
  background-color: rgba(0, 77, 64, 0.05);
}

/* Hero Variant: oversized-word */
.hero-section {
  min-height: 90vh;
  background-color: var(--background-color);
}
.oversized-bg-word {
  font-family: var(--main-font);
  font-size: clamp(5rem, 20vw, 16rem);
  opacity: 0.04;
  font-weight: 900;
  position: absolute;
  z-index: 0;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  width: 100%;
  text-align: center;
}
.hero-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle {
  max-width: 650px;
}

/* Cards & Grid Styling */
.card {
  background-color: white;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.15);
}

/* Scroll-reveal sections */
@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%;
}

/* ANIMATIONS: CSS-only Progress Bars */
@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.bar-fill {
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background: var(--accent-color);
  height: 12px;
  border-radius: 999px;
}
@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}
.bar-track {
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
}

/* ANIMATIONS: CSS-only Donut Charts */
@property --deg {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-color) calc(var(--deg) * 1deg), var(--border-color) 0);
  animation: fill-donut 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
.donut-inner {
  position: absolute;
  inset: 10px;
  background: white;
  border-radius: 50%;
  font-family: var(--main-font);
  color: var(--primary-color);
}
@keyframes fill-donut {
  from { --deg: 0; }
  to { --deg: var(--target-deg); }
}

/* ANIMATIONS: Stats Counter */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.stat-num {
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after {
  content: counter(n);
}
@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

/* Stats Counter Section with Background Image */
.stats-counter-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Comparison Table Colors */
.bg-red-opacity {
  background-color: rgba(239, 68, 68, 0.1);
}
.bg-green-opacity {
  background-color: rgba(34, 197, 94, 0.1);
}

/* Form Styles */
input, textarea {
  font-family: var(--alt-font);
  background-color: #FAFAFA;
}
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.15);
}

/* Footer Styles */
.site-footer {
  border-top: 4px solid var(--primary-color);
}
.footer-logo-img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

/* Responsive Grid adjustments */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .grid-cols-md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-cols-lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}