/* ============================================================
   CORPORACIÓN RUWAY — style.css
   Versión: 1.0 | Autor: Corporación Ruway E.I.R.L.
   https://www.ruway.com.pe/
============================================================ */

/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
:root {
  /* Ruway Brand Colors */
  --rw-navy:       #132754;
  --rw-navy-mid:   #1B3A6B;
  --rw-navy-light: #1e4480;
  --rw-gold:       #C9A96E;
  --rw-gold-dk:    #b08f52;
  --rw-gold-lt:    #dfc28d;
  --rw-white:      #ffffff;
  --rw-off-white:  #f7f8fa;
  --rw-gray:       #8a96a3;
  --rw-dark-text:  #0e1f3d;
  --rw-mid-text:   #3a4a5c;
  --rw-light-text: #6b7a8d;
  --rw-border:     rgba(27, 58, 107, 0.12);
  --rw-border-dk:  rgba(255,255,255,0.10);
  --rw-card-bg:    #f0f3f8;

  /* Dark section */
  --rw-dark-bg:    #0c1a35;
  --rw-dark-mid:   #111f3e;
  --rw-dark-card:  #162648;

  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --nav-h:         80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  background: var(--rw-white);
  color: var(--rw-dark-text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ============================================================
   PRELOADER
============================================================ */
#preloader {
  position: fixed; inset: 0; background: var(--rw-navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.preloader-logo-svg {
  display: flex; align-items: center; gap: 16px;
}
.pl-r {
  width: 52px; height: 52px; position: relative;
}
.pl-r svg { width: 52px; height: 52px; }
.pl-wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.pl-wordmark span:first-child {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; color: rgba(255,255,255,0.6); text-transform: uppercase;
}
.pl-wordmark span:last-child {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  letter-spacing: 2px; color: var(--rw-white);
}
.preloader-bar {
  width: 140px; height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden;
}
.preloader-bar::after {
  content: ''; display: block; height: 100%; width: 0;
  background: var(--rw-gold); border-radius: 2px;
  animation: preload 2s ease forwards;
}
@keyframes preload { to { width: 100%; } }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(19, 39, 84, 0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rw-border-dk);
  z-index: 1000; transition: box-shadow .3s, background .3s;
}
#navbar.scrolled {
  background: rgba(12, 26, 53, 0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 52px; width: auto; display: block;
  object-fit: contain;
}

/* Footer logo — larger */
.footer-logo { }
.footer-logo-img {
  height: 72px; width: auto; display: block;
  object-fit: contain;
}

/* Keep old text/SVG rules harmless if referenced elsewhere */
.nav-logo-r { display: none; }
.nav-logo-text { display: none; }
.footer-logo-r { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 0; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; letter-spacing: .4px;
  color: rgba(255,255,255,0.75); padding: 0 18px; height: var(--nav-h);
  transition: color .25s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--rw-gold); }
.nav-links > li > a .chevron { font-size: 9px; transition: transform .25s; }
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(var(--nav-h) - 1px); left: -20px;
  background: var(--rw-white); border: 1px solid rgba(27,58,107,0.1);
  border-top: 3px solid var(--rw-gold);
  min-width: 280px; padding: 12px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s; border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 50px rgba(19,39,84,0.15);
  list-style: none;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown li a {
  display: block; padding: 10px 26px;
  font-size: 13px; color: var(--rw-mid-text);
  transition: color .2s, padding-left .2s;
}
.nav-dropdown li a:hover { color: var(--rw-navy-mid); padding-left: 32px; }

/* CTA nav button */
.btn-nav {
  background: var(--rw-gold) !important; color: var(--rw-navy) !important;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 10px 22px !important;
  border-radius: 5px; height: auto !important;
  transition: background .25s !important;
}
.btn-nav:hover { background: var(--rw-gold-lt) !important; }

/* Active nav link indicator */
.nav-links > li > a.active-section { color: var(--rw-gold) !important; }
.nav-links > li > a.active-section::after {
  content: ''; display: block; height: 2px; background: var(--rw-gold);
  position: absolute; bottom: 0; left: 18px; right: 18px;
}

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--rw-white); font-size: 22px; cursor: pointer; padding: 4px;
}

/* Mobile menu */
#mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--rw-white); border-top: 1px solid var(--rw-border);
  padding: 20px 28px 36px; z-index: 999; overflow-y: auto;
  max-height: calc(100vh - var(--nav-h));
}
#mobile-menu.open { display: block; }
.mob-link {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--rw-border);
  font-size: 15px; font-weight: 500; color: var(--rw-mid-text);
}
.mob-link:hover { color: var(--rw-navy-mid); }
.mob-sub { padding-left: 16px; }
.mob-sub .mob-link { font-size: 13px; color: var(--rw-light-text); }
.mob-social {
  display: flex; gap: 20px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--rw-border);
}
.mob-social a { font-size: 18px; color: var(--rw-gray); transition: color .2s; }
.mob-social a:hover { color: var(--rw-navy-mid); }

/* ============================================================
   HERO
============================================================ */
#hero {
  height: 100vh; min-height: 640px; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(12,26,53,0.82) 0%, rgba(19,39,84,0.5) 55%, rgba(12,26,53,0.3) 100%);
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; pointer-events: none;
}

.hero-road-line {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--rw-gold) 30%, var(--rw-gold) 70%, transparent 100%);
  opacity: 0.5;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 1260px; margin: 0 auto; padding: 0 28px;
  width: 100%; padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--rw-gold); margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 2px; background: var(--rw-gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 90px);
  line-height: 1.0; font-weight: 800;
  color: var(--rw-white); margin-bottom: 28px; max-width: 820px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-title em { color: var(--rw-gold); font-style: normal; }
.hero-desc {
  font-size: clamp(14px, 1.7vw, 17px); font-weight: 300;
  color: rgba(255,255,255,0.76); line-height: 1.8;
  max-width: 540px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary-rw {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rw-gold); color: var(--rw-navy);
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 16px 34px; border-radius: 5px;
  border: 2px solid var(--rw-gold); transition: all .3s;
}
.btn-primary-rw:hover { background: transparent; color: var(--rw-gold); }

.btn-outline-rw {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--rw-white);
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 16px 34px; border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.28); transition: all .3s;
}
.btn-outline-rw:hover { border-color: var(--rw-gold); color: var(--rw-gold); }

.hero-slide-nums {
  position: absolute; bottom: 36px; left: 44px;
  z-index: 4; display: flex; gap: 8px;
}
.hero-num {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .25s;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
}
.hero-num:hover { background: rgba(255,255,255,0.2); }
.hero-num.active {
  background: var(--rw-gold); border-color: var(--rw-gold);
  color: var(--rw-navy);
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.7);
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  transition: all .25s; backdrop-filter: blur(4px);
}
.hero-nav:hover {
  background: var(--rw-gold); border-color: var(--rw-gold);
  color: var(--rw-navy); transform: translateY(-50%) scale(1.08);
}
.hero-nav-prev { left: 24px; }
.hero-nav-next { right: 24px; }

.hero-arrow {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; background: none; border: none; padding: 0;
  animation: bounceArrow 2s ease infinite;
}
.hero-arrow span {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-family: var(--font-body);
}
.hero-arrow-chevron {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 14px;
  transition: all .3s;
}
.hero-arrow:hover .hero-arrow-chevron {
  border-color: var(--rw-gold); color: var(--rw-gold);
  background: rgba(201,169,110,0.1);
}
@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   PROBLEMA BANNER
============================================================ */
#problema {
  background: var(--rw-dark-bg);
  border-top: 3px solid var(--rw-gold);
  padding: 0;
}
.problema-inner {
  max-width: 1260px; margin: 0 auto; padding: 72px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.problema-stat {
  display: flex; flex-direction: column; gap: 8px;
}
.problema-num {
  font-family: var(--font-display); font-size: clamp(80px, 12vw, 140px);
  font-weight: 900; line-height: 1; color: var(--rw-gold); letter-spacing: -2px;
}
.problema-label {
  font-family: var(--font-display); font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--rw-white); line-height: 1.3; max-width: 380px;
}
.problema-sub {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6;
  margin-top: 8px; max-width: 340px;
}
.problema-text h3 {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; color: var(--rw-white); margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: .5px;
}
.problema-text p {
  font-size: 15px; color: rgba(255,255,255,0.62); line-height: 1.75;
  margin-bottom: 28px;
}
.problema-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--rw-gold);
  letter-spacing: 1px; text-transform: uppercase;
  border-bottom: 2px solid rgba(201,169,110,0.3); padding-bottom: 3px;
  transition: border-color .25s, gap .25s;
}
.problema-cta:hover { border-color: var(--rw-gold); gap: 16px; }

/* ============================================================
   SECTION COMMONS
============================================================ */
section { padding: 96px 0; }
.section-inner { max-width: 1260px; margin: 0 auto; padding: 0 28px; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--rw-navy-mid);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 28px; height: 2px; background: var(--rw-gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; line-height: 1.1; text-transform: uppercase;
  letter-spacing: .5px; color: var(--rw-dark-text);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 15px; color: var(--rw-light-text); line-height: 1.75;
  max-width: 620px; margin-bottom: 16px;
}

/* Fade-up animations */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ============================================================
   ABOUT
============================================================ */
#about { background: var(--rw-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: 12px; overflow: hidden;
  box-shadow: 20px 20px 0 var(--rw-gold);
  position: relative;
}
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.about-img-wrap:hover img { transform: scale(1.04); }
#constellationCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: 12px;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--rw-navy); color: var(--rw-white);
  border-radius: 10px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 12px 40px rgba(19,39,84,0.25);
  border-left: 4px solid var(--rw-gold);
}
.about-badge .num {
  font-family: var(--font-display); font-size: 40px; font-weight: 900;
  line-height: 1; color: var(--rw-gold);
}
.about-badge .lbl { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.4; }

.about-pillars {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0;
}
.about-pillar {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--rw-card-bg);
  border: 1.5px solid var(--rw-border);
  border-radius: 0 50px 50px 0;
  padding: 14px 24px 14px 20px;
  position: relative;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  cursor: default;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.about-pillar::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--rw-gold);
  border-radius: 2px 0 0 2px;
  transition: width .3s ease;
}
.about-pillar:hover {
  background: var(--rw-navy);
  border-color: var(--rw-navy);
  transform: translateX(6px);
  box-shadow: 6px 6px 24px rgba(19,39,84,0.2);
}
.about-pillar:hover::before { width: 6px; background: var(--rw-gold-lt); }
.about-pillar i {
  font-size: 18px; color: var(--rw-navy-mid);
  transition: color .3s; flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(27,58,107,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.about-pillar:hover i { color: var(--rw-gold); background: rgba(201,169,110,0.15); }
.about-pillar-text { display: flex; flex-direction: column; gap: 2px; }
.about-pillar h4 {
  font-size: 13px; font-weight: 700; color: var(--rw-dark-text);
  transition: color .3s; line-height: 1.2; margin: 0;
}
.about-pillar:hover h4 { color: var(--rw-white); }
.about-pillar p {
  font-size: 12px; color: var(--rw-light-text); line-height: 1.5; margin: 0;
  transition: color .3s;
}
.about-pillar:hover p { color: rgba(255,255,255,0.65); }

/* ============================================================
   STATS STRIP
============================================================ */
#stats { background: var(--rw-navy); padding: 64px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  text-align: center; padding: 32px 20px; position: relative;
}
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  display: block;
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 900; color: var(--rw-white); line-height: 1; margin-bottom: 8px;
}
.stat-num .accent { color: var(--rw-gold); }
.stat-lbl {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5;
  max-width: 160px; margin: 0 auto; display: block;
}

/* ============================================================
   SERVICES
============================================================ */
#services { background: var(--rw-off-white); }

.services-tabs {
  display: flex; gap: 0; margin-bottom: 40px;
  border-bottom: 2px solid var(--rw-border);
}
.svc-tab {
  background: none; border: none; padding: 14px 28px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--rw-light-text); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .25s;
}
.svc-tab.active { color: var(--rw-navy-mid); border-bottom-color: var(--rw-gold); }
.svc-tab:hover { color: var(--rw-navy-mid); }

.svc-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-panel.active { display: grid; }

.svc-card {
  background: var(--rw-white); border-radius: 12px;
  overflow: hidden; border: 1px solid var(--rw-border);
  transition: box-shadow .35s, transform .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.svc-card:hover {
  box-shadow: 0 16px 48px rgba(19,39,84,0.12);
  transform: translateY(-4px); border-color: rgba(201,169,110,0.4);
}
.svc-card-top {
  background: var(--rw-navy); padding: 0;
  position: relative; overflow: hidden; height: 180px;
}
.svc-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.svc-card:hover .svc-card-img { transform: scale(1.07); }
.svc-card-top-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,26,53,0.92) 0%, rgba(12,26,53,0.35) 100%);
  padding: 20px 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.svc-card-top-overlay h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--rw-white);
  line-height: 1.2; margin: 0;
}
.svc-card-top-overlay h3 span { color: var(--rw-gold); }
.svc-num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--rw-gold); border-radius: 6px;
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  color: var(--rw-navy); margin-bottom: 12px;
}
.svc-card-bottom {
  padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px;
}
.svc-card-bottom p { font-size: 14px; color: var(--rw-light-text); line-height: 1.7; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
}
.svc-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  background: var(--rw-card-bg); color: var(--rw-navy-mid);
  padding: 4px 10px; border-radius: 20px; border: 1px solid var(--rw-border);
}

/* ============================================================
   INDUSTRIES
============================================================ */
#industries { background: var(--rw-white); }
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.industry-card {
  position: relative; border-radius: 10px; overflow: hidden;
  height: 240px; cursor: pointer;
}
.industry-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,26,53,0.88) 0%, rgba(12,26,53,0.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; transition: background .3s;
}
.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(12,26,53,0.95) 0%, rgba(12,26,53,0.3) 100%);
}
.industry-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--rw-gold); margin-bottom: 4px; display: block;
}
.industry-card h3 {
  font-size: 18px; font-weight: 700; color: var(--rw-white);
  font-family: var(--font-display); text-transform: uppercase;
}
.industry-card p {
  font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.5;
  margin-top: 6px; max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.industry-card:hover p { max-height: 80px; }

/* ============================================================
   CLIENTES — CAROUSEL
============================================================ */
#clientes { background: var(--rw-dark-bg); padding: 72px 0; overflow: hidden; }
.clientes-header {
  text-align: center; margin-bottom: 56px;
}
.clientes-header .section-label { justify-content: center; color: rgba(255,255,255,0.5); }
.clientes-header .section-label::before { background: var(--rw-gold); }
.clientes-header h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800; text-transform: uppercase; color: var(--rw-white);
}
.clientes-carousel-wrap {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.clientes-track {
  display: flex; gap: 40px; width: max-content;
  padding: 20px 0 24px;
  animation: clientesScroll 28s linear infinite;
}
.clientes-track:hover { animation-play-state: paused; }
@keyframes clientesScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cliente-circle {
  flex-shrink: 0;
  width: 160px; height: 110px; border-radius: 14px;
  background: #1a1a1a;
  border: 1.5px solid #3a3a3a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 18px 14px; cursor: default;
  transition: background .4s ease, border-color .4s ease, transform .35s ease, box-shadow .4s ease, filter .4s ease;
  position: relative; overflow: hidden;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
}
.cliente-circle::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,169,110,0.18) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.cliente-circle::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--rw-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
  border-radius: 0 0 14px 14px;
}
.cliente-circle:hover {
  background: #ffffff;
  border-color: var(--rw-gold);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,169,110,0.4);
  filter: grayscale(0) contrast(1) brightness(1);
}
.cliente-circle:hover::before { opacity: 1; }
.cliente-circle:hover::after { transform: scaleX(1); }
.cliente-circle span {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: .9px; text-transform: uppercase;
  color: #c0c0c0; text-align: center; line-height: 1.3;
  position: relative; z-index: 1;
  transition: color .4s ease;
}
.cliente-circle:hover span {
  color: #1a1a1a;
}
.cliente-circle i {
  font-size: 24px; color: #707070;
  margin-bottom: 10px; display: block;
  position: relative; z-index: 1;
  transition: color .4s ease, transform .35s ease;
}
.cliente-circle:hover i {
  color: var(--rw-gold);
  transform: scale(1.15);
}
.cliente-circle img {
  max-width: 110px; max-height: 60px; object-fit: contain;
  margin-bottom: 6px; display: block;
  filter: grayscale(1) brightness(1.6) invert(0);
  transition: filter .4s ease;
  position: relative; z-index: 1;
}
.cliente-circle:hover img {
  filter: grayscale(0) brightness(1) invert(0);
}

/* ============================================================
   BROCHURE SECTION
============================================================ */
#brochure { background: var(--rw-navy-light); padding: 0; }
.brochure-inner {
  max-width: 1260px; margin: 0 auto; padding: 72px 28px;
  display: flex; align-items: center; gap: 72px;
}
.brochure-visual { flex-shrink: 0; width: 300px; }
.brochure-visual img {
  width: 100%; border-radius: 12px;
  box-shadow: 16px 16px 0 rgba(201,169,110,0.35);
  transition: transform .4s ease;
}
.brochure-visual img:hover { transform: scale(1.03) rotate(-1deg); }
.brochure-text { flex: 1; }
.brochure-text .section-label { color: rgba(255,255,255,0.5); }
.brochure-text .section-label::before { background: var(--rw-gold); }
.brochure-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 800;
  text-transform: uppercase; line-height: 1.1;
  color: var(--rw-white); margin-bottom: 16px;
}
.brochure-text p {
  font-size: 15px; color: rgba(255,255,255,0.62);
  line-height: 1.75; margin-bottom: 32px; max-width: 540px;
}
.brochure-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--rw-gold);
  color: var(--rw-navy);
  padding: 16px 36px; border-radius: 6px;
  border: 2px solid var(--rw-gold);
  position: relative; overflow: hidden;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 8px 32px rgba(201,169,110,0.35);
}
.brochure-link::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.brochure-link:hover {
  background: transparent; color: var(--rw-gold);
  box-shadow: 0 12px 48px rgba(201,169,110,0.5);
  transform: translateY(-3px);
  gap: 20px;
}
.brochure-link:hover::before { opacity: 1; }
.brochure-link i { font-size: 16px; transition: transform .3s; }
.brochure-link:hover i { transform: translateX(4px); }

/* ============================================================
   CONTACT
============================================================ */
#contact { background: var(--rw-card-bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 800;
  text-transform: uppercase; line-height: 1.1;
  color: var(--rw-dark-text); margin-bottom: 20px;
}
.contact-info p {
  font-size: 15px; color: var(--rw-light-text); line-height: 1.75; margin-bottom: 36px;
}
.contact-detail {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.contact-detail i {
  width: 42px; height: 42px; background: rgba(27,58,107,0.1);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--rw-navy-mid); font-size: 16px; flex-shrink: 0;
}
.contact-detail span { font-size: 14px; color: var(--rw-mid-text); }
.contact-detail a { color: var(--rw-mid-text); transition: color .2s; }
.contact-detail a:hover { color: var(--rw-navy-mid); }

.rw-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rw-form input,
.rw-form select,
.rw-form textarea {
  width: 100%; background: var(--rw-white); border: 1.5px solid var(--rw-border);
  border-radius: 7px; padding: 14px 16px; color: var(--rw-dark-text);
  font-family: var(--font-body); font-size: 14px;
  transition: border-color .25s; outline: none; appearance: none;
}
.rw-form input::placeholder,
.rw-form textarea::placeholder { color: var(--rw-light-text); }
.rw-form input:focus,
.rw-form select:focus,
.rw-form textarea:focus { border-color: var(--rw-navy-mid); }
.rw-form textarea { min-height: 120px; resize: vertical; }
.form-submit {
  background: var(--rw-navy); color: var(--rw-white);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 32px; border: 2px solid var(--rw-navy);
  border-radius: 7px; cursor: pointer; transition: all .3s;
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: transparent; color: var(--rw-navy); }
.form-success {
  display: none; text-align: center; padding: 40px;
  color: var(--rw-navy-mid); font-size: 16px; font-weight: 600;
}

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--rw-dark-bg); border-top: 3px solid var(--rw-gold); }
.footer-top {
  max-width: 1260px; margin: 0 auto; padding: 64px 28px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7;
  margin: 20px 0 24px; max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 14px; transition: all .25s;
}
.footer-social a:hover { background: var(--rw-gold); color: var(--rw-navy); border-color: var(--rw-gold); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rw-gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,0.45); transition: color .2s;
}
.footer-col ul li a:hover { color: var(--rw-white); }
.footer-bottom {
  max-width: 1260px; margin: 0 auto; padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--rw-gold); }

/* ============================================================
   FLOATING BUTTONS
============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 54px; height: 54px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.6); }
.scroll-top {
  position: fixed; bottom: 92px; right: 28px; z-index: 900;
  width: 46px; height: 46px; background: var(--rw-navy);
  border: 2px solid var(--rw-gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--rw-gold); font-size: 18px;
  box-shadow: 0 4px 20px rgba(19,39,84,0.4);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s, background .25s, box-shadow .25s;
}
.scroll-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top:hover {
  background: var(--rw-gold); color: var(--rw-navy);
  box-shadow: 0 6px 28px rgba(201,169,110,0.45);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrap { max-width: 520px; }
  .about-badge { right: 0; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-panel.active { grid-template-columns: repeat(2, 1fr); }
  .problema-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .about-pillars { flex-direction: column; }
  .about-pillar { clip-path: none; border-radius: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-panel.active { grid-template-columns: 1fr; }
  .brochure-inner { flex-direction: column; gap: 40px; }
  .brochure-visual { width: 100%; max-width: 360px; }
  .cliente-circle { width: 130px; height: 90px; }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cliente-circle { width: 115px; height: 80px; }
}
