/* Solnac Bearings — estilos landing */

:root {
  --navy-950: #050f38;
  --navy-900: #0a1968;
  --navy-800: #142a7a;
  --blue-700: #1c3ec2;
  --blue-600: #2758d9;
  --blue-500: #3f74f0;
  --blue-100: #e9f1fc;
  --blue-50: #f4f8fe;
  --white: #ffffff;
  --ink: #0d1b33;
  --muted: #56637d;
  --line: #dfe7f5;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(11, 34, 71, 0.35);
  --shadow-lift: 0 30px 60px -25px rgba(11, 34, 71, 0.45);
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy-900);
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
}

.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem); max-width: var(--container); margin: 0 auto; }

.section-heading { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-heading p:last-child { margin-bottom: 0; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-inner img {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--white);
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Background glow ---------- */
.page-glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 60vh;
  background: radial-gradient(circle at 30% 20%, rgba(47, 123, 219, 0.16), transparent 60%),
              radial-gradient(circle at 80% 0%, rgba(26, 79, 156, 0.14), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
  border-bottom: 1px solid var(--line);
}

/* Frosted-glass background lives on a pseudo-element (not on .site-header
   itself) because backdrop-filter/filter on an ancestor turns it into the
   containing block for position:fixed descendants — that collapsed the
   mobile nav panel's box to the header's height and made it render
   see-through over the hero content. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(11, 34, 71, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.brand-text small {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a { color: var(--navy-800); transition: color 0.2s ease; }
.site-nav a:hover { color: var(--blue-600); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(37, 211, 102, 0.65); }
.nav-cta svg { width: 18px; height: 18px; fill: currentColor; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.button svg { width: 20px; height: 20px; fill: currentColor; }

.button-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, 0.55);
}

.button-whatsapp:hover { transform: translateY(-3px); background: var(--whatsapp-dark); box-shadow: 0 20px 36px -12px rgba(18, 140, 126, 0.6); }

.button-ghost {
  background: var(--white);
  color: var(--navy-800);
  border: 1.5px solid var(--line);
}

.button-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-3px); }

.button-lg { padding: 1.2rem 2.2rem; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem) clamp(2rem, 6vw, 4rem);
}

.hero-lead { font-size: 1.08rem; max-width: 560px; }

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 2.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.hero-badges li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-badges strong {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy-900);
}

.hero-badges span { font-size: 0.85rem; color: var(--muted); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 44vw, 520px);
}

/* ---------- Industrial product scene (hero) ---------- */
.hero-product-scene {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  border: 1px solid rgba(223, 231, 245, 0.9);
  border-radius: var(--radius-lg);
  background: var(--blue-50);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.hero-collage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid var(--line);
}

.float-card span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.float-card strong { font-family: "Poppins", sans-serif; color: var(--navy-900); font-size: 1rem; }

.card-a { top: -8%; left: -8%; }
.card-b { bottom: -6%; right: -6%; }

[data-float] .float-card { animation: floaty 5s ease-in-out infinite; }
.card-b { animation-delay: 0.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 0.9rem 0;
  white-space: nowrap;
}

.trust-strip div {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-strip 26s linear infinite;
  padding-right: 3rem;
}

.trust-strip span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes scroll-strip {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-pill {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-pill strong, .stat-pill .stat-text {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blue-700);
}

.stat-pill span:last-child { font-size: 0.85rem; color: var(--muted); }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}

.product-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }

.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.product-card li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.product-card-images {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.product-card-images img {
  width: 50%;
  height: 130px;
  margin-bottom: 0;
}

.mini-cta {
  margin-top: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--whatsapp-dark);
}

.mini-cta:hover { text-decoration: underline; }

.catalog-banner {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
}

.catalog-banner strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.catalog-banner span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--blue-600), var(--navy-800));
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Process ---------- */
.process-lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
  margin-bottom: 2.5rem;
}

.process-lane li {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
}

.process-lane span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--blue-600);
  margin-bottom: 0.6rem;
}

.process-lane b { display: block; font-family: "Poppins", sans-serif; font-size: 1rem; color: var(--navy-900); margin-bottom: 0.4rem; }
.process-lane p { font-size: 0.88rem; margin-bottom: 0; }

.process-cta { text-align: center; }

/* ---------- Distributors ---------- */
.distributors {
  background: linear-gradient(150deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius-lg);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
}

.distributors-copy { max-width: 640px; margin: 0 auto; }
.distributors h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.distributors p { color: rgba(255, 255, 255, 0.82); }
.distributors .eyebrow { color: #9cc4f7; }
.distributors .eyebrow::before { background: linear-gradient(90deg, #9cc4f7, var(--white)); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue-600);
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  background: radial-gradient(circle at 50% 0%, var(--blue-50), var(--white));
}

.final-cta span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 700px;
  margin: 0.6rem auto 1.8rem;
}

/* ---------- Sticky WhatsApp ---------- */
.sticky-whatsapp {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.65);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  animation: pulse-cta 2.4s ease-in-out infinite;
}

.sticky-whatsapp svg { width: 24px; height: 24px; fill: currentColor; }

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.65); }
  50% { box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.95), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-whatsapp, [data-float] .float-card, .trust-strip div, .loader-ring { animation: none !important; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.25rem, 5vw, 3rem) 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.site-footer .brand-text strong { color: var(--white); }
.site-footer .brand-text small { color: rgba(255, 255, 255, 0.55); }
.footer-brand p { max-width: 320px; margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; font-weight: 600; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--white); }

.footer-contact a {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--whatsapp);
  white-space: nowrap;
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(100%, 520px); margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-lane { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 68px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    padding: 1rem clamp(1.25rem, 5vw, 3rem) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    border-bottom: 1px solid var(--line);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: 0.8rem; border-bottom: none; }
  .nav-toggle { display: flex; }

  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-lane { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; }
  .hero-product-scene { width: min(100%, 420px); }
  .sticky-whatsapp span { display: none; }
  .sticky-whatsapp { padding: 0.9rem; border-radius: 50%; }
}
