
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #020817;
  --bg-alt: #071021;
  --bg-soft: #f5f5f7;
  --card: #ffffff;
  --accent: #e0b054;
  --accent-soft: rgba(224, 176, 84, 0.12);
  --accent-dark: #c99a3a;
  --text: #0f172a;
  --muted: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.35);
  --shadow-card: 0 12px 35px rgba(15, 23, 42, 0.22);
  --header-height: 74px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #0b1220 0, #020617 40%, #000 100%);
}

/* Layout helpers */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0 4.5rem;
  color: #e5e7eb;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(224,176,84,0.14) 0, transparent 48%),
              radial-gradient(circle at bottom right, rgba(59,130,246,0.22) 0, transparent 55%),
              #020617;
}

.section:not(.section-alt) {
  background: radial-gradient(circle at top, rgba(30,64,175,0.5) 0, transparent 55%),
              #020617;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  margin: 0 0 0.6rem;
  letter-spacing: 0.03em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.95), rgba(2,6,23,0.75));
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 1.2rem;
  background: radial-gradient(circle at 20% 0%, #facc15, #eab308 30%, #b45309 75%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(250,204,21,0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #facc15, #f97316);
  transition: width 0.25s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  color: #e5e7eb;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.65);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(248,250,252,0.15) 0, transparent 50%),
    linear-gradient(to right, rgba(15,23,42,0.85), rgba(15,23,42,0.25));
}

.hero-content {
  position: relative;
  padding: 4.2rem 0 4rem;
  max-width: 530px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.6);
  color: #e5e7eb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  line-height: 1.08;
  margin: 1.1rem 0 0.7rem;
}

.hero-text {
  color: #cbd5f5;
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #111827;
  box-shadow: 0 12px 30px rgba(245,158,11,0.45);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
}

.btn.ghost:hover {
  border-color: #facc15;
}

.btn.small {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.btn.full {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
}

.hero-meta span {
  padding: 0.26rem 0.75rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.78);
  border: 1px solid rgba(148,163,184,0.5);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.7rem;
}

.service-card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.7) 0, rgba(15,23,42,0.97) 55%);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.6rem 1.6rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-card);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.service-card li::before {
  content: "•";
  color: #facc15;
}

/* Banner split */
.banner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.banner-text h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.banner-text p {
  margin: 0 0 1rem;
  color: #e5e7eb;
}

.banner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.banner-badges span {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.6);
}

.banner-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  max-height: 260px;
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.fleet-card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.7) 0, rgba(15,23,42,1) 55%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-card);
}

.fleet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fleet-body {
  padding: 1.3rem 1.4rem 1.4rem;
}

.fleet-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.fleet-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(148,163,184,0.4);
  background: radial-gradient(circle at top left, rgba(234,179,8,0.14) 0, transparent 55%),
              rgba(15,23,42,0.95);
}

.feature-item {
  padding: 0.5rem 0.9rem;
  border-radius: 1rem;
}

.feature-title {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.feature-item p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Confort */
.confort-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: center;
}

.confort-text h2 {
  margin-top: 0;
}

.confort-text p {
  color: #cbd5f5;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  border: 2px solid #facc15;
}

.confort-gallery {
  display: grid;
  gap: 0.8rem;
}

.confort-main img,
.confort-thumbs img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.confort-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  cursor: pointer;
  border: 1px solid rgba(148,163,184,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #e5e7eb;
  cursor: pointer;
}

/* Video */
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.video-text .highlight {
  margin-top: 0.9rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(248,250,252,0.09);
  font-size: 0.9rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148,163,184,0.4);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Redes */
.redes-layout .section-header {
  margin-bottom: 1.8rem;
}

.redes-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.red-card {
  background: radial-gradient(circle at top, rgba(15,23,42,0.7) 0, rgba(15,23,42,1) 55%);
  border-radius: 1.4rem;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-card);
}

.red-card h3 {
  margin: 0 0 0.4rem;
}

.red-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.contact-list a {
  color: #facc15;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper {
  background: radial-gradient(circle at top, rgba(15,23,42,0.6) 0, rgba(15,23,42,1) 55%);
  border-radius: 1.6rem;
  padding: 1.8rem 1.7rem 1.7rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  margin: 0 0 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

input,
textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250,204,21,0.4);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148,163,184,0.5);
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0 1.8rem;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer a {
  color: #facc15;
  text-decoration: none;
}

/* WhatsApp floating */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.3rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #22c55e, #15803d 65%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(22,163,74,0.65);
  z-index: 45;
}

.whatsapp-float span {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid,
  .fleet-grid,
  .features-strip,
  .confort-layout,
  .gallery-grid,
  .video-layout,
  .contact-layout,
  .redes-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .banner-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .fleet-card img,
  .gallery-item {
    height: 200px;
  }

  .video-layout {
    gap: 1.6rem;
  }

  .video-text {
    order: 2;
  }

  .video-frame {
    order: 1;
  }
}

@media (max-width: 780px) {
  .header-inner {
    gap: 0.4rem;
  }

  .nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid rgba(148,163,184,0.4);
    padding: 0 1.5rem;
    transition: max-height 0.25s ease;
  }

  .nav.open {
    max-height: 280px;
    padding-bottom: 0.9rem;
  }

  .nav a {
    padding: 0.45rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 3rem;
  }

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

@media (max-width: 520px) {
  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-meta {
    gap: 0.4rem;
  }

  .hero-meta span {
    font-size: 0.72rem;
  }

  .banner-media img {
    max-height: none;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 1.1rem;
    right: 1.1rem;
  }
}
