@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #3E2723;       /* Deep Espresso Brown */
  --primary-light: #5D4037; /* Warm Cocoa Brown */
  --primary-dark: #27120F;  /* Rich Roasted Black */
  --accent: #1B5E20;        /* Earthy Forest Green */
  --accent-light: #2E7D32;  /* Leafy Green */
  --accent-soft: #E8F5E9;   /* Soft Green Tint */
  --bg-warm: #FAF8F5;       /* Premium Off-White Cream */
  --bg-white: #FFFFFF;
  --text-main: #2D2220;     /* Dark Charcoal Espresso */
  --text-muted: #795548;    /* Muted Brown */
  --border-light: #EFEBE9;  /* Soft Warm Border */
  --shadow-sm: 0 4px 6px -1px rgba(62, 39, 35, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(62, 39, 35, 0.08), 0 4px 6px -2px rgba(62, 39, 35, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(62, 39, 35, 0.1), 0 10px 10px -5px rgba(62, 39, 35, 0.04);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg-warm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- GLASS NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(62, 39, 35, 0.05);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-warm);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  opacity: 0.85;
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: var(--border-light);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  border-radius: calc(var(--radius-sm) - 2px);
  transition: var(--transition);
  color: var(--text-muted);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--bg-white);
}

/* Hamburguer Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.02);
  animation: slowZoom 20s infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(39, 18, 15, 0.95) 0%, rgba(39, 18, 15, 0.8) 50%, rgba(27, 94, 32, 0.2) 100%);
  z-index: 2;
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  color: var(--bg-warm);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27, 94, 32, 0.2);
  border: 1px solid var(--accent);
  color: #81C784;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: #81C784;
  background: linear-gradient(to right, #81C784, #A5D6A7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(250, 248, 245, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Floating Card for Trust Info */
.hero-trust-card {
  background: rgba(62, 39, 35, 0.65);
  border: 1px solid rgba(239, 235, 233, 0.15);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: var(--bg-warm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hero-trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(27, 94, 32, 0.3);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #81C784;
  flex-shrink: 0;
}

.hero-trust-text h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-trust-text p {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.7);
}

/* Scroll Down Anchor */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 248, 245, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 3;
  cursor: pointer;
}

.scroll-down span {
  width: 20px;
  height: 35px;
  border: 2px solid rgba(250, 248, 245, 0.6);
  border-radius: 10px;
  position: relative;
}

.scroll-down span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  animation: scrollMouse 1.5s infinite;
}

/* --- SECTION DECORATION & LAYOUT --- */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-label {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- ABOUT & TRUST PILLARS --- */
.about {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-img-container {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 520px;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  transition: var(--transition-slow);
}

.about-img-frame:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--primary);
  color: var(--bg-warm);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 280px;
}

.badge-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #81C784;
  line-height: 1;
}

.badge-txt {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.about-text {
  color: var(--text-main);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.8px;
  margin-bottom: 0.25rem;
}

.highlight-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* --- STATS STRIP --- */
.stats-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 2rem;
  color: var(--bg-warm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: #81C784;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 248, 245, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- PRODUCT CATALOG --- */
.catalog {
  background-color: var(--bg-warm);
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 94, 32, 0.2);
}

.product-media {
  position: relative;
  height: 280px;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.tag-arabica {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(27, 94, 32, 0.2);
}

.tag-robusta {
  background: #EFEBE9;
  color: var(--primary);
  border: 1px solid rgba(62, 39, 35, 0.2);
}

.product-cupping-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(62, 39, 35, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bg-warm);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-cupping-badge svg {
  width: 14px;
  height: 14px;
  fill: #FFB300;
}

.product-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-origin {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* Specs Table */
.product-specs {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-bottom: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border-light);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text-main);
  font-weight: 600;
}

.product-action {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.product-action:hover {
  background: var(--primary);
  color: var(--bg-white);
}

/* --- B2B EXPORT TOOL & CALCULATOR --- */
/* --- COFFEE INSIGHTS & ARTICLES (SEO BOOST) --- */
.articles-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 6rem 2rem;
}

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

.article-card {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 94, 32, 0.25);
}

.article-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.article-card:hover .article-thumb img {
  transform: scale(1.06);
}

.article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(39, 18, 15, 0.85);
  backdrop-filter: blur(4px);
  color: #81C784;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.article-link:hover {
  color: var(--accent-light);
  gap: 0.65rem;
}

@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- EXPORT & INQUIRY FOOTER --- */
.contact-section {
  background-color: var(--primary-dark);
  color: var(--bg-warm);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-size: 2.25rem;
  color: var(--bg-white);
  margin-bottom: 1.25rem;
}

.contact-intro {
  color: rgba(250, 248, 245, 0.75);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.method-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #81C784;
  flex-shrink: 0;
}

.method-text h5 {
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.method-text p {
  font-size: 1.1rem;
  font-weight: 600;
}

.method-text a:hover {
  color: #81C784;
}

.certifications-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.cert-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(250, 248, 245, 0.5);
  margin-bottom: 1.25rem;
}

.cert-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.cert-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(250, 248, 245, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* Contact Form Box */
.form-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 3rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.form-title {
  font-size: 1.5rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.6);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.8);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--bg-white);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.25);
}

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

/* Custom form validation colors */
.form-control.error {
  border-color: #EF5350;
}

.error-message {
  color: #EF5350;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

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

/* Success Modal / Toast */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-content {
  transform: translateY(20px);
  transition: var(--transition-slow);
}

.success-overlay.active .success-content {
  transform: translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(27, 94, 32, 0.2);
  border: 2px solid var(--accent);
  color: #81C784;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.success-content h4 {
  font-size: 1.8rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.success-content p {
  color: rgba(250, 248, 245, 0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Bottom Copy & Credits */
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.45);
  background-color: var(--primary-dark);
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-link:hover {
  color: var(--bg-white);
}

/* --- ANIMATIONS --- */
@keyframes slowZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.1); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes scrollMouse {
  0% { opacity: 0; top: 6px; }
  30% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

/* --- INTERSECTION OBSERVER ANIMATION CLASSES --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.stagger-container {
  display: contents;
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-trust-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .about-grid, .calc-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-img-container {
    max-width: 600px;
    margin: 0 auto;
  }
  .about-floating-badge {
    right: -1rem;
    bottom: -1rem;
    padding: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-actions {
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-box {
    padding: 1.5rem;
  }
  .section {
    padding: 5rem 1rem;
  }
  .stats-strip {
    padding: 3rem 1rem;
  }
}

/* --- LOGO IMAGE IN NAVBAR --- */
.logo-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo-wrapper:hover {
  transform: scale(1.03);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default state (Hero Section with dark backdrop): Show White Logo */
.navbar:not(.scrolled) .logo-light {
  display: block;
}
.navbar:not(.scrolled) .logo-dark {
  display: none;
}

/* Scrolled state (Light frosted glass background): Show Dark Espresso Logo */
.navbar.scrolled .logo-light {
  display: none;
}
.navbar.scrolled .logo-dark {
  display: block;
}

/* --- WHATSAPP FLOATING BUTTON & POPUP --- */
.wa-float-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

/* Floating green WA button */
.wa-float-btn {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  position: relative;
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float-btn:hover {
  background-color: #1DAA56;
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  animation: none; /* stop pulse on hover */
}

/* Notification red dot */
.wa-notification-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background-color: #FF3B30;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: blink 1.6s ease-in-out infinite;
}

/* Popup card */
.wa-popup {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  width: 320px;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  transform-origin: bottom right;
}

.wa-popup.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

/* Popup header bar */
.wa-popup-header {
  background: #075E54; /* WhatsApp dark green */
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.wa-popup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.wa-popup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-popup-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wa-popup-info strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.wa-popup-info small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.wa-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  margin-bottom: 2px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

.wa-popup-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: var(--transition);
  margin-left: auto;
}

.wa-popup-close:hover {
  color: #fff;
}

/* Popup chat bubble */
.wa-popup-body {
  background: #ECE5DD; /* WhatsApp chat background */
  padding: 1.25rem;
  min-height: 100px;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.wa-bubble p {
  font-size: 0.9rem;
  color: #2D2220;
  line-height: 1.55;
}

/* CTA button inside popup */
.wa-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #25D366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.wa-popup-cta:hover {
  background: #1DAA56;
}

/* --- KEYFRAMES for WA button --- */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.85); transform: scale(1.05); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- RESPONSIVE for WA popup --- */
@media (max-width: 480px) {
  .wa-float-wrapper {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .wa-popup {
    width: calc(100vw - 2.5rem);
  }
}
