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

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

:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(216, 28%, 7%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(216, 28%, 7%);
  --primary: #0f103c;
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(240, 40%, 94%);
  --accent: #f9b233;
  --accent-foreground: hsl(216, 28%, 7%);
  --muted-foreground: hsl(216, 12%, 46%);
  --border: hsl(214, 20%, 90%);
  --surface-dark: #0f103c;
  --surface-dark-foreground: hsl(0, 0%, 100%);
  --highlight: #f9b233;
  --whatsapp: hsl(142, 70%, 42%);
  --whatsapp-hover: hsl(142, 70%, 36%);
  --radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* SVG icon base */
.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon svg {
  display: block;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--surface-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-topbar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-topbar a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.header-topbar a:hover {
  color: var(--primary-foreground);
}

.header-topbar span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

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

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.2s;
}

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

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-menu-btn {
  display: flex;
  color: var(--primary-foreground);
}

.header-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

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

.mobile-menu a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu .btn-whatsapp {
  width: 100%;
  margin-top: 0.75rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn svg {
  pointer-events: none;
  flex-shrink: 0;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-hero {
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  height: 5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.375rem;
}

.btn-hero:hover {
  filter: brightness(1.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
  backdrop-filter: blur(4px);
  height: 5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.375rem;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp-xl {
  background-color: var(--whatsapp);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.375rem;
}

.btn-whatsapp-xl:hover {
  background-color: var(--whatsapp-hover);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 16, 60, 0.9), rgba(15, 16, 60, 0.7));
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 178, 51, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(249, 178, 51, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
}

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

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 32rem;
}

.hero-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-value.white {
  color: var(--primary-foreground);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ===== HIGHLIGHT BANNER ===== */
.highlight-banner {
  background: linear-gradient(135deg, var(--surface-dark), #1a1b4a);
  padding: 2rem 0;
  border-bottom: 3px solid var(--accent);
}

.highlight-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.highlight-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.highlight-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.highlight-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.highlight-price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight-price-prefix {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-price-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.highlight-price-value span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.btn-highlight {
  background-color: var(--whatsapp);
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-highlight:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@media (min-width: 768px) {
  .highlight-banner-inner {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    text-align: left;
  }

  .highlight-price {
    align-items: flex-start;
  }
}

/* ===== EQUIPMENT SECTION ===== */
.equipment {
  padding: 5rem 0;
  background-color: var(--background);
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.75rem;
}

.section-description {
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.equipment-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Category tabs wrapper */
.category-tabs-wrapper {
  position: relative;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.category-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.25rem 0 1rem;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

/* Scroll arrows */
.tabs-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 0.5rem));
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--surface-dark);
  border: 1px solid var(--accent);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.tabs-arrow:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 16px rgba(249, 178, 51, 0.4);
}

.tabs-arrow.visible {
  display: flex;
}

.tabs-arrow-left {
  left: -0.5rem;
}

.tabs-arrow-right {
  right: -0.5rem;
}

/* Fade edges */
.category-tabs-wrapper::before,
.category-tabs-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 1rem;
  width: 3rem;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.category-tabs-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.category-tabs-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.category-tabs-wrapper.fade-left::before {
  opacity: 1;
}

.category-tabs-wrapper.fade-right::after {
  opacity: 1;
}

.category-tab {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.category-tab:hover {
  border-color: rgba(249, 178, 51, 0.5);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
  background-color: var(--surface-dark);
  color: var(--primary-foreground);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(249, 178, 51, 0.3);
}

/* Category detail */
.category-detail {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.category-detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.category-detail-image img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
}

.category-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.category-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  padding: 0.375rem 0;
}

.category-items li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

.category-cta:hover {
  color: var(--accent);
}

/* ===== DIFFERENTIALS SECTION ===== */
.differentials {
  padding: 5rem 0;
  background-color: var(--surface-dark);
  color: var(--surface-dark-foreground);
}

.differentials .section-label {
  color: var(--accent);
}

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

.differentials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.differentials-grid {
  display: grid;
  gap: 1.5rem;
}

.differential-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.differential-card:hover {
  border-color: rgba(249, 178, 51, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
}

.differential-icon {
  width: 3.5rem;
  height: 5rem;
  border-radius: 0.75rem;
  background-color: rgba(249, 178, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.2s;
}

.differential-card:hover .differential-icon {
  background-color: rgba(249, 178, 51, 0.25);
}

.differential-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.differential-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.differential-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.625;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 5rem 0;
  background-color: var(--background);
}

.contact-wrapper {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  margin-bottom: 3rem;
}

.contact-header .section-description {
  max-width: 36rem;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

a.contact-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(249, 178, 51, 0.3);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(249, 178, 51, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.contact-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--foreground);
}

.contact-card-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--surface-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.625;
  margin-top: 1rem;
}

.footer-about img {
  height: 5rem;
  width: auto;
}

.footer-nav-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-foreground);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-nav a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-cta:hover {
  color: rgba(249, 178, 51, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

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

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

@media (min-width: 768px) {
  .header-topbar {
    display: flex;
  }

  .header-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .header-menu-btn {
    display: none;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-stat-value {
    font-size: 2.25rem;
  }

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

  .equipment {
    padding: 7rem 0;
  }

  .differentials {
    padding: 7rem 0;
  }

  .contact {
    padding: 7rem 0;
  }

  .category-detail {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }

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