/* ===== TRANSPORTES JARAUTA MARTÍNEZ - CLONE CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8601F;
  --orange-dark: #c94f12;
  --dark: #222222;
  --dark-header: #2b2b2b;
  --gray-bg: #f5f5f5;
  --gray-light: #e8e8e8;
  --text-dark: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --topbar-bg: #2d2d2d;
  --nav-bg: #f9f9f9;
  --font: 'Montserrat', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--topbar-bg);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.topbar-item svg { flex-shrink: 0; }
.topbar-left { display: flex; gap: 32px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.linkedin-icon {
  width: 30px; height: 30px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.linkedin-icon:hover { border-color: var(--orange); color: var(--orange); }

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--nav-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 88px;
}
.logo { display: flex; align-items: center; }
.logo img, .logo svg { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav a:hover, .nav a.active { color: var(--orange); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Dropdown para Servicios */
.nav .dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px; /* para la flechita si se pone */
  cursor: pointer;
}
.nav .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 4px;
}
.nav .dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .dropdown-content a {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
  border: none;
}
.nav .dropdown-content a::after { display: none; }
.nav .dropdown-content a:hover {
  background-color: var(--gray-bg);
  color: var(--orange);
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-call:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== PAGE HERO BANNER ===== */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  text-align: center;
  padding: 0 24px;
}
.page-hero h1 span { color: var(--orange); }

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-outline-white:hover { background: var(--white); color: var(--text-dark); }

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.15); }

.btn-orange-outline {
  display: inline-block;
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-orange-outline:hover { background: var(--orange); color: var(--white); }

/* ===== HERO (HOMEPAGE) ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.70) 40%, rgba(0,0,0,0.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 36px;
}
.hero-title span { color: var(--orange); }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--gray-bg);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200,200,200,0.4) 1px, transparent 1px);
  background-size: 28px 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.stat-icon {
  font-size: 40px;
  color: var(--orange);
  margin-bottom: 6px;
}
.stat-icon svg { width: 48px; height: 48px; fill: var(--orange); }
.stat-number {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: none;
}

/* ===== SERVICES (HOMEPAGE) ===== */
.services-home {
  padding: 90px 0;
  background: var(--white);
}
.services-home-header { text-align: center; margin-bottom: 56px; }
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 2px solid var(--orange);
  border-radius: 8px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  background: var(--white);
}
.service-card.featured {
  background: var(--orange);
  color: var(--white);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(232, 96, 31, 0.3);
}
.service-icon { font-size: 36px; color: var(--orange); }
.service-card.featured .service-icon { color: var(--white); }
.service-icon svg { width: 44px; height: 44px; }
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}
.service-card.featured h3 { color: var(--white); }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.service-card.featured p { color: rgba(255,255,255,0.88); }
.service-card .btn-primary { margin-top: auto; }
.service-card.featured .btn-primary {
  background: var(--white);
  color: var(--orange);
}
.service-card.featured .btn-primary:hover { background: var(--dark); color: var(--white); }

/* ===== ABOUT SECTION (HOMEPAGE SNIPPET) ===== */
.about-home {
  background: var(--gray-bg);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.about-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200,200,200,0.4) 1px, transparent 1px);
  background-size: 28px 28px;
}
.about-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 420px;
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--orange);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 8px;
  text-align: center;
  min-width: 160px;
}
.about-badge-icon svg { width: 36px; height: 36px; fill: var(--white); margin-bottom: 8px; }
.about-badge-num { font-size: 28px; font-weight: 900; line-height: 1; }
.about-badge-text { font-size: 12px; font-weight: 600; margin-top: 4px; }
.about-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-text p strong { color: var(--text-dark); }

/* ===== ROUTES CTA SECTION ===== */
.routes-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.routes-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.routes-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.routes-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.routes-cta-content h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 900; margin-bottom: 16px; }
.routes-cta-content h2 span { color: var(--orange); }
.routes-cta-content p { font-size: 16px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT SPLIT (HOMEPAGE BOTTOM) ===== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.contact-split-img {
  position: relative;
  overflow: hidden;
}
.contact-split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-split-info {
  background: var(--orange);
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.contact-split-info .section-label { color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.contact-split-info h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 900; margin-bottom: 16px; }
.contact-split-info h2 span { color: var(--dark); }
.contact-split-info p { font-size: 14px; color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 28px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
}
.contact-info-item svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; margin-top: 2px; }
.contact-info-item span { font-size: 14px; font-weight: 600; line-height: 1.4; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--white); background: rgba(255,255,255,0.2); }
.social-btn svg { width: 16px; height: 16px; fill: var(--white); }

/* ===== FOOTER FULL (4-column real footer) ===== */
.footer-full {
  background: #2b2b2b;
  color: var(--white);
  padding: 60px 0 0;
}
.footer-full-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand-linkedin {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.footer-brand-linkedin:hover { border-color: var(--orange); color: var(--orange); }
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li { display: flex; align-items: flex-start; gap: 10px; }
.footer-col ul li a,
.footer-col ul li span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li::before {
  content: '▶';
  font-size: 8px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-col .footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.footer-col .footer-contact-item::before { display: none; }
.footer-col .footer-contact-item svg {
  width: 18px; height: 18px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: left;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom span { color: var(--orange); }

/* ===== SERVICE SUBPAGES LAYOUT ===== */
.svc-page-content {
  padding: 60px 0 90px;
  background: var(--white);
}
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.svc-main img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 36px;
}
.svc-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.svc-body p strong { color: var(--text-dark); }
.svc-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 16px;
}
.svc-body ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.svc-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.svc-body ul li strong { color: var(--text-dark); }
.svc-body ul li::before {
  content: '•';
  font-size: 20px;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1.2;
}

/* --- Sidebar --- */
.svc-sidebar { display: flex; flex-direction: column; gap: 24px; }
.otros-servicios-box {
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  border-bottom: 3px solid var(--orange);
  padding: 28px 24px;
  background: var(--white);
}
.otros-servicios-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.otros-servicios-box ul { display: flex; flex-direction: column; gap: 14px; }
.otros-servicios-box ul li { display: flex; align-items: center; gap: 10px; }
.otros-servicios-box ul li::before { display: none; }
.otros-servicios-box ul li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.otros-servicios-box ul li a:hover { color: var(--orange-dark); gap: 12px; }
.otros-servicios-box ul li a svg {
  width: 18px; height: 18px;
  fill: var(--orange);
  flex-shrink: 0;
  border: 2px solid var(--orange);
  border-radius: 50%;
  padding: 2px;
}

.rutas-promo-box {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.rutas-promo-box img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rutas-promo-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}
.rutas-promo-box-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.rutas-promo-box-content h4 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--white);
}

/* Servicios overview page */
.servicios-overview-cards {
  padding: 80px 0 60px;
  background: var(--white);
}
.servicios-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.svc-ov-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 28px;
  border-radius: 8px;
  border: 2px solid var(--gray-light);
  background: var(--white);
  transition: var(--transition);
}
.svc-ov-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(232,96,31,0.18);
  transform: translateY(-4px);
}
.svc-ov-card.featured {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.svc-ov-card .ov-icon { font-size: 0; }
.svc-ov-card .ov-icon svg {
  width: 48px; height: 48px;
  fill: var(--orange);
}
.svc-ov-card.featured .ov-icon svg { fill: var(--white); }
.svc-ov-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}
.svc-ov-card.featured h3 { color: var(--white); }
.svc-ov-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}
.svc-ov-card.featured p { color: rgba(255,255,255,0.88); }
.svc-ov-card .btn-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: var(--transition);
  margin-top: auto;
}
.svc-ov-card.featured .btn-svc-link { color: var(--white); border-color: rgba(255,255,255,0.6); }
.svc-ov-card .btn-svc-link:hover { gap: 14px; }

/* Rutas Diarias banner */
.rutas-diarias-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.rutas-diarias-banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.rutas-diarias-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,30,30,0.72);
}
.rutas-diarias-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.rutas-diarias-content h2 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  margin-bottom: 18px;
}
.rutas-diarias-content h2 span { color: var(--orange); }
.rutas-diarias-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== NOSOTROS PAGE ===== */
.nosotros-intro {
  padding: 90px 0;
  background: var(--white);
}
.nosotros-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.nosotros-img-wrap { position: relative; }
.nosotros-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.nosotros-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.nosotros-img-badge .num { font-size: 36px; font-weight: 900; display: block; line-height: 1; }
.nosotros-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }
.nosotros-text p strong { color: var(--text-dark); }

.values-section { background: var(--gray-bg); padding: 80px 0; }
.values-section .section-label, .values-section .section-title { text-align: center; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--orange);
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.value-card-icon { font-size: 36px; color: var(--orange); margin-bottom: 16px; }
.value-card-icon svg { width: 42px; height: 42px; fill: var(--orange); }
.value-card h3 { font-size: 19px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== SERVICIOS PAGE ===== */
.servicios-section { padding: 90px 0; }
.servicios-section:nth-child(even) { background: var(--gray-bg); }
.servicios-section:nth-child(even) .servicios-inner { flex-direction: row-reverse; }
.servicios-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.servicios-inner img {
  width: 50%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.servicios-text .section-label { margin-bottom: 8px; }
.servicios-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }
.servicios-text ul { margin-bottom: 24px; }
.servicios-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.servicios-text ul li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 6px;
}

.services-cards-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

/* ===== RUTAS PAGE ===== */
.rutas-section { padding: 90px 0; }
.rutas-header { text-align: center; margin-bottom: 56px; }
.rutas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ruta-card {
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  border: 2px solid var(--gray-light);
  background: var(--white);
}
.ruta-card.featured {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.ruta-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.ruta-card.featured:hover { box-shadow: 0 10px 28px rgba(232,96,31,0.35); }
.ruta-icon svg { width: 44px; height: 44px; fill: var(--orange); }
.ruta-card.featured .ruta-icon svg { fill: var(--white); }
.ruta-card h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); }
.ruta-card.featured h3 { color: var(--white); }
.ruta-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.ruta-card.featured p { color: rgba(255,255,255,0.88); }
.ruta-card .btn-primary { font-size: 12px; padding: 10px 20px; margin-top: auto; }
.ruta-card.featured .btn-primary { background: var(--white); color: var(--orange); }
.ruta-card.featured .btn-primary:hover { background: var(--dark); color: var(--white); }

/* ===== CONTACTO PAGE ===== */
.contacto-section { padding: 90px 0; }
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contacto-form-side .section-label { margin-bottom: 8px; }
.contacto-form-side h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 900; margin-bottom: 32px; }
.contacto-form-side h2 span { color: var(--orange); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-submit .btn-primary { width: 100%; text-align: center; padding: 16px; font-size: 14px; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
  padding: 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.contacto-img-side { position: relative; }
.contacto-img-side img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--orange);
}
.contacto-info-box {
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  padding: 36px 32px;
  margin-top: 32px;
}
.contacto-info-box .section-label { color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.contacto-info-box h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.contacto-info-box h2 span { color: var(--dark); }
.contacto-info-box > p { font-size: 14px; color: rgba(255,255,255,0.88); margin-bottom: 24px; }
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.ci-item svg { width: 20px; height: 20px; fill: var(--white); flex-shrink: 0; margin-top: 2px; }
.ci-item span { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.5; }
.contacto-social { margin-top: 20px; display: flex; gap: 10px; }

/* ===== LEGAL PAGES ===== */
.legal-section { padding: 70px 0 90px; }
.legal-section h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 30px; color: var(--text-dark); }
.legal-section h2 { font-size: 20px; font-weight: 700; margin: 32px 0 14px; color: var(--text-dark); }
.legal-section p, .legal-section li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.legal-section ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  border-top: 1px solid var(--gray-light);
  padding: 20px 24px;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav span.mobile-dropdown-toggle {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav span.mobile-dropdown-toggle:hover { color: var(--orange); }
.mobile-nav .mobile-dropdown-menu {
  flex-direction: column;
  padding-left: 20px;
  background-color: var(--gray-bg);
  border-radius: 4px;
}
.mobile-nav .mobile-dropdown-menu a {
  border-bottom: none;
  font-size: 14px;
  padding: 10px 0;
}
.mobile-nav .btn-call { margin-top: 16px; text-align: center; display: block; border-bottom: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .about-home-inner { gap: 40px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-split-img { height: 300px; }
  .nosotros-intro-inner { gap: 40px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .servicios-inner { flex-direction: column !important; }
  .servicios-inner img { width: 100%; }
  .rutas-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-inner { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar .container { flex-wrap: wrap; gap: 8px; }
  .topbar-left { flex-wrap: wrap; gap: 12px; }
  .nav { display: none; }
  .btn-call { display: none; }
  .hamburger { display: flex; }
  .about-home-inner { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 16px; }
  .nosotros-intro-inner { grid-template-columns: 1fr; }
  .nosotros-img-badge { position: static; margin-top: 12px; }
  .services-cards { grid-template-columns: 1fr; }
  .services-cards-full { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .rutas-grid { grid-template-columns: 1fr 1fr; }
  .contact-split-info { padding: 40px 24px; }
  .hero { min-height: 75vh; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rutas-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== ANIMATIONS - CSS driven reveal ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.30s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* Fallback: if JS is off, always show */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== FOOTER RESPONSIVE ===== */
.footer-col .footer-contact-item svg {
  fill: none !important;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .footer-full-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .servicios-overview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-full-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-sidebar { grid-template-columns: 1fr; }
  .servicios-overview-grid { grid-template-columns: 1fr; }
  .svc-main img { height: 280px; }
}

/* ===== PROGRESS BARS ===== */
.progress-bars-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.progress-item {
  width: 100%;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}
.progress-track {
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--orange);
  width: 0;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1);
}

/* ===== COUNTER BOX ===== */
.counter-box {
  background: var(--dark);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}
.counter-box::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 150px; height: 150px;
  background: rgba(232, 96, 31, 0.1);
  border-radius: 50%;
}
.counter-icon {
  width: 50px; height: 50px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.counter-icon svg { width: 24px; height: 24px; fill: var(--white); }
.counter-value {
  font-size: 42px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.counter-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
