/* CleanTech Rover — homepage (reference layout) */

:root {
  --accent: #2d6a6a;
  --accent-hot: #c45c3e;
  --accent-gold: #c9a227;
  --hero-overlay: rgba(15, 26, 29, 0.62);
  --footer-bg: #0f1a1d;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

html {
  overflow-x: hidden;
}

body.home-page {
  font-family: var(--font-sans);
  background: #fff;
  color: #1a1a1a;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Top navigation */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1.25rem 4%;
  transition: background-color 0.3s;
}

.home-nav.is-scrolled {
  background-color: rgba(15, 26, 29, 0.95);
}

.home-logo {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.home-logo .dot {
  color: var(--accent-hot);
}

.home-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.home-menu a:hover,
.home-menu a.is-active {
  color: var(--accent-hot);
}

.home-menu {
  margin-left: auto;
}

/* Header — CTR guides dropdown */
.nav-ctr-wrap {
  position: relative;
  list-style: none;
}

.nav-ctr-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  line-height: 1.4;
}

.nav-ctr-toggle:hover,
.nav-ctr-wrap.is-open .nav-ctr-toggle {
  color: var(--accent-hot);
}

.nav-ctr-label {
  letter-spacing: 0.06em;
}

.nav-ctr-chevron {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  transition: transform 0.2s ease;
}

.nav-ctr-wrap.is-open .nav-ctr-chevron {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}

.nav-ctr-panel {
  display: none;
  box-sizing: border-box;
}

.nav-ctr-wrap.is-open .nav-ctr-panel {
  display: block;
}

.nav-ctr-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.nav-ctr-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-ctr-list a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  line-height: 1.35;
  overflow: hidden;
  min-width: 0;
}

.nav-ctr-list li:last-child a {
  border-bottom: none;
}

.nav-ctr-list a:hover {
  color: var(--accent-hot);
}

.nav-ctr-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 993px) {
  .nav-ctr-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    min-width: 18rem;
    max-width: 22rem;
    padding: 1rem 1.15rem;
    background: rgba(15, 26, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 120;
  }

  .nav-ctr-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 1.25rem;
    width: 10px;
    height: 10px;
    background: rgba(15, 26, 29, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Hero slider */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4% 6rem;
  max-width: 720px;
}

.hero-inner h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-desc-wrap {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-desc-line {
  width: 3px;
  background-color: #fff;
  flex-shrink: 0;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: #fff;
  color: var(--accent-hot);
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border: 2px solid #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background: var(--accent-hot);
  color: #fff;
  border-color: var(--accent-hot);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--accent);
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--accent-hot);
}

/* Overlapping feature cards */
.cards-overlap-section {
  position: relative;
  padding-bottom: 5rem;
  background: #fff;
  width: 100%;
  max-width: 100%;
}

.cards-overlap-wrap {
  max-width: 1140px;
  width: 100%;
  margin: -5rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  box-sizing: border-box;
}

.feature-float-card {
  background: #fff;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  min-width: 0;
  box-sizing: border-box;
}

.feature-float-card .card-icon {
  width: 3rem;
  height: 3rem;
  background: #f0f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.feature-float-card .card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.35rem;
}

.feature-float-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.feature-float-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Split sections */
.split-section {
  padding: 5rem 4%;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-grid.reverse .split-text {
  order: 2;
}

.split-grid.reverse .split-media {
  order: 1;
}

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hot);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.split-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.split-text p {
  color: #555;
  margin: 0 0 1rem;
  line-height: 1.75;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: #333;
}

.check-list .check-icon {
  color: var(--accent);
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

.btn-accent {
  display: inline-block;
  background: var(--accent-hot);
  color: #fff;
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.btn-accent:hover {
  background: #a84d34;
}

.split-media {
  min-width: 0;
  max-width: 100%;
}

.split-media img {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  min-height: 320px;
}

/* Stats band */
.stats-band {
  position: relative;
  padding: 5rem 4%;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 26, 29, 0.78);
}

.stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  display: block;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: capitalize;
  margin-bottom: 0.75rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 280px;
}

/* Guides grid */
.guides-section {
  padding: 5rem 4%;
  background: #f7f7f7;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.guides-section-lead {
  max-width: 36rem;
  margin: 0.75rem auto 1.25rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.guides-view-all {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.guides-archive-toolbar {
  max-width: 1140px;
  margin: 0 auto 2rem;
  padding: 0 4%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  box-sizing: border-box;
}

.guides-filter-group label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.guides-filter-group select,
.guides-filter-group input {
  min-width: 200px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
}

.guides-filter-group input {
  min-width: 260px;
}

.guides-filter-group select:focus,
.guides-filter-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.guides-archive-empty {
  text-align: center;
  padding: 3rem 4%;
  color: #888;
  font-size: 0.95rem;
  display: none;
}

.guides-archive-section .guides-grid {
  max-width: 1140px;
}

.section-head-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head-center .eyebrow {
  color: #999;
}

.section-head-center h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0;
  font-weight: 700;
}

.guides-grid {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  box-sizing: border-box;
}

.guide-post-card {
  background: #fff;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-post-card > a {
  display: block;
}

.guide-post-card img {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

.guide-post-card .meta {
  font-size: 0.82rem;
  color: #888;
  margin: 1rem 0 0.5rem;
}

.guide-post-card .meta .author {
  color: var(--accent-hot);
}

.guide-post-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  font-weight: 700;
}

.guide-post-card .excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 4%;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

.testimonial-track-wrap {
  overflow: hidden;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.testimonial-slide > div {
  min-width: 0;
}

.testimonial-bubble {
  border: 1px solid #e5e5e5;
  padding: 2rem;
  position: relative;
  background: #fff;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #e5e5e5;
}

.testimonial-bubble::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
  z-index: 1;
}

.testimonial-bubble .quote-mark {
  color: var(--accent-hot);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.testimonial-bubble h4 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.testimonial-bubble p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-left: 0.5rem;
}

.testimonial-user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-user span {
  font-size: 0.82rem;
  color: #888;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  padding: 0;
}

.testimonial-dot.is-active {
  background: var(--accent-hot);
}

/* Dark footer */
.home-footer {
  background: var(--footer-bg);
  color: #9ab0ab;
  padding: 4rem 4% 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1.2fr 1.15fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.home-footer .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.home-footer .footer-logo .dot {
  color: var(--accent-hot);
}

.home-footer .footer-about {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.home-footer h5 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

.home-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-footer ul a {
  color: #9ab0ab;
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.5rem;
}

.home-footer ul a:hover {
  color: #fff;
}

.footer-guide-menu a {
  overflow: hidden;
  min-width: 0;
}

.footer-guide-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.footer-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.footer-bar {
  border-top: 1px solid #2a3d42;
  padding: 1.25rem 0;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-bar a {
  color: #9ab0ab;
  text-decoration: none;
  margin-left: 1.25rem;
}

#footer-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

#footer-bar-links a {
  margin-left: 0;
}

.footer-bar a:hover {
  color: #fff;
}

.footer-email {
  color: var(--accent-hot);
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent-hot);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  font-size: 1rem;
}

.back-top.is-visible {
  display: flex;
}

/* ---------- Subpages (About, Contact, Privacy, Terms) ---------- */
body.home-page.subpage .home-nav {
  background-color: rgba(15, 26, 29, 0.95);
}

.subpage-hero {
  position: relative;
  padding: 7.5rem 4% 3.5rem;
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--accent-hot);
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay);
}

.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.subpage-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.7;
  max-width: 36rem;
}

.subpage-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 4%;
  box-sizing: border-box;
}

.subpage-content.wide {
  max-width: 1200px;
}

.subpage-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2.5rem 0 0.85rem;
  color: #1a1a1a;
}

.subpage-content h2:first-child {
  margin-top: 0;
}

.subpage-content p,
.subpage-content li {
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
}

.subpage-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.subpage-content li {
  margin-bottom: 0.4rem;
}

.subpage-content a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.subpage-content a:hover {
  color: var(--accent-hot);
  text-decoration: underline;
}

.contact-card {
  background: #f7f7f7;
  border: 2px solid var(--accent);
  padding: 2rem;
  margin: 1rem 0 2rem;
  box-sizing: border-box;
}

.contact-card .card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin: 0 0 0.5rem;
}

.contact-card a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--accent-hot);
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  background: var(--accent-hot);
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.contact-form button:hover {
  background: #a84d34;
}

.form-note {
  font-size: 0.88rem;
  color: #666;
  margin-top: 1rem;
}

.form-note.hidden {
  display: none;
}

/* ---------- About page (reference layout) ---------- */
body.about-page {
  background: #f8f9fa;
}

.about-wrap {
  padding-bottom: 4rem;
  overflow-x: hidden;
}

.about-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6.5rem 4% 2rem;
  font-size: 0.88rem;
  color: #888;
  box-sizing: border-box;
}

.about-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  color: var(--accent-hot);
}

.about-breadcrumb .sep {
  margin: 0 0.45rem;
  color: #ccc;
}

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 4%;
  box-sizing: border-box;
}

.about-section--white {
  background: #fff;
}

.about-section--grey {
  background: #f8f9fa;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-intro-grid .eyebrow {
  color: #999;
}

.about-intro-grid h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  color: #1a1a1a;
}

.about-intro-grid .lead {
  color: #555;
  line-height: 1.8;
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

.about-intro-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  min-height: 340px;
}

.about-triple-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-triple-grid h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  color: #1a1a1a;
}

.about-triple-grid .eyebrow {
  color: #999;
}

.about-triple-grid .lead {
  color: #555;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.about-text-block {
  margin-bottom: 1.75rem;
}

.about-text-block:last-child {
  margin-bottom: 0;
}

.about-text-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.5rem;
}

.about-text-block p {
  margin: 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-mission-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
  color: #1a1a1a;
}

.about-mission-grid .eyebrow {
  color: #999;
}

.about-mission-grid .lead {
  color: #555;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.about-mission-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  min-height: 360px;
  display: block;
}

.about-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.about-check-list .check-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent-hot);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.about-standards-grid h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1rem;
  grid-column: 1 / -1;
}

.about-standards-grid .eyebrow {
  grid-column: 1 / -1;
  color: #999;
}

.about-standard-card {
  background: #fff;
  padding: 1.75rem;
  border: 1px solid #eee;
}

.about-standard-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
  color: #1a1a1a;
}

.about-standard-card p {
  margin: 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-text-block a,
.about-standard-card a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.about-text-block a:hover,
.about-standard-card a:hover {
  color: var(--accent-hot);
  text-decoration: underline;
}

/* ---------- Guide detail articles ---------- */
body.guide-page {
  background: #fff;
}

.guide-article-wrap {
  padding-bottom: 4rem;
  overflow-x: hidden;
}

.guide-page .subpage-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.guide-hero-meta {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.guide-article-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 4% 3rem;
  box-sizing: border-box;
}

.guide-article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.25rem 0 0.85rem;
  color: #1a1a1a;
}

.guide-article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.6rem;
  color: #333;
}

.guide-article-body p,
.guide-article-body li {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.guide-article-body ul,
.guide-article-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.guide-article-body li {
  margin-bottom: 0.45rem;
}

.guide-article-body a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.guide-article-body a:hover {
  color: var(--accent-hot);
  text-decoration: underline;
}

.article-callout {
  background: #f8f9fa;
  border-left: 4px solid var(--accent-hot);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-size: 0.92rem;
  color: #444;
}

.article-callout strong {
  color: #1a1a1a;
}

.related-guides {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4% 2rem;
  box-sizing: border-box;
}

.related-guides h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #1a1a1a;
}

.related-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.related-guide-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.related-guide-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-guide-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hot);
  margin-bottom: 0.35rem;
}

.related-guide-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
  line-height: 1.35;
}

.guide-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-post-card h3 a:hover {
  color: var(--accent-hot);
}

.guide-post-card .card-text {
  padding: 0 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-post-card .excerpt {
  flex: 1;
}

a.feature-float-card {
  text-decoration: none;
  color: inherit;
}

a.feature-float-card:hover h3 {
  color: var(--accent-hot);
}

@media (max-width: 992px) {
  .related-guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .about-intro-grid,
  .about-mission-grid,
  .about-standards-grid {
    grid-template-columns: 1fr;
  }

  .about-triple-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-grid img,
  .about-mission-grid img {
    order: -1;
    min-height: 260px;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .home-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    background: rgba(15, 26, 29, 0.98);
    padding: 1rem 4%;
    gap: 0.5rem;
    box-sizing: border-box;
  }

  .home-menu.is-open {
    display: flex;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-menu > li {
    width: 100%;
  }

  .home-menu > li > a,
  .nav-ctr-toggle {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    text-align: left;
  }

  .nav-ctr-panel {
    width: 100%;
    padding: 0 0 0.75rem 0.75rem;
    margin-bottom: 0.25rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
  }

  .nav-ctr-list a {
    padding: 0.6rem 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .home-logo {
    font-size: 1.35rem;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cards-overlap-wrap {
    grid-template-columns: 1fr;
    margin-top: -3rem;
  }

  .split-grid,
  .guides-grid,
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .split-grid.reverse .split-text,
  .split-grid.reverse .split-media {
    order: unset;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .guide-post-card .card-text {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-inner {
    padding-left: 5%;
    padding-right: 5%;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar a {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .footer-bar > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .footer-bar > div a {
    margin-top: 0;
  }

  .subpage-hero {
    padding-top: 6.5rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  .subpage-content {
    padding-left: 5%;
    padding-right: 5%;
  }

  .about-breadcrumb,
  .about-section {
    padding-left: 5%;
    padding-right: 5%;
  }
}
