/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
  --background: #ffffff;
  --foreground: #1a1a1a;

  --card: #ffffff;
  --card-foreground: #1a1a1a;

  --primary: hsl(239, 55%, 35%);
  --primary-foreground: #ffffff;

  --secondary: hsl(41, 86%, 50%);
  --secondary-foreground: #1a1a1a;

  --muted: hsl(220, 20%, 96%);
  --muted-foreground: hsl(220, 10%, 40%);

  --accent: hsl(46, 97%, 54%);
  --accent-foreground: #1a1a1a;

  --border: hsl(220, 13%, 91%);

  --primary-dark: hsl(239, 60%, 28%);

  --radius: 0.5rem;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;500;600;700;800;900&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-shadow-hero {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
}

.navbar-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--secondary);
  cursor: pointer;
  border: none;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.6);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--secondary);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta:hover {
  opacity: 0.9;
  filter: brightness(0.95);
}

.btn-cta-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-cta-primary:hover {
  background-color: var(--primary-dark);
}

.btn-cta-lg {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn-cta-lg:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Mobile toggle */
.mobile-toggle {
  display: block;
  color: var(--primary-foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a,
.mobile-menu button.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button.mobile-nav-link:hover {
  color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu .mobile-cta {
  padding: 0.5rem 1.5rem;
}

.mobile-menu .mobile-cta a.btn-cta {
  width: 100%;
  justify-content: center;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  display: flex;
  text-align: center;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-color: var(--primary);
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-pattern-inner {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(255, 255, 255, 0.05) 35px,
    rgba(255, 255, 255, 0.05) 70px
  );
}

.hero-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--secondary);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.hero-content-inner {
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--secondary);
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.7;
}

/* ===== EQUIPMENT SECTION ===== */
.equipment-section {
  padding: 5rem 0;
  background-color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header-line {
  width: 4rem;
  height: 4px;
  background-color: var(--secondary);
  margin: 0 auto 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.equipment-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.equipment-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.equipment-card-img {
  height: 11rem;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s;
}

.equipment-card:hover .equipment-card-img img {
  transform: scale(1.05);
}

.equipment-card-body {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.equipment-card-body h4 {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.equipment-card-body p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.equipment-card-body .btn-equipment {
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-equipment a {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s;
}

.btn-equipment a:hover {
  filter: brightness(0.95);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.about-text h2 span {
  color: var(--primary);
}

.about-text-line {
  width: 4rem;
  height: 4px;
  background-color: var(--secondary);
  margin-bottom: 1.5rem;
}

.about-text .about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text .about-paragraphs p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-mission {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--secondary);
  background-color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-mission h3 {
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.about-mission p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.differential-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.differential-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.differential-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  background-color: rgba(42, 37, 122, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.differential-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.differential-card h3 {
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.differential-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: var(--secondary);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(26, 26, 26, 0.8);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-dark);
  color: var(--primary-foreground);
}

.footer-inner {
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--secondary);
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.6);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contacts a,
.footer-contacts .footer-address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s;
}

.footer-contacts .footer-address {
  align-items: flex-start;
}

.footer-contacts a:hover {
  color: var(--secondary);
}

.footer-contacts svg {
  width: 1rem;
  height: 1rem;
  color: var(--secondary);
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-contacts .footer-address svg {
  margin-top: 0.125rem;
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 16rem;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background-color: #22c55e;
  color: #fff;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  background-color: #16a34a;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ===== RESPONSIVE ===== */

/* Tablets */
@media (min-width: 640px) {
  .equipment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium screens */
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .navbar-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-desc {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }

  .about-text h2 {
    font-size: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map {
    height: auto;
  }

  .cta-section h2 {
    font-size: 1.875rem;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }

  .equipment-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}
