/* =============================================================
   GAIA HOME 2026 — Design System & All Sections CSS
   ============================================================= */

/* Google Fonts already loaded in template */
:root {
  --g-primary:  #de5d2c;
  --g-dark:     #301303;
  --g-cream:    #fefae5;
  --g-gold:     #f5bd4c;
  --g-green:    #419059;
  --g-white:    #ffffff;
  --g-gray:     #6b7280;
  --g-border:   #e5e7eb;

  --font-heading: 'Yanone Kaffeesatz', sans-serif;
  --font-body:    'Be Vietnam Pro', Arial, sans-serif;

  --radius: 16px;
  --shadow: 0 4px 24px rgba(48,19,3,0.08);
  --shadow-hover: 0 12px 40px rgba(222,93,44,0.15);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

#gaia2026-home * {
  box-sizing: border-box;
}

#gaia2026-home {
  font-family: var(--font-body);
  color: var(--g-dark);
  overflow-x: hidden;
  width: 100%;
  display: block;
}

#gaia2026-home h1,
#gaia2026-home h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

#gaia2026-home h2 {
  font-family: var(--font-heading);
  line-height: 1;
  font-size: var(--type-section, clamp(40px, 5vw, 64px)) !important;
  font-weight: 700 !important;
}

#gaia2026-home h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-size: 28px !important;
}

/* Force-center ALL shortcode section containers via flex on outer section */
#gaia2026-home .home2-orig-stats,
#gaia2026-home .home2-orig-6r,
#gaia2026-home .home2-orig-people,
#gaia2026-home .home2-orig-services,
#gaia2026-home .home2-orig-certificates,
#gaia2026-home .g2-farm2cup {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Impact section = full-width background, no flex constraint */
#gaia2026-home .home2-orig-impact {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Inner containers: max 1200px, centered */
#gaia2026-home .gaia-stats-row,
#gaia2026-home .gaia-6r-section,
#gaia2026-home .gaia-people-section,
#gaia2026-home .gaia-partner-wrapper,
#gaia2026-home .g2-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-shrink: 0;
}

.g2-section {
  padding: 80px 0;
}

.g2-section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g-primary) !important;
  margin-bottom: 14px;
}

.g2-heading {
  font-size: var(--type-section, clamp(40px, 5vw, 64px));
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g-dark);
  margin-bottom: 16px;
}

.g2-heading-white {
  color: var(--g-white);
}

.g2-subtext {
  font-size: 17px;
  line-height: 1.75;
  color: var(--g-gray);
  max-width: 680px;
}

.g2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.g2-btn-primary {
  background: var(--g-primary);
  color: var(--g-white);
  border-color: var(--g-primary);
}
.g2-btn-primary:hover {
  background: #ffffff;
  color: var(--g-primary);
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.g2-btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: var(--g-white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
}
.g2-btn-outline:hover {
  background: var(--g-primary);
  color: #fff;
  border-color: var(--g-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ============================================================
   HERO SECTION — Block 1
   ============================================================ */
.g2-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

#g2-hero.g2-hero {
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.g2-hero-swiper {
  width: 100%;
  height: 100%;
}

.g2-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.g2-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g2-hero-overlay {
  position: absolute;
  inset: 0;
  display: none;
}

.g2-hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 580px;
  color: var(--g-white);
}

.g2-hero-content h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(36px, 9vw, 110px) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  line-height: 0.9 !important;
  margin-bottom: 24px;
  color: var(--g-white);
}

.g2-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.9;
}

.g2-hero-cta-wrap {
  position: relative;
  z-index: 2;
}

.g2-hero-about-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 308px;
  height: 62px;
  padding: 0 54px !important;
  border: 2px solid rgba(255,255,255,0.82) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
  font-family: 'Be Vietnam Pro', Arial, sans-serif !important;
  font-size: 31px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

.g2-hero-about-btn:hover {
  background: rgba(255,255,255,0.28) !important;
  color: #ffffff !important;
}

.g2-hero-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.g2-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.g2-hero-dot.active {
  background: var(--g-white);
  width: 28px;
  border-radius: 4px;
}

.g2-hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}

.g2-hero-arrow {
  pointer-events: all;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--g-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.g2-hero-arrow:hover {
  background: var(--g-primary);
  border-color: var(--g-primary);
}

/* ============================================================
   INTRO SECTION — Block 2
   ============================================================ */
.g2-intro {
  background: var(--g-white);
  padding: 80px 0;
}

.g2-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left text column: dark photo overlay */
.g2-intro-text {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(to top, rgba(48,19,3,0.85) 0%, rgba(48,19,3,0.45) 60%, rgba(48,19,3,0.2) 100%),
    url('/wp-content/uploads/2020/10/cafe_AIUB-Copy.jpg') center center / cover no-repeat;
}

.g2-intro-text .g2-section-tag {
  color: var(--g-gold) !important;
}

.g2-intro-text .g2-heading {
  color: var(--g-white) !important;
  margin-bottom: 16px;
}

.g2-intro-text .g2-subtext {
  color: rgba(255,255,255,0.85) !important;
  font-size: 15px;
  max-width: 100%;
}

.g2-intro-usps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.g2-usp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--g-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.g2-usp-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.g2-usp-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.g2-usp-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--g-dark);
  line-height: 1.4;
  padding-top: 4px;
}

/* ============================================================
   STATS SECTION — Module 1d
   ============================================================ */
.g2-stats {
  background: var(--g-primary);
  padding: 24px 0;
}

.g2-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.g2-stat-card {
  text-align: center;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.3);
  position: relative;
}

.g2-stat-card:last-child {
  border-right: none;
}

.g2-stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  opacity: 1;
}

.g2-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.g2-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--g-white);
  line-height: 1;
  margin-bottom: 4px;
}

.g2-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   CERTIFICATES — Module 1c
   ============================================================ */
.g2-certs {
  background: #2a1a0e;
  padding: 80px 0;
}

.g2-certs-header {
  text-align: center;
  margin-bottom: 48px;
}

.g2-certs-header .g2-heading {
  color: var(--g-white) !important;
}

.g2-certs-header .g2-section-tag {
  color: rgba(255,255,255,0.6) !important;
}

.g2-certs-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.g2-cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 100px;
  padding: 16px;
  border: 1px solid var(--g-border);
  border-radius: 12px;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.6;
}

.g2-cert-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--g-primary);
  box-shadow: var(--shadow);
}

.g2-cert-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.g2-cert-placeholder {
  width: 160px;
  height: 100px;
  border: 2px dashed var(--g-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g-gray);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================================
   SERVICES — Module 1b (Gaia Café Partners)
   ============================================================ */
.g2-services {
  background: var(--g-cream);
  padding: 80px 0;
}

.g2-services-header {
  text-align: center;
  margin-bottom: 52px;
}

.g2-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.g2-service-card {
  background: var(--g-white);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.g2-service-card:hover {
  border-color: var(--g-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.g2-service-card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.g2-service-card-icon img,
.g2-service-card-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

.g2-service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--g-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.g2-service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--g-gray);
  margin-bottom: 24px;
  flex: 1;
}

.g2-service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--g-gold);
  color: var(--g-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ============================================================
   USP CARDS — Module 2a/2b/2c
   ============================================================ */
.g2-usp-cards {
  background: var(--g-dark);
  padding: 80px 0;
}

.g2-usp-cards-header {
  text-align: center;
  margin-bottom: 52px;
}

.g2-usp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.g2-usp-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.g2-usp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(222,93,44,0.08), transparent);
  opacity: 0;
  transition: var(--transition);
}

.g2-usp-card:hover {
  border-color: var(--g-primary);
  transform: translateY(-6px);
}

.g2-usp-card:hover::before {
  opacity: 1;
}

.g2-usp-card-num {
  font-family: var(--font-heading);
  font-size: 80px !important;
  font-weight: 700 !important;
  color: var(--g-gold) !important;
  line-height: 1;
  margin-bottom: -10px;
}

.g2-usp-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--g-gold) !important;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.g2-usp-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--g-white);
  margin-bottom: 24px;
}

/* ============================================================
   FARM TO CUP — Block 4
   ============================================================ */
.g2-farm2cup {
  background: var(--g-white);
  padding: 80px 0;
}

.g2-ftc-header {
  text-align: center;
  margin-bottom: 52px;
}

.g2-ftc-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid var(--g-border);
  margin-bottom: 48px;
  overflow-x: auto;
  overflow-y: hidden;
}

.g2-ftc-tab {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--g-gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
}

.g2-ftc-tab:hover {
  color: var(--g-primary);
}

.g2-ftc-tab.active {
  color: var(--g-white);
  background: var(--g-primary);
  border-radius: 8px 8px 0 0;
  border-bottom-color: var(--g-primary);
}

.g2-ftc-panel {
  display: none;
  grid-template-columns: 6fr 4fr;
  gap: 64px;
  align-items: center;
  animation: ftcFade 0.4s ease;
}

.g2-ftc-panel.active {
  display: grid;
}

@keyframes ftcFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.g2-ftc-content h3 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g-dark);
  margin-bottom: 16px;
}

.g2-ftc-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--g-gray);
}

.g2-ftc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.g2-ftc-tag {
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--g-cream);
  border: 1px solid rgba(222,93,44,0.2);
  color: var(--g-primary);
  font-size: 13px;
  font-weight: 600;
}

.g2-ftc-img {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.g2-ftc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.g2-ftc-img:hover img {
  transform: scale(1.04);
}

/* ============================================================
   6R POLICIES — Module 3a
   ============================================================ */
.g2-6r {
  background: #ffffff;
  padding: 80px 0;
}

.g2-6r-header {
  text-align: center;
  margin-bottom: 52px;
}

.g2-6r-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.g2-6r-card {
  text-align: center;
  padding: 36px 20px;
  border-bottom: 1px solid var(--g-border);
  transition: var(--transition);
}

.g2-6r-card:nth-child(n+4) {
  border-bottom: none;
}

.g2-6r-card:hover {
  transform: translateY(-4px);
}

.g2-6r-label {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g-dark);
  margin-bottom: 10px;
}

.g2-6r-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--g-gray);
}

.g2-6r-card img,
.g2-6r-card svg {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  margin: 0 auto 16px auto;
  display: block;
}

/* ============================================================
   GAIA PEOPLE — Module 3b
   ============================================================ */
.g2-people {
  background: var(--g-cream);
  padding: 80px 0;
}

.g2-people-header {
  text-align: center;
  margin-bottom: 52px;
}

.g2-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.g2-person-card {
  background: var(--g-white);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.g2-person-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.g2-person-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 0 0 0;
}

.g2-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.g2-person-card:hover .g2-person-photo img {
  transform: scale(1.05);
}

.g2-person-card-body {
  padding: 20px 24px 24px;
}

.g2-person-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--g-primary);
  color: var(--g-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 14px;
}

.g2-person-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--g-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.g2-person-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--g-gray);
}

/* ============================================================
   IMPACT / NUMBERS IN ACTIONS — Module 3c
   ============================================================ */
.g2-impact {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.g2-impact-bg {
  position: absolute;
  inset: 0;
  background-image: url('');
  background-size: cover;
  background-position: center;
}

.g2-impact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48,19,3,0.82);
}

.g2-impact-inner {
  position: relative;
  z-index: 2;
}

.g2-impact-header {
  text-align: center;
  margin-bottom: 60px;
}

.g2-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.g2-impact-card {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.g2-impact-card:last-child {
  border-right: none;
}

.g2-impact-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--g-primary);
  line-height: 1;
  margin-bottom: 10px;
}

.g2-impact-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .g2-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .g2-intro-text { min-height: 280px; }
  .g2-services-grid { grid-template-columns: repeat(2, 1fr); }
  .g2-6r-grid { grid-template-columns: repeat(3, 1fr); }
  .g2-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .g2-impact-card { border-right-color: rgba(255,255,255,0.1); }
  .gaia-partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .g2-section { padding: 56px 0; }

  /* Stats bar: stack vertically, smaller padding */
  .g2-stats-grid { grid-template-columns: 1fr; }
  .g2-stat-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 18px 24px;
  }
  .g2-stat-card:last-child { border-bottom: none !important; }

  /* Intro: single col */
  .g2-intro-text { min-height: 260px; padding: 32px 24px; }

  /* Services */
  .g2-services-grid { grid-template-columns: 1fr; }
  .gaia-partner-grid { grid-template-columns: 1fr !important; }

  /* USP / FTC */
  .g2-usp-cards-grid { grid-template-columns: 1fr; }
  .g2-ftc-panel.active { grid-template-columns: 1fr; }
  .g2-ftc-img { display: none; }

  /* 6R: 2 columns on tablet */
  .g2-6r-grid { grid-template-columns: repeat(2, 1fr); }
  .g2-6r-card { border-bottom: 1px solid var(--g-border); }
  .g2-6r-card:nth-child(n+4) { border-bottom: 1px solid var(--g-border); }
  .g2-6r-card:nth-child(n+5) { border-bottom: none; }

  /* People */
  .g2-people-grid { grid-template-columns: 1fr; }

  /* Impact */
  .g2-impact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero content */
  .g2-hero-content { left: 5%; right: 5%; max-width: none; }
  .g2-hero-content h1 { font-size: clamp(28px, 8vw, 56px); }
  .g2-hero-cta-wrap {
    padding: 0 28px 42px !important;
    min-height: 45vh !important;
  }
  .g2-hero-about-btn {
    min-width: 190px;
    height: 50px;
    padding: 0 32px !important;
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .g2-impact-grid { grid-template-columns: 1fr; }
  .g2-impact-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .g2-6r-grid { grid-template-columns: 1fr; }
  .g2-6r-card { border-bottom: 1px solid var(--g-border) !important; }
  .g2-6r-card:last-child { border-bottom: none !important; }
  .g2-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .g2-stat-card { border-right: 1px solid rgba(255,255,255,0.3); border-bottom: none; padding: 14px 8px; }
  .g2-stat-card:last-child { border-right: none !important; }
  .g2-stat-icon { width: 36px; height: 36px; }
  .g2-stat-number { font-size: 14px; }
  .g2-stat-label { font-size: 11px; letter-spacing: 0; }
}

/* Home 2026 mobile hardening: scoped overrides for sections with inline layout styles. */
@media (max-width: 768px) {
  #gaia2026-home {
    --home2-mobile-gutter: 22px;
  }

  #gaia2026-home,
  #gaia2026-home section,
  #gaia2026-home footer {
    max-width: 100%;
  }

  #gaia2026-home .g2-container,
  #g2-farm2cup > div,
  #g2-services > div,
  #g2-people > div,
  #g2-benvung > .g2-container,
  #g2-footer > .g2-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--home2-mobile-gutter) !important;
    padding-right: var(--home2-mobile-gutter) !important;
  }

  #gaia2026-home h2,
  #gaia2026-home .g2-heading {
    font-size: clamp(34px, 11vw, 46px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  #gaia2026-home h3 {
    font-size: 22px !important;
  }

  #g2-hero.g2-hero {
    min-height: 0 !important;
    height: calc(100vw * 1.1958) !important;
    background-position: top center !important;
    align-items: flex-end !important;
  }

  #g2-hero .g2-hero-cta-wrap {
    min-height: min(520px, 58svh) !important;
    padding: 0 var(--home2-mobile-gutter) 36px !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
  }

  #g2-hero .g2-hero-about-btn {
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    height: 48px !important;
    padding: 0 28px !important;
    font-size: 22px !important;
    white-space: nowrap !important;
  }

  #g2-intro.g2-intro {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  #g2-intro .g2-intro-panel {
    min-height: 500px !important;
  }

  #g2-stats.g2-stats-wrapper {
    --g2-mobile-stat-icon-size: 54px;
    padding: 28px 0 !important;
  }

  #g2-stats .g2-stats-flex {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
    justify-content: initial !important;
    gap: 0 !important;
    padding: 0 var(--home2-mobile-gutter) !important;
  }

  #g2-stats .g2-stat-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    justify-items: center !important;
    min-height: 0 !important;
    padding: 18px 0 !important;
  }

  #g2-stats .g2-stat-item::after {
    content: none !important;
    display: none !important;
  }

  #g2-stats .g2-stat-item:nth-of-type(3)::after {
    content: '' !important;
    display: block !important;
    width: var(--g2-mobile-stat-icon-size) !important;
    height: var(--g2-mobile-stat-icon-size) !important;
    justify-self: center !important;
    margin-top: 6px !important;
    background: url('../images/chim-hac-new.svg') center / contain no-repeat !important;
    filter: brightness(0) invert(1) !important;
  }

  #g2-stats .stat-crane-svg {
    width: var(--g2-mobile-stat-icon-size) !important;
    height: var(--g2-mobile-stat-icon-size) !important;
  }

  #g2-stats .g2-stat-text-box {
    text-align: center !important;
    min-width: 0 !important;
  }

  #g2-stats .g2-stat-title {
    font-size: 26px !important;
    text-align: center !important;
  }

  #g2-stats .g2-stat-desc {
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  #g2-farm2cup,
  #g2-services,
  #g2-people,
  #g2-benvung {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
  }

  #g2-farm2cup h2,
  #g2-services h2,
  #g2-people h2,
  #g2-benvung h2 {
    margin-bottom: 34px !important;
  }

  #g2-ftc-tabbar {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  #g2-ftc-tabbar .g2-ftc-btn {
    flex: 0 0 auto !important;
    min-width: 118px !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    scroll-snap-align: start;
  }

  #g2-farm2cup [id^="ftc-panel-"] {
    flex-direction: column !important;
    gap: 22px !important;
    padding: 26px 20px !important;
  }

  #g2-farm2cup [id^="ftc-panel-"] > div {
    max-width: 100% !important;
    width: 100% !important;
  }

  #g2-farm2cup [id^="ftc-panel-"] img {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  #g2-services div[style*="grid-template-columns: repeat(3"],
  #g2-people div[style*="grid-template-columns: repeat(3"],
  #g2-benvung div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    margin-bottom: 34px !important;
  }

  #g2-services div[style*="width: 260px"] {
    width: min(220px, 70vw) !important;
    height: min(220px, 70vw) !important;
    margin-bottom: 18px !important;
  }

  #g2-services p,
  #g2-benvung p {
    max-width: 100% !important;
  }

  #g2-services a,
  #g2-people-readmore {
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    white-space: normal !important;
  }

  #g2-benvung img {
    width: 70px !important;
  }

  #g2-footer .g2-footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-top: 30px !important;
    padding-bottom: 32px !important;
  }

  #g2-footer .g2-footer-logo img {
    height: 50px !important;
  }

  #g2-footer p,
  #g2-footer a,
  #g2-footer li,
  #g2-footer div {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  #gaia2026-home {
    --home2-mobile-gutter: 20px;
  }

  #g2-hero.g2-hero {
    min-height: min(640px, 72svh) !important;
  }

  #g2-hero .g2-hero-cta-wrap {
    min-height: min(430px, 50svh) !important;
    padding-bottom: 30px !important;
  }

  #g2-hero .g2-hero-about-btn {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 20px !important;
  }

  #g2-intro .g2-intro-panel {
    min-height: 500px !important;
  }

  #g2-stats .g2-stats-flex {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  #g2-stats .g2-stat-item {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  #g2-stats .g2-stat-item::after {
    content: none !important;
    display: none !important;
  }

  #g2-stats .g2-stat-item:nth-of-type(3)::after {
    content: '' !important;
    display: block !important;
  }

  #g2-stats .stat-crane-svg {
    width: var(--g2-mobile-stat-icon-size) !important;
    height: var(--g2-mobile-stat-icon-size) !important;
  }

  #g2-stats .g2-stat-title {
    font-size: 26px !important;
  }

  #g2-ftc-tabbar .g2-ftc-btn {
    min-width: 104px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #g2-farm2cup [id^="ftc-panel-"] {
    padding: 22px 18px !important;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON - Gaia square mark
   ============================================================ */
#eltdf-back-to-top {
    background-color: #ffffff !important;
    border: 2px solid #de5d2c !important;
    box-sizing: border-box !important;
    transition: opacity 0.3s, background-color 0.2s ease, border-color 0.2s ease !important;
}

#eltdf-back-to-top:hover {
    background-color: #f26312 !important;
    border: 1px solid #fff !important;
}

/* Replace the theme chevron with the horizontal Gaia mark. */
#eltdf-back-to-top .eltdf-back-to-top-inner {
    top: 50% !important;
    left: 50% !important;
    width: 26px !important;
    height: 16px !important;
    margin: 0 !important;
    color: transparent !important;
    transform: translate(-50%, -50%) scaleX(0) !important;
    -webkit-transform: translate(-50%, -50%) scaleX(0) !important;
    -moz-transform: translate(-50%, -50%) scaleX(0) !important;
    transform-origin: center !important;
    -webkit-transform-origin: center !important;
    -moz-transform-origin: center !important;
    transition: background-color 0.2s ease !important;
}

#eltdf-back-to-top:hover .eltdf-back-to-top-inner {
    top: 40% !important;
}

#eltdf-back-to-top.on .eltdf-back-to-top-inner {
    transform: translate(-50%, -50%) scaleX(1) !important;
    -webkit-transform: translate(-50%, -50%) scaleX(1) !important;
    -moz-transform: translate(-50%, -50%) scaleX(1) !important;
}

#eltdf-back-to-top .eltdf-back-to-top-inner::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    left: 0 !important;
    top: 7px !important;
    width: 26px !important;
    height: 2px !important;
    margin: 0 !important;
    background-color: #de5d2c !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    transform-origin: center !important;
    -webkit-transform-origin: center !important;
    -moz-transform-origin: center !important;
}

#eltdf-back-to-top .eltdf-back-to-top-inner::after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    left: 13px !important;
    top: 7px !important;
    width: 13px !important;
    height: 2px !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    transform-origin: left center !important;
    -webkit-transform-origin: left center !important;
    -moz-transform-origin: left center !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

#eltdf-back-to-top:hover .eltdf-back-to-top-inner::before {
    left: 0 !important;
    top: 7px !important;
    width: 13px !important;
    background-color: #ffffff !important;
    transform: rotate(-40deg) !important;
    -webkit-transform: rotate(-40deg) !important;
    -moz-transform: rotate(-40deg) !important;
    transform-origin: right center !important;
    -webkit-transform-origin: right center !important;
    -moz-transform-origin: right center !important;
}

#eltdf-back-to-top:hover .eltdf-back-to-top-inner::after {
    display: block !important;
    background-color: #ffffff !important;
    transform: rotate(40deg) !important;
    -webkit-transform: rotate(40deg) !important;
    -moz-transform: rotate(40deg) !important;
}

#eltdf-back-to-top .eltdf-icon-stack,
#eltdf-back-to-top i {
    display: none !important;
}

@media only screen and (max-width: 767px) {
  #g2-hero.g2-hero {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1415 / 1692 !important;
  }

  .g2-hero[data-mobile-bg] {
    background-image: var(--g2-mobile-bg) !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
  }

  #g2-hero .g2-hero-cta-wrap {
    min-height: 0 !important;
    height: 100% !important;
    padding-bottom: clamp(170px, 22vw, 160px) !important;
    padding-left: 32px !important;
  }

  #g2-hero .g2-hero-about-btn {
    height: 40px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
  }
}

