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

/* ===== CSS VARIABLES ===== */
:root {
  --background: #ffffff;
  --foreground: #141414;
  --card: #ffffff;
  --card-foreground: #141414;
  --primary: #cc1a22;
  --primary-hover: #b8171e;
  --primary-foreground: #ffffff;
  --secondary: #141414;
  --secondary-foreground: #ffffff;
  --muted: #f2f2f2;
  --muted-foreground: #666666;
  --border: #e6e6e6;
  --surface-dark: #141414;
  --surface-dark-foreground: #f2f2f2;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

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

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

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

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 2px solid var(--primary);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header__logo img {
  height: 7rem;
}

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

.header__nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.header__cta-wrap {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

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

.btn-primary--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.btn-primary--lg:hover {
  transform: scale(1.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--secondary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
  cursor: pointer;
}

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

/* Mobile menu toggle */
.header__menu-btn {
  display: flex;
  background: none;
  border: none;
  color: var(--secondary-foreground);
  cursor: pointer;
  padding: 0.25rem;
}

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

/* Mobile menu */
.header__mobile {
  display: none;
  background-color: var(--secondary);
  border-top: 1px solid rgba(204, 26, 34, 0.2);
  padding: 1rem;
}

.header__mobile.active {
  display: block;
}

.header__mobile a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

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

.header__mobile .btn-primary {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../assets/hero-banner.jpeg');
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 20, 20, 0.8);
}

.hero__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--secondary), transparent);
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 4rem;
}

.hero__tag {
  font-family: var(--font-display);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 1s infinite;
}

.hero__scroll svg {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-0.5rem); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 5rem 0;
}

.section__tag {
  font-family: var(--font-display);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section__bar {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 1rem auto 0;
}

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

/* ===== EQUIPMENT ===== */
.equipment {
  background-color: var(--background);
}

.equipment__grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.equipment-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  display: grid;
  grid-template-rows: auto 1fr;
}

.equipment-card:hover {
  border-color: rgba(204, 26, 34, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.equipment-card__img {
  overflow: hidden;
  height: 16rem;
}

.equipment-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.equipment-card:hover .equipment-card__img img {
  transform: scale(1.05);
}

.equipment-card__body {
  padding: 1.5rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
}

.equipment-card__name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.equipment-card__desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.equipment-card__specs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: var(--muted);
  color: var(--foreground);
  padding: 0.3rem 0.25rem;
  border-radius: var(--radius);
  white-space: nowrap;
  text-align: center;
}

.spec-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

.equipment-card__cta {
  display: block;
  text-align: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  transition: background-color 0.2s;
  align-self: end;
}

.equipment-card__cta:hover {
  background-color: var(--primary-hover);
}

/* ===== EQUIPMENT DETAILS ===== */
.equipment-card__details {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.equipment-card__details h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.equipment-card__details h4:not(:first-child) {
  margin-top: 1rem;
}

.equipment-card__details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-card__details li {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.5;
}

.equipment-card__details li:last-child {
  border-bottom: none;
}

.equipment-card__details li strong {
  color: var(--foreground);
}

.equipment-card__details--hidden {
  display: none;
}

.equipment-card__details--hidden.open {
  display: block;
}

.equipment-card__toggle {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  align-self: end;
  padding: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: background-color 0.2s, color 0.2s;
}

.equipment-card__toggle:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* ===== ABOUT ===== */
.about {
  background-color: var(--surface-dark);
  color: var(--surface-dark-foreground);
}

.about .section__title {
  color: var(--surface-dark-foreground);
}

.about__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 242, 242, 0.1);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(204, 26, 34, 0.5);
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(204, 26, 34, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background-color 0.2s;
}

.feature-card:hover .feature-card__icon {
  background-color: rgba(204, 26, 34, 0.2);
}

.feature-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--surface-dark-foreground);
}

.feature-card__desc {
  color: rgba(242, 242, 242, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
  background-color: var(--background);
}

.contact__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.contact-item:hover {
  border-color: rgba(204, 26, 34, 0.5);
}

.contact-item__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(204, 26, 34, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.contact-item:hover .contact-item__icon {
  background-color: rgba(204, 26, 34, 0.2);
}

.contact-item__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-item__label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--foreground);
}

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

.contact__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== LOCATION ===== */
.location {
  background-color: rgba(242, 242, 242, 0.3);
}

.location__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.location__address svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.location__address p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.location__address:hover p {
  color: var(--primary);
}

.location__map {
  max-width: 56rem;
  margin: 0 auto;
}

.location__map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.location__map-frame iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary);
  padding: 2rem 0;
  border-top: 2px solid var(--primary);
}

.footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo img {
  height: 7rem;
  margin-bottom: 0.5rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__privacy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer__privacy:hover {
  color: var(--primary);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  fill: #fff;
  stroke: none;
}

/* ===== SVG ICONS (inline) ===== */
.icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

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

  .hero__tag {
    font-size: 1rem;
  }
}

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

  .header__cta-wrap {
    display: flex;
  }

  .header__menu-btn {
    display: none;
  }

  .hero__title {
    font-size: 3.75rem;
  }

  .section__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }
}

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