/* ============================================================
   Full Pack Perú — Premium Industrial B2B
   Archetype: Editorial Dark Warm · Corporate Navy Blue
   ============================================================ */

/* --- TOKENS --- */
:root {
  --bg:        #f5f7fb;
  --bg-alt:    #ffffff;
  --bg-card:   #ffffff;
  --surface:   #eef2f8;
  --border:    #dfe6f0;
  --text:      #24344a;
  --text-muted:#5c6e85;
  --ink:       #14263e;
  --accent:    #12518f;
  --accent-glow: rgba(18,81,143,.2);
  --accent-dark: #0c3a68;
  --accent-light:#1976D2;
  --navy:      #0d2138;
  --white:     #fff;
  --black:     #0d2138;
  --gold:      #c9a84c;
  --radius:    12px;
  --radius-lg: 20px;
  --ease:      cubic-bezier(.22,1,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Poppins", var(--font);
  --nav-h:     72px;
}

/* --- RESET --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--accent); }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--white); }

/* --- ACCESSIBILITY --- */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 12px 24px; background: var(--accent); color: var(--white);
  border-radius: 0 0 8px 8px; font-weight: 600; transition: top .3s;
}
.skip-link:focus { top: 0; }

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

/* --- SPLASH --- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  transition: opacity .6s var(--ease), visibility .6s;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-logo-img {
  display: block;
  margin: 0 auto 16px;
  width: 80px; height: 80px;
  background: var(--accent);
  border-radius: 16px;
  padding: 10px;
}
.splash-logo-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--white);
  animation: splash-pulse 1.2s ease-in-out infinite alternate;
}
.splash-logo-text em { color: var(--accent-light); }
.splash-tagline {
  margin-top: 18px;
  font-size: clamp(.85rem, 1.6vw, 1.05rem);
  font-weight: 500;
  letter-spacing: .08em;
  color: #9fb4cc;
}
.splash-line {
  display: block; width: 60px; height: 3px; margin: 16px auto 0;
  background: var(--accent);
  animation: splash-grow 1.5s var(--ease) forwards;
  transform-origin: left;
}
@keyframes splash-pulse { from { opacity: .6; } to { opacity: 1; } }
@keyframes splash-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Safety net: auto-hide splash after 2.2s even if JS fails */
@keyframes splash-safety { 0%,99% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.splash { animation: splash-safety 2.2s forwards; }

/* --- NAVIGATION --- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(13,38,66,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  padding: 4px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.nav-logo-text strong { color: var(--ink); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .25s, background .25s;
  position: relative;
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--accent);
  background: rgba(18,81,143,.07);
}
.nav-link-dropdown { display: flex; align-items: center; gap: 5px; }
.nav-chevron { transition: transform .3s var(--ease); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 16px 44px rgba(13,38,66,.16);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background .2s;
}
.dropdown-item:hover { background: var(--surface); }
.dropdown-icon { font-size: 1.3rem; flex-shrink: 0; }
.dropdown-item strong { display: block; font-size: .875rem; color: var(--ink); }
.dropdown-item small { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 1px; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 99px;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; }
.nav-mobile-inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.nav-mobile-link {
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  padding: 12px 24px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-mobile-link:hover { color: var(--accent); background: var(--surface); }
.nav-mobile-sub { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.nav-mobile-sub a {
  font-size: .95rem; color: var(--text-muted); padding: 8px 16px;
  transition: color .2s;
}
.nav-mobile-sub a:hover { color: var(--accent); }
.nav-mobile-cta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 14px 32px;
  background: var(--accent); color: var(--white);
  font-weight: 600; font-size: 1rem;
  border-radius: 99px;
  transition: background .25s;
}
.nav-mobile-cta:hover { background: var(--accent-dark); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2138 0%, #12518f 55%, #1976D2 100%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 78% 45%, rgba(255,255,255,.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(9,25,45,.5) 0%, transparent 60%);
}
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual img {
  width: 100%; max-width: 520px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(5,18,35,.5);
  transform: rotate(2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover img { transform: rotate(0deg) scale(1.02); }
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: .03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-content {
  position: relative; z-index: 3;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { max-width: 620px; }
.hero-logo-badge {
  display: block;
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.hero-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 500;
  color: #a8c2e0;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #c6d6ea;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-title em { color: #7db8f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 3;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: .95rem; font-weight: 600;
  border-radius: 99px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,.4); color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: .85rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 99px;
}
.btn-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(13,66,128,.08);
}

/* --- SECTION HEADERS --- */
.section-logo-badge {
  display: block;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 12px;
  padding: 7px;
  margin: 0 auto 16px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header--sm { margin-bottom: 32px; }
.section-kicker {
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
.section-desc {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* --- STATS --- */
.stats {
  padding: 56px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- FEATURED PRODUCTS --- */
.featured {
  padding: 100px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  will-change: transform;
}
.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(13,38,66,.14);
  border-color: rgba(13,66,128,.35);
}
.featured-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.featured-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.featured-card:hover .featured-card-img img { transform: scale(1.06); }
.featured-card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px;
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 99px;
}
.featured-card-body { padding: 28px; }
.featured-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.featured-card-body p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.featured-specs {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.featured-specs li {
  font-size: .82rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.featured-specs li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- ABOUT / WHY CHOOSE US --- */
.about {
  padding: 100px 0;
  position: relative;
  background: var(--bg-alt);
}
.about-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(13,66,128,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212,168,83,.04) 0%, transparent 60%);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative; z-index: 1;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,66,128,.3);
  box-shadow: 0 12px 34px rgba(13,38,66,.12);
}
.about-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,66,128,.15);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}
.about-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.about-card p {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.65;
}

/* --- CLIENTS MARQUEE --- */
.clients-section {
  padding: 80px 0 60px;
}
.clients-marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-track {
  display: flex; align-items: center; gap: 64px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.client-logo-img {
  height: 64px; width: auto;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.client-logo-img:hover {
  transform: scale(1.12);
}
@media (max-width: 600px) {
  .client-logo-img { height: 48px; }
}
.client-logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: .08em;
  opacity: .5;
  transition: opacity .3s, color .3s;
}
.client-logo-text:hover { opacity: 1; color: var(--accent); }
.client-logo-text--accent:hover { color: var(--accent); }
.client-dot {
  color: var(--accent);
  font-size: .5rem;
  opacity: .4;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- CATALOG --- */
.catalog {
  padding: 100px 0;
  background: var(--bg-alt);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13,66,128,.25);
  box-shadow: 0 12px 30px rgba(13,38,66,.12);
}
.catalog-card-img {
  aspect-ratio: 3/2; overflow: hidden;
}
.catalog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.catalog-card:hover .catalog-card-img img { transform: scale(1.05); }
.catalog-card-body {
  padding: 20px;
}
.catalog-card-body h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.catalog-card-body p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.catalog .section-title { font-size: clamp(2rem, 4vw, 3.1rem); }
.catalog-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px;
  font-size: .85rem; font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border-radius: 99px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.catalog-cta:hover {
  background: var(--accent-dark);
  transform: scale(1.07);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* --- DISTRIBUTORS --- */
.distributors {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.distributors-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(13,66,128,.1) 0%, transparent 60%);
}
.distributors-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
.distributors-text { max-width: 520px; }
.distributors-text .section-kicker { text-align: left; }
.distributors-text .section-title { text-align: left; margin-bottom: 20px; }
.distributors-text > p {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 28px;
}
.distributors-benefits { margin-bottom: 32px; }
.distributors-benefits li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-size: .95rem;
  color: var(--text);
}
.distributors-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.distributors-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-item-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,66,128,.15);
  border-radius: 12px;
  color: var(--accent);
}
.contact-item strong {
  display: block; font-size: .95rem;
  color: var(--ink); margin-bottom: 4px;
}
.contact-item p { font-size: .9rem; color: var(--text-muted); }
.contact-item a {
  color: var(--text-muted);
  transition: color .2s;
}
.contact-item a:hover { color: var(--accent); }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.form-field {
  position: relative;
}
.form-field--full { grid-column: 1 / -1; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 18px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: .92rem;
  transition: border-color .3s, box-shadow .3s;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-field label {
  position: absolute;
  top: 14px; left: 18px;
  font-size: .9rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all .25s var(--ease);
  transform-origin: left;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-8px) scale(.78);
  color: var(--accent);
}
.btn-submit {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 50px;
}
.btn-submit .btn-spinner,
.btn-submit .btn-check { display: none; }
.btn-submit.is-loading .btn-label { opacity: 0; }
.btn-submit.is-loading .btn-spinner {
  display: block; position: absolute;
  width: 22px; height: 22px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.is-success { background: #2e7d32; pointer-events: none; }
.btn-submit.is-success .btn-label { opacity: 0; }
.btn-submit.is-success .btn-check {
  display: block; position: absolute;
}

.form-success {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.form-success.is-visible { opacity: 1; visibility: visible; }
.form-success h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--ink);
}
.form-success p { color: var(--text-muted); }

/* --- FOOTER --- */
.footer {
  padding: 64px 0 0;
  background: var(--navy);
}
.footer .nav-logo-text { color: #8fa5bd; }
.footer .nav-logo-text strong { color: var(--white); }
.footer-brand > p, .footer-links a, .footer-bottom { color: #8fa5bd; }
.footer-social a { border-color: #24405e; color: #8fa5bd; }
.footer-grid { border-bottom-color: #1c3450 !important; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 340px; }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand > p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: color .25s, border-color .25s, background .25s;
}
.footer-social a:hover {
  color: var(--white);
  border-color: var(--accent);
  background: rgba(13,66,128,.15);
}
.footer-links h4 {
  font-size: .85rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: .88rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 20px 24px;
  font-size: .8rem;
  color: var(--text-muted);
}

/* --- WHATSAPP BUBBLE --- */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-icon { flex-shrink: 0; }
.whatsapp-tooltip {
  position: absolute;
  right: 72px; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 10px 18px;
  background: var(--white);
  color: #333;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.whatsapp-tooltip::after {
  content: "";
  position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--white);
}
.whatsapp-bubble:hover .whatsapp-tooltip { opacity: 1; }

.whatsapp-pulse {
  position: absolute; inset: -6px;
  border: 2px solid #25D366;
  border-radius: 50%;
  animation: wa-pulse 2.5s ease-out infinite;
}
.whatsapp-pulse--delay { animation-delay: 1.25s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* --- REVEAL ANIMATION --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Defensive: split-text elements should never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; }
  .splash.is-done { opacity: 0; visibility: hidden; }
  .hero-scroll-line { animation: none; opacity: .5; }
  .whatsapp-pulse { animation: none; display: none; }
  .hero-dot { animation: none; }
  .splash-logo-text { animation: none; opacity: 1; }
  .splash-line { animation: none; transform: scaleX(1); }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .distributors-content { grid-template-columns: 1fr; }
  .distributors-image { max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual img { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta span { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .about-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form { grid-template-columns: 1fr; padding: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }

  .hero-content { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 60px; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }

  .section-header { margin-bottom: 40px; }
  .featured, .about, .catalog, .distributors, .contact { padding: 72px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .whatsapp-bubble { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
