/* ============================================================
   FHL Refrigeração — Complete CSS Rewrite
   PART 1: Google Fonts · Variables · Reset · Base · Utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&display=swap');

/* -------------------------
   CSS Custom Properties
   ------------------------- */
:root {
  /* Blues */
  --blue-900: #1E3A8A;
  --blue-800: #1E40AF;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  /* Neutrals */
  --white:    #FFFFFF;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Accents */
  --green-500: #22C55E;
  --green-600: #16A34A;
  --orange-500: #F97316;
  --red-500:   #EF4444;

  /* Shadows (blue-tinted) */
  --shadow-sm:  0  1px  2px rgba(30, 58, 138, 0.05);
  --shadow-md:  0  4px  6px rgba(30, 58, 138, 0.08),
                0  2px  4px rgba(30, 58, 138, 0.04);
  --shadow-lg:  0 10px 15px rgba(30, 58, 138, 0.10),
                0  4px  6px rgba(30, 58, 138, 0.05);
  --shadow-xl:  0 20px 25px rgba(30, 58, 138, 0.12),
                0 10px 10px rgba(30, 58, 138, 0.04);
  --shadow-glow: 0  0  24px rgba(59, 130, 246, 0.35);

  /* Gradients */
  --gradient-primary:   linear-gradient(135deg, var(--blue-600), var(--blue-800));
  --gradient-hero:      linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  --gradient-card:      linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  --gradient-blue-soft: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Border Radii */
  --radius-sm:   6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* -------------------------
   Base Elements
   ------------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--blue-500);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

ul, ol {
  list-style: none;
}

/* -------------------------
   Layout Utilities
   ------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
}

.section-gray {
  background-color: var(--gray-50);
}

.section-blue {
  background: var(--gradient-blue-soft);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--blue-900);
  display: inline-block;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  line-height: 1.7;
}

/* -------------------------
   Grid System
   ------------------------- */
.grid {
  display: grid;
  gap: 28px;
}

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

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

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

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

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

/* -------------------------
   Buttons
   ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.925rem;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
  filter: brightness(1.08);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
}

.btn-secondary:hover {
  background-color: var(--blue-50);
  color: var(--blue-700);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.45);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* -------------------------
   Badges
   ------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge-novo {
  background: var(--gradient-primary);
  color: var(--white);
}

.badge-usado {
  background: linear-gradient(135deg, var(--gray-500), var(--gray-700));
  color: var(--white);
}

.badge-destaque {
  background: linear-gradient(135deg, var(--orange-500), #E86C00);
  color: var(--white);
}

/* -------------------------
   Form Base
   ------------------------- */
.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  background-color: var(--white);
  transition: all 0.3s ease;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-400);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  outline: none;
}

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

/* ============================================================
   END PART 1
   ============================================================ */


/* ========================================================================
   PART 2: Header & Navigation
   ======================================================================== */

/* --- Sticky Header with Glass-morphism --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* --- Header Inner Layout --- */
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  width: 38px;
  height: 38px;
  color: #1D4ED8;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.logo:hover svg {
  transform: scale(1.05);
}

/* --- Navigation --- */
.nav-menu ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  display: block;
  padding: 8px 16px;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.3s ease, background-color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.06);
}

.nav-menu a.active {
  color: #1d4ed8;
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  opacity: 1;
}

/* --- Header CTA (WhatsApp Button) --- */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.header-cta:active {
  transform: translateY(0);
}

/* --- Hamburger Menu Toggle --- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 0;
  transition: background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu (max-width: 1023px) --- */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 80px 30px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav-menu a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
  }

  .nav-menu a:hover {
    background: rgba(59, 130, 246, 0.08);
  }

  .nav-menu a.active::after {
    bottom: auto;
    left: auto;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-header .header-cta {
    display: none;
  }

  .nav-menu .header-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 14px 22px;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

/* --- Desktop: ensure nav-menu and CTA are visible --- */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: none !important;
  }
}


/* ==========================================================================
   PART 3: Hero Section + Page Hero
   ========================================================================== */

/* --- Main Hero (homepage) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Decorative floating orb — top-right */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: heroFloat 8s ease-in-out infinite;
}

/* Decorative floating orb — bottom-left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.85) 40%, rgba(29,78,216,0.78) 100%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px;
}
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content span {
  color: inherit;
}

/* --- Hero Title --- */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFFFF !important;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* --- Hero Subtitle --- */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.15s forwards;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.9);
}

/* --- Hero Buttons --- */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

.hero-buttons .btn {
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 1.05rem;
}

.hero-buttons .btn-secondary {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  backdrop-filter: blur(4px);
}

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

/* --- Hero Stats — glass-morphism pills --- */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1) 0.5s forwards;
}

.stat {
  text-align: center;
  padding: 20px 32px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  min-width: 160px;
  transition: all 0.3s ease;
}

.stat:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.counter {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-weight: 500;
}

/* --- Page Hero (subpages: produtos.php, contato.php, etc.) --- */
.page-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1D4ED8 100%);
  padding: 140px 0 70px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Shared Keyframe: fadeInUp --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   PART 4: Service Cards + Differential Cards
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Service Cards (used inside .grid.grid-3)
   --------------------------------------------------------------------------- */

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

/* Animated gradient top border */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1D4ED8, #3B82F6, #60A5FA);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle inner glow on hover */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 24px 48px rgba(30, 58, 138, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.04);
  border-color: rgba(59, 130, 246, 0.08);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   Card Icon — circle with gradient background, animated on hover
   --------------------------------------------------------------------------- */

.card-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.card-icon svg {
  width: 34px;
  height: 34px;
  color: #1D4ED8;
  stroke: #1D4ED8;
  transition: all 0.4s ease;
}

.card-icon i {
  font-size: 1.8rem;
  color: #1D4ED8;
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.card:hover .card-icon svg {
  color: white;
  stroke: white;
}

.card:hover .card-icon i {
  color: white;
}

/* ---------------------------------------------------------------------------
   Card Text
   --------------------------------------------------------------------------- */

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: #1E3A8A;
}

.card p {
  color: var(--gray-500);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.card .btn {
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 50px;
}

/* ---------------------------------------------------------------------------
   Differential Cards (.card.card-differential in .grid.grid-4)
   --------------------------------------------------------------------------- */

.card-differential {
  padding: 44px 24px;
  border-radius: 20px;
  background: var(--white);
}

.card-differential .card-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  font-size: 2.2rem;
  margin-bottom: 28px;
  transition:
    background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-radius 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-differential:hover .card-icon {
  border-radius: 26px;
  transform: scale(1.1) rotate(6deg);
}

.card-differential h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card-differential p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Responsive adjustments for cards
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .card {
    padding: 36px 24px 28px;
  }

  .card-differential {
    padding: 36px 20px;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 32px 22px 26px;
    border-radius: 16px;
  }

  .card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }

  .card-icon svg {
    width: 30px;
    height: 30px;
  }

  .card h3 {
    font-size: 1.08rem;
  }

  .card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .card:hover {
    transform: translateY(-6px);
  }

  .card-differential {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .card-differential .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 28px 18px 24px;
  }

  .card-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
  }

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

  .card-differential .card-icon {
    width: 66px;
    height: 66px;
    border-radius: 16px;
  }

  .card-differential {
    padding: 28px 16px;
  }
}

/* ==========================================================================
   PART 5: Products Section + Filters
   ========================================================================== */

/* --- Product Filters --- */

.product-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  display: inline-flex;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.filter-btn:hover {
  border-color: var(--blue-400);
  color: var(--blue-700);
  background: var(--blue-50);
}

.filter-btn.active {
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.3);
}

/* --- Product Cards --- */

.card-product {
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
}

.card-product::before {
  display: none;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-product:hover .card-image img {
  transform: scale(1.08);
}

/* Badge positioning inside image */

.card-image .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-image .badge + .badge {
  right: auto;
  left: 14px;
}

/* Placeholder for products without image */

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.product-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* --- Product Card Body --- */

.card-body,
.product-info {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-product h3,
.product-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 8px;
  text-align: left;
}

.card-product p,
.product-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  text-align: left;
  flex: 1;
  margin-bottom: 16px;
}

.card-price,
.product-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 18px;
}

.card-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
}

.card-product .btn-whatsapp,
.product-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* --- Section Footer (link "Ver todos") --- */

.section-footer {
  text-align: center;
  margin-top: 44px;
}

.section-footer a {
  color: var(--blue-700);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.section-footer a:hover {
  gap: 14px;
  color: var(--blue-900);
}

/* --- Products Page Wrapper --- */

.products-page {
  padding-top: 0;
}

.products-grid {
  margin-top: 0;
}


/* ===================================================================
   PART 6: About Section + Testimonials Section
   =================================================================== */

/* ----- About Section ----- */

.about-text {
  padding-right: 20px;
}
.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue-900);
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-text p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1rem;
}
.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(30,58,138,0.15);
}
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.about-image:hover img {
  transform: scale(1.05);
}
/* Decorative elements */
.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #DBEAFE, #60A5FA);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

/* ----- Testimonials Section ----- */

.testimonials-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 300px;
}
.testimonial-slide {
  text-align: center;
  padding: 30px 40px;
  display: none;
}
.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Stars */
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}
.testimonial-stars svg {
  width: 22px;
  height: 22px;
  fill: #FBBF24;
  color: #FBBF24;
  filter: drop-shadow(0 1px 2px rgba(251,191,36,0.3));
}

/* Quote text */
.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-text::before {
  content: '\\201C';
  font-size: 5rem;
  color: var(--blue-100);
  font-family: Georgia, serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  z-index: -1;
}

/* Author */
.testimonial-author {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 4px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.slider-dot, .slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.slider-dot.active, .slider-dots button.active {
  background: var(--blue-700);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}

/* Arrows */
.slider-prev, .slider-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
  color: var(--gray-600);
  font-size: 1.2rem;
}
.slider-prev:hover, .slider-next:hover {
  background: var(--blue-700);
  color: white;
  border-color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(29,78,216,0.25);
  transform: translateY(-50%) scale(1.05);
}
.slider-prev { left: 0; }
.slider-next { right: 0; }


/* ============================================
   PART 7: Contact Section
   ============================================ */

/* Contact page wrapper */
.contact-page { padding-top: 0; }

/* Contact grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* Contact form wrapper */
.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 28px;
}

/* Contact form */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  border-radius: 12px;
  margin-top: 8px;
}

/* Contact info items */
.contact-info-list, .contact-info {
  margin-bottom: 28px;
}
.contact-info-item, .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.contact-info-item:hover, .contact-item:hover {
  background: var(--blue-50);
  transform: translateX(4px);
}
.contact-info-item svg, .contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--blue-700);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item strong, .contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.contact-info-item p, .contact-item p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}

/* WhatsApp CTA in contact */
.contact-whatsapp {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 28px;
}

/* Google Maps */
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* Flash messages */
.flash-success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 500;
}
.flash-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 500;
}
.field-error {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Required asterisk */
.required { color: #DC2626; }


/* ==========================================================================
   PART 8: Footer + WhatsApp Float + Back-to-Top
   ========================================================================== */

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, #0C1222 0%, #1A2744 100%);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
/* Subtle decorative gradient orb */
.site-footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 70%);
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Footer logo area */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo svg {
  width: 36px;
  height: 36px;
  color: var(--blue-400);
}
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
}
.footer-about-text {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Footer titles */
.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  border-radius: 2px;
}

/* Footer links */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--blue-400);
  transform: translateX(6px);
}

/* Footer contact info */
.footer-contact a,
.footer-contact p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contact a:hover { color: var(--blue-400); }
.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--blue-400);
  flex-shrink: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.6);
}
.footer-social a:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(29,78,216,0.3);
}
.footer-social a svg { width: 20px; height: 20px; }

/* Footer bottom */
.footer-bottom {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}
.footer-copy { color: rgba(255,255,255,0.4); }
.footer-dev { color: rgba(255,255,255,0.4); }
.developer-link {
  color: var(--blue-400) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}
.developer-link:hover { color: var(--blue-300) !important; }

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsappBounce 3s ease-in-out infinite;
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: white;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  animation: none;
}

/* Ripple ring */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.35);
  animation: whatsappRipple 2s ease-out infinite;
}

/* Tooltip */
.whatsapp-float::before {
  content: 'Fale conosco';
  position: absolute;
  right: 78px;
  background: #1E293B;
  color: white;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappBounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-8px); }
  30% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  60% { transform: translateY(0); }
}
@keyframes whatsappRipple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 108px;
  right: 32px;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  color: var(--gray-600);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-700);
  color: white;
  border-color: var(--blue-700);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29,78,216,0.25);
}
.back-to-top svg { width: 20px; height: 20px; }


/* ==========================================================================
   PART 9: Animations + Responsive Media Queries + Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */

/* fadeInUp, fadeIn, heroFloat, whatsappBounce, whatsappRipple defined elsewhere */

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

/* --------------------------------------------------------------------------
   Scroll-triggered Animations
   -------------------------------------------------------------------------- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.4s; }

/* Loading shimmer for images */
.img-loading {
  background: linear-gradient(90deg, var(--gray-200), var(--gray-100), var(--gray-200));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* --------------------------------------------------------------------------
   Global Transitions
   -------------------------------------------------------------------------- */

a,
button {
  transition: all 0.3s ease;
}

img {
  transition: transform 0.5s ease;
}

/* ==========================================================================
   Responsive — Mobile First, Then Breakpoints Up
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base (Mobile) — max-width: 767px
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 18px;
  }

  /* Hero mobile */
  .hero {
    min-height: 100vh;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 30px 16px;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }

  .stat {
    padding: 16px 24px;
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }

  .counter {
    font-size: 2.2rem;
  }

  /* Grids mobile */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* Contact mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 24px;
  }

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

  /* About mobile */
  .about-text {
    padding-right: 0;
  }

  .about-image {
    margin-top: 32px;
  }

  .about-image::before,
  .about-image::after {
    display: none;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Testimonial arrows hide on mobile */
  .slider-prev,
  .slider-next {
    display: none;
  }

  .testimonial-slide {
    padding: 20px 10px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  /* Products */
  .product-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Nav mobile handled in header part */
}

/* --------------------------------------------------------------------------
   Tablet (768px+)
   -------------------------------------------------------------------------- */

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

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

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

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

  .section {
    padding: 80px 0;
  }
}

/* --------------------------------------------------------------------------
   Desktop (1024px+)
   -------------------------------------------------------------------------- */

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

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  /* Header desktop */
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   Wide (1280px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }

  .hero-title {
    font-size: 3.8rem;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero {
    background-attachment: scroll;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header,
  .whatsapp-float,
  .back-to-top,
  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-overlay {
    background: #1E3A8A;
  }

  .section {
    padding: 30px 0;
  }

  body {
    color: #000;
  }
}
