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

:root {
  --rojo:        #CC0000;
  --rojo-dark:   #A30000;
  --rojo-light:  #E8000010;
  --negro:       #0D0D0D;
  --gris-900:    #1A1A1A;
  --gris-700:    #3D3D3D;
  --gris-400:    #8C8C8C;
  --gris-200:    #E0E0E0;
  --gris-100:    #F4F4F4;
  --blanco:      #FFFFFF;
  --acento:      #E8A000;
  --radius:      4px;
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gris-900);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
  text-transform: uppercase;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--rojo);
  color: var(--blanco);
  border-color: var(--rojo);
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.35);
}

.btn--primary:hover {
  background: var(--rojo-dark);
  border-color: var(--rojo-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.45);
}

.btn--outline-white {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

.btn--outline {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--rojo);
  color: var(--rojo);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn--outline:hover {
  background: var(--rojo);
  color: var(--blanco);
}

.btn--outline--wa {
  border-color: #25D366;
  color: #25D366;
}

.btn--outline--wa:hover {
  background: #25D366;
  color: var(--blanco);
}

/* ===== Section Shared ===== */
.section__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rojo);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.section__eyebrow::after {
  content: '';
  flex: 0 0 40px;
  height: 2px;
  background: var(--rojo);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--negro);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* ===== Topbar ===== */
.topbar {
  background: var(--negro);
  color: var(--gris-400);
  font-size: 12px;
  padding: 7px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar a {
  color: var(--gris-400);
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--blanco);
}

/* ===== Header ===== */
.header {
  background: var(--blanco);
  border-bottom: 3px solid var(--rojo);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.header__logo-box {
  background: var(--rojo);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.header__logo-top {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header__logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header__logo-line {
  width: 22px;
  height: 3px;
  margin-top: 3px;
  background: linear-gradient(to right, #fff 33%, var(--acento) 33%, var(--acento) 66%, #fff 66%);
  opacity: 0.5;
}

.header__search {
  flex: 1;
  max-width: 500px;
  display: flex;
  border: 2px solid var(--gris-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.header__search input {
  flex: 1;
  padding: 9px 14px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
}

.header__search button {
  background: var(--rojo);
  border: none;
  cursor: pointer;
  padding: 0 16px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.header__search button:hover {
  background: var(--rojo-dark);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.header__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--gris-700);
  padding: 8px 11px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.header__link:hover {
  color: var(--rojo);
  background: rgba(204, 0, 0, 0.06);
}

.header__cta {
  padding: 10px 20px;
  font-size: 0.85rem;
  margin-left: 6px;
  white-space: nowrap;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--negro);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--negro);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(13, 13, 13, 0.93) 0%,
    rgba(13, 13, 13, 0.55) 55%,
    rgba(13, 13, 13, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 0 80px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: heroIn 0.7s ease-out both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rojo);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
  width: fit-content;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--acento);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

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

.hero__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 460px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
}

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

.hero__stat {
  padding: 14px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--rojo);
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ===== Announcement Bar ===== */
.announce {
  background: var(--acento);
  padding: 10px 0;
  text-align: center;
}

.announce p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--negro);
}

.announce strong {
  color: var(--rojo);
}

/* ===== Categories ===== */
.categories {
  padding: 64px 0;
}

.categories__header {
  margin-bottom: 36px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.categories__card {
  background: var(--gris-100);
  border: 1px solid var(--gris-200);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.categories__card:hover {
  border-color: var(--rojo);
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.12);
  transform: translateY(-3px);
}

.categories__icon {
  width: 48px;
  height: 48px;
}

.categories__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gris-900);
  line-height: 1.2;
}

/* ===== Value Proposition ===== */
.value {
  background: var(--gris-100);
  padding: 64px 0;
}

.value__header {
  margin-bottom: 36px;
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value__card {
  background: var(--blanco);
  border-radius: var(--radius);
  border-left: 4px solid var(--rojo);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--rojo);
}

.value__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--negro);
  margin-bottom: 10px;
}

.value__desc {
  font-size: 15px;
  color: var(--gris-700);
  line-height: 1.65;
}

/* ===== Contact ===== */
.contact {
  padding: 64px 0;
  background: var(--blanco);
}

.contact__header {
  margin-bottom: 36px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact__card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gris-200);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact__card-header {
  background: var(--negro);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__card-header svg {
  flex-shrink: 0;
}

.contact__card-header span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blanco);
}

.contact__card-body {
  padding: 20px;
  background: var(--blanco);
}

.contact__main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--negro);
  margin-bottom: 6px;
  line-height: 1.1;
}

.contact__main--sm {
  font-size: 18px;
}

.contact__sub {
  font-size: 13px;
  color: var(--gris-400);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ===== Location ===== */
.location {
  padding: 64px 0;
  background: var(--gris-100);
}

.location__header {
  margin-bottom: 36px;
}

.location__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.location__grid iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

.location__info {
  background: var(--gris-900);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.location__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--blanco);
  letter-spacing: 0.02em;
}

.location__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.location__icon-box {
  width: 36px;
  height: 36px;
  background: var(--rojo);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.location__icon-box svg {
  width: 18px;
  height: 18px;
  color: var(--blanco);
}

.location__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 4px;
}

.location__value {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.location__value a {
  color: rgba(255, 255, 255, 0.82);
}

.location__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Footer ===== */
.footer {
  background: var(--negro);
  border-top: 3px solid var(--rojo);
}

.footer__grid {
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__logo-box {
  background: var(--rojo);
  padding: 8px 14px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.footer__logo-top {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: 13px;
  color: var(--gris-400);
  line-height: 1.6;
  max-width: 220px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social-link:hover {
  border-color: var(--rojo);
  background: rgba(204, 0, 0, 0.1);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  color: var(--gris-400);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blanco);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul li a {
  font-size: 13px;
  color: var(--gris-400);
  transition: color 0.2s;
}

.footer__col ul li a:hover {
  color: var(--blanco);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--gris-400);
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .topbar__inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .topbar__right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .header__search {
    display: none;
  }

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

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

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

  .contact__card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .location__grid iframe {
    height: 300px;
  }

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

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--negro);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 48px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  }

  .header__nav.open {
    right: 0;
  }

  .header__link {
    font-size: 1.15rem;
    color: var(--blanco);
  }

  .hero {
    height: auto;
    min-height: 480px;
  }

  .hero__content {
    padding: 60px 24px 100px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .hero__stat {
    padding: 10px 12px;
  }

  .hero__stat-number {
    font-size: 22px;
  }

  .announce p {
    font-size: 12px;
    padding: 0 16px;
  }

  .categories,
  .value,
  .contact,
  .location {
    padding: 48px 0;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .value__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .contact__card:last-child {
    max-width: none;
  }

  .location__info {
    padding: 28px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__social {
    justify-content: center;
  }
}
