@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --gold: #D4A017;
  --gold-light: #F0B429;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --gray: #2a2a2a;
  --gray-light: #444;
  --white: #ffffff;
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,160,23,0.15);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-transportes {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white-70);
  text-transform: uppercase;
}

.logo-cortez {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-spa {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 1px;
}

.logo-tagline {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--white-50);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-70);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-cta .arrow {
  width: 18px; height: 18px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.60) 55%,
    rgba(0,0,0,0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 80px 80px;
  max-width: 680px;
  animation: fadeUp 1s ease 0.2s both;
}

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

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 1s ease 0.4s both;
}

.hero-title .gold { color: var(--gold); }

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--white-70);
  max-width: 380px;
  margin-bottom: 32px;
  animation: fadeUp 1s ease 0.5s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  animation: fadeUp 1s ease 0.6s both;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(212,160,23,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.badge-icon svg { width: 18px; height: 18px; fill: var(--gold); }

.badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-70);
  line-height: 1.3;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.7s both;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 4px;
  transition: border-color var(--transition), color var(--transition);
  cursor: pointer;
  background: none;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== SECTION HEADERS ===== */
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  line-height: 1;
}

.section-divider {
  width: 50px; height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}

/* ===== SERVICIOS ===== */
.servicios {
  background: var(--dark-2);
  padding: 90px 60px;
}

.servicios-header {
  margin-bottom: 50px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-card {
  background: var(--dark-3);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}

.servicio-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.servicio-card:hover::before { transform: scaleX(1); }

.servicio-info {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.servicio-icon-wrap {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.servicio-icon-wrap svg { width: 22px; height: 22px; fill: var(--dark); }

.servicio-nombre {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.servicio-nombre span { display: block; color: var(--gold); }

.servicio-lista {
  flex: 1;
  margin-bottom: 24px;
}

.servicio-lista li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--white-70);
  margin-bottom: 8px;
  line-height: 1.4;
}

.servicio-lista li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  align-self: flex-start;
  transition: background var(--transition);
}

.btn-mas:hover { background: var(--gold-light); }

.btn-mas .arrow {
  width: 16px; height: 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
}

.servicio-img {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ===== ATRIBUTOS ===== */
.atributos {
  background: var(--dark-3);
  padding: 60px;
}

.atributos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.atributo {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  background: var(--dark-2);
  transition: border-color var(--transition), transform var(--transition);
}

.atributo:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.atributo-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.atributo-icon svg { width: 18px; height: 18px; fill: var(--gold); }

.atributo-texto h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.atributo-texto p {
  font-size: 12px;
  color: var(--white-70);
  line-height: 1.4;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  position: relative;
  overflow: hidden;
}

.cta-strip-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/cta-fondo.webp');
  background-size: cover;
  background-position: center;
}

.cta-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.5) 100%);
}

.cta-strip-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.cta-strip-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-logo-wrap img {
  width: 70px;
  filter: brightness(1.1);
}

.cta-texto h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.cta-texto h2 span { color: var(--gold); display: block; }

.cta-texto p {
  font-size: 14px;
  color: var(--white-70);
  margin-top: 6px;
}

.cta-strip-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cta-contacto {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius);
}

.cta-wsp-icon svg { width: 28px; height: 28px; fill: #25D366; }

.cta-contacto-info span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.cta-contacto-info p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.cta-contacto-info small {
  font-size: 11px;
  color: var(--white-70);
}

/* ===== FOOTER ===== */
footer {
  background: #050505;
  border-top: 1px solid rgba(212,160,23,0.15);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding: 60px 80px 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img { width: 44px; }

.footer-brand .logo-text-f {
  font-family: 'Barlow Condensed', sans-serif;
}

.footer-brand .logo-text-f .fn { font-size: 22px; font-weight: 900; text-transform: uppercase; }
.footer-brand .logo-text-f .fs { font-size: 10px; letter-spacing: 2px; color: var(--gold); }

.footer-brand p {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.social-btn svg { width: 16px; height: 16px; fill: var(--white-70); }
.social-btn:hover { border-color: var(--gold); background: rgba(212,160,23,0.1); }
.social-btn:hover svg { fill: var(--gold); }

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--white-50);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-contact-item p {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.5;
}

.footer-contact-item a {
  font-size: 13px;
  color: var(--white-50);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--white-50);
}

.footer-bottom a { color: var(--gold); }

.footer-strip {
  background: var(--dark-3);
  padding: 14px 60px;
  display: flex;
  justify-content: center;
  gap: 50px;
  border-top: 1px solid rgba(212,160,23,0.1);
}

.footer-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-50);
}

.footer-strip-item svg { width: 16px; height: 16px; fill: var(--gold); }

/* ===== WHATSAPP FLOTANTE ===== */
.wsp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wspPulse 2.5s ease-in-out infinite;
}

@keyframes wspPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7); }
}

.wsp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

.wsp-float svg { width: 28px; height: 28px; fill: white; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV ===== */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(0,0,0,0.98);
  padding: 20px 30px 30px;
  z-index: 999;
  border-bottom: 1px solid rgba(212,160,23,0.2);
  flex-direction: column;
  gap: 16px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-70);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .atributos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .navbar { padding: 0 24px; }
  .nav-links, .btn-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 100px 30px 60px; }

  .servicios { padding: 70px 24px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .servicio-img { width: 160px; }

  .atributos { padding: 50px 24px; }

  .cta-strip-inner { flex-direction: column; padding: 50px 30px; align-items: flex-start; }
  .cta-strip-right { align-items: flex-start; }

  .footer-main { grid-template-columns: 1fr; padding: 40px 30px; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 24px; }
  .footer-strip { gap: 24px; padding: 14px 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.8rem; }
  .hero-badges { gap: 14px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-cta, .hero-btns .btn-secondary { width: 100%; justify-content: center; }

  .servicio-img { display: none; }
  .atributos-grid { grid-template-columns: 1fr; }

  .cta-strip-left { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== LOGO REAL ===== */
.logo-img {
  height: 46px;
  width: auto;
  filter: brightness(1.05);
  /* Logo tiene fondo blanco — invertir en navbar oscura */
  mix-blend-mode: normal;
}

/* Truco: el logo tiene fondo blanco, lo ocultamos con multiply */
.navbar .logo-img {
  background: transparent;
}

.footer-logo {
  margin-bottom: 16px;
}

/* Para páginas internas: logo en navbar */
.nav-logo { gap: 0; }
