﻿/* =========================================
   VARIABLES
========================================= */

:root {
  --black: #101010;
  --panel: #171717;
  --panel-soft: #202020;

  --gold: #d6a31b;
  --gold-bright: #e8b62a;

  --paper: #f3f1e9;
  --muted: #c9c4b5;

  --line: rgba(232, 182, 42, .35);
}


/* =========================================
   RESET
========================================= */

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


html {
  scroll-behavior: smooth;
}


body {
  background: var(--black);
  color: var(--paper);

  font-family: Arial, Helvetica, sans-serif;

  line-height: 1.5;
}


body.nav-open {
  overflow: hidden;
}


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


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


/* =========================================
   CONTENEDORES
========================================= */

.container,
.nav-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;

  z-index: 50;

  background: rgba(12, 12, 12, .88);

  border-bottom: 1px solid rgba(255, 255, 255, .08);

  backdrop-filter: blur(12px);
}


.nav-shell {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}


.brand img,
.footer-logo img {
  width: 164px;
  height: 76px;

  object-fit: contain;
  object-position: left center;
}


/* =========================================
   NAVEGACION
========================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: clamp(14px, 2.1vw, 30px);
}


.main-nav a {
  color: #fff;

  font-size: .72rem;
  font-weight: 800;

  letter-spacing: .04em;

  text-transform: uppercase;
}


.main-nav a:hover,
.main-nav a.activo {
  color: var(--gold-bright);
}


/* =========================================
   MENU MOVIL
========================================= */

.menu-toggle {
  width: 44px;
  height: 44px;

  display: none;

  place-items: center;

  gap: 5px;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, .18);

  border-radius: 4px;

  cursor: pointer;
}


.menu-toggle span {
  width: 22px;
  height: 2px;

  background: var(--paper);
}


/* =========================================
   HERO
========================================= */

.hero {
  min-height: 650px;
  height: 78vh;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  isolation: isolate;

  background:
    linear-gradient(
      90deg,
      #101010 0%,
      #1a1a1a 45%,
      #2b261a 100%
    );
}


.hero-video,
.hero-shade {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}


.hero-video {
  object-fit: cover;

  z-index: 0;
}


.hero-shade {
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, .98) 0%,
      rgba(10, 10, 10, .84) 34%,
      rgba(10, 10, 10, .36) 72%
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 10, .48),
      rgba(10, 10, 10, .1) 52%,
      rgba(10, 10, 10, .72)
    );
}


.hero-content {
  position: relative;

  z-index: 2;

  width: min(1180px, calc(100% - 40px));

  margin: 58px auto 0;
}


.eyebrow {
  color: var(--gold-bright);

  font-size: .8rem;
  font-weight: 800;

  letter-spacing: .12em;

  margin-bottom: 14px;

  text-transform: uppercase;
}


.hero h1,
section h2 {
  font-family:
    Impact,
    "Arial Black",
    Arial,
    sans-serif;

  font-weight: 800;

  line-height: .9;

  text-transform: uppercase;
}


.hero h1 {
  max-width: 620px;

  font-size: clamp(3.4rem, 8vw, 7.8rem);

  letter-spacing: .01em;
}


.hero h1 span {
  display: block;

  color: var(--gold-bright);
}


.hero-copy {
  max-width: 470px;

  margin: 26px 0 34px;

  color: #fff;

  font-size: clamp(1rem, 1.8vw, 1.35rem);
}


.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;
}


/* =========================================
   BOTONES
========================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 0 28px;

  border: 2px solid transparent;

  border-radius: 4px;

  font-size: .76rem;
  font-weight: 900;

  letter-spacing: .04em;

  text-transform: uppercase;

  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}


.btn:hover {
  transform: translateY(-2px);
}


.btn-primary {
  background: var(--gold-bright);

  color: #111;
}


.btn-outline {
  border-color: var(--gold-bright);

  color: #fff;
}


.btn-outline:hover {
  background: var(--gold-bright);

  color: #111;
}


.btn-dark {
  background: #111;

  color: #fff;
}


/* =========================================
   CONTROL VIDEO
========================================= */

.video-control {
  position: absolute;

  right: 24px;
  bottom: 24px;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  min-height: 38px;

  padding: 0 16px;

  background: rgba(0, 0, 0, .58);

  color: #fff;

  border: 1px solid rgba(255, 255, 255, .2);

  border-radius: 999px;

  font:
    800 .68rem Arial,
    Helvetica,
    sans-serif;

  letter-spacing: .08em;

  text-transform: uppercase;

  cursor: pointer;
}


.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--gold-bright);
}


/* =========================================
   SERVICIOS
========================================= */

.services-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(214, 163, 27, .12),
      transparent 34%
    ),
    var(--panel);

  padding: 34px 0 42px;
}


.services-section h2 {
  text-align: center;

  font-size: clamp(2rem, 4vw, 3rem);

  margin-bottom: 24px;

  color: var(--paper);
}


/*
   IMPORTANTE:

   En escritorio:
   6 tarjetas en una sola fila.
*/

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 14px;
}


/* =========================================
   TARJETAS DE SERVICIOS
========================================= */

.service-card {
  min-height: 226px;

  padding: 22px 16px;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  border: 1px solid var(--line);

  border-radius: 6px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .035),
      rgba(255, 255, 255, .01)
    );

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}


.service-card:hover {
  transform: translateY(-4px);

  border-color: var(--gold-bright);

  background:
    linear-gradient(
      180deg,
      rgba(232, 182, 42, .08),
      rgba(255, 255, 255, .02)
    );
}


/* =========================================
   ICONOS
========================================= */

.service-icon {
  width: 58px;
  height: 58px;

  object-fit: contain;

  margin-bottom: 14px;
}


/* =========================================
   TITULOS DE SERVICIOS
========================================= */

.service-card h3 {
  min-height: 44px;

  margin: 0 0 8px;

  color: #fff;

  font-size: .82rem;

  font-weight: 900;

  line-height: 1.2;

  text-transform: uppercase;
}


/* =========================================
   DESCRIPCIONES
========================================= */

.service-card p {
  color: var(--muted);

  font-size: .78rem;

  line-height: 1.45;
}


/* =========================================
   NOSOTROS
========================================= */

.about-section {
  background: var(--gold);

  color: #121212;
}


.about-grid {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  display: grid;

  grid-template-columns: .92fr 1.38fr;

  gap: 40px;

  align-items: stretch;

  padding: 28px 0;
}


.about-copy {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 22px 0;
}


.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}


.about-copy ul {
  list-style: none;

  margin: 20px 0 28px;
}


.about-copy li {
  display: flex;

  align-items: center;

  gap: 12px;

  margin: 9px 0;

  font-size: .96rem;

  font-weight: 700;
}


.about-copy li::before {
  content: "✓";

  width: 22px;
  height: 22px;

  display: inline-grid;

  place-items: center;

  flex: 0 0 22px;

  background: #111;

  color: var(--gold-bright);

  border-radius: 50%;

  font-size: .78rem;

  font-weight: 900;
}


.about-image {
  min-height: 270px;

  background:
    url("assets/Casco.png")
    center / cover
    no-repeat;

  border-radius: 2px;

  box-shadow:
    0 18px 36px
    rgba(0, 0, 0, .22);
}


/* =========================================
   RENTA
========================================= */

.rental-section {
  padding: 64px 0;

  background:
    linear-gradient(
      180deg,
      #101010 0%,
      #151515 100%
    );
}


.rental-grid {
  display: grid;

  grid-template-columns: 1fr .9fr;

  gap: 46px;

  align-items: center;
}


.rental-section h2 {
  font-family:
    "Arial Black",
    Arial,
    Helvetica,
    sans-serif;

  font-size: clamp(1.9rem, 3.8vw, 2.85rem);

  font-weight: 800;

  line-height: 1.02;
}


.rental-section p:not(.eyebrow) {
  max-width: 560px;

  margin-top: 16px;

  color: var(--muted);

  font-size: 1.04rem;
}


.rental-points {
  display: grid;

  gap: 12px;
}


.rental-points span {
  padding: 16px 18px;

  border-left: 5px solid var(--gold-bright);

  background: rgba(255, 255, 255, .055);

  font-weight: 800;

  text-transform: uppercase;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 30px 0;

  background: #141414;

  border-top:
    1px solid
    rgba(255, 255, 255, .08);
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1.15fr 1fr 1fr auto;

  gap: 28px;

  align-items: center;
}


.contact-block small {
  color: var(--gold-bright);

  display: block;

  font-size: .72rem;

  margin-bottom: 6px;
}


.contact-block strong {
  display: block;

  font-size: .82rem;

  text-transform: uppercase;
}


/* =========================================
   REDES SOCIALES
========================================= */

.socials {
  display: flex;

  gap: 10px;
}


.socials a {
  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  background: var(--paper);

  color: #111;

  border-radius: 50%;

  font-size: .72rem;

  font-weight: 900;

  text-transform: uppercase;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 980px) {

  /*
     3 columnas en tablet
  */

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


  .about-grid,
  .rental-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    text-align: center;

    justify-items: center;
  }

}


/* =========================================
   MOVIL
========================================= */

@media (max-width: 760px) {

  .container,
  .nav-shell,
  .hero-content,
  .about-grid {
    width: min(100% - 28px, 1180px);
  }


  /* HEADER */

  .nav-shell {
    min-height: 72px;
  }


  .brand img {
    width: 126px;
    height: 58px;
  }


  .menu-toggle {
    display: inline-grid;
  }


  .main-nav {
    position: fixed;

    top: 72px;

    left: 0;
    right: 0;

    display: grid;

    gap: 0;

    background:
      rgba(16, 16, 16, .98);

    border-top:
      1px solid
      rgba(255, 255, 255, .08);

    transform:
      translateY(-120%);

    transition:
      transform .25s ease;
  }


  .main-nav.abierto {
    transform:
      translateY(0);
  }


  .main-nav a {
    padding: 18px 24px;

    border-bottom:
      1px solid
      rgba(255, 255, 255, .08);

    font-size: .88rem;
  }


  /* HERO */

  .hero {
    min-height: 610px;

    height: auto;

    align-items: flex-end;

    padding: 110px 0 72px;
  }


  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(10, 10, 10, .7),
        rgba(10, 10, 10, .35) 34%,
        rgba(10, 10, 10, .95) 100%
      ),
      linear-gradient(
        90deg,
        rgba(10, 10, 10, .86),
        rgba(10, 10, 10, .3)
      );
  }


  .hero-content {
    margin-top: 0;
  }


  .hero h1 {
    font-size:
      clamp(2.55rem, 13.2vw, 4.4rem);
  }


  .hero-actions,
  .btn {
    width: 100%;
  }


  .video-control {
    right: 14px;

    bottom: 14px;
  }


  /* SERVICIOS */

  .services-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }


  .service-card {
    min-height: auto;

    flex-direction: row;

    align-items: center;

    text-align: left;

    gap: 16px;

    padding: 16px;

    background: var(--panel-soft);

    border-radius: 10px;
  }


  .service-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    margin-bottom: 0;
  }


  .service-card h3 {
    min-height: auto;

    margin: 0 0 4px;
  }


  /* NOSOTROS */

  .about-grid {
    gap: 22px;

    padding: 24px 0;
  }


  .about-image {
    min-height: 220px;

    background-size: cover;

    background-position: center;
  }

}


/* =========================================
   MOVILES PEQUEÑOS
========================================= */

@media (max-width: 480px) {

  .services-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }


  .service-card {
    min-height: auto;

    flex-direction: row;

    align-items: center;

    text-align: left;

    gap: 16px;

    padding: 16px;

    background: var(--panel-soft);

    border-radius: 10px;
  }


  .service-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    margin-bottom: 0;
  }


  .service-card h3 {
    min-height: auto;

    margin: 0 0 4px;
  }


  .hero-copy {
    font-size: 1rem;
  }


  .about-copy li {
    align-items: flex-start;
  }

}
