/*
 * MAC Locações - Estilos Globais
 * Versão HTML/CSS/JS Puro
 */

/* ===========================
   CSS VARIABLES (Cores e Temas)
   =========================== */
:root {
  /* Cores Principais */
  --color-primary: #1e40af;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1e3a8a;

  --color-secondary: #f97316;
  --color-secondary-light: #fb923c;
  --color-secondary-dark: #ea580c;

  --color-accent: #0ea5e9;
  --color-accent-light: #38bdf8;
  --color-accent-dark: #0284c7;

  /* Cores Neutras */
  --color-dark: #1f2937;
  --color-gray: #6b7280;
  --color-gray-light: #9ca3af;
  --color-light: #f3f4f6;
  --color-white: #ffffff;

  /* Cores de Estado */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Fontes */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Tamanhos de Fonte */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */

  /* Espaçamentos */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;     /* 16px */
  --spacing-md: 1.5rem;   /* 24px */
  --spacing-lg: 2rem;     /* 32px */
  --spacing-xl: 3rem;     /* 48px */
  --spacing-2xl: 4rem;    /* 64px */
  --spacing-3xl: 6rem;    /* 96px */

  /* Bordas */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transições */
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 500ms;

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* ===========================
   TIPOGRAFIA
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-dark);
}

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-sm);
}

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

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

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

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

/* ===========================
   SEÇÕES
   =========================== */
section {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: var(--font-size-lg);
  text-align: center;
  margin-top: calc(var(--spacing-sm) * -1);
  margin-bottom: var(--spacing-xl);
}

/* ===========================
   BOTÕES
   =========================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-base) ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

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

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

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

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

/* ===========================
   UTILITÁRIOS
   =========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-gray { color: var(--color-gray); }
.text-white { color: var(--color-white); }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-light); }
.bg-white { background-color: var(--color-white); }

.mt-0 { margin-top: 0; }
.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-0 { margin-bottom: 0; }
.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); }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

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

/* ===========================
   ANIMAÇÕES
   =========================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.fade-in {
  animation: fadeIn var(--transition-slow) ease-in;
}

.slide-up {
  animation: slideUp var(--transition-slow) ease-out;
}

.slide-down {
  animation: slideDown var(--transition-slow) ease-out;
}

/* ===========================
   IMAGENS RESPONSIVAS
   =========================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-fluid {
  width: 100%;
  height: auto;
}

.img-rounded {
  border-radius: var(--border-radius-md);
}

.img-circle {
  border-radius: 50%;
}

/* ===========================
   OVERLAY E BACKDROP
   =========================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal-backdrop);
  display: none;
}

.overlay.active {
  display: block;
}

/* ===========================
   LOADING SPINNER
   =========================== */
.spinner {
  border: 3px solid var(--color-light);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ===========================
   MAC SPECIFIC STYLES
   =========================== */

/* Cores específicas do design - HSL corretas */
:root {
    --mac-blue: hsl(228, 47%, 17%);          /* Azul escuro navy - principal */
    --mac-blue-dark: hsl(228, 47%, 17%);     /* Azul escuro navy */
    --mac-orange: hsl(22, 93%, 57%);         /* Laranja vibrante */
    --mac-gray: hsl(215, 16%, 47%);          /* Cinza azulado */
    --mac-bg-muted: hsl(210, 40%, 96%);      /* Fundo cinza claro */
}

/* Reset adicional */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* Tipografia - Inter para títulos e textos principais, Montserrat para textos menores */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

p, .mac-section-subtitle, .mac-hero-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.btn, button, a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header customizado */
.mac-header {
    background-color: var(--mac-blue);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mac-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mac-logo img {
    height: 40px;
}

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

.mac-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.mac-nav a:hover {
    opacity: 0.8;
}

.mac-nav a.btn-home {
    background-color: var(--mac-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

/* Hero Section */
.mac-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 120px 2rem 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mac-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/hero-construction.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.mac-hero .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mac-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.mac-hero h1 .highlight {
    color: var(--mac-orange);
    text-transform: uppercase;
}

.mac-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.mac-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mac-btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
}

.mac-btn-primary {
    background-color: var(--mac-orange);
    color: white;
    border: 2px solid var(--mac-orange);
}

.mac-btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.mac-btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.mac-btn-outline:hover {
    background-color: white;
    color: var(--mac-blue);
}

/* Cards de Serviço na Hero */
.mac-hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.mac-hero-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.mac-hero-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.mac-hero-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mac-hero-card-icon svg {
    width: 60px;
    height: 60px;
}

.mac-hero-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}

.mac-hero-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

/* Seção Equipamentos */
.mac-equipamentos {
    padding: 80px 2rem;
    background-color: white;
}

.mac-equipamentos .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mac-section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.mac-section-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mac-blue-dark);
    margin-bottom: 0.5rem;
}

.mac-section-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: var(--mac-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.mac-equipamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.mac-equip-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    background-color: white;
}

.mac-equip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.mac-equip-card-image {
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.mac-equip-card-content {
    padding: 1.5rem;
}

.mac-equip-card-content.blue {
    background: linear-gradient(135deg, hsl(228, 47%, 17%) 0%, hsl(228, 47%, 12%) 100%);
    color: white;
}

.mac-equip-card-content.orange {
    background: linear-gradient(135deg, hsl(22, 93%, 57%) 0%, hsl(22, 93%, 50%) 100%);
    color: white;
}

.mac-equip-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    color: white;
}

.mac-equip-card-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
    line-height: 1.5;
    color: white;
}

.mac-equip-card-content .mac-btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.mac-equip-card-content .mac-btn-small:hover {
    background-color: white;
    color: var(--mac-blue);
}

/* Seção Blog */
.mac-blog {
    padding: 80px 2rem;
    background-color: #f9fafb;
}

.mac-blog .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mac-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mac-blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mac-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mac-blog-card-image {
    height: 240px;
    background-color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.mac-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mac-blog-card:hover .mac-blog-card-image img {
    transform: scale(1.1);
}

.mac-blog-card-date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mac-blog-card:hover .mac-blog-card-date {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95) 0%, rgba(234, 88, 12, 0.95) 100%);
}

.mac-blog-card-content {
    padding: 1.5rem;
}

.mac-blog-card-category {
    color: var(--mac-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.mac-blog-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mac-blue-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.mac-blog-card:hover .mac-blog-card-content h3 {
    color: var(--mac-orange);
}

.mac-blog-card-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--mac-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mac-blog-card-link {
    color: var(--mac-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.mac-blog-card-link:hover {
    gap: 0.75rem;
}

.mac-blog-card-link svg {
    transition: transform 0.3s ease;
}

.mac-blog-card-link:hover svg {
    transform: translateX(4px);
}

.mac-blog-more {
    text-align: center;
}

.mac-btn-dark {
    background-color: var(--mac-blue-dark);
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.mac-btn-dark:hover {
    transform: scale(1.05);
}

/* Seção Contato */
.mac-contact {
    padding: 80px 2rem;
    background-color: white;
}

.mac-contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mac-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mac-contact-item {
    text-align: center;
    padding: 2rem;
}

.mac-contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--mac-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.mac-contact-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mac-blue-dark);
    margin-bottom: 0.75rem;
}

.mac-contact-item p {
    font-family: 'Montserrat', sans-serif;
    color: var(--mac-gray);
    font-size: 0.95rem;
}

.mac-whatsapp-btn {
    text-align: center;
    margin-top: 3rem;
}

.mac-btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.mac-btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Footer */
.mac-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.mac-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.mac-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.mac-footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.mac-footer-about p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.mac-footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.mac-footer ul {
    list-style: none;
}

.mac-footer ul li {
    margin-bottom: 0.75rem;
}

.mac-footer ul li a {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.mac-footer ul li a:hover {
    color: var(--mac-orange);
}

.mac-footer-social {
    display: flex;
    gap: 1rem;
}

.mac-footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.mac-footer-social a:hover {
    background-color: var(--mac-orange);
    transform: translateY(-3px);
}

.mac-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .mac-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .mac-hero h1 {
        font-size: 2rem;
    }

    .mac-section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .mac-hero-buttons {
        flex-direction: column;
    }

    .mac-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   NEW EQUIPMENT CARDS DESIGN
   =========================== */
.mac-equip-card-new {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mac-equip-card-new:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.mac-equip-img-wrapper {
    background-color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

@media (min-width: 768px) {
    .mac-equip-img-wrapper {
        height: 220px;
        padding: 2rem 2.5rem;
    }
}

.mac-equip-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 140px;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .mac-equip-img-wrapper img {
        max-height: 180px;
    }
}

.mac-equip-card-new:hover .mac-equip-img-wrapper img {
    transform: scale(1.05);
}

.mac-equip-content-wrapper {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .mac-equip-content-wrapper {
        padding: 2rem 1.5rem;
    }
}

.mac-equip-content-wrapper.blue {
    background: linear-gradient(135deg, hsl(228, 47%, 17%) 0%, hsl(228, 47%, 12%) 100%);
}

.mac-equip-content-wrapper.orange {
    background: linear-gradient(135deg, hsl(22, 93%, 57%) 0%, hsl(22, 93%, 50%) 100%);
}

.mac-equip-content-wrapper h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin-bottom: 0.75rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .mac-equip-content-wrapper h3 {
        font-size: 1.125rem;
        min-height: 3.5rem;
    }
}

.mac-equip-content-wrapper p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .mac-equip-content-wrapper p {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }
}

.mac-equip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
}

@media (min-width: 768px) {
    .mac-equip-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

.mac-equip-btn:hover {
    background-color: white;
    color: #1f2937;
}

.mac-equip-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .mac-equip-btn svg {
        width: 16px;
        height: 16px;
    }
}

.mac-equip-btn:hover svg {
    transform: translateX(4px);
}


/* Load More Button */
#loadMoreBtn:hover {
    transform: scale(1.05);
}
