/* ============ RR Container — Sophisticated Industrial ============ */

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1A2B4C;
  --navy-deep: #101E38;
  --graphite: #4A4A4A;
  --bg: #F8F9FA;
  --white: #FFFFFF;
  --cta: #FFB703;
  --cta-hover: #F9A03F;
  --whatsapp: #25D366;
  --radius: 12px;
  --shadow-sm: 0 4px 14px rgba(16, 30, 56, .08);
  --shadow-lg: 0 18px 44px rgba(16, 30, 56, .18);
  --font: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-lg { padding: 18px 34px; font-size: 1rem; }

.btn-cta {
  background: var(--cta);
  color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(255, 183, 3, .35);
}
.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(249, 160, 63, .45);
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 30, 56, .06);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(16, 30, 56, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cta);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--cta-hover); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: .82rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--navy-deep) url('assets/img/hero.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 30, 56, .94) 0%, rgba(16, 30, 56, .78) 45%, rgba(16, 30, 56, .38) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cta);
  border: 1px solid rgba(255, 183, 3, .45);
  background: rgba(255, 183, 3, .1);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero-title span { color: var(--cta); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.hero-trust {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .03em;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--cta-hover);
  margin-bottom: 14px;
}
.section-tag.light { color: var(--cta); }
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title.light { color: var(--white); }
.section-title .accent { color: var(--cta-hover); }
.section-sub { max-width: 620px; font-size: 1.05rem; margin-bottom: 20px; }
.applications .section-sub { color: rgba(255, 255, 255, .7); }

/* ---------- Benefits ---------- */
.benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 30, 56, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.benefit-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 14px;
  margin-bottom: 20px;
}
.benefit-icon svg { width: 28px; height: 28px; color: var(--cta); }
.benefit-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.benefit-card p { font-size: .92rem; color: var(--graphite); }

/* ---------- Applications ---------- */
.applications {
  background:
    linear-gradient(rgba(16, 30, 56, .97), rgba(16, 30, 56, .94)),
    url('assets/img/entrega.jpg') center / cover fixed;
  background-color: var(--navy-deep);
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.app-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  border-color: rgba(255, 183, 3, .45);
}
.app-img { height: 220px; overflow: hidden; }
.app-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.app-card:hover .app-img img { transform: scale(1.07); }
.app-body { padding: 26px; }
.app-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.app-body p { font-size: .93rem; color: rgba(255, 255, 255, .78); }

/* ---------- Sizes ---------- */
.sizes { margin-top: 80px; text-align: center; }
.sizes-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
}
.sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  text-align: left;
}
.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.size-card {
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: transform .3s ease, border-color .3s ease;
}
.size-card:hover { transform: translateY(-6px); border-color: rgba(255, 183, 3, .5); }
.size-number {
  display: block;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cta);
  margin-bottom: 14px;
}
.size-number small { font-size: 2rem; font-weight: 800; }
.size-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.size-card p { font-size: .93rem; color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.size-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--navy-deep);
  background: var(--cta);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ---------- Offer ---------- */
.offer {
  position: relative;
  padding: 120px 0;
  background: var(--navy-deep) url('assets/img/entrega.jpg') center / cover no-repeat;
  color: var(--white);
}
.offer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 30, 56, .95) 0%, rgba(26, 43, 76, .82) 55%, rgba(26, 43, 76, .45) 100%);
}
.offer-content { position: relative; z-index: 2; max-width: 680px; }
.offer-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 20px;
}
.offer-title span { color: var(--cta); }
.offer-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
  max-width: 580px;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg); text-align: center; }
.contact .section-sub { margin: 0 auto 40px; font-weight: 600; color: var(--cta-hover); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.btn-whatsapp-giant {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--whatsapp);
  color: var(--white);
  text-decoration: none;
  padding: 22px 40px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 16px 40px rgba(37, 211, 102, .4);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
}
.btn-whatsapp-giant:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 22px 50px rgba(37, 211, 102, .5); }
.btn-whatsapp-giant .icon { width: 42px; height: 42px; flex: none; }
.btn-whatsapp-giant span { display: flex; flex-direction: column; line-height: 1.25; text-transform: uppercase; }
.btn-whatsapp-giant small { font-size: .95rem; font-weight: 600; opacity: .92; text-transform: none; }

.contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  padding: 22px 36px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
  text-align: left;
}
.contact-instagram:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); }
.contact-instagram .icon { width: 34px; height: 34px; flex: none; }
.contact-instagram span { display: flex; flex-direction: column; line-height: 1.25; }
.contact-instagram small { font-size: .8rem; font-weight: 600; opacity: .75; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 70px 24px 50px;
}
.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 18px;
}
.footer-logo-wrap img { height: 56px; width: auto; }
.footer-brand p { font-size: .9rem; max-width: 340px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  transition: color .2s ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cta); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  font-size: .82rem;
  text-align: center;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s ease;
  animation: pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }
@keyframes pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 22px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px; right: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 76px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    padding: 32px 28px;
    box-shadow: -12px 0 40px rgba(16, 30, 56, .15);
    transform: translateX(105%);
    transition: transform .3s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; padding: 10px 0; }
  .nav-cta { margin-top: 14px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 70px; }
  .hero-actions .btn { width: 100%; }
  .btn-whatsapp-giant, .contact-instagram { width: 100%; justify-content: center; }
  .size-number { font-size: 3.4rem; }
  .offer { padding: 90px 0; }
}
