:root {
  --blue: #2d4775;
  --yellow: #f7b42a;
  --deep-blue: #142d57;
  --grey: #5c5a59;
  --cream: #f9f8f5;
  --soft: #ebe9e6;
  --white: #ffffff;
  --line: rgba(45, 71, 117, .22);
  --font: "Inter", Arial, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
  --radius: 12px;
  --transition: 200ms ease-out;
}

* { box-sizing: border-box; }
body { background: var(--cream); color: var(--grey); font-family: var(--font); font-size: 18px; line-height: 1.55; }
.container { width: min(1180px, calc(100% - 48px)); }

h1, h2 { color: var(--deep-blue); font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .015em; }
.hero h1 { max-width: 17ch; color: var(--white); font-size: clamp(46px, 4.6vw, 70px); line-height: .92; letter-spacing: .01em; text-shadow: 0 2px 18px rgba(20, 45, 87, .35); }
.hero h1 span { color: var(--yellow); }
.hero h2 { max-width: 17ch; margin: 0; color: var(--white); font-size: clamp(46px, 4.6vw, 70px); line-height: .92; letter-spacing: .01em; text-shadow: 0 2px 18px rgba(20, 45, 87, .35); }
.hero h2 span { color: var(--yellow); }
.section h2, .advisor h2 { font-size: clamp(44px, 3.7vw, 52px); line-height: .92; letter-spacing: .015em; }
h3, .product-card h4 { color: var(--deep-blue); font-family: var(--font); font-weight: 700; }
.product-card h4 { font-size: 24px; }

.site-header { height: 88px; background: var(--white); border-bottom: 1px solid var(--line); }
.main-nav, .locale, .cart { color: var(--deep-blue); font-family: var(--font); font-weight: 600; }
.main-nav a, .text-link, .product-card > a, .footer-inner a { transition: color var(--transition); }
.main-nav a:hover, .text-link:hover, .product-card > a:hover, .footer-inner a:hover { color: var(--yellow); }
.locale, .cart { border-color: var(--line); border-radius: 0; }
.locale:hover, .cart:hover { border-color: var(--yellow); background: var(--soft); }

.button, .contact-button { min-height: 48px; border: 1px solid transparent; border-radius: 0; font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition); }
.button { padding: 0 24px; }
.contact-button { display: inline-flex; align-items: center; padding: 0 16px; }
.button-primary, .contact-button, .category-tabs a:first-child { background: var(--yellow); color: var(--deep-blue); border-color: var(--yellow); }
.button-primary:hover, .contact-button:hover, .category-tabs a:first-child:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button-primary:active, .contact-button:active, .category-tabs a:first-child:active { background: var(--deep-blue); color: var(--white); border-color: var(--deep-blue); transform: translateY(1px); }
.button-secondary { color: var(--deep-blue); border-color: var(--blue); background: transparent; }
.button-secondary:hover, .button-secondary:active { background: var(--yellow); color: var(--deep-blue); border-color: var(--yellow); }
.hero .button-secondary, .cloud-promo .button-secondary { color: var(--white); border-color: rgba(255, 255, 255, .86); background: var(--deep-blue); }
.hero .button-secondary:hover, .cloud-promo .button-secondary:hover, .hero .button-secondary:active, .cloud-promo .button-secondary:active { background: var(--yellow); color: var(--deep-blue); border-color: var(--yellow); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.hero { background: var(--deep-blue); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: cover; opacity: 0; transform: scale(1.015); transition: opacity 700ms ease-out, transform 6s ease-out; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(20, 45, 87, .82), rgba(20, 45, 87, .56) 42%, rgba(20, 45, 87, .12)); }
.kicker { color: var(--yellow); border-color: rgba(247, 180, 42, .75); border-radius: 0; font-family: var(--font); }
.hero-message { display: none; }
.hero-message.is-active { display: block; }
.hero-message > p:not(.kicker) { max-width: 650px; margin: 21px 0 31px; color: rgba(255, 255, 255, .91); font-size: 18px; line-height: 1.5; }
.hero-pagination { display: flex; gap: 10px; margin-top: 36px; }
.hero-pagination button { width: 38px; height: 4px; min-height: 4px; padding: 0; border: 0; border-radius: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width var(--transition), background-color var(--transition); }
.hero-pagination button.is-active, .hero-pagination button:hover { width: 58px; background: var(--yellow); }
.promo-ticker { overflow: hidden; background: var(--yellow); color: var(--deep-blue); border-top: 1px solid var(--yellow); border-bottom: 1px solid rgba(20, 45, 87, .3); }
.promo-ticker-track { display: flex; width: max-content; animation: promo-ticker-scroll 24s linear infinite; }
.promo-ticker p { flex: 0 0 auto; margin: 0; padding: 14px 0; padding-right: 54px; font-size: 14px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }
.promo-ticker span { color: var(--deep-blue); margin: 0 14px; }
@keyframes promo-ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo-ticker-track { animation: none; } }

.benefits { padding: 24px 0 28px; background: var(--grey); border-bottom: 1px solid var(--line); }
.benefit-grid { min-height: 112px; }
.benefit-grid { align-items: stretch; grid-auto-rows: 1fr; }
.benefit-card { min-height: 164px; height: 100%; padding: 22px 20px; border: 1px solid var(--blue); background: var(--white); align-items: flex-start !important; }
.benefit-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: var(--blue); }
.benefit-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.benefit-card:hover { border-color: var(--yellow); }
.benefit-card:hover .benefit-icon { color: var(--yellow); }
.benefit-grid strong { color: var(--deep-blue); font-family: var(--font); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.benefit-grid strong { display: block; line-height: 1.12; }
.benefit-grid p { margin-top: 8px; color: var(--grey); line-height: 1.35; }
.section { padding: 96px 0; background: var(--cream); }
.catalogue, .advisor { background: var(--white); }
.overline { color: var(--blue); font-family: var(--font); font-weight: 700; }
.section-heading p, .product-copy, .advisor-inner p:not(.overline) { color: var(--grey); }
.text-link, .product-card > a { color: var(--blue); font-family: var(--font); font-weight: 700; }

.category-tabs a { color: var(--blue); border-color: var(--line); border-radius: 0; font-family: var(--font); font-weight: 700; text-transform: uppercase; transition: background-color var(--transition), border-color var(--transition), color var(--transition); }
.category-tabs a:hover { color: var(--deep-blue); background: var(--soft); border-color: var(--yellow); }
.category-tabs a:first-child { color: var(--deep-blue); }
.category-tabs a:first-child:hover { color: var(--white); }

.product-card { background: var(--white); border-color: var(--line); border-radius: var(--radius); box-shadow: none; }
#escaneres .product-card, #estaciones .product-card { border-color: var(--yellow); }
#gnss .product-card { border-color: var(--blue); }
.product-card { transition: border-color var(--transition), box-shadow var(--transition); }
#escaneres .product-card:hover, #escaneres .product-card:focus-within, #estaciones .product-card:hover, #estaciones .product-card:focus-within { border-color: var(--blue); }
#gnss .product-card:hover, #gnss .product-card:focus-within { border-color: var(--yellow); }
.product-image { height: auto; min-height: 0; aspect-ratio: 1 / 1; border-radius: 11px 11px 0 0; overflow: hidden; }
.image-x200 { background: #f4f5f4; }
.image-x200 img { width: 82%; height: 82%; object-fit: contain; }
.image-x120 { background: #f4f5f4; }
.image-x120 img { width: 72%; height: 82%; object-fit: contain; }
.image-x70 { background: #f4f5f4; }
.image-x70 img { width: 94%; height: 96%; object-fit: contain; }
.image-x40 { background: #f4f5f4; }
.image-x40 img { width: 78%; height: 92%; object-fit: contain; }
.image-s1000 { background: #f4f5f4; }
.image-s1000 img { width: 86%; height: 86%; object-fit: contain; }
.image-s599 { background: #f4f5f4; }
.image-s599 .product-carousel > img { padding: 0; object-fit: contain; }
.image-s599 .product-carousel > img:first-child { object-fit: contain; }
.image-s599 .product-carousel > img:first-child { mix-blend-mode: multiply; }
.image-s900 { background: #f4f5f4; }
.image-s900 .product-carousel > img { padding: 0; object-fit: contain; }
.image-s950 { background: #f4f5f4; }
.image-s950 .product-carousel > img { padding: 0; object-fit: contain; }
.image-s880 { background: #f4f5f4; }
.image-s880 .product-carousel > img { padding: 0; object-fit: contain; }
.image-s999 { background: #f4f5f4; }
.image-s999 .product-carousel > img { padding: 0; object-fit: contain; }
.image-r40 { background: #f4f5f4; }
.image-r40 .product-carousel > img { padding: 0; object-fit: contain; }
.image-s850 { background: #f4f5f4; }
.image-s850 .product-carousel > img { padding: 0; object-fit: contain; }
.product-card-s850 .price { display:flex; flex-direction:column; gap:2px; font-size:0; }
.product-card-s850 .price::before { content:"Antes 3.675,00 €"; font-size:1rem; color:var(--grey); text-decoration:line-through; }
.product-card-s850 .price::after { content:"Ahora 3.500,00 €"; display:inline-block; width:max-content; padding:.2rem .45rem; background:var(--yellow); color:var(--deep-blue); font-size:1.25rem; font-weight:800; }
.product-carousel { position: relative; width: 100%; height: 100%; }
.product-carousel > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; object-fit: contain; opacity: 0; transition: opacity 400ms ease-out; }
.product-carousel > img.is-active { opacity: 1; }
.product-carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; }
.product-carousel-dots button { width: 24px; height: 3px; padding: 0; border: 0; background: rgba(45, 71, 117, .3); cursor: pointer; }
.product-carousel-dots button.is-active { background: var(--yellow); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card-featured { grid-column: span 1; }
.product-card-featured .product-copy { display: none; }
.product-details { margin: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-details summary { padding: 12px 0; color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.product-details summary::after { content: '+'; float: right; color: var(--yellow); font-size: 18px; line-height: 1; }
.product-details[open] summary::after { content: '−'; }
.details-copy { padding: 2px 0 14px; }
.details-copy h5 { margin: 12px 0 3px; color: var(--deep-blue); font-size: 14px; }
.details-copy p { margin: 0; color: var(--grey); font-size: 13px; line-height: 1.4; }
.product-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.product-proof img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 6px; object-fit: cover; }
.image-gnss { background: linear-gradient(135deg, #edf1f5, #d8e0e9); }
.image-station { background: linear-gradient(135deg, #f0ede8, #ddd7ce); }
.image-scanner { background: linear-gradient(135deg, #e2eaf1, #c7d6e2); }
.badge { background: var(--blue); border-radius: 0; z-index: 1; }
.badge-alert { background: var(--yellow); color: var(--deep-blue); }
.product-image .badge-alert, .product-image .badge-stock { top: 12px; left: 12px; width: auto; padding: 5px 8px; border-radius: 2px; text-align: left; font-size: 9px; letter-spacing: .02em; transform: none; white-space: nowrap; z-index: 3; }
.product-image .badge-stock { background: var(--yellow); color: var(--deep-blue); }
.product-image .badge-gnss { top: 12px !important; left: 12px !important; width: auto !important; padding: 5px 8px !important; background: var(--blue) !important; color: var(--white) !important; border-radius: 2px; font-size: 10px !important; font-weight: 700; opacity: 1 !important; transform: none !important; white-space: nowrap; z-index: 4; }
.product-image .badge-gnss { background: var(--yellow) !important; color: var(--deep-blue) !important; }
.cloud-card { border-color: var(--yellow); }
.price { color: var(--grey); }
.product-card-featured .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-featured .price::before { content: "Antes 30.450,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-featured .price::after { content: "Ahora 29.000,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-x120 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-x120 .price::before { content: "Antes 19.425,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-x120 .price::after { content: "Ahora 18.500,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-x70 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-x70 .price::before { content: "Antes 11.025,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-x70 .price::after { content: "Ahora 10.500,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-x40 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-x40 .price::before { content: "Antes 7.350,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-x40 .price::after { content: "Ahora 7.000,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s1000 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s1000 .price::before { content: "Antes 6.930,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s1000 .price::after { content: "Ahora 6.600,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s599 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s599 .price::before { content: "Antes 2.940,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s599 .price::after { content: "Ahora 2.800,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s900 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s900 .price::before { content: "Antes 3.990,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s900 .price::after { content: "Ahora 3.800,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s950 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s950 .price::before { content: "Antes 5.250,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s950 .price::after { content: "Ahora 5.000,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s880 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s880 .price::before { content: "Antes 4.305,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s880 .price::after { content: "Ahora 4.100,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s999 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-s999 .price::before { content: "Antes 6.300,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-s999 .price::after { content: "Ahora 6.000,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-r40 .price { display: flex; flex-direction: column; gap: 2px; font-size: 0; }
.product-card-r40 .price::before { content: "Antes 4.725,00 €"; color: var(--grey); font-size: 14px; opacity: .72; text-decoration: line-through; }
.product-card-r40 .price::after { content: "Ahora 4.500,00 €"; width: fit-content; padding: 5px 10px; background: var(--yellow); color: var(--deep-blue); font-size: 19px; line-height: 1.2; }
.product-card-s850 .price::before { content: "Antes 3.675,00 €"; }
.product-card-s850 .price::after { content: "Ahora 3.500,00 €"; }
.image-r20 { background: #f4f5f4; }
.image-r20 .product-carousel > img { padding: 0; object-fit: contain; }
.product-image .badge-visible {
  display: block !important;
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 24px);
  padding: 6px 10px !important;
  overflow: hidden;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 2px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .03em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 20 !important;
}
.badge-last-units { top: 12px !important; left: 12px !important; width: auto !important; padding: 5px 8px !important; transform: none !important; font-size: 9px !important; white-space: nowrap; }
.product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 18px; margin: 12px 0 14px; padding: 12px 0 0 18px; border-top: 1px solid var(--line); color: var(--grey); font-size: 12px; line-height: 1.35; }
.product-specs li::marker { color: var(--yellow); }

.cloud-promo, footer { background: var(--deep-blue); }
.cloud-promo h2 { color: var(--white); }
.cloud-promo .overline, .cloud-ticket p span { color: var(--yellow); }
.cloud-ticket { background: var(--blue); border-color: var(--yellow); border-radius: var(--radius); }
.video-placeholder { border-color: rgba(255, 255, 255, .45); border-radius: var(--radius); }
.video-placeholder span { border-radius: 50%; background: var(--yellow); color: var(--deep-blue); }

.hero-inner { padding-top: 32px; padding-bottom: 32px; }
.hero .campaign-dates, .cloud-explainer .campaign-dates {
  display: inline-block; max-width: 100%; margin: 0 0 16px; padding: 7px 12px;
  background: var(--yellow); color: var(--deep-blue); border: 0;
  font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .025em;
}
.cloud-explainer { scroll-margin-top: 24px; }
.cloud-explainer-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.cloud-explainer-grid > * { min-width: 0; }
.cloud-explainer .cloud-benefits { margin: 0; padding-left: 20px; color: #d3dfec; font-size: 16px; }
.cloud-benefits li { margin-bottom: 12px; }
.cloud-benefits li::marker { color: var(--yellow); }
.cloud-benefits strong { color: var(--white); }
.cloud-video { margin: 0; }
.cloud-video-space {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 24px; text-align: center;
  border: 1px solid #7188ab; border-radius: 10px; background: var(--blue);
}
.cloud-video-space strong { color: var(--white); font-size: clamp(24px, 3vw, 36px); }
.cloud-video-space span { color: var(--white); font-size: 16px; }
.cloud-video-space small, .cloud-video figcaption { color: #d3dfec; font-size: 14px; }
.cloud-video figcaption { margin-top: 12px; text-align: center; }
.cloud-offer { margin-top: 40px; padding-top: 28px; border-top: 1px solid #7188ab; display: flex; align-items: center; gap: 28px; }
.cloud-offer > div { flex: 1; }
.cloud-explainer .cloud-offer-copy { margin: 0; font-size: 18px; }
.cloud-offer .button { flex-shrink: 0; padding: 14px 20px; text-align: center; }
.cloud-offer-highlight { color: var(--yellow); font-weight: 800; }
.cloud-offer .button-primary { background: var(--yellow); color: var(--deep-blue); border-color: var(--yellow); }
.cloud-offer .button-primary:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.product-card > .scanner-cloud-offer { display: block; padding: 10px 12px; margin: 12px 0 16px; background: #3c67a7; color: var(--white); border-radius: 3px; line-height: 1.4; }
.scanner-cloud-offer strong, .scanner-cloud-offer span { display: block; }
.scanner-cloud-offer strong { font-size: 14px; }
.scanner-cloud-offer span { margin-top: 4px; font-size: 12px; font-weight: 500; }
.scanner-cloud-offer:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 900px) {
  .cloud-explainer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cloud-offer { flex-direction: column; align-items: stretch; }
}

.solutions { background: var(--soft); }
.solutions .section-heading { margin-bottom: 32px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.solution-panel {
  --solution-image: none;
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 430px;
  padding: 30px 34px; overflow: hidden; background: var(--blue); color: var(--white);
  border-radius: 12px !important; transition: transform 230ms ease-out, background-color 230ms ease-out, box-shadow 230ms ease-out, opacity 230ms ease-out;
}
.solution-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .42; background-position: center; background-size: cover;
  background-image: linear-gradient(145deg, rgba(45, 71, 117, .9), rgba(20, 45, 87, .78)), var(--solution-image);
  transition: opacity 230ms ease-out, filter 230ms ease-out, background-image 230ms ease-out;
}
.solution-panel::after {
  content: attr(data-step); position: absolute; z-index: 1; top: 10px; right: 20px; color: rgba(255, 255, 255, .11);
  font-family: var(--display); font-size: clamp(120px, 12vw, 188px); line-height: .8; pointer-events: none;
}
.solution-panel > * { position: relative; z-index: 2; }
.solution-gnss { --solution-image: url('assets/hero/hero-tecnico-campo.png'); background: #355789; }
.solution-station { --solution-image: url('assets/hero/hero-gnss-obra.png'); background: #274a7d; }
.solution-scanner { --solution-image: url('assets/hero/hero-escaner-campo.png'); background: var(--deep-blue); }
.solution-grid span { color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.solution-grid h3 { max-width: 12ch; margin: auto 0 14px; color: var(--white); font-size: clamp(25px, 2vw, 30px); line-height: 1.24; }
.solution-grid p { max-width: 31ch; margin: 0; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.45; }
.solution-cta { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 28px; padding-bottom: 5px; border-bottom: 2px solid var(--yellow); color: var(--white) !important; font-size: 14px !important; font-weight: 800 !important; transition: gap var(--transition), color var(--transition); }
.solution-cta:hover, .solution-cta:focus-visible { gap: 14px; color: var(--yellow) !important; }
.solutions-advice { display: inline-flex; gap: 8px; margin-top: 26px; color: var(--blue); font-size: 14px; font-weight: 800; }
.solutions-advice:hover { color: var(--deep-blue); }
@media (hover: hover) and (pointer: fine) {
  .solution-grid:has(.solution-panel:hover) .solution-panel:not(:hover) { opacity: .82; }
  .solution-panel:hover { background: var(--grey); box-shadow: 0 14px 30px rgba(20, 45, 87, .18); transform: translateY(-8px); }
  .solution-panel:hover::before { opacity: .34; filter: grayscale(1); background-image: linear-gradient(145deg, rgba(92, 90, 89, .88), rgba(61, 59, 58, .8)), var(--solution-image); }
}
.solution-panel:focus-within { background: var(--grey); box-shadow: 0 14px 30px rgba(20, 45, 87, .18); }
.solution-panel:focus-within::before { opacity: .34; filter: grayscale(1); background-image: linear-gradient(145deg, rgba(92, 90, 89, .88), rgba(61, 59, 58, .8)), var(--solution-image); }
@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-panel { min-height: 360px; }
}

/* Redondeo sutil y consistente en acciones y superficies. */
.button, .contact-button, .locale, .cart, .category-tabs a, .kicker { border-radius: 8px; }
.benefit-card, .product-card, .solution-panel, .cloud-ticket, .cloud-video-space, .video-placeholder, .product-card > .scanner-cloud-offer { border-radius: 8px !important; }
.product-image { border-radius: 8px 8px 0 0; }
.product-image .badge, .product-image .badge-alert, .product-image .badge-stock, .product-image .badge-gnss, .product-image .badge-visible, .badge { border-radius: 4px !important; }
.product-carousel-dots button, .hero-pagination button { border-radius: 4px; }
.product-card .price::after { border-radius: 4px; }
.advisor { padding: 96px 0; }
.footer-inner p { color: rgba(255, 255, 255, .78); }
.footer-inner a { color: var(--yellow); }

@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-featured { grid-column: span 1; }
}
@media (max-width: 767px) {
  body { font-size: 17px; color: #474645; }
  .container { width: min(100% - 32px, 650px); }
  .main-nav, .locale { display: none; }
  .section, .advisor { padding: 64px 0; }
  .hero h1 { font-size: clamp(44px, 13vw, 52px); line-height: .9; }
  .hero h2 { font-size: clamp(40px, 11vw, 48px); line-height: .92; }
  .hero-message > p:not(.kicker) { font-size: 17px; font-weight: 500; }
  .hero-pagination { margin-top: 28px; }
  .section h2, .advisor h2 { font-size: clamp(34px, 10vw, 38px); line-height: .92; }
  .benefit-grid, .product-grid, .solution-grid { grid-template-columns: 1fr; }
  .product-card-featured { grid-column: span 1; }
  .product-specs { grid-template-columns: 1fr; }
  .benefit-grid { padding: 24px 0; }
  .button { width: 100%; }
}

/* Cabecera simplificada y navegación móvil. */
.site-header { position: relative; z-index: 50; height: 98px; }
.header-inner { position: relative; }
.brand { width: 205px; }
.brand img { height: 72px; }
.main-nav { gap: 25px; }
.contact-button { gap: 8px; white-space: nowrap; }
.menu-toggle, .mobile-advisor { display: none; }
@media (max-width: 1000px) {
  .site-header { height: 84px; }
  .brand { width: 180px; }
  .brand img { height: 66px; }
  .header-actions { display: none; }
  .menu-toggle {
    display: inline-flex; flex: 0 0 46px; width: 46px; height: 46px; margin-left: auto; padding: 12px;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line);
    border-radius: 8px; background: var(--white); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--deep-blue); transition: transform var(--transition), opacity var(--transition); }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: calc(100% + 7px); right: 0; left: 0; display: none; flex-direction: column; gap: 0;
    margin: 0; padding: 8px 16px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
    box-shadow: 0 16px 30px rgba(20, 45, 87, .14);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav .mobile-advisor { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 13px 16px; border: 0; border-radius: 8px; background: var(--yellow); color: var(--deep-blue); font-weight: 800; text-transform: uppercase; }
  .main-nav .mobile-advisor { border-bottom: 0; }
}

/* Asesoramiento con Andrey. */
.advisor { padding: 104px 0; }
.advisor-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); align-items: center; gap: clamp(40px, 7vw, 92px); }
.advisor-inner > .advisor-copy { max-width: 650px; }
.advisor-copy h2 { max-width: 14ch; }
.advisor-copy > p:not(.overline) { max-width: 58ch; font-size: 18px; }
.advisor-benefits { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 28px 0 32px; padding: 0; list-style: none; color: var(--deep-blue); font-size: 15px; font-weight: 700; }
.advisor-benefits li { display: flex; align-items: center; gap: 10px; }
.advisor-benefits li::before { content: "✓"; display: inline-grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--deep-blue); font-size: 13px; font-weight: 900; }
.advisor-copy .button { width: fit-content; }
.advisor-portrait { position: relative; width: 100%; max-width: 390px; margin: 0; justify-self: end; }
.advisor-portrait img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; object-fit: cover; }
@media (max-width: 900px) {
  .advisor-inner { grid-template-columns: 1fr; gap: 36px; }
  .advisor-copy h2 { max-width: 18ch; }
  .advisor-portrait { max-width: 380px; justify-self: start; }
}

/* Footer de contacto y formulario. */
.site-footer { padding: 28px 0 14px; background: var(--deep-blue); color: var(--white); }
.footer-contact-grid { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(235px, .75fr) minmax(520px, 1.6fr); align-items: start; gap: clamp(24px, 3vw, 44px); }
.footer-company > img { width: min(190px, 100%); height: auto; margin-bottom: 12px; object-fit: contain; }
.footer-company > p { max-width: 34ch; margin: 0; color: rgba(255, 255, 255, .76); font-size: 13px; line-height: 1.48; }
.footer-team { display: grid; gap: 17px; margin: 3px 0 0; font-style: normal; }
.footer-team article { padding: 1px 0 1px 14px; border-left: 2px solid var(--yellow); }
.footer-team h3 { margin: 0 0 3px; color: var(--white); font-size: 14px; }
.footer-team p { margin: 0 0 7px; color: var(--yellow); font-size: 11px; font-weight: 700; line-height: 1.35; }
.footer-team a { display: block; width: fit-content; margin: 3px 0 0; color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.footer-team a:hover { color: var(--yellow); }
.footer-company .footer-address { margin-top: 16px; color: rgba(255, 255, 255, .58); font-size: 11px; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--white); font-size: 12px; font-weight: 700; }
.footer-linkedin svg { width: 18px; height: 18px; fill: currentColor; }
.footer-linkedin:hover, .footer-linkedin:focus-visible { color: var(--yellow); }
.contact-form { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .23); border-radius: 10px; background: rgba(49, 78, 126, .46); box-shadow: 0 15px 35px rgba(8, 23, 49, .18); }
.contact-form-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.contact-form-heading > span { padding: 5px 8px; border-radius: 5px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72); font-size: 10px; font-weight: 700; white-space: nowrap; }
.contact-form .overline { margin-bottom: 4px; color: var(--yellow); font-size: 9px; }
.contact-form h2 { margin: 0; color: var(--white); font-size: 27px; line-height: .95; }
.contact-form p, .contact-form label, .contact-form-footer p { color: var(--white); }
.contact-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.contact-fields label { display: grid; gap: 5px; color: var(--white); font-size: 11px; font-weight: 700; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-fields input, .contact-fields select, .contact-fields textarea { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 6px; outline: 0; background: var(--white); color: var(--deep-blue); font: inherit; font-size: 12px; transition: border-color var(--transition), box-shadow var(--transition); }
.contact-fields textarea { min-height: 52px; resize: vertical; line-height: 1.35; }
.contact-fields input:focus, .contact-fields select:focus, .contact-fields textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 183, 25, .22); }
.contact-human-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--white); font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.contact-human-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--yellow); cursor: pointer; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.contact-form-footer { display: grid; grid-template-columns: auto auto; align-items: center; gap: 10px; margin-top: 9px; }
.contact-form-footer .button { flex: 0 0 auto; }
.contact-form-footer .button { min-height: 34px; padding: 0 13px; font-size: 10px; }
.contact-form-footer .button-primary { background: var(--yellow); color: var(--deep-blue); border-color: var(--yellow); }
.contact-form-footer p { max-width: 32ch; margin: 0; color: rgba(255, 255, 255, .64); font-size: 10px; line-height: 1.35; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .5); font-size: 10px; }

/* Página de confirmación del formulario. */
.thanks-page { min-height: 100vh; background: var(--deep-blue); color: var(--white); }
.thanks-main { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.thanks-card { width: min(720px, calc(100% - 36px)); padding: clamp(32px, 7vw, 68px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; background: rgba(49, 78, 126, .6); text-align: center; box-shadow: 0 24px 70px rgba(8, 23, 49, .3); }
.thanks-card img { width: min(250px, 80%); height: auto; margin-bottom: 30px; }
.thanks-card .overline { color: var(--yellow); }
.thanks-card h1 { margin: 0; color: var(--white); font-family: "Bebas Neue", sans-serif; font-size: clamp(44px, 8vw, 70px); line-height: .95; }
.thanks-card > p:not(.overline) { max-width: 48ch; margin: 22px auto 30px; color: rgba(255, 255, 255, .78); line-height: 1.65; }

@media (max-width: 1180px) {
  .footer-contact-grid { grid-template-columns: minmax(230px, .7fr) minmax(280px, 1fr); }
  .contact-form { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-footer { padding-top: 34px; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .contact-form { grid-column: auto; padding: 17px; }
  .footer-team, .contact-fields { grid-template-columns: 1fr; }
  .contact-field-wide { grid-column: auto; }
  .contact-form-heading { align-items: start; }
  .contact-form-footer { grid-template-columns: 1fr; align-items: stretch; }
  .footer-legal { align-items: stretch; flex-direction: column; }
  .contact-form-footer .button { width: 100%; }
}

/* Portada móvil: mensaje legible arriba y galería vertical independiente. */
.mobile-hero-gallery { display: none; }
@media (max-width: 767px) {
  .site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 3px 14px rgba(8, 23, 49, .12); }
  .hero { min-height: 0; background: var(--deep-blue); }
  .hero-slides, .hero-shade { display: none; }
  .hero-inner { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding-top: 46px; padding-bottom: 34px; }
  .hero-copy { max-width: none; }
  .hero-message[data-message="survey"] { display: none !important; }
  .hero h1 { max-width: 12ch; margin: 0; color: var(--white); font-size: clamp(48px, 14vw, 68px); line-height: .9; letter-spacing: .005em; }
  .hero-message > p:not(.kicker) { max-width: none; margin: 22px 0 26px; color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.48; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 54px; }
  .hero-pagination { margin-top: 22px; }
  .mobile-hero-gallery { display: block; width: 100%; }
  .mobile-hero-gallery-track { position: relative; width: 100%; height: min(118vw, 540px); overflow: hidden; border: 1px solid rgba(255,255,255,.32); border-radius: 10px; background: #203f72; box-shadow: 0 16px 32px rgba(0,0,0,.2); }
  .mobile-hero-gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.02); transition: opacity 500ms ease, transform 5.2s ease; }
  .mobile-hero-gallery-slide.is-active { opacity: 1; transform: scale(1); }
  .mobile-hero-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .mobile-hero-gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .mobile-hero-gallery-dots button { width: 30px; height: 5px; min-height: 5px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: width 180ms ease, background-color 180ms ease; }
  .mobile-hero-gallery-dots button.is-active { width: 48px; background: var(--yellow); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-hero-gallery-slide { transition: none; }
}

/* Lectura cómoda en móvil: contraste y tamaño reforzados. */
@media (max-width: 767px) {
  .section-heading p, .benefit-grid p, .solution-grid p, .advisor-inner p:not(.overline), .cloud-explainer p, .footer-inner p, .footer-contact-grid p { color: #464544; font-size: 17px; font-weight: 500; line-height: 1.52; }
  .benefit-grid strong, .product-card h4, .product-card > a, .product-details summary { font-weight: 800; }
  .product-copy, .product-specs li, .details-copy p, .price { color: #464544; font-size: 16px; font-weight: 500; line-height: 1.5; }
  .product-specs li { font-size: 15px; }
  .solution-grid p, .contact-form p, .contact-form label, .contact-form-footer p, .contact-human-check, .site-footer .footer-company p, .site-footer .footer-address { color: var(--white); }
  .site-footer .footer-team p { color: var(--yellow); }
}
