/* ============================================================
   Vegga USA — Premium Sustainable Footwear
   Style Sheet
============================================================ */

/* ======================== CUSTOM FONTS ======================== */
@font-face {
  font-family: 'SK Modernist';
  src: url('../assets/fonts/Sk-Modernist-Regular.woff2') format('woff2'),
       url('../assets/fonts/Sk-Modernist-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'SK Modernist';
  src: url('../assets/fonts/Sk-Modernist-Bold.woff2') format('woff2'),
       url('../assets/fonts/Sk-Modernist-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'SK Modernist Mono';
  src: url('../assets/fonts/Sk-Modernist-Mono.woff2') format('woff2'),
       url('../assets/fonts/Sk-Modernist-Mono.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

/* ======================== VARIABLES ======================== */
:root {
  --primary:      #B2D44B;
  --primary-dark: #8faa32;
  --primary-mid:  #c3df6e;
  --primary-bg:   rgba(178, 212, 75, 0.12);
  --secondary:    #F5F8FB;
  --tertiary:     #F4F7FA;

  --dark:         #0f0f0f;
  --dark-2:       #1c1c1c;
  --text:         #2a2a2a;
  --text-muted:   #6b7280;
  --white:        #ffffff;
  --border:       rgba(0, 0, 0, 0.07);

  --font-serif: 'SK Modernist', 'Inter', sans-serif;
  --font-sans:  'SK Modernist', -apple-system, system-ui, sans-serif;
  --font-nav:   'SK Modernist', system-ui, sans-serif;

  --nav-h:      70px;

  --r-sm:   8px;
  --r:     14px;
  --r-lg:  22px;
  --r-xl:  32px;

  --sh-sm: 0 2px 8px rgba(0,0,0,.05);
  --sh:    0 4px 24px rgba(0,0,0,.08);
  --sh-lg: 0 12px 48px rgba(0,0,0,.12);
  --sh-xl: 0 24px 80px rgba(0,0,0,.16);

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ======================== RESET ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ======================== TYPOGRAPHY ======================== */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-dark);
  display: inline-block;
  margin-bottom: 0.8rem;
}
.section-eyebrow.light { color: rgba(178, 212, 75, 0.9); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--primary-dark); }

/* Primary color on emphasized parts of headings */
.slide-content h1 em,
.manifesto-transp-text h3 em,
.onde-content h2 em { color: var(--primary); }

.manifesto-transp-text h3 em {
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 520px;
  margin-top: 1rem;
  font-weight: 300;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

/* ======================== CONTAINER ======================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(178,212,75,.3);
}
.btn-primary:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  box-shadow: 0 8px 32px rgba(178,212,75,.5);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-lg { padding: 18px 48px; font-size: 0.84rem; }

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 42px;
}
/* Dual-logo crossfade — white on hero, green on scroll */
.logo-white,
.logo-green {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: opacity .4s var(--ease);
}
.logo-white { opacity: 1; }
.logo-green  {
  position: absolute;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
.navbar.scrolled .logo-white { opacity: 0; pointer-events: none; }
.navbar.scrolled .logo-green  { opacity: 1; pointer-events: auto; }

/* Footer logo */
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  transition: color .3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin: left;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }

.navbar.scrolled .nav-link         { color: var(--text-muted); }
.navbar.scrolled .nav-link:hover   { color: var(--primary-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 20;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.navbar.scrolled .nav-toggle span  { background: var(--dark); }
.nav-toggle.active span,
.navbar.scrolled .nav-toggle.active span { background: var(--white); }
.nav-toggle.active span:nth-child(1)     { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2)     { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3)     { transform: translateY(-7px) rotate(-45deg); }

/* ======================== HERO CAROUSEL ======================== */
.hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
.carousel { width: 100%; height: 100%; position: relative; overflow: hidden; }

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .85s cubic-bezier(0.77, 0, 0.175, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}

.slide-bg picture,
.slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.carousel-slide.active .slide-bg img { transform: scale(1); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.28) 60%, rgba(0,0,0,.08) 100%);
  display: flex;
  align-items: center;
}
.slide-content {
  padding: 0 8%;
  max-width: 760px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s;
}
.carousel-slide.active .slide-content { opacity: 1; transform: translateY(0); }

.slide-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: block;
}
.slide-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.slide-content h1 em { font-style: italic; font-weight: 400; color: var(--primary); }

/* Made in USA hero heading */
.slide-content .slide-h1-nowrap {
  white-space: nowrap;
  font-weight: 700;
  color: var(--primary);
}
.slide-content .slide-h1-nowrap em {
  font-style: italic;
  font-weight: 300;
  color: var(--white);
}
.slide-subtitle {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.78);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
  z-index: 10;
}
.carousel-btn:hover {
  background: rgba(178,212,75,.28);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  transition: all .35s var(--ease);
}
.carousel-dot.active {
  background: var(--primary);
  width: 26px;
  border-radius: 4px;
}

/* ======================== SUSTAINABILITY ======================== */
.sustainability {
  padding: 110px 0;
  background: var(--white);
}
.sustain-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.sustain-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.sustain-item.reverse { direction: rtl; }
.sustain-item.reverse > * { direction: ltr; }

.sustain-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-lg);
}
.sustain-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.sustain-item:hover .sustain-img img { transform: scale(1.04); }

.sustain-text { padding: 1rem 0; }

.sustain-icon {
  width: 54px; height: 54px;
  background: var(--primary-bg);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}
.sustain-icon svg { width: 26px; height: 26px; }

.sustain-text h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.sustain-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.82;
}

/* ======================== FEATURES ======================== */
.features {
  padding: 110px 0;
  background: var(--secondary);
}
.cap-header { margin-bottom: 3.5rem; }
.cap-header .section-title { margin-top: 0.5rem; max-width: 580px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 2rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(178,212,75,.4);
}
.product-badge {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
}
.product-badge svg,
.product-badge img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.7rem;
}
.product-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ======================== GALLERY ======================== */
.gallery {
  padding: 110px 0;
  background: var(--white);
}

/* Category sections */
.category-section {
  margin-bottom: 4rem;
}

.category-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 3.5rem 0 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.category-divider::before,
.category-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(143, 170, 50, 0.45);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.gallery-card {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
}

.gallery-card:hover { transform: none; box-shadow: none; }

.gallery-card-img {
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--tertiary);
}

.gallery-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }

.gallery-card-body {
  padding: 0.85rem 0 0;
}

.gallery-card-category {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  display: block;
  transition: color .25s;
}

.gallery-card-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0;
  transition: color .25s;
}

.gallery-card:hover .gallery-card-name { color: var(--primary-dark); }

.gallery-card-desc { display: none; }

.btn-view { display: none; }

/* ======================== MODAL ======================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow: hidden;
  position: relative;
  transform: scale(.9) translateY(24px);
  transition: transform .45s var(--ease-spring);
  box-shadow: var(--sh-xl);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: rgba(0,0,0,.06);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background .2s, transform .3s var(--ease);
  line-height: 1;
}
.modal-close:hover { background: rgba(0,0,0,.12); transform: rotate(90deg); }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 92vh;
  overflow: hidden;
}
.modal-img { overflow: hidden; min-height: 320px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }

.modal-body {
  padding: 2.5rem 2.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-eyebrow {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
}
.modal-color {
  font-family: var(--font-nav);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-top: -0.3rem;
}
.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.82;
}
.modal-highlights {
  background: var(--secondary);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
}
.modal-highlights h4 {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.modal-highlights ul { display: flex; flex-direction: column; gap: 0.5rem; }
.modal-highlights li {
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-highlights li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.modal-cta { align-self: flex-start; margin-top: 0.5rem; }

/* ======================== ABOUT ======================== */
.about {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: stretch;
}
.about-inner {
  width: 100%;
  min-height: 80vh;
  background-image: url('https://images.unsplash.com/photo-1469334031218-e382a71b716b?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.about-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.52) 55%, rgba(8,8,8,.18) 100%);
}
.about-content {
  position: relative;
  z-index: 1;
  padding: 5rem 8%;
  max-width: 680px;
}
.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.about-content h2 em { font-style: italic; }
.about-content p {
  font-size: 0.97rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin-bottom: 0.9rem;
  max-width: 540px;
  font-weight: 300;
}
.about-content .btn { margin-top: 1.5rem; }

/* ======================== CONTACT ======================== */
.contact {
  padding: 130px 0;
  background: var(--white);
}
.contact-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.contact-inner .section-title { margin-bottom: 0.5rem; }
.contact-inner .section-desc  { text-align: center; margin-bottom: 1.5rem; }
.contact-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 1rem;
}
.footer-logo .logo-vegga { font-style: italic; color: var(--dark); }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h5, .footer-social h5 {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links li a {
  font-size: 0.875rem;
  color: var(--text);
  transition: color .2s;
}
.footer-links li a:hover { color: var(--primary-dark); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all .3s var(--ease);
}
.social-icons a svg { width: 17px; height: 17px; }
.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(178,212,75,.35);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ======================== REVEAL ANIMATIONS ======================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1400px) {
  .slide-content h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
  .slide-subtitle   { font-size: clamp(.88rem, 1.6vw, 1rem); }
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Navbar mobile */
  /* Remove backdrop-filter on mobile — it creates a fixed containing block
     that traps the nav-menu overlay inside the navbar instead of the viewport */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 15;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link {
    font-family: var(--font-nav) !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.28em !important;
    color: rgba(255,255,255,.82) !important;
  }
  .nav-link:hover { color: var(--primary) !important; }

  /* Hero */
  .slide-content { padding: 0 6%; }
  .carousel-btn  { width: 40px; height: 40px; font-size: .85rem; }

  /* Sustainability */
  .sustain-item,
  .sustain-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  /* Features */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .tecnologia .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
  }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }

  /* Modal */
  .modal-inner {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 92vh;
  }
  .modal-img { max-height: 45vw; min-height: 220px; }
  .modal-body { padding: 1.75rem 1.5rem; }

  /* About */
  .about-inner { background-attachment: scroll; }
  .about-content { padding: 4rem 6%; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Sections spacing */
  .manifesto,
  .gallery,
  .tecnologia { padding: 80px 0; }
}

@media (max-width: 480px) {
  /* Hero */
  .carousel-btn     { display: none; }
  .slide-content h1 { font-size: 2.3rem; }
  .slide-subtitle   { font-size: 0.88rem; }

  /* Gallery */
  .gallery-grid     { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Modal */
  .modal            { border-radius: var(--r-lg); }
  .modal-img        { max-height: 56vw; }

  /* Sections */
  .manifesto,
  .gallery,
  .tecnologia       { padding: 64px 0; }
  .manifesto-intro  { margin-bottom: 3rem; }
  .onde-content     { padding: 3.5rem 1.25rem; }
}

/* ======================== MANIFESTO ======================== */
.manifesto {
  padding: 120px 0 100px;
  background: var(--white);
}

.manifesto-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.manifesto-lead {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 1.5rem;
  font-weight: 300;
}

.manifesto-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.manifesto-value {
  background: var(--secondary);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.manifesto-value:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.manifesto-value-icon {
  width: 52px; height: 52px;
  background: var(--primary-bg);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.manifesto-value-icon svg { width: 24px; height: 24px; }

.manifesto-value h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.manifesto-value p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.manifesto-transparency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.manifesto-transp-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.manifesto-transp-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-weight: 300;
}

.transp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.manifesto-transp-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-lg);
}

.manifesto-transp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.manifesto-transp-img:hover img { transform: scale(1.04); }

/* ======================== EXTRA BUTTONS ======================== */
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: rgba(0, 0, 0, 0.25);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

/* ======================== VITRINE CTA ======================== */
.vitrine-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 2.5rem 3rem;
  background: var(--primary-bg);
  border-radius: var(--r-xl);
  border: 1px solid rgba(178, 212, 75, 0.2);
}

.vitrine-cta p {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* ======================== TECNOLOGIA ======================== */
.tecnologia {
  padding: 120px 0;
  background: var(--secondary);
}

.tec-material {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 7rem;
}

.tec-material-text { padding-top: 0.5rem; }

.tec-material-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tec-material-text h3 em { font-style: italic; }

.tec-material-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-weight: 300;
}

.tec-material-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.tec-attr {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.tec-attr:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.tec-attr-icon {
  width: 40px; height: 40px;
  background: var(--primary-bg);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--primary-dark);
}

.tec-attr-icon svg { width: 20px; height: 20px; }

.tec-attr h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.tec-attr p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.tec-badges-wrap { margin-bottom: 0; }

/* Tinted product certification cards */
.tecnologia .product-card {
  background: #e8f5b2;
  border: none;
  box-shadow: 0 4px 20px rgba(100,140,20,0.08);
}
.tecnologia .product-card:hover {
  background: #dff09e;
  box-shadow: 0 10px 36px rgba(100,140,20,0.16);
}
.tecnologia .product-card h3 {
  color: #8FAA32;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  font-weight: 600;
}
.tecnologia .product-card p {
  color: var(--text-muted);
}
.tecnologia .product-card .product-badge {
  background: rgba(178,212,75,0.22);
  border-radius: var(--r);
  padding: 10px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Seals */
.seals-wrap {
  padding: 3rem;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}

.seals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.seal-icon {
  width: 60px; height: 60px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
}

.seal-icon svg { width: 28px; height: 28px; }

.seal-item span {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

/* ======================== ONDE ENCONTRAR ======================== */
.onde-encontrar {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
}

.onde-inner {
  width: 100%;
  min-height: 70vh;
  background: linear-gradient(135deg, #2c4e0a 0%, #1a3206 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onde-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(178, 212, 75, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.onde-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 660px;
  padding: 5rem 2rem;
}

.onde-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.onde-content h2 em { font-style: italic; }

.onde-content p {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.82;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.onde-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.onde-email {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

/* Footer contact email */
.footer-contact-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* ======================== RESPONSIVE — NEW SECTIONS ======================== */
@media (max-width: 1024px) {
  .manifesto-transparency { gap: 3rem; }
  .tec-material { gap: 3rem; }
}

@media (max-width: 768px) {
  .manifesto,
  .tecnologia { padding: 80px 0; }

  .manifesto-values {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }

  .manifesto-transparency {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .manifesto-transp-img { order: -1; }

  .tec-material {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  .tec-material-attrs { grid-template-columns: 1fr 1fr; }

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

  .onde-content { padding: 4rem 1.5rem; }

  .onde-btns {
    flex-direction: column;
    align-items: center;
  }

  .vitrine-cta { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .manifesto-values   { gap: 1rem; }
  .vitrine-cta        { padding: 1.75rem 1rem; }
}

/* ======================== MOBILE PEQUENO ≤ 400px ======================== */
@media (max-width: 400px) {
  /* Navbar */
  .nav-container      { padding: 0 16px; }
  .logo-white,
  .logo-green         { height: 34px; }
  .nav-toggle span    { width: 20px; }

  /* Hero */
  .slide-content      { padding: 0 5%; }
  .slide-content h1   { font-size: 2rem; }
  .slide-subtitle     { font-size: 0.84rem; margin-bottom: 1.75rem; }
  .btn-lg             { padding: 14px 28px; font-size: 0.78rem; }

  /* Sections */
  .manifesto,
  .gallery,
  .tecnologia         { padding: 56px 0; }

  /* Manifesto */
  .manifesto-intro    { margin-bottom: 2.5rem; }
  .manifesto-lead     { font-size: 0.96rem; }
  .manifesto-value    { padding: 2rem 1.5rem; }
  .manifesto-transparency { padding: 2.5rem 0; }
  .manifesto-transp-text p { margin-bottom: 1.5rem; }

  /* Gallery */
  .gallery-grid       { gap: 1.25rem; }
  .gallery-card-name  { font-size: 0.95rem; }

  /* Modal */
  .modal              { border-radius: var(--r); }
  .modal-img          { max-height: 60vw; min-height: 180px; }
  .modal-body         { padding: 1.25rem 1.1rem; gap: 0.75rem; }
  .modal-title        { font-size: 1.5rem; }

  /* Tecnologia */
  .tec-attr           { padding: 1.25rem 1rem; }
  .seals-wrap         { padding: 1.5rem 1rem; }
  .seals-grid         { gap: 0.85rem; }
  .seal-icon          { width: 48px; height: 48px; }

  /* Onde Encontrar */
  .onde-content       { padding: 3rem 1rem; }
  .onde-content h2    { font-size: 2rem; }
  .onde-content p     { font-size: 0.88rem; }

  /* Vitrine CTA */
  .vitrine-cta        { padding: 1.5rem 1rem; margin-top: 2.5rem; }

  /* Footer */
  .footer             { padding: 48px 0 24px; }
  .footer-inner       { gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; }
  .footer-logo-img    { height: 32px; }
}
