/* ========================================
   CASA DO CONSTRUTOR - DF
   CSS PRINCIPAL - Design System
   ======================================== */

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

/* === DESIGN SYSTEM - Variáveis CSS === */
:root {
  /* Cores Principais */
  --primary: #183C8F;           /* Azul primário */
  --primary-dark: #0A1C59;      /* Azul escuro */
  --secondary: #4BCA5A;         /* Verde */
  --accent: #FFCC00;            /* Amarelo */

  /* Tons de cinza */
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Semânticas */
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-muted: #f1f3f5;

  /* Text */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --text-white: #ffffff;

  /* Borders */
  --border-color: #dee2e6;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(255, 204, 0, 0.3);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* Z-index */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* === BASE STYLES === */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--spacing-md) * -0.5);
}

.col {
  flex: 1;
  padding: 0 calc(var(--spacing-md) * 0.5);
}

/* === GRID SYSTEM === */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* === HEADER === */
.header {
  display: flex;
    height: 120px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-index-sticky);
    background-color: var(--primary);
    transition: var(--transition);
    align-content: center;
    align-items: center;
}

.header.scrolled {
  background-color: rgba(24, 60, 143, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding: 0 var(--spacing-lg);
}

.header-logo img {
  height: 5rem;
  width: auto;
}

.header-nav {
  display: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.header-nav a {
  color: var(--text-white);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--accent);
}

.header-cta {
  display: none;
}

.header-mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: var(--font-size-2xl);
  cursor: pointer;
  padding: var(--spacing-sm);
}

.header-mobile-menu {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background-color: rgba(24, 60, 143, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
  transition: var(--transition);
  max-height: 0;
  overflow: hidden;
}

.header-mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  max-height: 100vh;
}

.header-mobile-menu nav {
  padding: var(--spacing-lg);
}

.header-mobile-menu nav a {
  display: block;
  color: var(--text-white);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: var(--font-weight-medium);
  transition: var(--transition);
}

.header-mobile-menu nav a:hover,
.header-mobile-menu nav a.active {
  color: var(--accent);
}

.header-mobile-menu .btn {
  margin-top: var(--spacing-md);
  width: 100%;
}

/* === HERO SECTION === */
.hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 64px;
  background-color: #183690;
  position: relative;
}

.hero-home {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 64px;
  background-color: #fff;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 9999px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-lg);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.hero-banner {
  position: relative;
  height: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-banner img.active {
  opacity: 1;
  z-index: 1;
}

/* === TABS === */
.tabs {
  margin-top: var(--spacing-3xl);
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xs);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-xl);
}

.tab-trigger {
  background: none;
  border: none;
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
  color: var(--text-primary);
}

.tab-trigger:hover {
  background-color: var(--gray-100);
}

.tab-trigger.active {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
  display: block;
}

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

/* === CATEGORY CARDS === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.category-card {
  background-color: var(--primary);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  aspect-ratio: 1/1;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-decoration: none;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  background-color: rgba(24, 60, 143, 0.9);
}

.category-card img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.category-card span {
  color: var(--text-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  line-height: 1.3;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0 1.5rem;
  height: 42px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
}

.btn-secondary:hover {
  background-color: #3da84a;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(75, 202, 90, 0.3);
}

.btn-lg {
  padding: 0 2rem;
  height: 42px;
  font-size: 14px;
}

.btn-sm {
  padding: 0 1rem;
  height: 42px;
  font-size: 14px;
}

/* === CARDS === */
.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-image {
  aspect-ratio: 1/1;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: #0f2157 !important;
  margin-bottom: var(--spacing-md);
}

.card-footer {
  margin-top: auto;
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-bg-muted {
  background-color: rgba(241, 243, 245, 0.3);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto var(--spacing-3xl);
}

.section-badge {
  display: inline-block;
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: #0f2157;
  margin-bottom: var(--spacing-lg);
}

.section-title .highlight {
  color: var(--primary);
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
}

/* === FOOTER === */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-logo img {
  height: 4rem;
  margin-bottom: var(--spacing-md);
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-md);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.footer-section h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  transition: var(--transition);
  text-decoration: none;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-contact-item {
  display: flex;
  gap: var(--spacing-md);
}

.footer-contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-text {
  flex: 1;
}

.footer-contact-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-contact-value {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }

.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }
.gap-5 { gap: var(--spacing-xl); }

/* === ANIMATIONS === */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-slideInFromTop {
  animation: slideInFromTop 0.6s ease-out;
}

.animate-slideInFromBottom {
  animation: slideInFromBottom 0.6s ease-out;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* === RESPONSIVE DESIGN === */

/* Tablets (768px+) */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-xl);
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

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

  .category-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }

  .header-cta {
    display: block;
  }

  .header-mobile-toggle {
    display: none;
  }

  .hero-title {
    font-size: var(--font-size-6xl);
  }

  .section-title {
    font-size: var(--font-size-5xl);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* Mobile Responsiveness for About Section */
@media (max-width: 767px) {
  #about .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #about .grid > div:nth-child(2) > div {
    grid-template-columns: 1fr !important;
  }

  #about h2 {
    font-size: 1.75rem !important;
  }

  #about .grid > div:first-child > div:last-child {
    position: static !important;
    margin-top: 1.5rem;
    border-radius: 0.75rem;
  }
}

/* Mobile Responsiveness for Equipment Details Page */
@media (max-width: 1023px) {
  .equipment-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .equipment-detail-grid h1 {
    font-size: 2rem !important;
  }

  .equipment-detail-grid p {
    font-size: 1rem !important;
  }
}

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-index-fixed);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  color: var(--text-white);
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }

  .whatsapp-float svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* === COMPREHENSIVE MOBILE RESPONSIVENESS === */

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Header adjustments */
  .header {
    height: 80px;
  }

  .header-container {
    height: 80px;
    padding: 0 1rem;
  }

  .header-logo img {
    height: 3.5rem;
  }

  .header-mobile-menu {
    top: 80px;
  }

  /* Hero sections */
  .hero,
  .hero-home {
    padding-top: 120px;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: 0.375rem 0.75rem;
  }

  .hero-banner {
    height: 280px;
    margin-top: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  /* Section adjustments */
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-description {
    font-size: var(--font-size-base);
  }

  .section-badge {
    font-size: var(--font-size-xs);
  }

  /* Typography */
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }
  h4 { font-size: var(--font-size-lg); }

  /* Tabs */
  .tabs {
    margin-top: 2rem;
  }

  .tabs-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .tab-trigger {
    padding: 0.75rem;
    font-size: var(--font-size-sm);
  }

  /* Category grid */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-card {
    padding: 1rem;
  }

  .category-card img {
    width: 3rem;
    height: 3rem;
  }

  .category-card span {
    font-size: var(--font-size-xs);
  }

  /* Cards */
  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: var(--font-size-lg);
  }

  /* Buttons */
  .btn-lg {
    padding: 0 1.5rem;
    height: 40px;
    font-size: 13px;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1.5rem;
  }

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

  .footer-logo img {
    height: 3rem;
  }

  .footer-section h4 {
    font-size: var(--font-size-base);
  }

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

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* About section specific */
  #about .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #about h2 {
    font-size: 1.5rem !important;
  }

  #about .grid > div:first-child > div:last-child {
    position: static !important;
    margin-top: 1rem;
  }

  /* Features grid in about */
  #about .grid > div:last-child > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Stores section */
  #stores .grid {
    gap: 1rem !important;
  }
}

/* Small tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-banner {
    height: 350px;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #about .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #about .grid > div:first-child > div:last-child {
    position: static !important;
  }
}

/* Landscape phones */
@media (max-width: 767px) and (orientation: landscape) {
  .hero,
  .hero-home {
    padding-top: 100px;
    padding-bottom: 1.5rem;
  }

  .hero-banner {
    height: 200px;
  }
}

/* Very small devices (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .category-grid {
    gap: 0.75rem;
  }

  .category-card {
    padding: 0.75rem;
  }

  .category-card img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .tabs-list {
    padding: 0.25rem;
  }

  .tab-trigger {
    padding: 0.625rem;
    font-size: var(--font-size-xs);
  }

  .btn {
    font-size: 13px;
    height: 38px;
  }

  .footer-social {
    gap: 0.5rem;
  }

  .footer-social a {
    width: 2rem;
    height: 2rem;
  }
}
