:root {
  --red: #b81d1d;
  --red-hover: #931515;
  --red-light: #ff7a7a;
  --black: #121316;
  --dark-card: #1c1e24;
  --gray-bg: #f3f4f6;
  --white: #ffffff;
  --text: #111827;
  --muted: #374151;
}

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

html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
}

body {
  line-height: 1.6;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 3px;
}

/* Top Bar & Navigation */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid #e5e7eb;
  padding: 0.7rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a:not(.top-call-btn) {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.main-nav a:not(.top-call-btn):hover {
  color: var(--red);
}

.top-call-btn {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.top-call-btn:hover {
  background: var(--red-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
}

/* Hero con Video Animado */
.hero-compact {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  min-height: 82vh;
  min-height: 82svh;
  padding: clamp(5rem, 8vh, 7rem) 0;
}

@media (max-width: 1024px) {
  .hero-compact {
    min-height: 78vh;
    min-height: 78svh;
    padding: clamp(4rem, 7vh, 6rem) 0;
  }
}

@media (max-width: 600px) {
  .hero-compact {
    min-height: 76vh;
    min-height: 76svh;
    padding: clamp(3.5rem, 8vh, 5rem) 0;
  }

  .hero-identity {
    margin-bottom: 1.2rem;
  }

  .hero-compact h1 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .hero-compact p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-btns a {
    width: min(100%, 21rem);
    text-align: center;
  }
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 14, 18, 0.86) 0%,
    rgba(18, 20, 26, 0.72) 100%
  );
}

.hero-compact-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.6px;
  color: #fde68a;
  margin-bottom: 0.85rem;
}

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 1.4rem;
}

.hero-brand-name {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1.7px;
  line-height: 1.3;
}

.hero-trade {
  color: #f3f4f6;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.35px;
}

.hero-business {
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
}

.hero-credibility {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  letter-spacing: 0.2px;
}

.hero-compact h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  line-height: 1.12;
  margin-bottom: 1.15rem;
}

.hero-compact p {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #f3f4f6;
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-btns,
.closing-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  padding: 0.95rem 1.65rem;
  border-radius: 3px;
  transition: background 0.2s ease;
}

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

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  padding: 0.85rem 1.55rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* Red Service Ribbon */
.red-ribbon {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  padding: 0.95rem 1rem;
}

/* What We Do */
#services.what-we-do {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0;
  background: #17191e;
  color: #f5f2ec;
}

#services .services-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

#services .services-copy {
  min-width: 0;
}

#services .section-tag {
  color: #ff7a7a;
  margin-bottom: 0.8rem;
}

#services h2 {
  max-width: 650px;
  color: #f5f2ec;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

#services .section-intro {
  max-width: 650px;
  color: #d2d0cc;
  margin-bottom: 2rem;
}

#services .services-list {
  border-top: 1px solid rgba(245, 242, 236, 0.24);
}

#services .service-item {
  display: block;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(245, 242, 236, 0.24);
}

#services .service-item > div {
  min-width: 0;
}

#services .service-item h3 {
  margin-bottom: 0.35rem;
  color: #f5f2ec;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

#services .service-item p {
  color: #c7c5c1;
  font-size: 0.94rem;
  line-height: 1.65;
}

.section-tag {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1.6px;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.what-we-do h2,
.gallery-section h2,
.about-compact h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  color: var(--text);
  margin-bottom: 0.85rem;
}

#services .services-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 6px;
  background: #292b30;
}

#services .services-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.94);
}

#services .services-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(23, 25, 29, 0.30);
  content: "";
  pointer-events: none;
}

@media (max-width: 900px) {
  #services .services-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  #services .services-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  #services.what-we-do {
    padding: 4rem 0;
  }

  #services .service-item {
    padding: 1rem 0;
  }
}

.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.cards-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
}

.clean-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-bottom: 4px solid var(--red);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.clean-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--dark-card);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.clean-card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(18, 19, 22, 0.9);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 0.35rem 0.7rem;
  border-left: 3px solid var(--red);
}

.card-body {
  padding: 1.65rem;
}

.card-body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card-body p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Gallery */
.gallery-section {
  padding: 4.75rem 0;
  background: var(--gray-bg);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.photo-tile {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.photo-tile img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.photo-tile figcaption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
}

/* Veluxo Field Portfolio */
#projects.gallery-section {
  padding: clamp(4.5rem, 7vw, 7rem) 0 5.5rem;
  background: #17191c;
  color: #f2f0eb;
}

#projects .projects-container {
  max-width: 1360px;
}

#projects .projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

#projects .projects-heading .section-tag {
  margin-bottom: 1rem;
  color: #ff777b;
}

#projects .projects-heading h2 {
  max-width: 900px;
  margin-bottom: 0;
  color: #f2f0eb;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

#projects .projects-heading .section-intro {
  max-width: 360px;
  margin: 0 0 0.3rem auto;
  color: #c3c1bc;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

#projects .projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}

#projects .project-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #24262a;
  isolation: isolate;
}

#projects .project-feature {
  grid-column: span 7;
  aspect-ratio: 1.58 / 1;
}

#projects .project-fleet {
  grid-column: span 5;
  aspect-ratio: 1.28 / 1;
}

#projects .project-commercial {
  grid-column: span 5;
  aspect-ratio: 1.42 / 1;
}

#projects .project-residential {
  grid-column: span 7;
  aspect-ratio: 1.62 / 1;
}

#projects .project-item::after {
  position: absolute;
  z-index: 0;
  inset: 42% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(13, 14, 16, 0.86));
  pointer-events: none;
}

#projects .project-item img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#projects .project-feature img {
  object-position: center 66%;
}

#projects .project-fleet img {
  object-position: center 48%;
}

#projects .project-commercial img,
#projects .project-residential img {
  object-position: center;
}

#projects .project-item:hover img {
  transform: scale(1.035);
}

#projects .project-item figcaption {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 2vw, 1.6rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 2vw, 1.6rem);
  display: grid;
  gap: 0.35rem;
  color: #f2f0eb;
}

#projects .project-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.07em;
}

#projects .project-title span {
  color: #ff777b;
}

#projects .project-subtitle {
  color: rgba(242, 240, 235, 0.82);
  font-size: 0.92rem;
}

#projects .projects-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  padding: 0 1.5rem;
  background: #1d1f23;
  border-top: 2px solid #b82025;
  border-bottom: 1px solid rgba(242, 240, 235, 0.22);
}

#projects .project-fact {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem 1.25rem 0;
}

#projects .project-fact + .project-fact {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(242, 240, 235, 0.22);
}

#projects .project-fact span {
  color: #c3c1bc;
  font-size: 0.92rem;
}

#projects .project-fact strong {
  color: #f2f0eb;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  #projects .projects-heading {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr);
  }

  #projects .projects-heading h2 {
    font-size: clamp(2.4rem, 5.8vw, 3.8rem);
  }

  #projects .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #projects .projects-facts {
    margin-top: 2.25rem;
  }

  #projects .project-feature,
  #projects .project-residential {
    grid-column: 1 / -1;
    aspect-ratio: 1.8 / 1;
  }

  #projects .project-fleet,
  #projects .project-commercial {
    grid-column: span 1;
    aspect-ratio: 1.15 / 1;
  }
}

@media (max-width: 600px) {
  #projects.gallery-section {
    padding: 4.25rem 0;
  }

  #projects .projects-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }

  #projects .projects-heading h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  #projects .projects-heading .section-intro {
    max-width: 340px;
    margin: 0;
  }

  #projects .projects-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  #projects .projects-facts {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.75rem;
    padding: 0 1rem;
  }

  #projects .project-fact,
  #projects .project-fact + .project-fact {
    padding: 0.95rem 0;
    border-left: 0;
  }

  #projects .project-fact + .project-fact {
    border-top: 1px solid rgba(242, 240, 235, 0.18);
  }

  #projects .project-feature,
  #projects .project-fleet,
  #projects .project-commercial,
  #projects .project-residential {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  #projects .project-feature img {
    object-position: center 62%;
  }
}

/* Dark Rental Strip */
.dark-rental-strip {
  background: var(--dark-card);
  color: var(--white);
  padding: 4.25rem 0;
  border-left: 6px solid var(--red);
}

.dark-rental-strip h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  margin-bottom: 0.9rem;
}

.dark-rental-strip p {
  color: #e5e7eb;
  font-size: 1.05rem;
  max-width: 780px;
  margin-bottom: 1.75rem;
}

/* About Compact */
.about-compact {
  min-height: 740px;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 28%,
      rgba(255, 255, 255, 0.78) 44%,
      rgba(255, 255, 255, 0.36) 62%,
      rgba(255, 255, 255, 0.04) 82%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../imagenes/about_01.webp") right center / cover no-repeat;
}

.about-compact > .container {
  width: 100%;
  max-width: 1120px;
}

.about-compact .container > * {
  max-width: 540px;
}

.about-compact .container > .section-tag,
.about-compact .container > h2,
.about-compact .container > h3,
.about-compact .container > p {
  width: 47%;
}

@media (max-width: 900px) {
  .about-compact {
    min-height: 660px;
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 38%,
        rgba(255, 255, 255, 0.76) 59%,
        rgba(255, 255, 255, 0.22) 82%,
        rgba(255, 255, 255, 0.04) 100%
      ),
      url("../imagenes/about_01.webp");
    background-position: center, 77% center;
    background-size: auto, cover;
  }

  .about-compact .container > .section-tag,
  .about-compact .container > h2,
  .about-compact .container > h3,
  .about-compact .container > p {
    width: 56%;
  }
}

@media (max-width: 600px) {
  .about-compact {
    min-height: 700px;
    padding: 4.5rem 0;
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.92) 54%,
        rgba(255, 255, 255, 0.72) 100%
      ),
      url("../imagenes/about_01.webp");
    background-position: center, 82% center;
    background-size: auto, cover;
  }

  .about-compact .container > .section-tag,
  .about-compact .container > h2,
  .about-compact .container > h3,
  .about-compact .container > p {
    width: 100%;
    max-width: 540px;
  }
}

.about-compact p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 1.75rem;
  max-width: 840px;
}

.about-compact h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.about-compact .areas-text {
  margin-bottom: 0;
}

/* Direct Quote Closing */
.quote-closing {
  background:
    linear-gradient(rgba(14, 15, 18, 0.88), rgba(14, 15, 18, 0.93)),
    url("../imagenes/lote.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 4.75rem 0;
  border-top: 4px solid var(--red);
}

.quote-closing h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.quote-sub {
  color: #e5e7eb;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 700px;
}

.contact-lines {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.6rem;
  font-size: 1.08rem;
}

.contact-lines a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}

.contact-lines a:hover {
  color: var(--red-light);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #d1d5db;
  text-align: center;
  padding: 1.75rem 1rem;
  font-size: 0.86rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile Navigation */
@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 2px solid var(--red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  .main-nav.active {
    display: flex;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1100;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b82025;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18, 19, 22, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.back-to-top svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #a51b20;
  box-shadow: 0 7px 18px rgba(18, 19, 22, 0.28);
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}
