/* ==========================================================================
   DESIGN SYSTEM & RESET (MOBILE-FIRST BASE)
   ========================================================================== */

:root {
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Theme variables locked to Modo 1: Verde Marca (Tech Dark) */
  --bg-primary: #0a0f0a;
  --bg-secondary: #0f1a0f;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-accent: #4caf50;        /* Verde GI primário */
  --color-accent-dim: rgba(76, 175, 80, 0.25);
  --color-accent-hover: #81c784;
  --card-bg: rgba(15, 26, 15, 0.8);
  --card-border: rgba(46, 125, 50, 0.25);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --hero-bg: radial-gradient(circle at 50% 30%, rgba(46, 125, 50, 0.15) 0%, #0a0f0a 70%);
  --navbar-bg: rgba(10, 15, 10, 0.95);
  --navbar-border: rgba(46, 125, 50, 0.25);
  --badge-bg: rgba(76, 175, 80, 0.12);
  --badge-text: #81c784;
  --color-logo-bg: #1a2e1a;
  --color-logo-accent: #4caf50;
  --color-grid-line: rgba(76, 175, 80, 0.03);
  --btn-primary-bg: #2e7d32;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: rgba(76, 175, 80, 0.5);
  --btn-secondary-text: #4caf50;
  --glow-accent: 0 0 20px rgba(46, 125, 50, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text);
  overflow-x: hidden;
  padding-top: 0; /* No switcher offset */
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & TYPOGRAPHY
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px; /* 16px lateral padding on mobile */
}

.section {
  padding: 48px 0; /* Less padding on mobile */
}

h1, h2, h3, h4, .logo-title {
  font-family: var(--font-title);
  font-weight: 700;
}

.section-title {
  font-size: 18pt; /* Mobile-first font size */
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 9.5pt; /* Mobile-first font size */
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 26pt;
    margin-bottom: 12px;
  }
  .section-subtitle {
    font-size: 12pt;
    margin-bottom: 50px;
  }
}

/* ==========================================================================
   BUTTONS & ANIMATIONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 11pt;
  border-radius: 10px;
  width: 100%; /* Full width on mobile for thumb convenience */
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--glow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  box-shadow: var(--glow-accent);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-border);
  color: var(--btn-secondary-text);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--color-accent-dim);
}

/* Pulsating Animation for WhatsApp Button */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.btn-primary.pulse {
  animation: pulseGlow 2s infinite;
}

@media (min-width: 768px) {
  .btn-lg {
    padding: 14px 28px;
    font-size: 12pt;
    width: auto; /* Inline width on desktop */
  }
}

/* ==========================================================================
   NAVBAR (MOBILE-FIRST)
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 11pt;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.logo-sub {
  font-size: 6.5pt;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.8px;
}

.logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 3px;
  display: block;
}

.brand-tagline {
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 1px;
}

.nav-menu {
  display: none; /* Hidden on mobile to clean up UX and focus on CTA */
}

.nav-cta .btn {
  padding: 8px 14px;
  font-size: 8.5pt;
  border-radius: 6px;
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .nav-container {
    padding: 16px 24px;
  }
  .logo-img {
    height: 42px;
    width: 42px;
    border-radius: 8px;
    padding: 4px;
  }
  .logo-title {
    font-size: 13pt;
  }
  .logo-sub {
    font-size: 7.5pt;
  }
  .nav-menu {
    display: flex;
    gap: 24px;
  }
  .nav-menu a {
    text-decoration: none;
    font-size: 10pt;
    font-weight: 500;
    color: var(--color-text-muted);
  }
  .nav-menu a:hover {
    color: var(--color-accent);
  }
  .nav-cta .btn {
    padding: 10px 20px;
    font-size: 9.5pt;
    border-radius: 8px;
  }
  .nav-cta svg {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    gap: 32px;
  }
}

/* ==========================================================================
   HERO SECTION (MOBILE-FIRST)
   ========================================================================== */

.hero-section {
  background: var(--hero-bg);
  padding: 40px 0 48px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  flex-direction: column; /* Stacked on mobile */
  gap: 32px;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.hero-content h1 {
  font-size: 20pt; /* Compact for mobile screens */
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-text);
  letter-spacing: -0.8px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 10.5pt;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 8.5pt;
  margin-top: 4px;
}

.trust-title {
  color: var(--color-text-muted);
}

.trust-item {
  color: var(--color-accent);
  font-weight: 700;
}

.hero-graphic {
  position: relative;
  display: none; /* Hidden on mobile to optimize above-the-fold content for Google Ads */
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
}

.glow-sphere {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-accent-dim);
  filter: blur(60px);
  z-index: 1;
}

.circuits-svg {
  width: 100%;
  height: auto;
  z-index: 2;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background-color: var(--bg-secondary);
}

/* Circuit lines dynamic glowing flow */
@keyframes flowDash {
  to {
    stroke-dashoffset: -40;
  }
}

.path-electric-1 {
  stroke-dasharray: 8, 8;
  animation: flowDash 3s linear infinite;
}

.path-electric-2 {
  stroke-dasharray: 4, 12;
  animation: flowDash 6s linear infinite;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  .hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    text-align: left;
    align-items: center;
  }
  .hero-content {
    align-items: flex-start;
  }
  .hero-content h1 {
    font-size: 32pt;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
  }
  .hero-desc {
    font-size: 12.5pt;
    line-height: 1.6;
    margin-bottom: 36px;
  }
  .hero-actions {
    align-items: flex-start;
  }
  .hero-trust {
    font-size: 9.5pt;
  }
  .hero-graphic {
    display: flex;
    max-width: 360px;
  }
  .glow-sphere {
    width: 250px;
    height: 250px;
    filter: blur(80px);
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 38pt;
  }
  .hero-desc {
    font-size: 13pt;
  }
}

/* ==========================================================================
   FEATURES SECTION (MOBILE-FIRST)
   ========================================================================== */

.features-section {
  background-color: var(--bg-primary);
}

.grid-3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
}

.feature-card h3 {
  font-size: 12pt;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 9pt;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Desktop overrides */
@media (min-width: 768px) {
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .feature-card {
    padding: 36px;
  }
  .feature-card:hover {
    transform: translateY(-5px);
  }
  .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
  }
  .feature-icon svg {
    width: 26px;
    height: 26px;
  }
  .feature-card h3 {
    font-size: 14pt;
    margin-bottom: 12px;
  }
  .feature-card p {
    font-size: 9.5pt;
    line-height: 1.6;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    gap: 32px;
  }
}

/* ==========================================================================
   CATALOG GRID - OVERVIEW CATEGORIES (MOBILE-FIRST)
   ========================================================================== */

.grid-catalog {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.catalog-card:hover {
  border-color: var(--color-accent-dim);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.catalog-card.highlighted-card {
  border: 2px solid var(--color-accent);
  background-color: var(--card-bg);
  box-shadow: var(--glow-accent);
}

.catalog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.catalog-num {
  font-size: 14pt;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.6;
}

.catalog-header h3 {
  font-size: 12pt;
  color: var(--color-text);
}

.catalog-card p {
  font-size: 9pt;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
}

.tag {
  font-size: 7pt;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--card-border);
  color: var(--color-text-muted);
  padding: 3px 8px;
  border-radius: 4px;
}

.tag-featured {
  background-color: var(--badge-bg);
  color: var(--badge-text);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 8.5pt;
  color: var(--color-accent);
  text-decoration: none;
}

.btn-text:hover {
  gap: 10px;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .grid-catalog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .catalog-card {
    padding: 32px;
  }
  .catalog-header {
    gap: 14px;
    margin-bottom: 16px;
  }
  .catalog-num {
    font-size: 16pt;
  }
  .catalog-header h3 {
    font-size: 14pt;
  }
  .catalog-card p {
    font-size: 9.5pt;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .catalog-footer {
    padding-top: 20px;
  }
  .tag {
    font-size: 7.5pt;
    padding: 4px 10px;
  }
  .btn-text {
    font-size: 9pt;
  }
}

@media (min-width: 1024px) {
  .grid-catalog {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   PRODUTOS CATALOG & STATS SECTION (MOBILE-FIRST)
   ========================================================================== */

.produtos-section {
  background: var(--bg-primary);
  padding: 48px 0 60px;
}

.produtos-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 8pt;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
  padding: 3px 10px;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  opacity: 0.85;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 10px;
  margin: 0 auto 32px;
  max-width: 100%;
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 14pt;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 6.5pt;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: var(--card-border);
}

/* Category Filter Tabs with horizontal swipe on mobile */
.cat-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 8px 16px;
  margin: 0 -16px 24px -16px; /* Bleed tabs to edge of mobile screens */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-nav::-webkit-scrollbar {
  display: none;
}

.cat-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--color-text-muted);
  font-family: var(--font-title);
  font-size: 8.5pt;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  white-space: nowrap; /* Prevent word wrap inside tabs */
  flex-shrink: 0;
}

.cat-nav-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cat-nav-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px var(--color-accent-dim);
}

.cat-nav-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cat-nav-count {
  font-size: 7.5pt;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  padding: 1px 6px;
  border-radius: 50px;
  line-height: 1.3;
}

.cat-nav-btn:not(.active) .cat-nav-count {
  background: var(--card-border);
  color: var(--color-text-muted);
}

/* Product Cards Grid - 2 columns on mobile */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.prod-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
}

.prod-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 0 0 1px var(--color-accent-dim);
}

.prod-card--featured {
  border-color: var(--color-accent-dim);
  background: linear-gradient(135deg, var(--card-bg), rgba(46,125,50,0.05));
}

.prod-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ic, #4caf50) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic, #4caf50) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prod-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--ic, #4caf50);
}

.prod-name {
  font-family: var(--font-title);
  font-size: 8.5pt;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  flex: 1;
}

.prod-badge {
  position: absolute;
  top: -1px;
  right: 8px;
  font-size: 6.5pt;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--color-accent);
  color: white;
  padding: 1px 6px;
  border-radius: 0 0 5px 5px;
}

.prod-cta {
  font-size: 8pt;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  opacity: 1; /* Always visible on mobile devices (no hover state) */
  margin-top: 2px;
}

.cat-cta-row {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

/* Fallback for browsers without color-mix support */
@supports not (color: color-mix(in srgb, red 10%, transparent)) {
  .prod-icon-wrap {
    background: var(--badge-bg);
    border-color: var(--card-border);
  }
  .prod-icon-wrap svg {
    stroke: var(--color-accent);
  }
}

.cat-panels {
  position: relative;
}

.cat-panel {
  display: none;
  animation: panelFadeIn 0.35s ease;
}

.cat-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop overrides for premium catalog */
@media (min-width: 768px) {
  .produtos-section {
    padding: 80px 0 100px;
  }
  .produtos-header {
    margin-bottom: 48px;
  }
  .section-eyebrow {
    font-size: 9pt;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding: 4px 14px;
  }
  .stats-bar {
    border-radius: 14px;
    padding: 20px 32px;
    margin: 0 auto 48px;
    max-width: 620px;
  }
  .stat-item {
    gap: 4px;
  }
  .stat-num {
    font-size: 24pt;
  }
  .stat-label {
    font-size: 8pt;
    letter-spacing: 0.8px;
  }
  .stat-divider {
    height: 40px;
    margin: 0 8px;
  }
  .cat-nav {
    justify-content: center;
    overflow-x: visible;
    margin: 0 0 40px 0;
    padding: 0;
    gap: 8px;
  }
  .cat-nav-btn {
    padding: 10px 20px;
    font-size: 9.5pt;
    gap: 8px;
  }
  .cat-nav-icon {
    width: 16px;
    height: 16px;
  }
  .cat-nav-count {
    font-size: 8pt;
    padding: 1px 7px;
    line-height: 1.5;
  }
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
  .prod-card {
    border-radius: 14px;
    padding: 24px 18px 18px;
    gap: 10px;
  }
  .prod-card:hover {
    transform: translateY(-5px);
  }
  .prod-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .prod-icon-wrap svg {
    width: 24px;
    height: 24px;
  }
  .prod-name {
    font-size: 10pt;
  }
  .prod-badge {
    right: 10px;
    font-size: 7pt;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
  }
  .prod-cta {
    font-size: 8.5pt;
    opacity: 0; /* Hidden by default on desktop, shown on hover */
  }
  .prod-card:hover .prod-cta {
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   BRANDS SECTION (MOBILE-FIRST)
   ========================================================================== */

.brands-section {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background-color: var(--bg-secondary);
  padding: 32px 0;
}

.brands-title {
  font-size: 8.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-item {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.brand-item svg {
  height: 20px;
  width: auto;
}

.brand-item:hover {
  opacity: 1;
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .brands-section {
    padding: 40px 0;
  }
  .brands-title {
    font-size: 9pt;
    margin-bottom: 24px;
  }
  .brands-grid {
    justify-content: space-around;
    gap: 32px;
  }
  .brand-item svg {
    height: 24px;
  }
}

/* ==========================================================================
   FAQ ACCORDION (MOBILE-FIRST)
   ========================================================================== */

.faq-accordion {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--card-border);
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  padding: 16px 20px;
  font-family: var(--font-title);
  font-size: 10pt;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-chevron {
  color: var(--color-accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq-item.active {
  border-color: var(--color-accent-dim);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-content p {
  padding: 0 20px 16px 20px;
  font-size: 9pt;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .faq-accordion {
    gap: 16px;
  }
  .faq-trigger {
    padding: 22px 28px;
    font-size: 11pt;
    gap: 16px;
  }
  .faq-content p {
    padding: 0 28px 22px 28px;
    font-size: 9.5pt;
    line-height: 1.6;
  }
  .faq-chevron {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   FOOTER (MOBILE-FIRST)
   ========================================================================== */

.footer-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding-top: 40px;
  margin-top: auto;
  font-size: 9pt;
}

.footer-container {
  display: flex;
  flex-direction: column; /* Stacked and centered on mobile */
  gap: 32px;
  text-align: center;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 32px;
  width: 32px;
}

.footer-about {
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

.footer-container h4 {
  font-size: 10.5pt;
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer-container p {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-phone {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-wa-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 10.5pt;
  color: var(--color-accent);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 20px 16px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 8pt;
}

@media (min-width: 768px) {
  .footer-section {
    padding-top: 60px;
    font-size: 9.5pt;
  }
  .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    text-align: left;
    padding-bottom: 40px;
  }
  .footer-brand {
    align-items: flex-start;
    gap: 16px;
  }
  .footer-logo-img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    padding: 4px;
  }
  .footer-about {
    max-width: 320px;
    margin: 0;
  }
  .footer-container h4 {
    font-size: 11pt;
    margin-bottom: 20px;
  }
  .footer-container p {
    line-height: 1.6;
  }
  .footer-wa-number {
    font-size: 11pt;
    margin-top: 8px;
  }
  .footer-phone {
    margin-top: 12px;
  }
  .footer-bottom {
    padding: 24px 0;
    font-size: 8.5pt;
  }
}

/* ==========================================================================
   SIMULATED WHATSAPP DIALOG / MODAL (MOBILE-FIRST)
   ========================================================================== */

.sim-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.sim-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.sim-modal-content {
  background-color: #121b22; /* WhatsApp Dark Mode BG */
  color: #e9edef;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border: 1px solid #222d34;
}

.sim-modal.open .sim-modal-content {
  transform: scale(1);
}

.sim-modal-header {
  background-color: #202c33;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222d34;
}

.whatsapp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00a884; /* WA Official Green */
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5pt;
}

.close-modal {
  background: none;
  border: none;
  color: #8696a0;
  font-size: 18pt;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: #e9edef;
}

.sim-modal-body {
  padding: 20px;
}

.modal-intro {
  color: #8696a0;
  font-size: 9pt;
  margin-bottom: 10px;
}

.message-preview {
  background-color: #202c33;
  border-left: 4px solid #00a884;
  padding: 14px;
  border-radius: 0 8px 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 9.5pt;
  line-height: 1.5;
  color: #e9edef;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.modal-footer-info {
  font-size: 8pt;
  color: #8696a0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-modal-actions {
  background-color: #202c33;
  padding: 12px 20px;
  display: flex;
  flex-direction: column-reverse; /* Stacks button actions vertically on mobile */
  gap: 8px;
  border-top: 1px solid #222d34;
}

.sim-modal-actions .btn {
  font-size: 9pt;
  padding: 10px 16px;
  width: 100%;
}

.sim-modal-actions .btn-secondary {
  background-color: transparent;
  border-color: #374151;
  color: #8696a0;
}
.sim-modal-actions .btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
}

.sim-modal-actions .btn-primary {
  background-color: #00a884;
  color: #111b21;
}
.sim-modal-actions .btn-primary:hover {
  background-color: #00c69b;
}

@media (min-width: 768px) {
  .sim-modal-header {
    padding: 16px 24px;
  }
  .whatsapp-badge {
    font-size: 11pt;
    gap: 12px;
  }
  .sim-modal-body {
    padding: 24px;
  }
  .modal-intro {
    font-size: 9.5pt;
    margin-bottom: 12px;
  }
  .message-preview {
    padding: 16px;
    font-size: 10pt;
    margin-bottom: 20px;
  }
  .modal-footer-info {
    font-size: 8.5pt;
    gap: 8px;
  }
  .sim-modal-actions {
    padding: 16px 24px;
    flex-direction: row; /* Horizontal actions on desktop */
    justify-content: flex-end;
    gap: 12px;
  }
  .sim-modal-actions .btn {
    width: auto;
    font-size: 9.5pt;
  }
}

/* ==========================================================================
   PHYSICAL STORE & MAP SECTION (MOBILE-FIRST)
   ========================================================================== */

.visita-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--card-border);
}

.visita-header {
  text-align: center;
  margin-bottom: 32px;
}

.grid-visita {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visita-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.fachada-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.fachada-info {
  padding: 16px 20px;
  text-align: left;
}

.fachada-info h3 {
  font-family: var(--font-title);
  font-size: 12pt;
  color: var(--color-text);
  margin-bottom: 4px;
}

.fachada-info p {
  font-size: 9pt;
  color: var(--color-text-muted);
}

.mapa-card {
  padding: 12px;
  min-height: 350px;
}

.mapa-card iframe {
  width: 100%;
  height: 326px;
  border: 0;
  border-radius: 10px;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .visita-header {
    margin-bottom: 48px;
  }
  .grid-visita {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
  }
  .fachada-img {
    height: 420px;
    object-fit: cover;
    object-position: center top;
  }
  .mapa-card {
    padding: 16px;
    height: auto;
  }
  .mapa-card iframe {
    height: 100%;
    min-height: 480px;
  }
}

