/* palette: graphite-amber */
:root {
  --primary-color: #1E2832;
  --secondary-color: #2C3E50;
  --accent-color: #C9900A;
  --background-color: #F5F7F9;
  --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: 0px; 
  --radius-md: 0px; 
  --radius-lg: 0px; 
  --radius-xl: 0px;
  --main-font: 'Playfair Display', Georgia, serif;
  --alt-font: 'Roboto', sans-serif;
}

/* NEO-BRUTAL KEY RULES */
section {
  padding: 40px 16px;
  margin: 0;
  background-color: var(--background-color);
}

@media (min-width: 1024px) {
  section {
    padding: 48px 24px;
  }
}

.card, .btn {
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  border-radius: 0;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--primary-color);
}

h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  font-family: var(--main-font);
}

section + section {
  border-top: 4px solid var(--primary-color);
}

/* BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 17px);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555555;
  font-weight: 500;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  font-family: var(--alt-font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--primary-color);
}

.btn-block {
  width: 100%;
}

/* HEADER & NAV */
header {
  position: relative;
  background-color: #FFFFFF;
  border-bottom: 4px solid var(--primary-color);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 48px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  cursor: pointer;
}

.burger-btn .bar {
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 4px solid var(--primary-color);
  padding: 20px;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }
}

/* HERO (scroll-peek option) */
.hero {
  min-height: calc(81vh - 80px);
  background-image: linear-gradient(rgba(30, 40, 50, 0.8), rgba(30, 40, 50, 0.8)), url('./img/bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: visible;
  padding: 60px 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
  color: #F5F7F9;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* ANIMATION AT PROPERTY */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  display: inline-block;
  line-height: 1;
  color: var(--accent-color);
  font-family: var(--main-font);
}

.stat-num::after {
  content: counter(n);
}

@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}

@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%;
}

/* SECTION 2: TESTIMONIAL WALL */
#testimonials {
  min-height: 500px;
}

.testimonial-wall {
  columns: 1;
  column-gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-wall {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .testimonial-wall {
    columns: 3;
  }
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background-color: #FFFFFF;
  padding: 24px;
}

.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.quote {
  font-style: italic;
  margin-bottom: 16px;
}

.author {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.author-title {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 0;
}

/* SECTION 3: STATS COUNTER */
.stats-section {
  min-height: 300px;
  background-color: var(--secondary-color);
}

.stats-section .section-title,
.stats-section .section-subtitle {
  color: #FFFFFF;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background-color: #FFFFFF;
  padding: 32px 24px;
  text-align: center;
}

.stat-unit {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-color);
  font-family: var(--main-font);
}

.stat-label {
  margin-top: 12px;
  font-weight: 500;
  margin-bottom: 0;
}

/* SECTION 4: EXPERT QUOTE */
.quote-section {
  min-height: 320px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
}

.quote-wrapper {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 6rem;
  color: var(--accent-color);
  line-height: 0.5;
  font-family: var(--main-font);
  margin-bottom: 20px;
}

.expert-quote-text {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-family: var(--main-font);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.expert-name {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.expert-title {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* SECTION 5: TOPIC OVERVIEW CARDS */
#topics {
  min-height: 460px;
}

.image-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .image-spotlight {
    grid-template-columns: 1fr 1fr;
  }
}

.spotlight-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.spotlight-text {
  background: #FFFFFF;
  padding: 24px;
  border: 3px solid var(--primary-color);
  box-shadow: 6px 6px 0 var(--primary-color);
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-card {
  background-color: #FFFFFF;
  padding: 32px;
}

.topic-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.topic-list {
  list-style-type: square;
  padding-left: 20px;
  margin-top: 16px;
  font-size: 0.95rem;
}

/* SECTION 6: ABOUT / VALUES */
.values-section {
  min-height: 380px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background-color: #FFFFFF;
  padding: 32px 24px;
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* SECTION 7: CONTACT + FAQ COMBINED */
.contact-faq-section {
  background-color: #FFFFFF;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--background-color);
  padding: 24px;
}

.info-item {
  margin-bottom: 12px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.contact-form {
  background-color: var(--background-color);
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary-color);
  border-radius: 0;
  font-family: var(--alt-font);
  font-size: 0.95rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.85rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: var(--background-color);
  padding: 24px;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.faq-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 40px 24px;
  border-top: 4px solid var(--primary-color);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 40px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #CCCCCC;
}