/* 
 * Nohyoghi Botanical Teas - Global Styles
 * Design System: Minimalist-Premium
 */

:root {
  /* Dark Botanical Modern Color Palette */
  --color-primary: #0E1114; /* Primary BG - Deep Charcoal */
  --color-secondary: #1A1F24; /* Secondary BG */
  --color-accent: #C6A25A; /* Accent Gold */
  --color-botanical: #1F3A2E; /* Botanical Depth */
  --color-text-primary: #EAEAEA;
  --color-text-secondary: #A8B0B8;
  --color-white: #ffffff;
  --color-border: #2A2F34;

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-standard: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px; /* Offset for fixed header */
  background-color: var(--color-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Icon Styles */
.icon-svg {
  width: 60px;
  height: 60px;
  fill: var(--color-accent);
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-standard);
}

.cert-item:hover .icon-svg {
  fill: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

a {
  text-decoration: none;
  color: inheriting;
  transition: var(--transition-standard);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-center {
  text-align: center;
}
.text-gold {
  color: var(--color-accent);
}
.bg-navy {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-standard);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #A68749; /* Slightly darker gold */
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* Header & Nav */
header {
  background-color: var(--color-primary);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-img {
  height: 1.5rem;
  width: 1.5rem; /* Forces a square to crop out the text below the icon */
  display: block;
  object-fit: cover;
  object-position: top center;
  /* Blend the white background and add a subtle gold-tonal integration */
  mix-blend-mode: screen; 
  filter: brightness(1.1) contrast(1.1) saturate(1.2) drop-shadow(0 0 2px rgba(198, 162, 90, 0.5));
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.lang-switcher select {
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-text-primary);
  border-radius: 4px;
}

/* Hero Section - OLIPOP Style Editorial */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background-color: #050505; /* Deep luxury black */
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.8; /* Let more background through for depth */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 5%;
    width: 80%; /* Increased from 60% to fit single line headline */
    max-width: 1400px;
    animation: fadeInHero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 5.5rem; /* Reduced from 8rem for better balance */
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.hero-subheadline {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 2.2rem; /* Adjusted proportionately */
    margin-bottom: 2rem;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Dual Button Styling */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-hero-outline {
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-white);
    border-radius: 50px;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-standard);
}

.btn-hero-outline:hover {
    background: var(--color-white);
    color: #000;
}

.btn-hero-solid {
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-standard);
}

.btn-hero-solid:hover {
    background: transparent;
    color: var(--color-accent);
}



/* CTA Button Styling Refined */
.cta-button {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--color-accent);
    border-radius: 8px; /* Refined radius */
    transition: var(--transition-standard);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Deep luxury shadow */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
    z-index: -1;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Glass Component Styles */
.glass-about-container {
    background-color: rgba(26, 31, 36, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(198, 162, 90, 0.3);
    border-radius: 16px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-top: 3px solid var(--color-accent);
}

.about-text-side {
    flex: 1;
    text-align: left;
}

.about-logo-side {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-side-logo {
    max-width: 100%;
    height: auto;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1) saturate(1.2) drop-shadow(0 0 15px rgba(198, 162, 90, 0.4));
}

.glass-vm-card {
    background-color: rgba(26, 31, 36, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 162, 90, 0.3);
    border-radius: 12px;
    border-top: 3px solid var(--color-accent);
    padding: 2.5rem;
    height: 100%;
}

.glass-vm-card h3 { 
    color: var(--color-accent); 
    margin-bottom: 1.5rem; 
}

.glass-vm-card p, 
.glass-vm-card ul li { 
    color: rgba(255, 255, 255, 0.9); 
    line-height: 1.8;
}

.glass-vm-card ul li {
    margin-bottom: 0.8rem;
}

.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-primary);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    text-align: left;
}



/* CSR Section */
.csr-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-secondary); /* Distinct background */
    border-top: 1px solid var(--color-border);
}

.csr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.csr-box {
    background-color: var(--color-primary);
    padding: var(--spacing-md);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.csr-image {
    width: 100%;
    max-width: 450px; /* Limit width to keep portrait feel */
    aspect-ratio: 4 / 5; /* Professional portrait ratio */
    background-color: #2A2F34;
    border: 4px solid var(--color-accent); /* Premium Gold Frame */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto; /* Center on mobile */
}

.csr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.csr-box h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.csr-initiatives h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--color-accent);
}

.csr-initiatives ul {
    list-style: none;
    padding: 0;
}

.csr-initiatives ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-primary);
}

.csr-initiatives ul li strong {
    color: var(--color-accent);
}



/* Product Preview Landing Section (3-column) */
.product-preview {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--color-primary);
}

.product-preview h2 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.product-preview p {
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preview-item {
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.preview-item img:hover {
    transform: scale(1.05);
}

.preview-item-blue img {
    transform: scale(1.15); /* Special scaling for blue tea variant */
}

.preview-item-blue:hover img {
    transform: scale(1.25);
}



/* What We Do Section */
.what-we-do {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-secondary);
    text-align: center;
}

.what-we-do h2 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.what-we-do > .container > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.wwd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wwd-image {
    width: 140px;
    height: 140px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--color-accent);
}

.wwd-image i {
    font-size: 3.5rem;
    color: var(--color-primary);
}

.wwd-item h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.wwd-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}



/* Partnership Section */
.partnership {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-secondary); /* Light contrast background */
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.partnership-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.partnership-text h2 {
    color: var(--color-text-primary);
}

.partnership-logos {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.partnership-logos .logo-placeholder {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    letter-spacing: 2px;
    border: 2px solid var(--color-accent);
    padding: 1rem;
    text-transform: uppercase;
}

/* Product Showcase */
.products {
  padding: var(--spacing-xl) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: var(--spacing-lg);
}

.product-card {
  background: var(--color-secondary);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

/* Variant color accent strip at top */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  z-index: 2;
  transition: height 0.3s ease;
}

.product-card.card-green::before {
  background: linear-gradient(90deg, #2d5a27, #4a8c3f, #2d5a27);
}

.product-card.card-maroon::before {
  background: linear-gradient(90deg, #6b1d2a, #9e2b3e, #6b1d2a);
}

.product-card.card-blue::before {
  background: linear-gradient(90deg, #1a3a5c, #2a5a8c, #1a3a5c);
}

.product-card:hover::before {
  height: 5px;
}

.product-card:hover {
  border-color: rgba(198, 162, 90, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(198, 162, 90, 0.08);
}

.product-image {
  aspect-ratio: 3 / 4;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  position: relative;
  overflow: hidden;
}

/* Subtle bottom gradient on image for text contrast */
.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(14, 17, 20, 0.5), transparent);
  pointer-events: none;
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-green .product-image img {
  object-fit: cover !important;
}

.card-blue .product-image img {
  transform: scale(1.15) !important;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Specs overlay - premium redesign */
.product-specs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 17, 20, 0.97), rgba(26, 31, 36, 0.95));
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 1rem;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.95);
  z-index: 2;
}

.product-card:hover .product-specs {
  opacity: 1;
  transform: scale(1);
}

.spec-table {
  width: 90%;
  max-width: 300px;
  font-size: 0.85rem;
  text-align: left;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(198, 162, 90, 0.15);
  padding: 0.5rem 0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.spec-row span:last-child {
  font-weight: 400;
  color: rgba(234, 234, 234, 0.95);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Product info area below image */
.product-info {
  padding: 1.75rem 1.5rem 2rem;
  position: relative;
}

/* Gold decorative divider */
.product-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.product-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  letter-spacing: 0.5px;
}

.product-card .product-variant {
  font-size: 0.8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-card .product-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}



/* B2B Portal */
.b2b {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.b2b h2 {
  color: var(--color-white);
}

.b2b p {
  color: rgba(255, 255, 255, 0.8);
}

.inquiry-form {
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
  display: grid;
  gap: var(--spacing-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-family: var(--font-body);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Fix for Select Options Visibility */
.form-group select option {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px;
}

/* Certifications */
.certifications {
  padding: var(--spacing-lg) 0;
  background-color: var(--color-primary);
  border-top: 1px solid var(--color-border);
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cert-item {
  text-align: center;
  opacity: 0.7;
  transition: var(--transition-standard);
}

.cert-item:hover {
  opacity: 1;
}

.cert-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  margin: 0 auto var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Footer */
footer {
  background-color: #0B0D0F;
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

footer .logo {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 !important; /* Reset any previous margins */
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-standard);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0.5rem 0;
}

.footer-social a {
  color: var(--color-white);
  font-size: 1.5rem;
  transition: var(--transition-standard);
}

.footer-social a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}

/* ==========================================================================
   Responsive Tiered System — International Standard Breakpoints
   Desktop (>1200px) is the default. Only smaller screens are adjusted below.
   ========================================================================== */

/* ── Laptop / Small Desktop ── 1200px and below ── */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: 4.5rem; }
  .hero-subheadline { font-size: 2rem; }
  .container { width: 95%; }
  .product-grid { gap: 1.5rem; }
}

/* ── Tablet Landscape ── 992px and below ── */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3.8rem; }
  .hero-subheadline { font-size: 1.8rem; }
  .hero-description { font-size: 1rem; }

  /* About / Glass container */
  .glass-about-container {
      flex-direction: column;
      text-align: center;
      padding: 2.5rem;
      gap: 2rem;
  }
  .about-text-side { text-align: center; }
  .about-logo-side {
      flex: 0 0 auto;
      width: 220px;
      margin-top: 1rem;
  }

  /* Grids */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wwd-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .vision-mission-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* What We Do icons — slightly smaller on tablet */
  .wwd-image { width: 120px; height: 120px; }
  .wwd-image i { font-size: 3rem; }
  .wwd-item h3 { font-size: 1.25rem; }

  /* Partnership */
  .partnership-content { grid-template-columns: 1fr; text-align: center; }
  .partnership-logos { margin-top: 2rem; }

  /* Section title h1 override for About banner */
  .home-about-section h1 { font-size: 2.8rem; }

  /* Sections padding */
  .what-we-do,
  .product-preview,
  .b2b { padding: 5rem 0; }
}

/* ── Tablet Portrait ── 768px and below ── */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }

  /* Hero */
  .hero { height: auto; min-height: 80vh; padding: 4rem 0; }
  .hero-content { width: 100%; text-align: center; padding: 0 5%; }
  .hero-content h1 { font-size: 3.2rem; }
  .hero-subheadline { font-size: 1.5rem; }
  .hero-description { margin: 0 auto 2.5rem; font-size: 0.95rem; max-width: 90%; }
  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .hero-buttons a { width: 100%; max-width: 300px; text-align: center; }

  /* Mobile Navigation */
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 4px;
  }
  .mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 6px 0;
    transition: var(--transition-standard);
    border-radius: 2px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; }

  /* Lang switcher */
  .lang-switcher select { font-size: 0.8rem; padding: 0.4rem; }

  /* About section */
  .home-about-section { padding: 3.5rem 0; }
  .home-about-section h1 { font-size: 2.2rem; }
  .glass-about-container { padding: 2rem; gap: 1.5rem; }
  .glass-vm-card { padding: 2rem; }
  .glass-vm-card h3 { font-size: 1.3rem; }
  .glass-vm-card p,
  .glass-vm-card ul li { font-size: 0.95rem; line-height: 1.7; }

  /* What We Do */
  .what-we-do { padding: 4rem 0; }
  .wwd-grid { grid-template-columns: 1fr; gap: 3rem; }
  .wwd-image { width: 110px; height: 110px; }
  .wwd-image i { font-size: 2.8rem; }
  .wwd-item h3 { font-size: 1.2rem; }
  .wwd-item p { font-size: 0.9rem; }

  /* Product Preview */
  .product-preview { padding: 4rem 0; }
  .preview-grid {
      grid-template-columns: 1fr !important;
      max-width: 400px !important;
      margin: 0 auto 2rem !important;
  }
  .preview-item img { height: 200px; }

  /* Product Catalog Grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .product-info { padding: 1.25rem 1rem 1.5rem; }
  .product-card h3 { font-size: 1.2rem; }
  .product-card .product-desc { font-size: 0.85rem; }

  /* CSR */
  .csr-container { grid-template-columns: 1fr; }
  .csr-image {
    order: -1;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    border: 3px solid var(--color-accent);
    border-radius: 6px;
    margin: 0 auto;
  }
  .csr-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
  }
  .csr-box { padding: 1.5rem; }
  .csr-box h3 { font-size: 1.3rem; }

  /* B2B Contact */
  .b2b { padding: 4rem 0; }
  .inquiry-form { max-width: 100%; padding: 0 1rem; }

  /* Certifications */
  .cert-grid { gap: 2rem; }
  .icon-svg { width: 50px; height: 50px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Catalog & Story headers */
  .catalog-header { height: 60vh; min-height: 350px; overflow: hidden; }
  .catalog-header h1 { font-size: 2.8rem !important; word-break: break-word; }
  .catalog-header p { font-size: 1rem; }
  .story-header { height: 60vh; min-height: 400px; }
  .story-header h1 { font-size: 3.2rem; }
  .story-subtitle { font-size: 1.2rem; }

  /* Footer */
  footer { padding: 3rem 0; }
  footer .container { gap: 1.5rem; }
  .footer-links { gap: 1.2rem; }
  .footer-links a { font-size: 0.85rem; }
  .copyright { font-size: 0.8rem; }
}

/* ── Large Phone ── 576px and below ── */
@media (max-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }

  .container { width: 92%; padding: 0 0.75rem; }

  /* Hero */
  .hero { min-height: 70vh; padding: 3rem 0; }
  .hero-content h1 { font-size: 2.6rem; }
  .hero-subheadline { font-size: 1.3rem; margin-bottom: 1.5rem; }
  .hero-description { font-size: 0.9rem; max-width: 95%; }
  .hero-buttons a { padding: 0.85rem 2rem; font-size: 0.85rem; }

  /* About section */
  .home-about-section { padding: 2.5rem 0; }
  .home-about-section h1 { font-size: 1.8rem; }
  .glass-about-container { padding: 1.5rem; border-radius: 12px; }
  .glass-vm-card { padding: 1.5rem; border-radius: 10px; }
  .about-logo-side { width: 160px; }
  .about-side-logo { max-width: 140px; }

  /* What We Do */
  .what-we-do { padding: 3rem 0; }
  .wwd-grid { gap: 2.5rem; }
  .wwd-image { width: 100px; height: 100px; border-width: 3px; }
  .wwd-image i { font-size: 2.4rem; }
  .wwd-item h3 { font-size: 1.1rem; }
  .wwd-item p { font-size: 0.85rem; }

  /* Product grids */
  .product-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .preview-grid { max-width: 300px !important; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  /* Footer */
  .footer-links { flex-direction: column; gap: 1rem; }
  .footer-social { gap: 1.5rem; }

  /* Forms */
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 0.85rem; font-size: 0.9rem; }

  /* Catalog & Story headers */
  .catalog-header h1 { font-size: 2.2rem !important; }
  .catalog-header p { font-size: 0.95rem; }
  .catalog-header { min-height: 300px; height: 55vh; }
  .story-header h1 { font-size: 2.5rem; }
  .story-header { min-height: 350px; }

  /* Certifications */
  .cert-grid { gap: 1.5rem; }
  .cert-item span { font-size: 0.8rem; }
  .icon-svg { width: 45px; height: 45px; }

  /* Spec table */
  .spec-table { width: 100%; }

  /* CSR */
  .csr-image { height: auto !important; aspect-ratio: auto !important; max-width: 100% !important; width: 100% !important; }
  .csr-image img { width: 100% !important; height: auto !important; }
  .csr-initiatives ul li { font-size: 0.85rem; }

  /* Buttons */
  .btn { padding: 0.85rem 1.5rem; font-size: 0.85rem; }
  .btn-hero-outline,
  .btn-hero-solid { padding: 0.85rem 2rem; font-size: 0.85rem; }
}

/* ── Small Phone ── 480px and below ── */
@media (max-width: 480px) {
  .container { width: 94%; padding: 0 0.5rem; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-subheadline { font-size: 1.1rem; }
  .hero-description { font-size: 0.85rem; }

  .home-about-section h1 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }

  .glass-about-container { padding: 1.25rem; }
  .glass-vm-card { padding: 1.25rem; }
  .glass-vm-card p,
  .glass-vm-card ul li { font-size: 0.85rem; }

  .wwd-image { width: 90px; height: 90px; }
  .wwd-image i { font-size: 2rem; }
  .wwd-item h3 { font-size: 1rem; }
  .wwd-item p { font-size: 0.8rem; }

  .product-info { padding: 1rem 0.75rem 1.25rem; }
  .product-card h3 { font-size: 1.1rem; }
  .product-card .product-variant { font-size: 0.7rem; }
  .product-card .product-desc { font-size: 0.8rem; }

  .catalog-header h1 { font-size: 1.8rem !important; }
  .catalog-header p { font-size: 0.9rem; }
  .catalog-header { min-height: 250px; height: 50vh; }
  .story-header h1 { font-size: 2rem; }
  .story-header { min-height: 300px; }

  .csr-box h3 { font-size: 1.1rem; }
  .csr-initiatives h4 { font-size: 0.95rem; }
  .csr-initiatives ul li { font-size: 0.8rem; }

  footer { padding: 2rem 0; }
  footer .logo { font-size: 1.1rem; }
  .footer-social a { font-size: 1.2rem; }

  .nav-links { width: 85%; max-width: 280px; gap: 2rem; }
  .nav-links a { font-size: 1.1rem; }
}

/* ── Desktop-only: Hide mobile menu button ── */
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}
