:root {
  --white: #ffffff;
  --text: rgba(255,255,255,.72);
  --muted: rgba(255,255,255,.45);
  --bg: #0a0a0b;
  --bg-2: #111113;
  --card: #151518;
  --line: rgba(255,255,255,.08);
  --accent: #e10600;
  --wa: #25d366;
  --display: "Stop", "Arial Black", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

strong {
  color: var(--white);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  opacity: 0;
  animation: fade 1s 1.2s forwards;
}

.nav.is-scrolled {
  background: rgba(10,10,11,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: .9rem;
  padding-bottom: .9rem;
  border-color: var(--line);
}

.nav__brand {
  display: block;
  width: 170px;
  line-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}

.nav.is-scrolled .nav__brand {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav__links a {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 101;
}

.nav__toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s, top .3s;
}

.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 11px; }
.nav__toggle span:nth-child(3) { top: 20px; }

.nav.is-open .nav__toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../main_background.jpg") center / cover no-repeat;
  transform: scale(1.08);
  animation: slowZoom 20s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 40%, rgba(10,10,11,1) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.logo {
  margin: 0 auto;
  width: min(80vw, 820px);
  line-height: 0;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
  opacity: 0;
  animation: fadeUp 1.2s .3s ease-out forwards;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tagline {
  margin-top: 1.25rem;
  font-size: clamp(.7rem, 1.6vw, 1rem);
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  opacity: 0;
  animation: fadeUp 1.2s .8s ease-out forwards;
}

.tagline::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: var(--accent);
}

.scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 14px;
  opacity: 0;
  animation: fade 1s 1.6s forwards;
}

.scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: wheel 1.8s infinite;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.section--dark {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.title {
  font-family: var(--display);
  font-weight: normal;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--white);
  text-transform: uppercase;
}

.lead {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.split p + p {
  margin-top: 1.1rem;
}

/* Stat */
.stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.stat__num {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 1;
  color: var(--accent);
}

.stat__label {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--white);
}

/* ---------- QUOTE ---------- */
.quote {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) 0;
  text-align: center;
  overflow: hidden;
}

.quote__bg {
  position: absolute;
  inset: 0;
  background: url("../back_porsche.jpg") center 65% / cover no-repeat fixed;
  filter: grayscale(.4);
}

.quote__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,.78);
}

.quote blockquote {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.8vw, 2.9rem);
  line-height: 1.3;
  color: var(--white);
  text-transform: uppercase;
}

.quote blockquote span {
  color: var(--accent);
}

/* ---------- SERVICES GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  background: var(--bg);
  padding: 2.25rem 2rem 2.5rem;
  transition: background .35s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width .45s ease;
}

.card:hover {
  background: var(--card);
}

.card:hover::before {
  width: 100%;
}

.card__num {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .5rem;
}

.card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- GAINS ---------- */
.gains {
  display: grid;
  gap: 1rem;
}

.gain {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  transition: border-color .3s;
}

.gain:hover {
  border-left-color: var(--accent);
}

.gain--hot {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(225,6,0,.12), transparent 70%), var(--bg);
}

.gain__num {
  min-width: 5.5ch;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--white);
}

.gain__num small {
  font-size: .5em;
  color: var(--accent);
}

.gain__label {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.6;
}

.gain__label em {
  font-style: normal;
  color: var(--muted);
  letter-spacing: .1em;
}

/* ---------- TAGS ---------- */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}

.tags li {
  padding: .5rem 1rem;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}

/* ---------- CONTACT ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact__item {
  display: block;
  padding: 1.6rem 2rem;
  background: var(--bg);
  transition: background .3s;
}

.contact__item:hover {
  background: var(--card);
}

.contact__label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

.contact__item--wa .contact__label {
  color: var(--wa);
}

.contact__value {
  display: block;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.5;
  word-break: break-word;
}

.section__head--map {
  margin-top: clamp(4rem, 8vw, 6rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.contact__map {
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.9);
}

/* ---------- FORM ---------- */
.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg);
  border: 1px solid var(--line);
}

.form__title {
  font-family: var(--display);
  font-weight: normal;
  font-size: 1.4rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: vertical;
}

.field input::placeholder {
  color: rgba(255,255,255,.25);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--card);
}

.form__honey {
  display: none;
}

.btn {
  justify-self: start;
  padding: 1rem 2.25rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

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

.btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.form__status {
  font-size: .95rem;
  min-height: 1.5em;
}

.form__status.is-ok { color: #3ddc84; }
.form__status.is-error { color: #ff5a52; }

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wa);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .25s;
  animation: fade 1s 2s both;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.footer__logo {
  width: 180px;
  opacity: .9;
  margin-bottom: 1.25rem;
}

.footer p {
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- ANIMATIONS ---------- */
@keyframes slowZoom {
  to { transform: scale(1); }
}

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

@keyframes fade {
  to { opacity: 1; }
}

@keyframes wheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(10,10,11,.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }

  .nav__links a {
    font-size: 1rem;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
  }

  .nav.is-open .nav__brand {
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 101;
  }

  /* fixed backgrounds no funcionan bien en celulares */
  .quote__bg {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .tagline {
    letter-spacing: .25em;
  }

  .nav__brand {
    width: 140px;
  }

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

  .btn {
    justify-self: stretch;
  }

  .gain {
    padding: 1.5rem;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
  }
}

