/* ═══════════════════════════════════════════════
   TRANSPORTES DON YURI — Shared Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --black:   #060606;
  --dark:    #101010;
  --dark2:   #141414;
  --dark3:   #1a1a1a;
  --yellow:  #FFB800;
  --yellow2: #FFC933;
  --yglow:   rgba(255,184,0,.14);
  --yborder: rgba(255,184,0,.22);
  --white:   #f2f2f2;
  --gray:    #888;
  --gray2:   #555;
  --gray3:   #2a2a2a;
  --green:   #25D366;
  --font-d:  'Bebas Neue', sans-serif;
  --font-b:  'DM Sans', sans-serif;
  --pad:     clamp(70px, 9vw, 130px);
  --gutter:  5vw;
  --radius:  0px;
  --trans:   .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100vw;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-b); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); }

/* ── Typography ── */
.display { font-family: var(--font-d); text-transform: uppercase; letter-spacing: .5px; }

/* ── Section label ── */
.s-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--yellow);
  margin-bottom: 14px;
}
.s-label::after {
  content: ''; width: 36px; height: 1px; background: var(--yellow);
}

/* ── Section title ── */
.s-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1; text-transform: uppercase; letter-spacing: .5px;
  color: var(--white); margin-bottom: 18px;
}
.s-title span { color: var(--yellow); }

/* ── Section subtitle ── */
.s-sub { font-size: .95rem; color: var(--gray); font-weight: 300; max-width: 520px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; font-family: var(--font-b); font-weight: 700;
  font-size: .9rem; letter-spacing: .5px; text-transform: uppercase;
  transition: var(--trans); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -110%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .4s;
}
.btn:hover::after { left: 110%; }

.btn-y  { background: var(--yellow); color: var(--black); }
.btn-y:hover { background: var(--yellow2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,184,0,.35); }

.btn-o  { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.btn-o:hover { border-color: var(--yellow); color: var(--yellow); background: var(--yglow); }

.btn-g  { background: var(--green); color: #fff; }
.btn-g:hover { background: #1fba58; transform: translateY(-2px); }

/* ── Reveal animations ── */
.rev { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.rev.in { opacity: 1; transform: translateY(0); }
.rev-d1 { transition-delay: .1s; }
.rev-d2 { transition-delay: .2s; }
.rev-d3 { transition-delay: .3s; }
.rev-d4 { transition-delay: .4s; }

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
#nav.scrolled {
  background: rgba(6,6,6,.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--yborder);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; overflow: visible; }
.nav-logo img { height: 48px; width: auto; max-height: 48px; max-width: 200px; display: block; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(255,184,0,.15)); transition: filter var(--trans); }
.nav-logo img:hover { filter: drop-shadow(0 0 12px rgba(255,184,0,.35)); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray);
  transition: color var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-cta-btn {
  background: var(--yellow); color: var(--black) !important;
  padding: 8px 22px; font-weight: 700 !important;
  transition: background var(--trans), transform var(--trans) !important;
}
.nav-cta-btn:hover { background: var(--yellow2) !important; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; z-index: 910;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: var(--white);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 890;
  background: rgba(6,6,6,.97); backdrop-filter: blur(20px);
  padding: 28px var(--gutter) 36px;
  border-bottom: 1px solid var(--yborder);
  flex-direction: column; gap: 4px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  padding: 13px 0; border-bottom: 1px solid var(--gray3);
  font-size: 1.1rem; font-weight: 500; color: var(--white);
  transition: color var(--trans), padding-left var(--trans);
}
.mob-menu a:hover { color: var(--yellow); padding-left: 8px; }

/* ══════════════════════════
   MARQUEE
══════════════════════════ */
.marquee {
  background: var(--yellow); padding: 12px 0;
  overflow: hidden; white-space: nowrap;
  max-width: 100vw;
}
.marquee-track { display: inline-block; animation: mq 28s linear infinite; }
.marquee-track span {
  font-family: var(--font-d); font-size: 1rem; letter-spacing: 2px;
  color: var(--black); padding: 0 36px;
}
.marquee-track span::before { content: '◆'; margin-right: 36px; font-size: .6rem; vertical-align: middle; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: #040404;
  border-top: 1px solid var(--gray3);
  padding: 64px var(--gutter) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  display: block; margin-bottom: 16px;
  font-family: var(--font-d); font-size: 1.55rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--white); line-height: 1.15;
  transition: color var(--trans);
}
.footer-logo:hover { color: var(--yellow); }
.footer-logo span { color: var(--yellow); }
.footer-desc { font-size: .86rem; color: var(--gray); line-height: 1.75; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; background: var(--gray3);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), color var(--trans);
}
.footer-social a:hover { background: var(--yellow); color: var(--black); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-size: .68rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--yellow);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .86rem; color: var(--gray); transition: color var(--trans); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--gray3); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: var(--gray2); }
.footer-bottom span { color: var(--yellow); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s;
  animation: waB 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float::before {
  content: ''; position: absolute; width: 100%; height: 100%;
  border-radius: 50%; background: var(--green);
  animation: waPulse 2.5s ease infinite; z-index: -1;
}
.wa-float svg { width: 28px; height: 28px; fill: white; }
@keyframes waPulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.9);opacity:0} }
@keyframes waB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ══════════════════════════
   PAGE HERO (subpages)
══════════════════════════ */
.page-hero {
  padding: 130px var(--gutter) 80px;
  background: var(--dark2);
  border-bottom: 1px solid var(--yborder);
  position: relative; overflow: hidden;
  max-width: 100%;
}
.page-hero::before {
  content: attr(data-bg-text);
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-d); font-size: clamp(5rem, 14vw, 14rem);
  color: rgba(255,184,0,.04); letter-spacing: -2px; pointer-events: none; line-height: 1;
}
.page-hero-breadcrumb {
  font-size: .72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 18px;
}
.page-hero-breadcrumb span { color: var(--yellow); }
.page-hero h1 {
  font-family: var(--font-d); font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95; text-transform: uppercase; margin-bottom: 16px;
}
.page-hero p { font-size: 1rem; color: var(--gray); max-width: 560px; font-weight: 300; }

/* ══════════════════════════
   UTILITY
══════════════════════════ */
.container { max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--pad) var(--gutter); overflow: hidden; }
.section-dark { background: var(--dark); }
.section-darker { background: var(--dark2); }
footer { overflow: hidden; }
.divider { width: 48px; height: 3px; background: var(--yellow); margin-bottom: 28px; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 110px var(--gutter) 56px; }
  .page-hero h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .section { padding: clamp(48px, 9vw, 130px) var(--gutter); }
}
@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { gap: 24px; }
  .footer-desc { max-width: 100%; }
  .page-hero { padding: 96px 18px 48px; }
  .page-hero h1 { font-size: 2.4rem; }
  .mob-menu { padding: 22px 18px 28px; }
  .wa-float { bottom: 14px; right: 14px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
  .btn { padding: 13px 22px; font-size: .85rem; }
  .s-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
}
