﻿:root{
  --primary:#4e67c8;
  --primary-dark:#354cae;
  --primary-soft:#7d8fe1;
  --text:#141b2d;
  --muted:#5d6577;
  --surface:#ffffff;
  --surface-2:#f5f7fc;
  --surface-3:#edf2ff;
  --border:#e7edf7;
  --shadow:0 20px 60px rgba(16, 27, 62, 0.12);
  --shadow-soft:0 12px 30px rgba(16, 27, 62, 0.08);
  --radius:22px;
  --container:1200px;
  --header-height:138px;
  --ease-standard:cubic-bezier(.22, 1, .36, 1);
  --ease-soft:cubic-bezier(.16, 1, .3, 1);
  --motion-fast:.24s;
  --motion-medium:.42s;
  --motion-slow:.78s;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter", sans-serif;
  color:var(--text);
  background:var(--surface);
  line-height:1.6;
  overflow-x:hidden;
}

body.menu-open{
  overflow:hidden;
}

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

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

button,
a{
  -webkit-tap-highlight-color:transparent;
}

button,
input,
textarea{
  font:inherit;
}

.container{
  width:min(100% - 32px, var(--container));
  margin-inline:auto;
}

/* HEADER */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  background:#2f4fb3;
  backdrop-filter:blur(14px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transition:background .35s ease, box-shadow .35s ease, transform .35s ease;
}

.site-header.scrolled{
  background:rgba(50, 88, 211, 0.96);
  box-shadow:0 16px 38px rgba(8, 17, 44, 0.18);
}

.topbar{
  border-bottom:1px solid rgba(255,255,255,.16);
}

.topbar__inner{
  min-height:86px;
  display:grid;
  grid-template-columns:220px 1fr auto;
  align-items:center;
  gap:24px;
}

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

.brand__logo{
  width:140px;
  height:auto;
  object-fit:contain;
}

.header-search{
  position:relative;
  width:100%;
  max-width:560px;
  margin-inline:auto;
}

.header-search input{
  width:100%;
  height:50px;
  border:none;
  outline:none;
  border-radius:999px;
  padding:0 62px 0 20px;
  background:rgba(255,255,255,.96);
  color:#1a1a1a;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}

.header-search input::placeholder{
  color:#7a8191;
}

.header-search button{
  position:absolute;
  top:50%;
  right:6px;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:none;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .25s ease, background .25s ease;
}

.header-search button:hover{
  background:var(--primary-dark);
  transform:translateY(-50%) scale(1.06);
}

.header-search svg{
  width:18px;
  height:18px;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-btn{
  position:relative;
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.92);
  color:#172347;
  border:1px solid rgba(255,255,255,.58);
  box-shadow:0 12px 26px rgba(8, 17, 44, 0.14);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.icon-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0));
  pointer-events:none;
}

.icon-btn:nth-child(1){
  color:#128c4a;
}

.icon-btn:nth-child(2){
  color:#2947a8;
}

.icon-btn:nth-child(3){
  color:#d68b00;
}

.icon-btn:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 18px 34px rgba(18, 26, 54, 0.22);
  background:#fff;
}

.icon-btn:focus-visible,
.menu-toggle:focus-visible,
.header-search button:focus-visible{
  outline:3px solid rgba(255,255,255,.78);
  outline-offset:3px;
}

.icon-btn svg{
  position:relative;
  z-index:1;
  width:21px;
  height:21px;
  stroke-width:2.15;
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:none;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 26px rgba(8, 17, 44, 0.14);
  cursor:pointer;
  padding:10px;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.menu-toggle:hover{
  transform:translateY(-3px);
  background:#fff;
  box-shadow:0 18px 34px rgba(18, 26, 54, 0.22);
}

.menu-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:#172347;
  margin:5px 0;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.navbar{
  min-height:52px;
  display:flex;
  align-items:center;
}

.nav-wrap{
  position:relative;
}

.nav-list{
  list-style:none;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:52px;
}

.nav-list a{
  position:relative;
  display:inline-block;
  padding:12px 0;
  color:#fff;
  font-family:"Barlow Condensed", sans-serif;
  font-size:1.05rem;
  letter-spacing:.4px;
  text-transform:capitalize;
  opacity:.82;
  transform:translateY(0);
  transition:opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.nav-list a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:8px;
  width:0;
  height:2px;
  background:#fff;
  transition:width .3s ease;
}

.nav-list a:hover,
.nav-list a.active{
  opacity:1;
  transform:translateY(-1px);
}

.nav-list a:hover::after,
.nav-list a.active::after{
  width:100%;
}

/* HERO */
.hero{
  position:relative;
  margin-top:var(--header-height);
  min-height:calc(100vh - var(--header-height));
  overflow:hidden;
}

.hero-slider{
  position:relative;
  height:calc(100vh - var(--header-height));
  min-height:620px;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  visibility:visible;
  z-index:0;
  pointer-events:none;
  transform:scale(1.08);
  transform-origin:center;
  backface-visibility:hidden;
  will-change:opacity, transform, background-position;
  transition:
    opacity 1.35s cubic-bezier(.22, 1, .36, 1),
    transform 7s cubic-bezier(.16, 1, .3, 1),
    background-position .45s linear;
}

.slide.active{
  opacity:1;
  z-index:2;
  pointer-events:auto;
  transform:scale(1.015);
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(8,12,28,.62) 0%, rgba(8,12,28,.28) 42%, rgba(8,12,28,.08) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:760px;
  color:#fff;
  pointer-events:none;
  padding-block:24px;
}

.hero-content > *{
  opacity:0;
  transform:translateY(34px) scale(.985);
  filter:blur(8px);
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1),
    filter .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay:0s;
  will-change:opacity, transform, filter;
}

.slide.active .hero-content{
  pointer-events:auto;
}

.slide.active .hero-content > *{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

.slide.active .hero-content > :nth-child(1){
  transition-delay:.18s;
}

.slide.active .hero-content > :nth-child(2){
  transition-delay:.28s;
}

.slide.active .hero-content > :nth-child(3){
  transition-delay:.39s;
}

.slide.active .hero-content > :nth-child(4){
  transition-delay:.5s;
}

.hero-kicker,
.section-tag{
  display:inline-block;
  width:fit-content;
  margin-bottom:18px;
  padding:8px 14px;
  border-radius:999px;
  font-size:.98rem;
  font-weight:700;
}

.hero-kicker{
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

.hero-content h1{
  font-family:"Barlow Condensed", sans-serif;
  font-size:clamp(3rem, 6vw, 5.4rem);
  line-height:.95;
  letter-spacing:.3px;
  margin-bottom:18px;
  text-transform:uppercase;
}

.hero-content h2{
  font-family:"Barlow Condensed", sans-serif;
  font-size:clamp(2.8rem, 4.8vw, 4.5rem);
  line-height:1;
  letter-spacing:.3px;
  margin-bottom:18px;
  text-transform:uppercase;
}

.hero-content p{
  font-size:1.16rem;
  max-width:700px;
  color:rgba(255,255,255,.92);
  margin-bottom:30px;
  text-wrap:balance;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  font-weight:600;
  position:relative;
  overflow:hidden;
  transition:transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.btn::after{
  content:"";
  position:absolute;
  inset:auto auto 0 0;
  width:100%;
  height:100%;
  background:linear-gradient(120deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 78%);
  transform:translateX(-140%);
  transition:transform .7s var(--ease-standard);
  pointer-events:none;
}

.btn--primary{
  background:#fff;
  color:#1a2344;
  box-shadow:var(--shadow);
}

.btn:hover::after{
  transform:translateX(140%);
}

.btn--primary:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(16, 27, 62, 0.18);
}

.btn--ghost{
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

.btn--ghost:hover{
  background:rgba(255,255,255,.16);
  transform:translateY(-3px);
}

.btn--solid{
  background:linear-gradient(135deg, var(--primary), var(--primary-dark));
  color:#fff;
  border:none;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}

.btn--solid:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(53, 76, 174, 0.24);
}

.btn:active,
.icon-btn:active,
.product-card:active,
.blog-card:active,
.contact-link:active{
  transform:scale(.985);
}

.slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,.24);
  color:#fff;
  font-size:2rem;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:background .25s ease, transform .25s ease;
}

.slider-arrow:hover{
  background:rgba(0,0,0,.4);
}

.slider-arrow--left{
  left:24px;
}

.slider-arrow--right{
  right:24px;
}

.slider-dots{
  position:absolute;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  gap:10px;
}

.dot{
  width:34px;
  height:10px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  cursor:pointer;
  transition:width .25s ease, background .25s ease, transform .25s ease;
}

.dot.active{
  width:54px;
  background:#fff;
}

/* SECTIONS */
.section{
  padding:96px 0;
}

.section-head{
  max-width:760px;
  margin:0 auto 48px;
  text-align:center;
}

.section-tag{
  margin-bottom:14px;
  background:rgba(78,103,200,.1);
  color:var(--primary-dark);
}

.section-head h2,
.about-content h2,
.contact-info h2,
.final-cta h2{
  font-family:"Barlow Condensed", sans-serif;
  font-size:clamp(2.2rem, 5vw, 3.4rem);
  line-height:1;
  margin-bottom:14px;
  text-transform:uppercase;
}

.section-head p,
.about-content p,
.contact-info p,
.final-cta p{
  color:var(--muted);
  font-size:1rem;
  text-wrap:pretty;
}

/* REVEAL */
.reveal-up{
  opacity:0;
  transform:translate3d(0, 34px, 0) scale(.985);
  filter:blur(10px);
  transition:
    opacity var(--motion-slow) var(--ease-standard),
    transform var(--motion-slow) var(--ease-soft),
    filter var(--motion-medium) ease;
}

.reveal-up.is-visible{
  opacity:1;
  transform:translate3d(0, 0, 0) scale(1);
  filter:blur(0);
}

/* SERVICES */
/* SERVICES */
.services{
  background:var(--surface-2);
}

.cards{
  display:grid;
  gap:24px;
}

.cards--products{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

.cards--products .product-card{
  grid-column:auto !important;
}

.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  transition:transform .28s ease, box-shadow .28s ease;
}

.product-card{
  position:relative;
  overflow:hidden;
  min-height:430px;
  height:100%;
  padding:22px 22px 24px;
  border:1px solid var(--border);
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  isolation:isolate;
}

.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(78,103,200,.08), transparent 48%);
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
}

.product-card::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:calc(var(--radius) - 1px);
  border:1px solid rgba(255,255,255,.8);
  opacity:.7;
  pointer-events:none;
}

.product-card:hover::before{
  opacity:1;
}

.product-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 50px rgba(24, 40, 89, 0.14);
}

.product-image{
  height:190px;
  border-radius:18px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  overflow:hidden;
  position:relative;
  flex-shrink:0;
}

.product-image::after{
  content:"";
  position:absolute;
  inset:auto -20% -36% auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.5), rgba(255,255,255,0) 70%);
  opacity:.7;
  pointer-events:none;
}

.category-card{
  min-height:360px;
  padding:24px;
  text-align:center;
}

.category-card .product-image{
  height:270px;
  margin-bottom:20px;
  background:#f3f6ff;
}

.category-card h3{
  min-height:auto;
  margin:0;
  font-size:1.3rem;
}

.cards--products .product-card:not(.category-card){
  min-height:360px;
  padding:22px;
  text-align:center;
}

.cards--products .product-card:not(.category-card) .product-image{
  height:260px;
  margin-bottom:20px;
}

.cards--products .product-card:not(.category-card) .product-image img{
  transform:scale(1.08);
}

.cards--products .product-card:not(.category-card):hover .product-image img{
  transform:scale(1.16);
}

.cards--products .product-card:not(.category-card) h3{
  min-height:auto;
  margin:0;
  font-size:1.24rem;
  line-height:1.25;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .45s ease;
}

.product-card:hover .product-image img{
  transform:scale(1.0);
}

.card-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  margin-bottom:18px;
  display:grid;
  place-items:center;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-soft));
  flex-shrink:0;
}

.product-card h3{
  margin-bottom:10px;
  font-size:1.18rem;
  color:#172347;
  min-height:58px;
  line-height:1.3;
}

.product-card p{
  color:var(--muted);
  margin-bottom:18px;
  min-height:78px;
  line-height:1.6;
}

.product-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid #d6def6;
  color:var(--primary-dark);
  font-weight:600;
  background:#fff;
  transition:transform .25s ease, background .25s ease, border-color .25s ease;
}

.product-link:hover{
  transform:translateY(-2px);
  background:#f5f8ff;
  border-color:#bcc9f1;
}
/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:center;
}

.about-panel{
  display:grid;
  gap:18px;
}

.about-box{
  background:#fff;
  border:1px solid #edf0f7;
  box-shadow:var(--shadow-soft);
  border-radius:var(--radius);
  padding:24px;
  position:relative;
  overflow:hidden;
  transition:transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.about-box::before{
  content:"";
  position:absolute;
  inset:18px auto 18px 0;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--primary), var(--primary-soft));
  opacity:.16;
  transition:opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.about-box:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:#dfe6f7;
}

.about-box:hover::before{
  opacity:.9;
  transform:translateX(2px);
}

.about-box strong{
  display:block;
  font-size:1.1rem;
  margin-bottom:6px;
}

.about-box span{
  color:var(--muted);
}

/* CONTACT */
.contact{
  background:linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
}

.contact-grid,
.contact__grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:start;
}

.contact-info,
.contact-form{
  background:#fff;
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  padding:32px;
  border:1px solid rgba(231,237,247,.85);
}

.contact-actions{
  display:grid;
  gap:14px;
  margin-top:28px;
}

.contact-link{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:18px 20px;
  border-radius:16px;
  background:var(--surface-3);
  border:1px solid #dde5ff;
  transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
  overflow:hidden;
}

.contact-link::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,0));
  opacity:0;
  transition:opacity var(--motion-fast) ease;
  pointer-events:none;
}

.contact-link:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-soft);
}

.contact-link:hover::after{
  opacity:1;
}

.contact-link strong{
  font-size:1rem;
  color:#1a2344;
}

.contact-link span{
  color:var(--muted);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.contact-form label,
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}

.contact-form label,
.form-group label{
  font-weight:600;
  color:#1e2748;
}

.contact-form input,
.contact-form textarea,
.form-group input,
.form-group textarea{
  width:100%;
  border:1px solid #d9e0f3;
  background:#f9fbff;
  border-radius:14px;
  padding:14px 16px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.form-group input:focus,
.form-group textarea:focus{
  border-color:var(--primary-soft);
  box-shadow:0 0 0 4px rgba(78,103,200,.1);
  background:#fff;
}

.contact-form textarea,
.form-group textarea{
  resize:vertical;
  min-height:140px;
}

.form-honeypot{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-status{
  margin-top:14px;
  min-height:24px;
  font-size:.95rem;
  color:var(--primary-dark);
  font-weight:600;
}

.form-status a{
  color:var(--primary-dark);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* BLOG */
.blog{
  background:#fff;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.blog-card{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border:1px solid #eef1f7;
  transition:transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.blog-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:#dde6f7;
}

.blog-card__image{
  height:310px;
  background:#eef3ff;
  overflow:hidden;
}

.blog-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .45s ease;
}

.blog-card__img--pinch{
  object-position:center 8%;
}

.blog-card__img--changer{
  object-position:center 2%;
}

.blog-card__img--cuchilla{
  object-position:center top;
}

.blog-card:hover .blog-card__image img{
  transform:scale(1.04);
}

.blog-card__body{
  padding:18px 20px 20px;
  display:grid;
  align-content:start;
  min-height:188px;
}

.blog-badge{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:#eef3ff;
  color:var(--primary-dark);
  font-size:.84rem;
  font-weight:700;
}

.blog-card__body h3{
  margin-bottom:8px;
  font-size:1.04rem;
  line-height:1.25;
}

.blog-card__body p{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
  margin:0;
}

/* FINAL CTA */
.final-cta{
  background:linear-gradient(135deg, #4e67c8, #354cae);
  color:#fff;
}

.final-cta__box{
  text-align:center;
  max-width:900px;
  position:relative;
}

.final-cta .section-tag{
  background:rgba(255,255,255,.14);
  color:#fff;
}

.final-cta p{
  color:rgba(255,255,255,.86);
  max-width:720px;
  margin:0 auto;
}

.final-cta__actions{
  justify-content:center;
  margin-top:26px;
}

/* FOOTER */
.site-footer{
  background:#162338;
  color:#fff;
  padding:30px 0 16px;
  border-top:1px solid rgba(255,255,255,.08);
}

.site-footer::before{
  content:none;
}

.footer-main,
.footer-bottom{
  position:relative;
}

.footer-main{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr;
  gap:28px;
  align-items:start;
  text-align:left;
}

.footer-brand{
  max-width:320px;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  margin-bottom:12px;
}

.footer-logo img{
  width:136px;
  height:auto;
}

.footer-brand__text{
  max-width:32ch;
  color:rgba(255,255,255,.72);
}

.site-footer h4{
  margin-bottom:12px;
  color:#fff;
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a{
  color:rgba(255,255,255,.72);
}

.site-footer ul{
  list-style:none;
  display:grid;
  gap:8px;
}

.site-footer p{
  line-height:1.7;
}

.footer-brand p{
  margin-bottom:16px;
}

.footer-col a{
  display:inline-flex;
  padding:2px 0;
  transition:color .2s ease, transform .2s ease;
}

.site-footer a:hover{
  color:#fff;
}

.footer-col a:hover{
  transform:translateX(3px);
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.1);
}

.footer-bottom p{
  color:rgba(255,255,255,.52);
  font-size:.8rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(78,103,200,.28);
  outline-offset:3px;
}

/* SEARCH HIGHLIGHT */
.search-match{
  outline:3px solid rgba(78,103,200,.2);
  box-shadow:0 20px 45px rgba(24, 40, 89, 0.16);
}

/* RESPONSIVE */
@media (max-width: 1180px){
  .footer-main{
    grid-template-columns:1fr 1fr;
  }

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

  .cards--products .product-card:nth-child(1),
  .cards--products .product-card:nth-child(2),
  .cards--products .product-card:nth-child(3),
  .cards--products .product-card:nth-child(4),
  .cards--products .product-card:nth-child(5){
    grid-column:auto;
  }
}

@media (max-width: 980px){
  :root{
    --header-height:130px;
  }

  .topbar__inner{
    grid-template-columns:1fr auto;
    gap:16px;
  }

  .header-search{
    grid-column:1 / -1;
    max-width:100%;
    order:3;
    margin-bottom:14px;
  }

  .menu-toggle{
    display:block;
  }

  .nav-list{
    position:absolute;
    top:14px;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    gap:0;
    background:#445fc3;
    border-radius:18px;
    padding:12px;
    box-shadow:var(--shadow);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    pointer-events:none;
    transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
  }

  .nav-list.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  .nav-list li{
    width:100%;
  }

  .nav-list a{
    width:100%;
    padding:14px 12px;
    border-radius:12px;
  }

  .nav-list a:hover{
    background:rgba(255,255,255,.08);
  }

  .about-grid,
  .contact-grid,
  .contact__grid,
  .blog-grid,
  .footer-main{
    grid-template-columns:1fr;
  }

  .footer-brand{
    max-width:100%;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
  }

  .blog-card__image{
    height:360px;
  }

  .slider-arrow{
    width:46px;
    height:46px;
  }

  .slider-arrow--left{
    left:14px;
  }

  .slider-arrow--right{
    right:14px;
  }
}

@media (max-width: 680px){
  .cards--products{
    grid-template-columns:1fr;
  }

  .product-card{
    min-height:auto;
  }

  .product-image{
    height:180px;
  }

  .category-card .product-image{
    height:240px;
  }

  .cards--products .product-card:not(.category-card) .product-image{
    height:230px;
  }

  .blog-card__image{
    height:280px;
  }
}

@media (max-width: 640px){
  :root{
    --header-height:142px;
  }

  .brand__logo{
    width:118px;
  }

  .topbar__inner{
    min-height:74px;
  }

  .header-actions{
    gap:8px;
  }

  .icon-btn,
  .menu-toggle{
    width:40px;
    height:40px;
  }

  .hero{
    margin-top:var(--header-height);
  }

  .hero-slider{
    height:calc(100svh - var(--header-height));
    min-height:520px;
  }

  .hero-content{
    justify-content:flex-end;
    padding-bottom:84px;
  }

  .hero-content h1{
    font-size:clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-content h2{
    font-size:clamp(2rem, 8vw, 3.1rem);
  }

  .hero-content p{
    font-size:1rem;
  }

  .hero-buttons,
  .final-cta__actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .section{
    padding:72px 0;
  }

  .contact-info,
  .contact-form{
    padding:24px;
  }

  .form-row{
    grid-template-columns:1fr;
  }
}

.nav-list--static{
  justify-content:center;
}

.category-hero{
  padding:200px 0 90px;
  background:linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.category-hero__grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:32px;
  align-items:center;
}

.category-hero__content h1{
  font-family:"Barlow Condensed", sans-serif;
  font-size:clamp(2.6rem, 5vw, 4.2rem);
  line-height:1;
  margin-bottom:16px;
  text-transform:uppercase;
  color:#172347;
}

.category-hero__content p{
  color:var(--muted);
  margin-bottom:14px;
}

.category-hero__imageWrap{
  background:linear-gradient(180deg, #eef3ff 0%, #e6edff 100%);
  border-radius:28px;
  padding:30px;
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-soft);
}

.category-hero__image{
  max-width:100%;
  max-height:360px;
  object-fit:contain;
}

.cards--category-products{
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.btn--ghost-dark{
  border:1px solid #d7def4;
  color:#1a2344;
  background:#fff;
}

.btn--ghost-dark:hover{
  background:#f5f8ff;
}

@media (max-width: 980px){
  .category-hero{
    padding:180px 0 72px;
  }

  .category-hero__grid{
    grid-template-columns:1fr;
  }

  .cards--category-products{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .cards--category-products{
    grid-template-columns:1fr;
  }

  .category-hero__imageWrap{
    min-height:300px;
    padding:20px;
  }
}

.product-hero{
  padding:190px 0 80px;
  background:linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.product-hero__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:start;
}

.product-gallery{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
  border-radius:28px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.product-main-image-wrap{
  position:relative;
  background:linear-gradient(180deg, #ffffff 0%, #f3f1ec 100%);
  border-radius:24px;
  min-height:480px;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.product-main-image{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:center;
  transform:scale(1);
  transition:transform .35s ease;
  cursor:zoom-in;
}

.product-main-image-wrap:hover .product-main-image{
  transform:scale(1.05);
}

.product-zoom-hint{
  position:absolute;
  right:28px;
  bottom:24px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:rgba(18,18,18,.72);
  color:#fff;
  font-weight:800;
  cursor:zoom-in;
  backdrop-filter:blur(8px);
  transition:background .25s ease, transform .25s ease;
}

.product-zoom-hint:hover{
  background:rgba(18,18,18,.86);
  transform:translateY(-2px);
}

.product-zoom-hint svg{
  width:20px;
  height:20px;
}

.product-thumbs{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}

.product-thumb{
  border:1px solid #e1e4ec;
  background:#fff;
  border-radius:16px;
  min-height:134px;
  padding:14px 14px 12px;
  cursor:pointer;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-thumb img{
  width:100%;
  height:70px;
  object-fit:contain;
  transform:scale(1);
  transition:transform .25s ease;
}

.product-thumb.active{
  outline:none;
  border-color:#f2b84b;
  box-shadow:0 10px 24px rgba(37, 58, 130, 0.12);
}

.product-thumb:hover{
  transform:translateY(-2px);
}

.product-thumb:hover img,
.product-thumb.active img{
  transform:scale(1.12);
}

.product-thumb__label{
  color:#5d6170;
  font-weight:800;
  font-size:.9rem;
  line-height:1.2;
  text-align:center;
}

.image-zoom-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(8, 12, 28, .92);
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}

.image-zoom-modal.show{
  opacity:1;
  visibility:visible;
}

.image-zoom-modal img{
  max-width:96vw;
  max-height:88vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  transform:scale(var(--zoom-scale, 1));
  transition:transform .2s ease;
  cursor:zoom-in;
}

.image-zoom-modal.is-zoomed img{
  cursor:zoom-out;
}

.image-zoom-modal__toolbar{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  padding:8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
}

.image-zoom-modal__control{
  min-width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:#fff;
  color:#172347;
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
}

.image-zoom-modal__close{
  position:absolute;
  top:20px;
  right:24px;
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#172347;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
}

.product-info h1{
  font-family:"Barlow Condensed", sans-serif;
  font-size:clamp(2.6rem, 5vw, 4.2rem);
  line-height:1;
  margin-bottom:16px;
  color:#172347;
  text-transform:uppercase;
}

.product-subtitle{
  font-size:1.15rem;
  font-weight:600;
  color:#3c4f89;
  margin-bottom:16px;
}

.product-description{
  color:var(--muted);
  font-size:1rem;
  margin-bottom:24px;
}

.product-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.btn--outline-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid #ccd7f4;
  background:#fff;
  color:#1a2344;
  font-weight:600;
  transition:transform .25s ease, background .25s ease, border-color .25s ease;
}

.btn--outline-dark:hover{
  transform:translateY(-2px);
  background:#f5f8ff;
  border-color:#b8c8ef;
}

.catalog-unavailable{
  display:inline-flex;
  align-items:center;
  min-height:50px;
  padding:0 18px;
  border-radius:999px;
  background:#eef2f8;
  color:#6c768f;
  font-weight:600;
}

.product-specs-section{
  padding-top:10px;
}

.section-head--left{
  text-align:left;
  margin:0 0 28px;
}

.specs-table-wrap{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border:1px solid #d7ddeb;
}

.specs-table{
  width:100%;
  border-collapse:collapse;
}

.specs-table th,
.specs-table td{
  border:1px solid #1f1f1f;
  padding:18px 18px;
  font-size:1rem;
}

.specs-table th{
  width:29%;
  background:#f5f5f5;
  color:#334b79;
  font-weight:700;
}

.specs-table td{
  background:#fff;
  color:#46506a;
}

.whatsapp-float{
  position:fixed;
  bottom:24px;
  z-index:999;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  height:50px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 16px 35px rgba(14, 32, 82, 0.22);
}

.whatsapp-float--right{
  right:24px;
  left:auto;
  background:#3157d6;
  color:#fff;
}

.whatsapp-float--right:hover{
  background:#284ac0;
}

@media (max-width: 980px){
  .product-hero{
    padding:170px 0 70px;
  }

  .product-hero__grid{
    grid-template-columns:1fr;
  }

  .product-main-image-wrap{
    min-height:440px;
  }
}

@media (max-width: 640px){
  .product-thumbs{
    grid-template-columns:repeat(2, 1fr);
  }

  .product-main-image-wrap{
    min-height:340px;
    padding:14px;
  }

  .product-main-image{
    max-height:none;
  }

  .product-thumb{
    min-height:124px;
  }

  .product-thumb img{
    height:68px;
  }

  .product-zoom-hint{
    right:18px;
    bottom:18px;
    min-height:40px;
    padding:0 14px;
    font-size:.86rem;
  }

  .image-zoom-modal{
    padding:18px;
  }

  .image-zoom-modal img{
    max-height:82vh;
  }

  .image-zoom-modal__toolbar{
    bottom:16px;
  }

  .specs-table th,
  .specs-table td{
    padding:14px 12px;
    font-size:.92rem;
  }

  .whatsapp-float--right{
    right:14px;
    bottom:14px;
    min-width:120px;
    height:46px;
  }
}


/* SEARCH UI */
.header-search.search-open input{
  border-bottom-left-radius:24px;
  border-bottom-right-radius:24px;
}

.search-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(16, 27, 62, 0.16);
  padding:10px;
  display:grid;
  gap:6px;
  z-index:30;
}

.search-result{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  transition:background .2s ease, transform .2s ease;
}

.search-result:hover{
  background:var(--surface-2);
  transform:translateY(-1px);
}

.search-result__type{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--primary-dark);
}

.search-result strong,
.search-result span{
  color:var(--text);
}

.search-result span:last-child,
.search-empty span{
  color:var(--muted);
  font-size:.94rem;
}

.search-result mark{
  background:rgba(78,103,200,.16);
  color:inherit;
  padding:0 2px;
  border-radius:4px;
}

.search-empty{
  display:grid;
  gap:4px;
  padding:14px;
}

.is-hidden-search{
  display:none !important;
}

.search-match{
  box-shadow:0 0 0 2px rgba(78,103,200,.22), 0 24px 50px rgba(24, 40, 89, 0.14);
}
.search-results{
  position:absolute;
  top:calc(100% + 8px);

  left:50%;
  transform:translateX(-50%) translateY(6px);

  width:520px;        /* ancho del cuadro */
  max-width:90vw;     /* para que no se rompa en móvil */

  background:#fff;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  border:1px solid #e6ebf5;

  max-height:320px;
  overflow-y:auto;

  z-index:1200;

  opacity:0;
  visibility:hidden;
  transition:.2s ease;
}
.search-results.show{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.search-result-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-bottom:1px solid #f1f3f7;
  text-decoration:none;
  color:#172347;
  transition:background .15s ease;
}

.search-result-item:last-child{
  border-bottom:none;
}

.search-result-item:hover{
  background:#f7f9fc;
}

.search-result-item.is-active{
  background:#eef3ff;
  outline:1px solid rgba(78,103,200,.18);
}

.search-result-image{
  width:42px;
  height:42px;
  flex-shrink:0;
  border-radius:10px;
  background:#f0f2f7;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.search-result-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.search-result-info{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.search-result-info strong{
  font-size:.9rem;
  font-weight:600;
  color:#0f1e3c;
}

.search-result-info span{
  font-size:.78rem;
  color:#667085;
}

.whatsapp-choice{
  position:fixed;
  z-index:2500;
  min-width:260px;
  max-width:min(92vw, 340px);
  padding:12px;
  border:1px solid #dbe3ef;
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 48px rgba(15, 30, 60, .22);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.whatsapp-choice.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.whatsapp-choice__title{
  margin:0 0 8px;
  color:#172347;
  font-size:.9rem;
  font-weight:700;
}

.whatsapp-choice__option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  color:#10233f;
  text-decoration:none;
  font-weight:700;
  transition:background .16s ease, color .16s ease;
}

.whatsapp-choice__option:hover{
  background:#edf8f2;
  color:#128c55;
}

.whatsapp-choice__option span{
  color:#667085;
  font-size:.78rem;
  font-weight:600;
}

@media (max-width:560px){
  .whatsapp-choice{
    left:50% !important;
    right:auto !important;
    bottom:20px !important;
    top:auto !important;
    transform:translateX(-50%) translateY(8px);
  }

  .whatsapp-choice.show{
    transform:translateX(-50%) translateY(0);
  }
}

.site-intro{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 24% 22%, rgba(46, 104, 210, .32), transparent 30%),
    radial-gradient(circle at 78% 70%, rgba(15, 58, 142, .36), transparent 34%),
    linear-gradient(135deg, #061735 0%, #0b2b67 46%, #123d83 100%);
  color:#fff;
}

.site-intro::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image:radial-gradient(circle at center, #000 0%, transparent 72%);
  opacity:0;
  transform:scale(1.08) rotate(.001deg);
  animation:intro-grid 1.4s cubic-bezier(.2,.8,.2,1) forwards;
}

.site-intro::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg, transparent 0%, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%, transparent 100%);
  transform:translateX(-120%);
  animation:intro-sweep .9s cubic-bezier(.22,1,.36,1) .35s forwards;
}

.site-intro__panel{
  position:relative;
  z-index:2;
  display:grid;
  justify-items:center;
  gap:18px;
  width:min(86vw, 560px);
  text-align:center;
}

.site-intro__mark{
  position:relative;
  display:grid;
  place-items:center;
  width:138px;
  height:138px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:8px;
  background:rgba(10, 42, 99, .52);
  box-shadow:0 30px 80px rgba(2, 16, 48, .36);
  transform:translateY(18px) scale(.92);
  opacity:0;
  animation:intro-mark .72s cubic-bezier(.16,1,.3,1) .12s forwards;
}

.site-intro__mark::before,
.site-intro__mark::after{
  content:"";
  position:absolute;
  inset:-10px;
  border:1px solid rgba(95, 159, 255, .58);
  border-radius:8px;
  transform:scale(.88);
  opacity:0;
  animation:intro-ring .95s cubic-bezier(.16,1,.3,1) .25s forwards;
}

.site-intro__mark::after{
  inset:-20px;
  border-color:rgba(255,255,255,.18);
  animation-delay:.38s;
}

.site-intro__logo{
  width:104px;
  height:auto;
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.28));
}

.site-intro__title{
  margin:0;
  font-family:"Barlow Condensed", "Inter", sans-serif;
  font-size:clamp(2.25rem, 7vw, 4.7rem);
  line-height:.9;
  letter-spacing:0;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(18px);
  animation:intro-copy .68s cubic-bezier(.16,1,.3,1) .38s forwards;
}

.site-intro__subtitle{
  margin:0;
  color:rgba(255,255,255,.76);
  font-size:clamp(.9rem, 2.5vw, 1rem);
  font-weight:700;
  opacity:0;
  transform:translateY(12px);
  animation:intro-copy .62s cubic-bezier(.16,1,.3,1) .52s forwards;
}

.site-intro__bar{
  position:relative;
  width:min(320px, 72vw);
  height:3px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  opacity:0;
  animation:intro-copy .5s ease .58s forwards;
}

.site-intro__bar::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, #2f7df4, #ffffff, #f4be2f);
  transform:translateX(-100%);
  animation:intro-load 1s cubic-bezier(.65,0,.35,1) .62s forwards;
}

.site-intro.is-leaving{
  pointer-events:none;
  animation:intro-exit .62s cubic-bezier(.76,0,.24,1) forwards;
}

.site-intro.is-leaving .site-intro__panel{
  animation:intro-panel-exit .45s cubic-bezier(.76,0,.24,1) forwards;
}

body.intro-running{
  overflow:hidden;
}

@keyframes intro-grid{
  to{
    opacity:1;
    transform:scale(1) rotate(.001deg);
  }
}

@keyframes intro-sweep{
  to{
    transform:translateX(120%);
  }
}

@keyframes intro-mark{
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@keyframes intro-ring{
  45%{
    opacity:1;
  }

  to{
    opacity:0;
    transform:scale(1.08);
  }
}

@keyframes intro-copy{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes intro-load{
  to{
    transform:translateX(0);
  }
}

@keyframes intro-panel-exit{
  to{
    opacity:0;
    transform:translateY(-18px) scale(.98);
  }
}

@keyframes intro-exit{
  to{
    opacity:0;
    clip-path:inset(0 0 100% 0);
  }
}

/* MOBILE READABILITY PASS */
@media (max-width: 900px){
  :root{
    --header-height:136px;
  }

  body{
    font-size:16px;
  }

  .site-header{
    position:sticky;
    top:0;
  }

  .topbar__inner{
    grid-template-columns:minmax(104px, auto) 1fr auto;
    gap:10px;
    min-height:74px;
  }

  .brand__logo{
    width:128px;
  }

  .header-actions{
    justify-content:flex-end;
  }

  .header-search{
    grid-column:1 / -1;
    order:3;
    max-width:none;
    margin:0 0 12px;
  }

  .header-search input{
    height:46px;
    padding-left:16px;
    padding-right:56px;
  }

  .navbar{
    min-height:auto;
  }

  .nav-wrap{
    width:100%;
  }

  .nav-list{
    top:8px;
    border-radius:8px;
    max-height:calc(100dvh - var(--header-height) - 20px);
    overflow-y:auto;
  }

  .nav-list a{
    min-height:44px;
    display:flex;
    align-items:center;
    letter-spacing:0;
  }

  .nav-list--static{
    position:static;
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    gap:10px;
    background:transparent;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    max-height:none;
    padding:6px 0 10px;
    border-radius:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
  }

  .nav-list--static li{
    width:auto;
    flex:0 0 auto;
  }

  .nav-list--static::-webkit-scrollbar{
    display:none;
  }

  .nav-list--static a{
    white-space:nowrap;
    padding:10px 14px;
    border-radius:8px;
    background:rgba(255,255,255,.08);
  }

  .hero,
  .category-hero,
  .product-hero{
    margin-top:0;
  }

  .category-hero{
    padding:52px 0 58px;
  }

  .product-hero{
    padding:50px 0 58px;
  }

  .category-hero__grid,
  .product-hero__grid,
  .about-grid,
  .contact-grid,
  .contact__grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .category-hero__imageWrap,
  .product-gallery{
    width:100%;
    max-width:560px;
    margin-inline:auto;
  }

  .product-gallery{
    border-radius:8px;
    padding:14px;
  }

  .cards--products,
  .cards--category-products{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
  }

  .footer-bottom{
    align-items:flex-start;
    gap:8px;
  }
}

@media (max-width: 640px){
  :root{
    --header-height:58px;
    --radius:8px;
  }

  .site-header{
    background:#2f4fb3;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
  }

  .site-header.scrolled{
    background:rgba(50, 88, 211, 0.96);
    box-shadow:0 16px 38px rgba(8, 17, 44, 0.18);
  }

  .topbar{
    border-bottom:1px solid rgba(255,255,255,.16);
  }

  .topbar__inner{
    width:min(100% - 22px, var(--container));
    min-height:58px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 42px 42px;
    gap:6px;
    align-items:center;
  }

  .header-actions{
    display:contents;
  }

  .container{
    width:min(100% - 28px, var(--container));
  }

  .icon-btn,
  .menu-toggle,
  .header-search button{
    min-width:38px;
    min-height:38px;
  }

  .icon-btn,
  .menu-toggle{
    width:38px;
    height:38px;
    border-radius:8px;
    background:transparent;
    border:0;
    box-shadow:none;
    color:#fff;
    padding:0;
  }

  .brand__logo{
    width:132px;
    content:url("../../img/logo-movil.png");
  }

  .brand{
    grid-column:1;
    justify-self:start;
    min-width:0;
  }

  .menu-toggle{
    display:flex;
    grid-column:3;
    grid-row:1;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    order:0;
    justify-self:end;
  }

  .menu-toggle span{
    width:24px;
    height:2px;
    margin:0;
    background:#fff;
    transform:none;
    transform-origin:center;
    opacity:1;
    transition:transform .28s cubic-bezier(.16, 1, .3, 1), opacity .18s ease, width .22s ease;
  }

  .menu-toggle.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2){
    opacity:0;
    transform:scaleX(.2);
  }

  .menu-toggle.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .menu-toggle:not(.active) span{
    opacity:1;
    transform:none;
  }

  .header-search{
    grid-column:2;
    grid-row:1;
    justify-self:end;
    width:42px;
    max-width:42px;
    margin:0;
    order:0;
  }

  .header-search button{
    position:static;
    width:42px;
    height:38px;
    transform:none;
    border-radius:8px;
    background:transparent;
    color:#fff;
  }

  .header-search button:hover{
    background:rgba(255,255,255,.12);
    transform:none;
  }

  .header-search input{
    position:fixed;
    top:66px;
    left:12px;
    right:12px;
    z-index:1300;
    width:auto;
    height:48px;
    padding:0 16px;
    border:1px solid #dbe3ef;
    border-radius:8px;
    box-shadow:0 18px 45px rgba(15, 30, 60, .18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .header-search.search-open input{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }

  .icon-btn:nth-child(1){
    display:none;
  }

  .icon-btn:nth-child(2){
    display:none;
  }

  .icon-btn:nth-child(3){
    display:none;
  }

  .icon-btn svg,
  .header-search svg{
    width:23px;
    height:23px;
  }

  .nav-list--static{
    position:absolute;
    top:8px;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    gap:0;
    background:#445fc3;
    border-radius:8px;
    padding:12px;
    box-shadow:var(--shadow);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    pointer-events:none;
    overflow:visible;
    transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
  }

  .nav-list--static.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  .nav-list--static li{
    width:100%;
  }

  .nav-list--static a{
    width:100%;
    justify-content:flex-start;
    background:transparent;
  }

  .hero-slider{
    height:calc(100dvh - var(--header-height));
    min-height:520px;
    touch-action:pan-y;
  }

  .slider-arrow,
  .slider-dots{
    display:none;
  }

  .hero-content{
    align-items:center;
    text-align:center;
    justify-content:flex-end;
    max-width:360px;
    margin-inline:auto;
    padding:42px 0 76px;
  }

  .hero-kicker,
  .section-tag{
    margin-bottom:12px;
    font-size:.82rem;
    line-height:1.25;
  }

  .hero-kicker{
    margin-inline:auto;
  }

  .hero-content h1,
  .hero-content h2,
  .category-hero__content h1,
  .product-info h1{
    letter-spacing:0;
    line-height:1.02;
    overflow-wrap:anywhere;
  }

  .hero-content h1{
    font-size:clamp(2.35rem, 12vw, 3.45rem);
  }

  .hero-content h2{
    font-size:clamp(2.15rem, 10vw, 3.1rem);
  }

  .category-hero__content h1,
  .product-info h1{
    font-size:clamp(2.25rem, 11vw, 3.2rem);
  }

  .hero-content p,
  .category-hero__content p,
  .product-description,
  .section-head p,
  .about-content p,
  .contact-info p,
  .final-cta p{
    font-size:1rem;
    line-height:1.68;
  }

  .hero-content p{
    max-width:310px;
    margin-inline:auto;
  }

  .hero-buttons,
  .product-actions,
  .final-cta__actions{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    justify-items:center;
  }

  .btn,
  .btn--outline-dark,
  .catalog-unavailable{
    width:min(100%, 260px);
    min-height:48px;
    border-radius:8px;
  }

  .about-content{
    text-align:center;
  }

  .about-content .section-tag{
    margin-inline:auto;
  }

  .about-content .btn{
    margin-inline:auto;
  }

  .about-panel{
    gap:12px;
  }

  .about-box{
    display:grid;
    justify-items:center;
    text-align:center;
    gap:6px;
    padding:18px 16px;
    border-color:#e8edf7;
    box-shadow:0 10px 24px rgba(16, 27, 62, .06);
  }

  .about-box strong{
    margin:0;
    font-size:1.02rem;
    line-height:1.2;
  }

  .about-box span{
    font-size:.95rem;
    line-height:1.5;
    max-width:260px;
  }

  .section{
    padding:58px 0;
  }

  .section-head{
    text-align:left;
    margin-bottom:30px;
  }

  .section-head h2,
  .about-content h2,
  .contact-info h2,
  .final-cta h2{
    font-size:clamp(2rem, 10vw, 2.65rem);
    line-height:1.04;
    letter-spacing:0;
  }

  .blog-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }

  .blog-card{
    border-radius:8px;
  }

  .blog-card__image{
    height:auto;
    aspect-ratio:1 / 1;
  }

  .blog-card__body{
    padding:10px;
  }

  .blog-badge{
    margin-bottom:8px;
    padding:5px 8px;
    font-size:.72rem;
    border-radius:8px;
  }

  .blog-card__body h3{
    font-size:.88rem;
    line-height:1.2;
    margin-bottom:0;
  }

  .blog-card__body p{
    display:none;
  }

  .cards--products,
  .cards--category-products{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }

  .product-card,
  .category-card,
  .cards--products .product-card:not(.category-card){
    min-height:auto;
    padding:12px;
    border-radius:8px;
    text-align:center;
  }

  .product-image,
  .category-card .product-image,
  .cards--products .product-card:not(.category-card) .product-image{
    height:auto;
    min-height:0;
    aspect-ratio:1 / 1;
    margin-bottom:10px;
    border-radius:8px;
  }

  .product-image img,
  .cards--products .product-card:not(.category-card) .product-image img{
    width:100%;
    height:100%;
    max-height:160px;
    object-fit:contain;
    transform:none;
  }

  .product-card h3,
  .cards--products .product-card:not(.category-card) h3{
    font-size:.92rem;
    line-height:1.22;
    min-height:auto;
  }

  .product-card p{
    display:none;
  }

  .product-link{
    min-height:34px;
    padding:0 8px;
    font-size:.82rem;
    border-radius:8px;
  }

  .contact-link{
    width:100%;
    min-height:46px;
    border-radius:8px;
  }

  .category-hero__imageWrap{
    min-height:0;
    aspect-ratio:4 / 3;
    padding:16px;
    border-radius:8px;
  }

  .category-hero__image{
    width:100%;
    height:100%;
    max-height:300px;
    object-fit:contain;
  }

  .product-main-image-wrap{
    min-height:0;
    aspect-ratio:1 / 1;
    padding:10px;
    border-radius:8px;
  }

  .product-main-image{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .product-thumbs{
    gap:8px;
  }

  .product-thumb{
    min-height:92px;
    padding:8px;
    gap:6px;
    border-radius:8px;
  }

  .product-thumb img{
    height:46px;
  }

  .product-thumb__label{
    font-size:.78rem;
    line-height:1.15;
  }

  body[data-page="product"] .product-info{
    order:1;
  }

  body[data-page="product"] .product-gallery{
    order:2;
  }

  body[data-page="product"] .product-specs-section{
    order:3;
  }

  body[data-page="product"] .product-info{
    display:contents;
  }

  body[data-page="product"] .product-info .section-tag{
    order:1;
  }

  body[data-page="product"] .product-info h1{
    order:2;
  }

  body[data-page="product"] .product-subtitle{
    order:3;
  }

  body[data-page="product"] .product-description{
    order:4;
  }

  body[data-page="product"] .product-gallery{
    order:5;
  }

  body[data-page="product"] .product-actions{
    order:6;
    margin-top:4px;
    justify-items:center;
    width:100%;
  }

  body[data-page="product"] .product-actions .btn,
  body[data-page="product"] .product-actions .catalog-unavailable{
    width:280px;
    max-width:100%;
    min-height:48px;
    padding:0 16px;
    justify-self:center;
  }

  .product-zoom-hint{
    right:14px;
    bottom:14px;
    min-height:44px;
    border-radius:8px;
  }

  .image-zoom-modal{
    padding:14px;
  }

  .image-zoom-modal img{
    border-radius:8px;
  }

  .image-zoom-modal__toolbar{
    max-width:calc(100vw - 28px);
    overflow-x:auto;
    border-radius:8px;
  }

  .contact-info,
  .contact-form,
  .about-box{
    padding:22px;
    border-radius:8px;
  }

  .contact-form{
    display:grid;
    gap:14px;
    padding:20px;
    box-shadow:0 12px 28px rgba(16, 27, 62, .07);
  }

  .form-row{
    grid-template-columns:1fr;
    gap:0;
  }

  .contact-form label,
  .form-group{
    gap:7px;
    margin-bottom:0;
  }

  .contact-form label,
  .form-group label{
    font-size:.9rem;
    line-height:1.2;
  }

  .form-group input,
  .form-group textarea,
  .form-group select,
  .contact-form input,
  .contact-form textarea,
  .contact-form select{
    min-height:48px;
    font-size:16px;
    border-radius:8px;
    padding:13px 14px;
    background:#fff;
  }

  .form-group textarea,
  .contact-form textarea{
    min-height:128px;
  }

  .contact-form .btn{
    justify-self:center;
    margin-top:4px;
  }

  .form-status{
    margin-top:0;
    text-align:center;
    font-size:.9rem;
    line-height:1.45;
  }

  .specs-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .specs-table{
    min-width:560px;
  }

  .specs-table th,
  .specs-table td{
    padding:12px;
    font-size:.94rem;
    line-height:1.45;
  }

  .search-results{
    position:fixed;
    top:118px;
    left:14px;
    right:14px;
    width:auto;
    max-width:none;
    max-height:min(68dvh, 520px);
    transform:translateY(6px);
    border-radius:8px;
  }

  .search-results.show{
    transform:translateY(0);
  }

  .search-result-item{
    min-height:62px;
    padding:10px;
    gap:12px;
  }

  .search-result-image{
    width:56px;
    height:56px;
    flex-basis:56px;
  }

  .search-result-info strong,
  .search-result-info span{
    overflow-wrap:anywhere;
  }

  .site-footer{
    padding-bottom:calc(72px + env(safe-area-inset-bottom));
  }

  .footer-main{
    gap:22px;
  }

  .footer-bottom{
    align-items:flex-start;
    text-align:left;
  }

  .footer-col ul{
    display:grid;
    justify-content:start;
    gap:8px;
  }

  .whatsapp-float--right{
    right:14px;
    bottom:calc(14px + env(safe-area-inset-bottom));
    min-width:112px;
    height:48px;
    border-radius:8px;
  }

  .whatsapp-choice{
    width:calc(100vw - 28px);
    max-width:360px;
  }
}

@media (min-width: 641px){
  .cards--products,
  .cards--category-products{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px){
  .container{
    width:min(100% - 22px, var(--container));
  }

  .topbar__inner{
    gap:8px;
  }

  .brand__logo{
    width:122px;
  }

  .header-actions{
    gap:6px;
  }

  .hero-content h1{
    font-size:clamp(2.1rem, 13vw, 3rem);
  }

  .hero-content h2{
    font-size:clamp(2rem, 12vw, 2.75rem);
  }

  .category-hero__content h1,
  .product-info h1{
    font-size:clamp(2rem, 12vw, 2.85rem);
  }
}

@media (prefers-reduced-motion:reduce){
  .slide,
  .hero-content > *,
  .reveal-up,
  .btn,
  .btn::after,
  .product-card,
  .blog-card,
  .contact-link,
  .about-box,
  .footer-col a{
    transition:none;
    animation:none;
  }

  .slide,
  .slide.active,
  .reveal-up,
  .reveal-up.is-visible,
  .hero-content > *,
  .slide.active .hero-content > *{
    transform:none;
    filter:none;
  }

  .site-intro{
    display:none;
  }

  body.intro-running{
    overflow:auto;
  }
}


