/* ==========================================================================
   ADOLFO HERRERA ESTIBAS - STYLESHEET (Vanilla CSS Design System)
   Cross-Browser Normalized & Multi-Engine Compatible CSS (Chrome, Safari, Samsung)
   ========================================================================== */

/* 1. CROSS-BROWSER RESET & VENDOR NORMALIZATION ENGINE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
  /* Prevent font boosting / scaling quirks in Chrome & Safari */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.5;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* Modern dynamic viewport height for mobile address bar browsers */
  overflow-x: hidden;

  /* Font Smoothing across WebKit (Safari), Blink (Chrome/Samsung) & Gecko (Firefox) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reset Native Form Controls for Safari iOS & Samsung Internet */
input, button, select, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  outline: none;
}

/* Fix SVG rendering across browsers */
svg {
  vertical-align: middle;
}

/* 2. DESIGN TOKENS */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette */
  --clr-bg-dark: #0f172a;
  --clr-bg-dark-surface: #1e293b;
  --clr-bg-light: #f8fafc;
  --clr-bg-white: #ffffff;
  
  --clr-primary: #409C2C;         /* Corporate Green */
  --clr-primary-hover: #337d23;
  --clr-primary-light: #e2f2de;
  --clr-primary-glow: rgba(64, 156, 44, 0.25);

  --clr-wood: #d97706;            /* Warm Wood Accent */
  --clr-wood-light: #fef3c7;

  --clr-text-main: #0f172a;
  --clr-text-muted: #64748b;
  --clr-border: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.96);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text-main);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

/* Container Grid */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* 3. BUTTONS & UI BADGES */
.btn {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 0.98rem);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: #409C2C;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-hover));
  color: white;
  box-shadow: 0 4px 12px var(--clr-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(64, 156, 44, 0.4);
}

.btn-secondary {
  background: var(--clr-bg-dark-surface);
  color: white;
  border-color: rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  background: var(--clr-bg-dark);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--clr-primary-light);
}

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

.badge {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-sizing: border-box;
}

.badge-nimf {
  background-color: var(--clr-wood-light);
  color: var(--clr-wood);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-eco {
  background-color: var(--clr-primary-light);
  color: var(--clr-primary);
  border: 1px solid rgba(64, 156, 44, 0.3);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem auto;
  padding: 0 0.5rem;
}

.section-header .tag {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: clamp(0.78rem, 2.2vw, 0.88rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
  display: block;
}

.section-header h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--clr-text-muted);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

/* 4. TOP ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--clr-bg-dark);
  color: white;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.top-bar-left, .top-bar-right {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-link {
  color: white;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: clamp(0.75rem, 2.2vw, 0.85rem);
  white-space: nowrap;
}

.top-link:hover {
  color: #72c95d;
}

.top-badge-tag {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(217, 119, 6, 0.2);
  color: #fef3c7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(217, 119, 6, 0.4);
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 600;
  white-space: nowrap;
}

/* 5. STICKY NAVBAR & BRAND LOGO */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-container {
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  gap: 0.75rem;
}

.logo {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border-radius: var(--radius-sm);
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-text {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-text .brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}

.logo-text .brand-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  color: var(--clr-bg-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--clr-text-main);
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-primary);
}

.mobile-toggle {
  display: none;
  background: var(--clr-bg-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: var(--clr-bg-dark);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

/* 6. HERO SECTION */
.hero {
  position: relative;
  background: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: clamp(2.5rem, 6vw, 4.75rem) 0;
  overflow: hidden;
}

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

.hero-badge-group {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.hero-content h1 {
  font-size: clamp(1.65rem, 4.8vw, 3rem);
  color: white;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #72c95d, #409c2c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: #94a3b8;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-actions {
  display: -webkit-flex;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.metric-item h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: #72c95d;
  margin-bottom: 0.1rem;
}

.metric-item p {
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  color: #cbd5e1;
}

.hero-card-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
}

.hero-card-featured img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  object-fit: cover;
  height: 200px;
}

.hero-card-info h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-card-info p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(0,0,0,0.3);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
}

.spec-mini-item label {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
}

.spec-mini-item span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}

/* 7. CATALOG, CALCULATOR & SECTIONS */
.catalog-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--clr-bg-white);
}

.catalog-tabs {
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.78rem, 2.2vw, 0.9rem);
  background-color: var(--clr-bg-light);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

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

.product-image {
  position: relative;
  height: 185px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.product-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  opacity: 0;
}

.product-image:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: var(--clr-primary);
}

.prev-btn {
  left: 8px;
}

.next-btn {
  right: 8px;
}

.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}

.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: white;
  width: 14px;
  border-radius: 3px;
}

.product-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.product-content .description {
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.6rem;
  padding: 0.65rem 0.75rem;
  background-color: var(--clr-bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
}

.product-footer {
  display: -webkit-flex;
  display: flex;
  gap: 0.4rem;
}

.product-footer .btn {
  flex: 1;
  padding: 0.55rem 0.35rem;
  font-size: 0.8rem;
}

.industries-section, .faq-section, .contact-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.industry-card {
  background: var(--clr-bg-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--clr-border);
}

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem auto;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.process-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--clr-bg-dark);
  color: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(52, 211, 153, 0.3);
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  background: var(--clr-bg-white);
  overflow: hidden;
}

.faq-question {
  padding: 0.9rem 1.1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: var(--clr-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--clr-bg-light);
  padding: 0 1.1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--clr-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.75rem;
}

.contact-info-box {
  background: var(--clr-bg-dark);
  color: white;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
}

.contact-form-box {
  background: var(--clr-bg-white);
  padding: clamp(1.15rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  background: #25D366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

footer {
  background: var(--clr-bg-dark);
  color: #94a3b8;
  padding: 2.75rem 0 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
  background: white; border-radius: var(--radius-lg);
  max-width: 560px; width: 100%;
  padding: clamp(1rem, 3vw, 1.75rem);
  position: relative; box-shadow: var(--shadow-xl);
  max-height: 90vh; overflow-y: auto;
}

.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--clr-bg-light); border: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (BULLETPROOF MOBILE & TABLET LAYOUTS)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.85rem;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.35s ease-in-out;
    border-bottom: 1px solid var(--clr-border);
  }

  .nav-links.open {
    clip-path: circle(140% at 100% 0);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .top-bar-left .top-link:nth-child(2),
  .top-bar-left .top-link:nth-child(3) {
    display: none;
  }

  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .catalog-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .tab-btn {
    flex-shrink: 0;
  }

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

@media (max-width: 480px) {
  .logo-text .brand-title {
    font-size: 0.95rem;
  }
  .logo-text .brand-subtitle {
    font-size: 0.65rem;
  }
  .top-link, .top-badge-tag {
    font-size: 0.72rem;
  }
  .badge {
    white-space: normal;
    text-align: center;
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }
}

/* ==========================================================================
   ESTIBAS PERDOMO. H S.A.S. - CERTIFICATION, SERVICES & WHY US STYLES
   ========================================================================== */

.services-section, .why-us-section {
  padding: 5rem 0;
  background-color: var(--clr-bg-white);
}

.services-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card, .why-card {
  background: var(--clr-bg-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover, .why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary);
}

.service-card.highlight-card {
  background: linear-gradient(135deg, #f2faf1, #e2f2de);
  border: 2px solid var(--clr-primary);
}

.service-icon, .why-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cert-section {
  padding: 4rem 0;
  background: #0f172a;
  color: white;
}

.cert-card-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.cert-content h2 {
  color: white;
  margin: 0.75rem 0 1rem 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.cert-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tag-light {
  background: rgba(64, 156, 44, 0.15);
  color: #72c95d;
  border: 1px solid rgba(114, 201, 93, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.cert-highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.cert-item i {
  color: #72c95d;
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.cert-item h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cert-item p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.cert-badge-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cert-stamp-large {
  background: radial-gradient(circle at center, #409c2c, #265d1a);
  border: 3px solid #72c95d;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(64, 156, 44, 0.3);
  width: 100%;
  max-width: 320px;
  position: relative;
}

.cert-stamp-large .stamp-icon {
  font-size: 3rem;
  color: #72c95d;
  margin-bottom: 0.5rem;
}

.cert-stamp-large h3 {
  color: white;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.cert-stamp-large .stamp-code {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fef08a;
  margin: 0.5rem 0 0.2rem 0;
}

.cert-stamp-large .stamp-sub {
  font-size: 0.95rem;
  color: #c7ecc0;
}

.cert-stamp-large .stamp-norm {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cert-stamp-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(64, 156, 44, 0.9);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Hero Carousel Styles */
.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  transform: scale(0.96);
  z-index: 1;
}

.hero-carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.cert-stamp-overlay.stamp-blue {
  background: rgba(14, 116, 144, 0.95); /* Cyan / Blue */
}

.cert-stamp-overlay.stamp-orange {
  background: rgba(217, 119, 6, 0.95); /* Amber / Wood */
}

.cert-stamp-overlay.stamp-green {
  background: rgba(64, 156, 44, 0.95); /* Primary Green */
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  background: #72c95d;
  transform: scale(1.1);
  width: 24px;
  border-radius: var(--radius-full);
}

/* Google Maps Highlight Button */
.btn-maps-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-primary);
  color: white !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(64, 156, 44, 0.3);
  transition: var(--transition);
  text-decoration: none;
}

.btn-maps-highlight:hover {
  background: var(--clr-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(64, 156, 44, 0.4);
}

/* Discrete Visit Counter Style */
.discrete-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin: 0.35rem 0;
}

.discrete-counter i {
  color: #72c95d;
  font-size: 0.85rem;
}

.discrete-counter span {
  color: #f8fafc;
  font-weight: 700;
}

@media (max-width: 992px) {
  .cert-card-banner {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

