*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f8f9fa; color: #1a1a1a; overflow-x: hidden; }

:root {
  --navy: #1a3d47;
  --teal: #2d8a7a;
  --green: #7ab648;
  --gold: #f5a623;
  --light: #f4f7f6;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b7280;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fadeup { animation: fadeUp 0.7s ease forwards; }
.animate-fadein { animation: fadeIn 0.7s ease forwards; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,61,71,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(26,61,71,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.2s; transform-origin: left;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; margin-left: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(26,61,71,0.99); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 24px 20px;
}
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 17px; font-weight: 500; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }
.lang-toggle {
  display: flex; background: rgba(255,255,255,0.1); border-radius: 20px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.15);
}
.lang-btn {
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.6); cursor: pointer; border: none;
  background: transparent; transition: all 0.2s; letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--gold); color: var(--navy); }
.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 10px 20px; border-radius: 6px; font-weight: 700;
  font-size: 13px; text-decoration: none; letter-spacing: 0.02em;
  transition: all 0.2s; border: none; cursor: pointer;
}
.nav-cta:hover { background: #ffc04a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,166,35,0.4); }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1e25 0%, #1a3d47 60%, #1e4d40 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 72px 0 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../images/Imagen de fondo.webp');
  background-size: cover; background-position: center;
  opacity: 0.35; z-index: 0;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg, #fff 0, #fff 1px, transparent 0, transparent 50%
  );
  background-size: 30px 30px;
}
.hero-accent {
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,138,122,0.15) 0%, transparent 70%);
}
.hero-accent2 {
  position: absolute; left: -50px; bottom: 50px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,182,72,0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; width: 100%; position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
  animation: fadeUp 0.6s ease forwards;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; line-height: 1.05;
  color: #ffffff; margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.7); margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 28px; border-radius: 6px; font-weight: 700;
  font-size: 15px; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.01em;
}
.btn-primary:hover { background: #ffc04a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
.btn-secondary {
  background: transparent; color: #fff;
  padding: 14px 28px; border-radius: 6px; font-weight: 600;
  font-size: 15px; text-decoration: none; border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 800; color: var(--gold);
  line-height: 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; letter-spacing: 0.03em; }

/* Hero Image */
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img {
  width: 100%; border-radius: 12px;
  object-fit: contain; height: 480px;
}
.hero-image-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--navy); border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: 12px;
}
.badge-icon { font-size: 28px; }
.badge-text-top { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-transform: uppercase; }
.badge-text-main { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--gold); }

/* SECTION */
section { padding: 96px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: inline-block; width: 24px; height: 2px; background: var(--teal);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: var(--navy); line-height: 1.1; margin-bottom: 16px;
}
.section-title span { color: var(--teal); }
.section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; max-width: 560px; }

/* SERVICES */
.services { background: var(--white); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-label { justify-content: center; }
.services-header .section-desc { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  background: var(--light); border-radius: 12px;
  padding: 32px; position: relative; overflow: hidden;
  border: 1px solid rgba(26,61,71,0.06);
  transition: all 0.3s ease; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,61,71,0.12); background: var(--white); }
.service-card:hover::before { transform: scaleX(1); }
.service-card {
  background: var(--white); border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26,61,71,0.08);
  box-shadow: 0 2px 12px rgba(26,61,71,0.06);
  transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,61,71,0.13); }
.service-card-photo { width: 100%; height: 160px; object-fit: cover; display: block; }
.service-card-body { padding: 18px 22px 24px; }
.service-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px; font-weight: 700; color: var(--navy);
}
.service-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* PHOTO BANNER */
.photo-banner {
  height: 340px; position: relative; overflow: hidden;
}
.photo-banner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  display: block;
}
.photo-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,61,71,0.75) 0%, rgba(26,61,71,0.2) 60%, transparent 100%);
  display: flex; align-items: center;
}
.photo-banner-text {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%;
}
.photo-banner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  color: white; line-height: 1.1; margin-bottom: 8px;
}
.photo-banner-sub { font-size: 16px; color: rgba(255,255,255,0.75); }

/* SERVICE CARD IMAGE */
.service-card-img {
  width: calc(100% + 64px); margin: -32px -32px 20px -32px;
  height: 140px; object-fit: cover; border-radius: 12px 12px 0 0;
}

/* ABOUT */
.about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15); object-fit: cover; height: 440px;
}
.about-accent {
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px; border-radius: 12px;
  background: var(--gold); opacity: 0.15;
}
.about-accent2 {
  position: absolute; bottom: -20px; left: -20px;
  width: 60px; height: 60px; border-radius: 8px;
  background: var(--teal); opacity: 0.2;
}
.about-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.about-card {
  background: var(--white); border-radius: 10px; padding: 24px;
  border-left: 4px solid var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.about-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.about-card-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* WHY US */
.why { background: var(--navy); }
.why .section-title { color: var(--white); }
.why .section-label { color: var(--gold); }
.why .section-label::before { background: var(--gold); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 60px; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s;
}
.why-item:hover { background: rgba(255,255,255,0.07); transform: translateX(4px); }
.why-item-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.why-item-title { font-weight: 600; color: var(--white); font-size: 15px; margin-bottom: 4px; }
.why-item-text { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.why-visual {
  background: rgba(255,255,255,0.04); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
}
.why-visual-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.progress-item { margin-bottom: 0; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; }
.progress-text { font-size: 13px; color: rgba(255,255,255,0.7); }
.progress-pct { font-size: 13px; font-weight: 600; color: var(--gold); }
.progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--green)); transition: width 1.5s ease; }

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-label { justify-content: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.testimonial-card {
  background: var(--light); border-radius: 12px; padding: 28px;
  border: 1px solid rgba(26,61,71,0.06);
  transition: all 0.3s; position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,61,71,0.1); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
}
.author-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* CONTACT */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(45,138,122,0.18);
  border: 1.5px solid rgba(45,138,122,0.3);
  display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.contact-value { font-size: 15px; color: var(--navy); font-weight: 600; }

/* FORM */
.form-card {
  background: var(--white); border-radius: 16px; padding: 40px;
  box-shadow: 0 8px 40px rgba(26,61,71,0.1);
  border: 1px solid rgba(26,61,71,0.06);
}
.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #e5e7eb; font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--text); background: var(--light);
  transition: all 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,138,122,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--navy); color: white;
  border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em;
  font-family: 'Inter', sans-serif; margin-top: 8px;
}
.form-submit:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,138,122,0.3); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error {
  text-align: center; padding: 14px; margin-top: 8px;
  background: rgba(232,69,69,0.08); border-radius: 8px;
  border: 1px solid rgba(232,69,69,0.25);
  color: #c0392b; font-size: 13px;
}
.form-success {
  text-align: center; padding: 24px;
  background: rgba(45,138,122,0.08); border-radius: 10px;
  border: 1px solid rgba(45,138,122,0.2);
}
.form-success-icon { font-size: 40px; margin-bottom: 12px; }
.form-success-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.form-success-text { font-size: 14px; color: var(--text-muted); }

/* FOOTER */
.footer { background: #0d2028; padding: 60px 0 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 52px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 14px; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.05);
}
.social-btn:hover { background: var(--teal); color: white; transform: translateY(-2px); }
.footer-col-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { display: none; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==============================
   AUTHORITY SECTION
   ============================== */
#authority { padding: 0; }

/* 1 — Stats Belt */
.auth-stats-belt {
  background: #0a1e25;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.auth-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.auth-stat-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.auth-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.auth-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.auth-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.45;
}

/* 2 — Journey Timeline */
.auth-journey-wrap {
  background-image: url('../images/our-journey-timeline.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 96px 0;
  position: relative;
}
.auth-journey-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,30,37,0.88) 0%,
    rgba(10,30,37,0.72) 55%,
    rgba(10,30,37,0.82) 100%
  );
  z-index: 0;
}
.auth-journey-wrap .section-inner { position: relative; z-index: 1; }
.auth-journey-wrap .section-title { color: #fff; }
.auth-journey-wrap .section-desc { color: rgba(255,255,255,0.65); }
.auth-journey-wrap .section-label { color: var(--gold); }
.auth-journey-wrap .section-label::before { background: var(--gold); }
.auth-journey-wrap .auth-tl-title { color: rgba(255,255,255,0.92); }
.auth-journey-wrap .auth-tl-desc  { color: rgba(255,255,255,0.60); }
.auth-section-header { margin-bottom: 64px; }
.auth-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.auth-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  z-index: 0;
}
.auth-tl-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 10px;
}
.auth-tl-dot {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 800; color: var(--gold);
  margin-bottom: 20px;
  transition: all 0.3s;
  box-shadow: 0 0 0 6px rgba(45,138,122,0.1);
}
.auth-tl-item:hover .auth-tl-dot {
  background: var(--teal); color: white;
  transform: scale(1.1);
  box-shadow: 0 0 0 9px rgba(45,138,122,0.18);
}
.auth-tl-metric {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--teal); margin-bottom: 5px;
}
.auth-tl-title {
  font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.auth-tl-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.auth-tl-body { flex: 1; }

/* 3 — Trust + Philosophy */
.auth-trust-wrap { background: var(--white); padding: 96px 0; }
.auth-trust-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.auth-trust-list {
  display: flex; flex-direction: column;
  gap: 14px; margin-top: 36px;
}
.auth-trust-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 10px;
  border: 1px solid rgba(26,61,71,0.07);
  background: var(--light);
  transition: all 0.25s;
}
.auth-trust-item:hover {
  border-color: rgba(45,138,122,0.22);
  background: white;
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(45,138,122,0.07);
}
.auth-trust-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.auth-trust-ttl {
  font-size: 14px; font-weight: 700;
  color: var(--navy); margin-bottom: 3px;
}
.auth-trust-dsc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}
.auth-philosophy {
  background: linear-gradient(135deg, #0a1e25 0%, #1a3d47 100%);
  border-radius: 20px; padding: 48px 40px;
  position: relative; overflow: hidden;
}
.auth-philosophy::before {
  content: '"';
  position: absolute; top: -28px; left: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 220px; font-weight: 800;
  color: rgba(245,166,35,0.07);
  line-height: 1; pointer-events: none;
}
.auth-phil-label {
  font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.auth-phil-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px; background: var(--gold);
}
.auth-phil-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700; color: white;
  line-height: 1.4; margin-bottom: 32px;
}
.auth-phil-text span { color: var(--gold); }
.auth-phil-items { display: flex; flex-direction: column; gap: 11px; }
.auth-phil-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.65);
}
.auth-phil-item::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}

/* 4 — Broker Network */
.auth-brokers-wrap { background: #0d2028; padding: 96px 0; }
.auth-brokers-header { text-align: center; margin-bottom: 56px; }
.auth-label-gold { color: var(--gold) !important; }
.auth-label-gold::before { background: var(--gold) !important; }
.auth-title-white { color: white !important; }
.auth-desc-muted { color: rgba(255,255,255,0.45) !important; margin: 0 auto; }
.auth-brokers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.auth-broker-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 20px 16px 18px;
  text-align: center; transition: all 0.3s; cursor: default;
}
.auth-broker-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,166,35,0.22);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}
.auth-broker-logo {
  height: 70px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  padding: 8px 14px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}
.auth-broker-logo img {
  max-height: 38px; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.auth-broker-logo img[data-logo="landstar"],
.auth-broker-logo img[data-logo="armstrong"],
.auth-broker-logo img[data-logo="pls"] {
  max-height: 52px;
}
.auth-broker-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700; color: white; margin: 0;
}
.auth-brokers-footer-row {
  text-align: center; margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: rgba(255,255,255,0.42);
}
.auth-brokers-footer-row strong { color: var(--gold); }

/* 5 — Community */
.auth-community-wrap { background: var(--light); padding: 96px 0; }
.auth-community-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.auth-comm-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.auth-comm-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1.5px solid rgba(45,138,122,0.18);
  border-radius: 30px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  transition: all 0.2s;
}
.auth-comm-tag:hover {
  background: var(--teal); color: white; border-color: var(--teal);
}
.auth-community-card {
  background: linear-gradient(135deg, #1a3d47 0%, #0a1e25 100%);
  border-radius: 20px; padding: 48px 40px;
  position: relative; overflow: hidden;
}
.auth-comm-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800; color: white;
  line-height: 1.15; margin-bottom: 20px;
}
.auth-comm-heading span { color: var(--gold); }
.auth-comm-body {
  font-size: 14px; color: rgba(255,255,255,0.62);
  line-height: 1.75; margin-bottom: 28px;
}
.auth-comm-langs { display: flex; gap: 12px; flex-wrap: wrap; }
.auth-comm-lang {
  padding: 8px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
}
.auth-comm-lang.en {
  background: rgba(245,166,35,0.14); color: var(--gold);
  border: 1px solid rgba(245,166,35,0.24);
}
.auth-comm-lang.es {
  background: rgba(45,138,122,0.14); color: #5ecfbf;
  border: 1px solid rgba(45,138,122,0.24);
}

/* 6 — Final CTA */
.auth-cta-wrap {
  background: linear-gradient(135deg, #0a1e25 0%, #1a3d47 60%, #1e4d40 100%);
  padding: 100px 0; position: relative; overflow: hidden;
}
.auth-cta-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(245,166,35,0.08) 0%, transparent 65%);
}
.auth-cta-inner {
  text-align: center; position: relative; z-index: 1;
}
.auth-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.26);
  color: var(--gold); padding: 6px 18px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.auth-cta-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800; color: white;
  line-height: 1.06; margin-bottom: 20px;
}
.auth-cta-heading span { color: var(--gold); }
.auth-cta-sub {
  font-size: 17px; color: rgba(255,255,255,0.58);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.65;
}
.auth-cta-btn {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 16px 42px; border-radius: 8px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.02em;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.auth-cta-btn:hover {
  background: #ffc04a; transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(245,166,35,0.38);
}

/* Authority Responsive */
@media (max-width: 1000px) {
  .auth-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .auth-stat-item:nth-child(3)::after,
  .auth-stat-item:nth-child(6)::after { display: none; }
  .auth-timeline { grid-template-columns: 1fr; }
  .auth-timeline::before { display: none; }
  .auth-tl-item {
    flex-direction: row; align-items: flex-start;
    text-align: left; padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10); gap: 20px;
  }
  .auth-tl-dot { margin-bottom: 0; flex-shrink: 0; }
  .auth-trust-grid,
  .auth-community-grid { grid-template-columns: 1fr; gap: 40px; }
  .auth-brokers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .auth-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-stat-item:nth-child(even)::after { display: none; }
  .auth-brokers-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-philosophy { padding: 36px 28px; }
  .auth-community-card { padding: 36px 28px; }
}

/* ── Loads Gallery ── */
/* Loads gallery is now first inside #authority — needs nav clearance */
#authority { padding-top: 0; }
.loads-gallery-wrap {
  background: var(--white);
  padding: 100px 0 80px;
  border-top: none;
}
.loads-gallery-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.loads-gallery-text {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.loads-gallery-text .section-label {
  justify-content: center;
}
.loads-gallery-text .section-desc {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.loads-counter {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  background: var(--light);
  padding: 6px 18px; border-radius: 20px;
}
.loads-counter span { color: var(--navy); font-weight: 700; }
.loads-slider-wrap {
  position: relative;
  padding: 0 48px;
}
.loads-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(26,61,71,0.20);
  background: #0a1e25;
  line-height: 0;
}
.loads-track {
  display: flex;
  will-change: transform;
}
.loads-slide {
  min-width: 100%; width: 100%;
  height: auto; display: block; object-fit: cover;
}
.loads-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); border: 2px solid rgba(255,255,255,0.12);
  color: white; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.22s; z-index: 10;
  box-shadow: 0 8px 24px rgba(26,61,71,0.30);
  line-height: 1;
}
.loads-arrow:hover {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
  box-shadow: 0 10px 28px rgba(245,166,35,0.35);
  transform: translateY(-50%) scale(1.08);
}
.loads-prev { left: 0; }
.loads-next { right: 0; }
.loads-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 10;
}
.loads-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.22s; border: none; padding: 0;
}
.loads-dot.active { background: var(--gold); transform: scale(1.35); }
@media (max-width: 768px) {
  .loads-gallery-wrap { padding: 88px 0 0; }
  .loads-gallery-inner { gap: 32px; }
  .loads-slider-wrap { padding: 0 32px; }
  .loads-arrow { width: 42px; height: 42px; font-size: 17px; }
}
@media (max-width: 600px) {
  /* Section padding compacto — mantiene clearance del nav fijo */
  .loads-gallery-wrap { padding: 84px 0 0; }
  .loads-gallery-inner { gap: 18px; }
  /* Texto header: compacto, sin descripción */
  .loads-gallery-text { padding: 0 16px; }
  .loads-gallery-text .section-desc { display: none; }
  .loads-counter { margin-top: 10px; font-size: 12px; }
  /* Slider edge-to-edge: sale de los márgenes del section-inner */
  .loads-slider-wrap {
    padding: 0;
    margin: 0 -24px;
  }
  /* Sin border-radius para look inmersivo full-bleed */
  .loads-slider { border-radius: 0; box-shadow: none; }
  /* Flechas vuelven a estar dentro de la imagen en mobile */
  .loads-prev { left: 12px; }
  .loads-next { right: 12px; }
  .loads-arrow { width: 40px; height: 40px; font-size: 17px; }
}

/* ── Journey Page ── */
.journey-page-hero {
  background-image: url('../images/our-journey-hero.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 72px 0 80px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.journey-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,30,37,0.82) 0%,
    rgba(26,61,71,0.70) 55%,
    rgba(10,30,37,0.76) 100%
  );
  z-index: 0;
}
.journey-hero-accent {
  position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 70%);
  z-index: 1;
}
.journey-hero-inner { position: relative; z-index: 2; }
@media (max-width: 768px) {
  .journey-page-hero {
    background-position: 65% bottom;
    padding: 56px 0 56px;
    min-height: 280px;
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .journey-page-hero {
    padding: 40px 0 48px;
    min-height: 220px;
  }
}
.journey-page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 16px;
}
.journey-page-title span { color: var(--gold); }
.journey-hero-desc {
  color: rgba(255,255,255,0.6) !important;
  max-width: 600px;
  font-size: 17px;
}
.nav-link-active { color: var(--gold) !important; }
.nav-link-active::after { transform: scaleX(1) !important; background: var(--gold) !important; }

/* ── Nav Dropdown ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  color: rgba(255,255,255,0.8); font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 5px;
  transition: color 0.2s; position: relative;
}
.nav-dropdown-btn::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.2s; transform-origin: left;
}
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown.open .nav-dropdown-btn { color: #fff; }
.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown.open .nav-dropdown-btn::after { transform: scaleX(1); }
.nav-dropdown-arrow {
  font-size: 9px; display: inline-block; opacity: 0.7;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #152f38; border-radius: 10px;
  padding: 6px; min-width: 172px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.07);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 6px;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.09); }
@media (max-width: 768px) {
  .nav-dropdown, .nav-dropdown-btn, .nav-dropdown-menu { all: unset; display: contents; }
  .nav-dropdown-menu { display: contents; }
  .nav-dropdown-arrow { display: none; }
}
