/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Brand Colors */
:root {
  --brand-primary: var(--color-brand-green-900);
  --brand-secondary: var(--color-brand-green-300);
  --brand-accent: #fda802;
  --brand-black: var(--color-brand-black-900);
  --brand-dark-gray: var(--color-neutral-700);
  --brand-white: var(--color-neutral-0);
  
  /* Aliases for product pages */
  --primary-color: var(--brand-primary);
  --secondary-color: var(--brand-secondary);
  --text-color: var(--brand-black);
  --text-light: var(--brand-dark-gray);
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--brand-black);
  background-color: #f9fafb;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(249, 250, 251, 0.9),
    rgba(249, 250, 251, 0.7)
  );
  border-bottom: 1px solid rgba(0, 153, 68, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links > li {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  font-weight: 500;
  transition: color 0.2s ease;
  outline: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-primary);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
}
.nav-lang-switcher a::after {
  display: none;
}
.nav-lang-switcher span {
  color: var(--brand-dark-gray);
  pointer-events: none;
  font-weight: 400;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

/* Company: Dropdown-only (non-clickable trigger) */
.nav-dropdown-only {
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
  outline: none;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--brand-primary);
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-trigger .nav-dropdown-caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-only:hover .nav-dropdown-trigger .nav-dropdown-caret,
.nav-dropdown-only:focus-within .nav-dropdown-trigger .nav-dropdown-caret,
.nav-dropdown-only.open .nav-dropdown-trigger .nav-dropdown-caret {
  transform: rotate(180deg);
}

/* Products: Clickable link + separate dropdown trigger */
.nav-dropdown-with-link {
  display: flex;
  align-items: center;
}

.nav-dropdown-wrapper {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-dropdown-caret-btn {
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 0.1rem;
  color: var(--brand-dark-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  line-height: 1;
  outline: none;
}

.nav-dropdown-caret-btn:hover,
.nav-dropdown-caret-btn:focus-visible {
  color: var(--brand-primary);
}

.nav-dropdown-caret-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-dropdown-caret-btn .nav-dropdown-caret {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-with-link:hover .nav-dropdown-caret-btn .nav-dropdown-caret,
.nav-dropdown-with-link:focus-within .nav-dropdown-caret-btn .nav-dropdown-caret,
.nav-dropdown-with-link.open .nav-dropdown-caret-btn .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 200px;
  background: var(--brand-white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--brand-dark-gray);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  outline: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background-color: rgba(0, 153, 68, 0.05);
  color: var(--brand-primary);
}

.nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: -2px;
  border-radius: 4px;
}

.nav-dropdown-menu a.active {
  background-color: rgba(0, 153, 68, 0.08);
  color: var(--brand-primary);
  font-weight: 600;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 153, 68, 0.2);
}

.nav-cta:hover {
  background: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(253, 168, 2, 0.3);
}

/* Home Page Banner */
.home-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.home-banner-background {
  position: absolute;
  inset: 0;
  /* Background image set via inline style in home.blade.php (e.g. assets/banners/home.jpg) */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.home-banner-background.loaded {
  opacity: 1;
}

/* Green Box Section – white card with green text (over banner) */
.green-box {
  background: var(--brand-white);
  color: var(--brand-primary);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* On home page, overlap the green-box card with the banner above */
.home-banner + .section .green-box {
  margin-top: -6rem;
  position: relative;
  z-index: 1;
}

/* On Our Commitment page, overlap the commitment hero card with the banner above */
.banner-section + .section.commitment-section .commitment-hero-card {
  margin-top: -10rem;
  position: relative;
  z-index: 1;
}

/* On Sustainability page, overlap the hero green box with the banner above */
.banner-section + .section.sustainability-intro-section .green-box {
  margin-top: -6rem;
  position: relative;
  z-index: 1;
}

/* On Certification Sustainability Report page, overlap the certification hero box with the banner above */
.banner-section + .section.sustainability-cert-report-section .green-box {
  margin-top: -6rem;
  position: relative;
  z-index: 1;
}

.green-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1.25rem;
  color: var(--brand-primary);
}

.green-box-text {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 2rem;
  color: var(--brand-primary);
}

.green-box-button {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  background: var(--brand-primary);
  color: var(--brand-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.green-box-button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Home: Certifications & Image Panels Section (banner image as background) */
.home-certifications-section {
  position: relative;
  padding: 0 0 3.5rem;
  overflow: hidden;
}

/* Section separator – centered between hero box and certification logos, equal spacing above/below */
.home-cert-separator {
  width: 100%;
  max-width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 3rem 0 4rem 0;
  flex-shrink: 0;
}

.home-certifications-bg {
  position: absolute;
  inset: 0;
  background: #009944;
  z-index: 0;
}

.home-certifications-content {
  position: relative;
  z-index: 2;
}

.certifications-panels {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  min-height: 420px;
}

.cert-panel {
  background: var(--brand-white);
  border-radius: 1rem;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

/* Home: certification cards with sharp corners per design */
.home-certifications-section .cert-panel {
  border-radius: 0;
}

.cert-panel-icons {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single image containing all certification logos */
.cert-logos-single {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  position: relative;
}

.cert-logos-img {
  max-width: 150%;
  max-height: 100%;
  min-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.cert-logos-fallback {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 153, 68, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-logos-fallback.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-panel-divider {
  width: 4px;
  flex-shrink: 0;
  background: var(--brand-white);
  border-radius: 2px;
  margin: 0 0.5rem;
}

/* Home: extend white divider upward so it runs from below green box down between the two cards */
.section + .home-certifications-section .cert-panel-divider {
  align-self: stretch;
  margin-top: -6rem;
  height: calc(100% + 6rem);
}

.cert-panel-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.cert-image-slot {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 640px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cert-certificate-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cert-image-fallback {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0, 153, 68, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-image-fallback.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-certifications-tagline {
  text-align: center;
  color: var(--brand-white);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 2.5rem 0 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Home: certification logos row (under green box) */
.home-cert-logos-row {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  background: var(--brand-white);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-cert-logos-row .cert-logos-single {
  min-height: 140px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-cert-logos-row .cert-logos-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  min-height: 100px;
  object-fit: contain;
  object-position: center;
  /* Scale up so logos fill the box but avoid cropping (e.g. rightmost SMETA/Sedex) */
  transform: scale(1.15);
}

/* Home: certificates carousel (always visible, one slide at a time) */
.home-certificates-carousel-wrap {
  margin-top: 2rem;
}

.home-certificates-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 4rem;
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.home-cert-carousel-inner {
  overflow: hidden;
  border-radius: 8px;
}

.home-cert-carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-cert-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 420px;
}

.home-certificate-slot {
  width: 100%;
  min-height: 380px;
  height: 100%;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding: 1rem;
  border-radius: 8px;
  border: 3px solid var(--brand-primary);
  box-sizing: border-box;
}

.home-certificate-slot .cert-certificate-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Carousel arrows – prominent, easy to click */
.home-cert-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand-white);
  background: var(--brand-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 153, 68, 0.35);
}

.home-cert-carousel-arrow:hover:not(:disabled) {
  background: #007a3a;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 153, 68, 0.4);
}

.home-cert-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-cert-carousel-prev {
  left: 1rem;
}

.home-cert-carousel-next {
  right: 1rem;
}

/* Dot indicators */
.home-cert-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.home-cert-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.home-cert-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.home-cert-carousel-dot.is-active {
  background: var(--brand-white);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--brand-primary);
}

.home-certificate-slot-clickable {
  cursor: pointer;
}

/* Certificate preview lightbox */
.cert-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.cert-preview-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cert-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.cert-preview-content {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cert-preview-img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.cert-preview-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand-white);
  background: var(--brand-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0, 153, 68, 0.35);
}

.cert-preview-arrow:hover {
  background: #007a3a;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 153, 68, 0.4);
}

.cert-preview-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-white);
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.cert-preview-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .cert-preview-content {
    gap: 0.25rem;
    padding: 0 0.5rem;
  }
  .cert-preview-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

.image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 153, 68, 0.1) 0%, rgba(33, 145, 123, 0.05) 100%);
  border: 2px dashed rgba(0, 153, 68, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: "Image Placeholder";
  color: rgba(0, 153, 68, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About Us Page Styles */
.banner-section {
  padding-top: 0 !important;
  padding-bottom: 0;
  margin-top: 0;
}

.banner-container {
  max-width: 100%;
  padding: 0;
}

.about-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 153, 68, 0.8) 0%, rgba(33, 145, 123, 0.6) 100%),
              url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23f0f9f4"/><path d="M0 0L100 100M100 0L0 100" stroke="%23d1fae5" stroke-width="1" opacity="0.3"/></svg>');
  background-size: cover, 200px 200px;
  background-position: center center, 0 0;
  background-repeat: no-repeat, repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.about-banner-background.loaded {
  opacity: 1;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Sustainability Page – hero card + download grid */
.sustainability-intro-section .container {
  max-width: 1100px;
}

/* Tighter vertical padding so text aligns proportionally with image */
.sustainability-intro-section .green-box.sustainability-hero {
  padding: 2rem 3rem;
}

.sustainability-hero {
  text-align: left;
}

.sustainability-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.sustainability-hero-media img {
  width: 100%;
  height: auto;
  max-width: 220px;
  display: block;
}

.sustainability-hero-content {
  height: auto;
}

.sustainability-hero-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--brand-primary);
  margin: 0;
}

.sustainability-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.sustainability-download-card {
  background: var(--brand-white);
  border-radius: 1.5rem;
  padding: 1.75rem 1.75rem 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sustainability-download-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--brand-primary);
  margin: 0 0 1.2rem;
}

.sustainability-download-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
}

.sustainability-download-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.sustainability-download-label {
  white-space: nowrap;
}

/* Sustainability – Certification report layout */
.sustainability-cert-report-section {
  background: #009944;
}

.sustainability-cert-report-section .container {
  max-width: 1200px;
}

.sustainability-cert-hero {
  text-align: left;
  margin-bottom: 2.5rem;
}

.sustainability-cert-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin: 0 0 1rem;
}

.sustainability-cert-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--brand-primary);
  margin: 0 0 1.75rem;
}

.sustainability-cert-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.sustainability-cert-logos img {
  max-height: 48px;
  width: auto;
  height: auto;
}

.cert-report-block {
  border-radius: 1.5rem;
  margin-top: 2rem;
  overflow: hidden;
}

.cert-report-block--green {
  background: #009944;
}

.cert-report-block--white {
  background: #ffffff;
  border-radius: 0;
  /* Make the white band span full viewport width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cert-report-block--green-alt {
  background: #009944;
}

.cert-report-pill {
  display: inline-block;
  padding: 0.6rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 1.5rem 1.75rem 0.75rem;
}

/* Align certification section titles with their content container */
.cert-report-block--white .cert-report-pill,
.cert-report-block--green .cert-report-pill,
.cert-report-block--green-alt .cert-report-pill {
  display: block;
  max-width: 1100px;
  margin: 1.5rem auto 0.75rem;
}

.cert-report-pill--white {
  background: #ffffff;
  color: var(--brand-primary);
}

.cert-report-pill--green {
  background: var(--brand-primary);
  color: #ffffff;
}

.cert-report-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.75rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--brand-black);
}

.cert-report-body p {
  margin: 0 0 0.75rem;
}

.cert-report-body p:last-of-type {
  margin-bottom: 0;
}

.cert-report-body--green {
  color: #ffffff;
}

.cert-report-body--brand {
  color: var(--brand-primary);
}

/* Our Commitment (About page) – hero and detail cards */
.commitment-section .container {
  max-width: 1000px;
}

.commitment-hero-card {
  background: var(--brand-white);
  border-radius: 1.5rem;
  padding: 2.75rem 3rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  margin: 0 auto 2.5rem;
}

.commitment-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.commitment-hero-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brand-dark-gray);
  margin: 0 0 1.25rem;
}

.commitment-hero-text:last-of-type {
  margin-bottom: 0;
}

.commitment-detail-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.commitment-detail-card {
  background: var(--brand-white);
  border-radius: 1.5rem;
  padding: 1.9rem 2.25rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.commitment-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
}

.commitment-detail-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--brand-dark-gray);
  margin: 0;
}

/* Products Page Styles */
.products-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.products-description-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-dark-gray);
  margin: 0 0 1.5rem;
}

.products-description-text:last-of-type {
  margin-bottom: 0;
}

.products-category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.products-category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.products-category-subtitle {
  font-size: 1.1rem;
  color: var(--brand-dark-gray);
  margin: 0;
  line-height: 1.5;
}

.products-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Products: Oleochemical portfolio layout */
.products-portfolio-hero {
  margin-top: -4rem;
}

.products-portfolio-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.products-portfolio-card {
  background: #ffffff;
  border-radius: 0.9rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.products-portfolio-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  background: #f9fafb;
}

.products-portfolio-image .app-image-container {
  position: absolute;
  inset: 0;
}

.products-portfolio-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 1.25rem 1.25rem 0.5rem;
}

.products-portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--brand-dark-gray);
}

.products-portfolio-list li + li {
  margin-top: 0.25rem;
}

.products-category-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.products-category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  border-color: rgba(0, 153, 68, 0.3);
}

.products-category-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f9fafb;
  position: relative;
}

.products-category-image .app-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.image-placeholder-category {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 153, 68, 0.1) 0%, rgba(33, 145, 123, 0.05) 100%);
  border: 2px dashed rgba(0, 153, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin: 0.5rem;
}

.image-placeholder-category::before {
  content: "Image Placeholder";
  color: rgba(0, 153, 68, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.products-category-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-align: center;
  margin: 1.25rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brand-dark-gray);
  margin: 0 0 1.5rem;
}

.about-paragraph:last-of-type {
  margin-bottom: 0;
}

.about-feature {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-feature-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.3;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.about-feature-subheading {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-dark-gray);
  line-height: 1.5;
  margin: 0 0 2rem;
}

.about-feature-image {
  margin-top: 0;
}

.image-placeholder-large {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sustainability Page - Certification Grid */
.sustainability-kicker {
  margin-bottom: 1.5rem;
  display: block;
}

/* Sustainability Page - Spacing Adjustments */
.sustainability-page .sustainability-section + .sustainability-section {
  padding-top: 2rem;
}

.sustainability-page .sustainability-section + .sustainability-section .sustainability-kicker {
  margin-top: 0;
}

.sustainability-page .sustainability-paragraph-last {
  margin-bottom: 0;
}

.sustainability-page .sustainability-section + .sustainability-section-grid {
  padding-top: 2rem;
}

.sustainability-page .sustainability-section-grid .certification-grid {
  margin-top: 0;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.certification-card {
  border-radius: 1.1rem;
  padding: 2rem 1.5rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.certification-logo {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.certification-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.certification-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 153, 68, 0.1) 0%, rgba(33, 145, 123, 0.05) 100%);
  border: 2px dashed rgba(0, 153, 68, 0.2);
  border-radius: 0.5rem;
  color: rgba(0, 153, 68, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.certification-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.certification-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--brand-dark-gray);
  margin: 0 0 1rem;
}

.certification-description:last-of-type {
  margin-bottom: 1.5rem;
}

.certification-link {
  margin-top: auto;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.certification-link:hover {
  color: var(--brand-accent);
  gap: 0.5rem;
}

/* Page Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Banner with background image */
.banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .banner {
    min-height: 600px;
  }
}

@media (min-width: 1200px) {
  .banner {
    min-height: 700px;
  }
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--brand-white);
  max-width: 800px;
  padding: 2rem;
}

.banner-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 153, 68, 0.7), rgba(0, 153, 68, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--brand-white);
}

.page-banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

main {
  flex: 1;
  margin-top: 0;
  padding-top: 0;
}

footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #000;
  color: var(--brand-white);
  padding: 3rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid-two {
  grid-template-columns: 1fr auto;
}

.footer-links-right {
  text-align: right;
}

.footer-links-right .footer-links {
  text-align: right;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--brand-white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top left, #bbf7d0, transparent 55%),
    radial-gradient(circle at top right, #a5f3fc, transparent 48%);
  opacity: 0.6;
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.07);
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-primary);
}

.hero-title {
  margin: 1.25rem 0 0.75rem;
  font-size: clamp(2.25rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title span.accent {
  background: linear-gradient(to right, var(--brand-primary), var(--color-brand-green-500), #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.75rem 0 0;
}

.metric {
  min-width: 120px;
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.metric-value {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--brand-primary);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 153, 68, 0.2);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(253, 168, 2, 0.3);
}

.btn-ghost {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--brand-white);
}

.hero-media {
  position: relative;
}

.hero-media .app-image-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

@media (min-width: 768px) {
  .hero-media .app-image-container {
    min-height: 400px;
  }
}

.hero-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.hero-card-gradient {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(45, 212, 191, 0.25), transparent),
    radial-gradient(circle at bottom, rgba(74, 222, 128, 0.28), transparent);
  opacity: 0.7;
  z-index: -1;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.hero-chip {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
}

.kpi-list {
  display: grid;
  gap: 0.9rem;
  font-size: 0.8rem;
}

.kpi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.kpi-label {
  color: #cbd5f5;
}

.kpi-value {
  color: #4ade80;
  font-weight: 600;
}

.kpi-pill {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #a5b4fc;
  font-size: 0.7rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  background: #009944;
}


.section-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}


.section-title {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.section-description {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1.35rem 1.25rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.card-title {
  margin: 0;
  font-size: 1rem;
}

.card-body {
  margin: 0.25rem 0 0.75rem;
  color: #4b5563;
  font-size: 0.9rem;
}

.card-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.88rem;
}

.card-list li + li {
  margin-top: 0.2rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
}

.pill {
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: #ecfdf5;
  color: var(--brand-primary);
  font-size: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.35rem;
  color: #374151;
  font-size: 0.9rem;
}

.list-check span.bullet {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--brand-primary);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-location {
  margin-top: 1.75rem;
}

.contact-map-link {
  display: block;
  text-decoration: none;
}

.contact-map-frame {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #e5f3ea;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  pointer-events: none;
}

.contact-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 60%);
  color: #f9fafb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-map-overlay span {
  background: rgba(3, 105, 161, 0.9);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.contact-card {
  border-radius: 1.2rem;
  padding: 1.5rem 1.4rem 1.7rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: #374151;
}

.field label span {
  color: #ef4444;
  margin-left: 0.15rem;
}

.field input,
.field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.5);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.captcha {
  font-size: 0.8rem;
  color: #6b7280;
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
}

.alert {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
}

.alert-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Admin / CMS */
.admin-hero {
  padding: 3.5rem 0 3rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.75rem;
  padding-bottom: 3rem;
}

.admin-nav {
  border-radius: 1.1rem;
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.2rem 1.1rem 1.35rem;
}

.admin-nav-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.admin-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-nav-list li + li {
  margin-top: 0.25rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.admin-nav-link span.icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.admin-nav-link:hover {
  background: rgba(15, 23, 42, 0.8);
}

.admin-nav-link.active {
  background: linear-gradient(to right, var(--color-brand-green-500), #0ea5e9);
}

.admin-panel {
  border-radius: 1.1rem;
  padding: 1.4rem 1.35rem;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-panel-title {
  font-size: 1rem;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #4b5563;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-brand-green-500);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.table th,
.table td {
  padding: 0.55rem 0.5rem;
  text-align: left;
}

.table thead th {
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

.badge-live {
  background: #ecfdf5;
  color: #166534;
}

.badge-draft {
  background: #fef3c7;
  color: #92400e;
}

.btn-small {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: white;
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-small:hover {
  background: #f3f4f6;
}

/* Auth */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #bbf7d0, transparent 45%),
    radial-gradient(circle at bottom, #a5f3fc, transparent 50%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 1.7rem 1.6rem 1.8rem;
  border-radius: 1.3rem;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.8);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.auth-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bbf7d0, var(--color-brand-green-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.auth-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.auth-subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.auth-form .field label {
  color: #e5e7eb;
}

.auth-form .field input {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.auth-meta a {
  color: #a5b4fc;
}

.auth-meta a:hover {
  color: #e5e7eb;
}

.auth-footer {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Admin Dashboard */
.admin-wrapper {
  min-height: 100vh;
  background: #f9fafb;
}

.admin-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 1rem 0;
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.admin-nav-links a {
  color: #64748b;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.admin-nav-links a:hover {
  color: var(--brand-primary);
  background: rgba(33, 145, 123, 0.05);
}

.admin-nav-links a.active {
  color: var(--brand-primary);
  background: rgba(33, 145, 123, 0.1);
  font-weight: 500;
}

.admin-main {
  padding: 2rem 0;
}

.admin-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.admin-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.admin-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.15s ease;
}

.admin-card:hover {
  border-color: rgba(33, 145, 123, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc2626;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-media {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.9rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    background: rgba(4, 101, 84, 0.05);
    border-left: 2px solid var(--brand-primary);
    display: none;
    max-height: none;
  }

  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: -2px;
    margin: 2px;
  }

  .nav-dropdown-trigger,
  .nav-dropdown-caret-btn {
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }

  .nav-dropdown-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .nav-dropdown-wrapper > a {
    flex: 1;
  }

  .nav-dropdown-caret-btn {
    flex-shrink: 0;
    width: auto;
    padding: 0.25rem;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown-trigger {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  /* Home Page Responsive */
  .home-banner {
    height: 400px;
  }

  .green-box {
    padding: 2rem 1.5rem;
  }

  .green-box-title {
    font-size: 1.25rem;
  }

  .green-box-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .home-certifications-section {
    padding: 2rem 0 2.5rem;
  }

  .home-cert-separator {
    margin: 2rem 0 2.75rem 0;
  }

  .home-cert-logos-row {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
  }

  .home-cert-logos-row .cert-logos-single {
    min-height: 100px;
  }

  .home-cert-logos-row .cert-logos-img {
    max-height: 120px;
    min-height: 60px;
    transform: scale(1.05);
  }

  .home-certificate-slot {
    min-height: 280px;
    max-height: 400px;
  }

  .home-certificates-carousel {
    padding: 1rem 2.5rem;
  }

  .home-cert-carousel-slide {
    min-height: 320px;
  }

  .home-cert-carousel-slide .home-certificate-slot {
    min-height: 320px;
    max-height: 440px;
  }

  .home-cert-carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .home-cert-carousel-prev {
    left: 0.25rem;
  }

  .home-cert-carousel-next {
    right: 0.25rem;
  }

  .home-certifications-tagline {
    font-size: 1rem;
  }

  /* About Us Page Responsive */
  .about-banner {
    height: 400px;
  }

  .sustainability-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    text-align: center;
  }

  .sustainability-hero-media {
    display: flex;
    justify-content: center;
  }

  .sustainability-download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sustainability-cert-hero {
    padding: 2rem 1.5rem;
  }

  .sustainability-cert-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .commitment-hero-card {
    padding: 2rem 1.5rem;
  }

  .commitment-hero-title {
    font-size: 1.4rem;
  }

  .commitment-detail-card {
    padding: 1.5rem 1.4rem;
  }

  .about-paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-feature-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .about-feature-subheading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .image-placeholder-large {
    aspect-ratio: 4 / 3;
  }

  /* Products Page Responsive */
  .products-description {
    max-width: 100%;
    padding: 0 1rem;
  }

  .products-description-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .products-category-title {
    font-size: 1.5rem;
  }

  .products-category-subtitle {
    font-size: 1rem;
  }

  .products-category-label {
    font-size: 1rem;
  }

  .products-portfolio-hero {
    margin-top: -3rem;
  }

  .products-portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  /* Sustainability Page Responsive */
  .certification-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .certification-card {
    padding: 1.5rem 1.25rem;
  }

  .certification-logo {
    height: 100px;
    margin-bottom: 1.25rem;
  }

  /* Certification Sustainability Report – make white band block match green blocks on mobile */
  .cert-report-block--white {
    border-radius: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }

  .admin-shell {
    padding-bottom: 2.5rem;
  }
}

/* ================================
   Product Category Detail Pages
   ================================ */

/* Product Tabs */
.product-tabs-section {
  padding-top: 0;
  padding-bottom: 0;
}

.product-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.product-tab {
  flex: 1;
  max-width: 280px;
  padding: 1rem 2rem;
  background-color: var(--brand-primary);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.product-tab:hover {
  background-color: var(--color-brand-green-600);
}

.product-tab.is-active {
  background-color: var(--color-brand-green-900);
}

/* Category Box (title left, description right) */
.category-box {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.category-title-col {
  flex: 0 0 200px;
}

.category-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: 1px;
}

.category-desc-col {
  flex: 1;
  border-left: 3px solid var(--primary-color);
  padding-left: 2rem;
}

.category-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.category-desc:first-child {
  margin-top: 0;
}

.category-desc:last-child {
  margin-bottom: 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  gap: 1.5rem;
  justify-content: center;
}

.product-card {
  position: relative;
  text-align: center;
}

.product-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-placeholder-product {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px dashed var(--secondary-color);
  border-radius: 8px;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.product-overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-name {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.product-desc-mobile {
  display: none;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Responsive - Product Category Pages */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-tabs {
    flex-direction: column;
  }

  .product-tab {
    max-width: 100%;
  }

  .category-box {
    flex-direction: column;
    gap: 1.5rem;
  }

  .category-title-col {
    flex: none;
  }

  .category-desc-col {
    border-left: none;
    border-top: 3px solid var(--primary-color);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-overlay {
    display: none;
  }

  .product-desc-mobile {
    display: block;
  }
}

/* ================================
   Contact Us Page
   ================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

/* Left Green Panel */
.contact-panel {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.contact-panel-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.contact-panel-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.contact-panel-info {
  margin-top: auto;
}

.contact-panel-company {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-panel-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-panel-row p {
  margin: 0;
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right Form Column */
.contact-form-wrapper {
  background-color: #f8f9fa;
  padding: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

.form-field .required {
  color: #dc2626;
}

.form-field input,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 153, 68, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  color: #dc2626;
  font-size: 0.85rem;
}

.contact-submit {
  margin-top: 1rem;
  width: 100%;
}

.alert {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 2rem;
  }

  .contact-panel-heading {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}

/* ============================================
   AppImage Component Styles
   ============================================ */

/* Container */
.app-image-container {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #f3f4f6;
}

/* When using fill mode, ensure container fills parent */
.app-image-container.app-image-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Image */
.app-image {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  position: relative;
  z-index: 2;
}

/* When using fill mode, image should be absolutely positioned */
.app-image-container.app-image-fill .app-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.app-image.loaded {
  opacity: 1;
}

.app-image-error {
  opacity: 0;
}

/* Skeleton Shimmer */
.app-image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f3f4f6 0%,
    #e5e7eb 50%,
    #f3f4f6 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 3;
}

.app-image-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.app-image-error-skeleton {
  background: linear-gradient(
    90deg,
    #fee2e2 0%,
    #fecaca 50%,
    #fee2e2 100%
  );
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .app-image-skeleton {
    animation: none;
    background: #f3f4f6;
  }
  
  .app-image {
    transition: opacity 0.2s ease-in-out;
  }
}

/* Error Placeholder */
.app-image-error-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
  color: #9ca3af;
  z-index: 2;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.app-image-error-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: #d1d5db;
}

.app-image-container:has(.app-image-error) .app-image-error-placeholder {
  display: flex;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
  .app-image-container::before {
    content: '';
    display: block;
    padding-bottom: var(--aspect-ratio, 56.25%);
  }
  
  .app-image-container::before + .app-image {
    position: absolute;
    top: 0;
    left: 0;
  }
}


