/* CSS Variables */
: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: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
}

/* Base Styles (Mobile-First 320px+) */
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: var(--primary-color);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.logo img {
  max-height: 40px;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: transform 0.3s, opacity 0.3s;
}

#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);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background-color);
  z-index: 999;
  box-shadow: var(--shadow-md);
  padding: 16px;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-nav ul li a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav ul li a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

/* Hero Section (layered-depth) */
.hero-section {
  position: relative;
  height: 81vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-layer-1 {
  z-index: 1;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.5);
  position: absolute;
  inset: 0;
}

.hero-layer-2 {
  z-index: 2;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
  position: absolute;
  inset: 0;
}

.hero-layer-3 {
  z-index: 3;
  position: relative;
  color: #ffffff;
  width: 100%;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Custom Color Classes */
.bg-light { background-color: var(--background-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-primary { background-color: var(--primary-color); }
.text-white { color: #ffffff; }

/* Quote Block */
.text-quote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-icon {
  font-size: 6rem;
  color: var(--accent-color);
  opacity: 0.3;
  display: block;
  line-height: 1;
  margin-bottom: -20px;
}

/* Myth vs Fact Styles */
.myth-box {
  border-left: 4px solid #ef4444;
  background-color: rgba(239, 68, 68, 0.08);
}

.fact-box {
  border-left: 4px solid #22c55e;
  background-color: rgba(34, 197, 94, 0.08);
}

.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }

/* Form Elements */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--alt-font);
  font-size: 14px;
  background-color: #ffffff;
  color: var(--dark-color);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer Logo Filter */
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Animations */
@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%;
}

.card {
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* CORPORATE PRESET STYLES (Copied Literally) */
section{padding:60px 16px} @media(min-width:1024px){section{padding:72px 24px}} .card{border:1px solid #E5E7EB;box-shadow:0 2px 8px rgba(0,0,0,0.08);border-radius:6px} section+section{border-top:1px solid #F3F4F6} .btn{border-radius:4px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;font-size:0.85rem}

/* Desktop Media Queries (min-width only) */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}