/* palette: midnight-coral */
:root {
  --primary-color: #0D1B2A;
  --secondary-color: #1B2838;
  --accent-color: #C0415A;
  --background-color: #F4F6F8;
  --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: 'Open Sans', sans-serif;
}

/* --- SWISS-GRID PRESET (LITERAL COPY) --- */
section{padding:56px 16px;margin:0} @media(min-width:1024px){section{padding:64px 24px}} body{background:#fff} h2{font-size:clamp(2rem,5vw,3.5rem);font-weight:900;line-height:0.9;letter-spacing:-0.03em;text-transform:uppercase} .card{border-top:4px solid var(--primary-color);border-radius:0;background:#F8F8F8;padding:24px;box-shadow:none} .label,.tag,.badge{font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--primary-color);font-weight:700} .btn{background:var(--primary-color);color:#fff;border-radius:0;font-weight:700;text-transform:uppercase;letter-spacing:0.08em}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* --- HEADER --- */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Burger Menu */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger-btn .bar {
  height: 2px;
  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: #ffffff;
  border-bottom: 2px solid var(--primary-color);
  z-index: 999;
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.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(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  
  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }
}

/* --- HERO (Bento Grid) --- */
.hero-bento {
  background: var(--background-color);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.bento-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.bento-cell {
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.bento-cell.main-cell {
  background: var(--primary-color);
  color: #ffffff;
}

.bento-cell.main-cell h1 {
  color: #ffffff;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 16px 0;
}

.bento-cell.main-cell p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 2vw, 17px);
  margin-bottom: 24px;
}

.bento-cell.main-cell .badge {
  color: var(--accent-color);
  font-weight: 700;
}

.bento-cell.img-cell {
  background-size: cover;
  background-position: center;
  min-height: 250px;
}

.bento-cell.fact-cell {
  align-items: flex-start;
  color: #ffffff;
}

.bento-cell.fact-cell i {
  font-size: 2rem;
  margin-bottom: 16px;
}

.bento-cell.fact-cell h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.bento-cell.fact-cell p {
  font-size: 13px;
  opacity: 0.9;
}

.bento-cell.accent-bg {
  background: var(--accent-color);
}

.bento-cell.secondary-bg {
  background: var(--secondary-color);
}

.bento-cell.dark-bg {
  background: var(--primary-color);
}

@media (min-width: 768px) {
  .bento-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bento-cell.main-cell {
    grid-column: span 2;
    padding: 48px;
  }
  
  .bento-cell.img-cell {
    grid-column: span 1;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- SECTION REVEAL ANIMATION --- */
@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%;
}

/* --- MIDDLE SECTION 1: Key Questions --- */
.section-intro {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 8px;
  margin-bottom: 40px;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.question-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.question-item h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-bottom: 12px;
}

/* --- MIDDLE SECTION 2: Before/After --- */
.state-card {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.before-card {
  background: rgba(239, 68, 68, 0.04);
  border-left: 4px solid #ef4444;
}

.after-card {
  background: rgba(34, 197, 94, 0.04);
  border-left: 4px solid #22c55e;
}

.state-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.state-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.icon-cross {
  color: #ef4444;
  font-size: 24px;
  font-weight: bold;
}

.icon-check {
  color: #22c55e;
  font-size: 24px;
  font-weight: bold;
}

.state-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.state-list li {
  position: relative;
  padding-left: 20px;
}

.state-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* --- MIDDLE SECTION 3: Stats Counter --- */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stat-num {
  --target: 80;
  display: inline-block;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--accent-color);
  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); }
}

.stat-percent {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-color);
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

/* --- MIDDLE SECTION 4: Dense Icon Grid --- */
.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

.icon-wrapper {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.icon-grid-item h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- MIDDLE SECTION 5: Split Testimonial --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.2;
  margin-bottom: -20px;
}

.pull-quote {
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 24px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
}

.author-title {
  font-size: 13px;
  opacity: 0.8;
}

.stars {
  color: #ffbc00;
  margin-top: 4px;
}

.testimonial-visual {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 300px;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #ffffff;
}

.visual-overlay h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- CONTACT + FAQ SECTION --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  font-family: var(--alt-font);
  font-size: 15px;
  border-radius: 4px;
}

.form-group-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}

.form-group-checkbox input {
  margin-top: 4px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary-color);
  color: #ffffff;
  padding: 48px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

footer img {
  filter: brightness(0) invert(1);
  height: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-nav a {
  font-size: 13px;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}