/* palette: corporate aqua-amber */
@property --count { syntax: '<integer>'; initial-value: 0; inherits: false; }

:root {
  --primary-color: #005C60;
  --secondary-color: #007B82;
  --accent-color: #E8A020;
  --background-color: #ECF9FA;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --main-font: 'DM Serif Display', Georgia, serif;
  --alt-font: 'Noto Sans', sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: #FFFFFF;
  line-height: 1.7;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--dark-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 600; }
h4 { font-size: clamp(16px, 2vw, 20px); font-weight: 600; }

p {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 1rem;
  color: #444444;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CORPORATE PRESET RULES */
section {
  padding: 48px 16px;
  margin: 0;
}

@media(min-width: 1024px) {
  section {
    padding: 60px 24px;
  }
}

.card {
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 6px;
  background-color: #FFFFFF;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

section + section {
  border-top: 1px solid #F3F4F6;
}

.btn {
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 14px 28px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #d18d18;
  color: #000000;
}

.btn-block {
  display: block;
  width: 100%;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
  font-size: clamp(15px, 1.8vw, 18px);
  color: #555555;
}

/* HEADER & CSS-ONLY BURGER MENU */
.site-header {
  position: relative;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 102;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  padding: 24px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media(min-width: 768px) {
  .burger-btn {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }

  .site-nav a {
    color: var(--dark-color);
  }

  .site-nav a:hover {
    color: var(--primary-color);
  }
}

/* HERO VARIANT: editorial-bleed */
.hero-editorial {
  min-height: 89vh;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 64px 24px;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--dark-color);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent-color);
}

.hero-divider {
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  margin: 32px 0;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media(min-width: 768px) {
  .hero-body {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-text-col {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
  color: #333333;
}

.hero-cta-wrapper {
  margin-top: 16px;
}

/* SCROLL 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%;
}

/* SECTION: TESTIMONIAL WALL (Block 19) */
.section-testimonials {
  background-color: var(--background-color);
}

.testimonial-wall {
  column-count: 1;
  column-gap: 20px;
}

@media(min-width: 768px) {
  .testimonial-wall {
    column-count: 2;
  }
}

@media(min-width: 1024px) {
  .testimonial-wall {
    column-count: 3;
  }
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 20px;
}

.stars {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.quote {
  font-style: italic;
  font-size: 0.95rem;
  color: #333333;
  margin-bottom: 16px;
}

.author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-color);
}

/* SECTION: STATS COUNTER (Block 11) */
.section-stats {
  background-color: var(--primary-color);
  color: #FFFFFF;
  min-height: 300px;
}

.light-text {
  color: #FFFFFF !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media(min-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  text-align: center;
  padding: 16px;
}

.stat-num {
  display: inline-block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  font-family: var(--main-font);
  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-unit {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--main-font);
}

.stat-label {
  color: #ECF9FA;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* SECTION: EXPERT QUOTE (Block 6) */
.section-quote {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
  padding: 80px 24px;
}

.quote-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: 1;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,92,96,0.85), rgba(0,123,130,0.85));
  z-index: 2;
}

.quote-container {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
}

.quote-icon {
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.6;
  font-family: var(--main-font);
  margin-bottom: -20px;
}

.expert-quote-text {
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.quote-author {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.quote-title {
  font-size: 0.85rem;
  color: #ECF9FA;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* SECTION: TOPIC OVERVIEW CARDS (Block 28) */
.section-topics {
  background-color: #FFFFFF;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.topic-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.topic-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.topic-card h3 {
  margin-bottom: 12px;
}

.topic-list {
  list-style: none;
  margin-top: 16px;
}

.topic-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555555;
}

.topic-list i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

.topic-card-image {
  padding: 0;
  overflow: hidden;
}

.topic-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.topic-img-content {
  padding: 24px;
}

/* SECTION: ABOUT / VALUES (Block 10) */
.section-values {
  background-color: var(--background-color);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media(min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* SECTION: CONTACT + FAQ COMBINED */
.section-contact-faq {
  background-color: #FFFFFF;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media(min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.left-align {
  text-align: left;
}

.contact-desc {
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 4px;
}

.form-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
}

.form-card h3 {
  margin-bottom: 20px;
}

.site-form .form-group {
  margin-bottom: 16px;
}

.site-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-color);
}

.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  font-family: var(--alt-font);
  font-size: 0.95rem;
}

.site-form input:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.8rem;
  font-weight: normal;
  color: #666666;
}

/* FAQ STYLES (OPEN ITEMS) */
.faq-wrapper {
  border-top: 1px solid var(--border-color);
  padding-top: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media(min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  box-shadow: none;
  background-color: #FAFAFA;
}

.faq-item h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #555555;
}

/* FOOTER */
.site-footer {
  background-color: var(--dark-color);
  color: #FFFFFF;
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  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-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  color: #CCCCCC;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-copy {
  color: #888888;
  font-size: 0.85rem;
  margin-bottom: 0;
}