.hidden-field { position: absolute; left: -9999px; }

/* ===== Cruells clone — design tokens ===== */
:root {
  --color-orange: #ed6e21;
  --color-orange-dark: #d15c14;
  --color-purple: #60318f;
  --color-purple-dark: #4a2570;
  --color-green: #86b90b;
  --color-dark: #2b2b2b;
  --color-text: #444444;
  --color-light-bg: #f5f5f4;
  --color-white: #ffffff;
  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-width: 1440px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

img { max-width: 100%; display: block; border-radius: 8px; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: var(--color-orange); text-decoration: none; }
a:hover { color: var(--color-orange-dark); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 14px;
  transition: background .2s, color .2s, transform .15s;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-purple-dark);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  border: 3px solid var(--color-purple-dark);
  border-radius: 0;
  background: linear-gradient(180deg, #ff9c5c 0%, var(--color-orange) 30%, var(--color-orange) 100%);
  clip-path: polygon(0% 50%, 7% 8%, 93% 8%, 100% 50%, 93% 92%, 7% 92%);
}
.btn-download:hover {
  background: linear-gradient(180deg, #ff9c5c 0%, var(--color-orange-dark) 30%, var(--color-orange-dark) 100%);
}
.btn-download svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Topbar ===== */
.topbar {
  background: var(--color-purple-dark);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  margin-right: 20px;
  opacity: .9;
}
.topbar-contact a:hover { opacity: 1; color: var(--color-white); }
.topbar-icon { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.lang-switch a {
  color: var(--color-white);
  opacity: .7;
  margin-left: 8px;
  font-weight: 600;
}
.lang-switch a.active, .lang-switch a:hover { opacity: 1; color: var(--color-green); }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.social-links a:hover { background: var(--color-green); border-color: var(--color-green); color: var(--color-white); }

/* ===== Main nav ===== */
.main-nav {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 24px 12px 8px;
}
.logo { flex-shrink: 0; justify-self: start; }
nav#siteNav { justify-self: center; }
.logo img { height: 56px; width: auto; }

nav#siteNav > ul {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
nav#siteNav > ul > li:not(.has-dropdown) { position: relative; }
nav#siteNav > ul > li.has-dropdown { position: static; }
nav#siteNav a {
  display: block;
  padding: 10px 18px;
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  border-radius: 4px;
}
nav#siteNav > ul > li > a:hover { color: var(--color-orange); }

/* Mega-menu (Productos) — full-width bar anchored to .main-nav (sticky = positioned ancestor) */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}
.has-dropdown:hover .dropdown,
.has-dropdown.hover-open .dropdown { display: block; }

.dropdown-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
  gap: 0;
}

.dropdown-col {
  flex: 1 1 180px;
  min-width: 180px;
  padding: 0 24px;
  border-right: 1px solid #ececec;
}
.dropdown-col:last-child { border-right: none; }
.dropdown-col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--color-dark);
  margin: 0 0 16px;
}
.dropdown-col ul { list-style: none; margin: 0; padding: 0; }
.dropdown-col li { margin-bottom: 14px; }
nav#siteNav .dropdown-col a {
  font-size: .85rem;
  font-weight: 400;
  color: #666;
  padding: 0 0 0 14px;
  display: block;
  position: relative;
  white-space: normal;
  line-height: 1.35;
  border-radius: 0;
}
.dropdown-col a::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-size: .75rem;
}
nav#siteNav .dropdown-col a:hover { color: var(--color-orange); background: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--color-purple);
  border-radius: 2px;
}

/* ===== Inner page hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); font-size: 1.9rem; max-width: 800px; margin: 0 auto; }
.page-hero p { color: var(--color-white); opacity: .9; margin: .6em 0 0; font-size: 1.05rem; }

.narrow { max-width: 800px; margin: 0 auto; }
.section-title-left { text-align: left; }
.section-title-left::after { margin: .3em 0 0; }

.empresa-intro {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}
.empresa-intro img { border-radius: 8px; }

nav#siteNav a.current { color: var(--color-orange); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
  color: var(--color-white);
  padding: 165px 0;
  text-align: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(122, 63, 176, .28);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto .4em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.hero-subtitle {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-light-bg); }
.section-dark { background: var(--color-dark); color: #ddd; }
.section-dark .section-title { color: var(--color-white); }
.section-dark p { color: #ccc; }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: .4em;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-orange);
  margin: .3em auto 0;
  border-radius: 2px;
}
.section-lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3em;
  font-size: 1.05rem;
}

/* ===== Carrusel de maquinaria ===== */
.machines-carousel { padding: 50px 0; }
.machines-carousel .section-title { margin-bottom: .8em; }

.carousel-viewport { position: relative; overflow: hidden; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  color: var(--color-purple);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.carousel-arrow:hover { background: var(--color-orange); color: var(--color-white); }
.carousel-arrow-prev { left: 8px; }
.carousel-arrow-next { right: 8px; }
.carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.carousel-slide {
  flex: 0 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
.carousel-slide a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.carousel-slide img {
  height: 260px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.carousel-slide-name {
  margin-top: 12px;
  text-align: center;
  color: var(--color-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.product-card-link { display: block; color: inherit; text-decoration: none; }

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.link-card {
  display: block;
  background: var(--color-white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  font-weight: 700;
  color: var(--color-purple);
  transition: box-shadow .2s ease, transform .2s ease, color .2s ease;
}
.link-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  transform: translateY(-2px);
  color: var(--color-orange);
}

.product-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.product-choice-card {
  display: block;
  width: 100%;
  background: var(--color-white);
  border: 2px solid var(--color-light-bg);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-purple);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: box-shadow .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.product-choice-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  transform: translateY(-2px);
  color: var(--color-orange);
}
.product-choice-card.active {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.product-card img { height: 240px; width: 100%; object-fit: cover; }

.product-card-media { position: relative; height: 240px; overflow: hidden; }
.product-card-media img,
.product-card-media video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.product-card-media video { opacity: 0; transition: opacity .25s ease; }
.product-card:hover .product-card-media video { opacity: 1; }

.product-card h3 {
  font-size: 1rem;
  text-align: center;
  padding: 16px 12px;
  margin: 0;
}

/* ===== Partner sections ===== */
.partner-intro { max-width: 800px; margin: 0 auto; }
.partner-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.partner-heading-logo { height: 80px; width: auto; margin-top: -22px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  margin-bottom: 3em;
}
.two-col-img { border-radius: 8px; height: 220px; object-fit: cover; width: 100%; }
.col-block h3 { color: var(--color-purple); }

.nock-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.nock-video-card { position: relative; display: block; overflow: hidden; padding: 0; border: 0; border-radius: 8px; color: var(--color-white); cursor: pointer; font: inherit; text-align: left; }
.nock-gallery img { display: block; height: 220px; object-fit: cover; transition: transform .25s ease; width: 100%; }
.nock-video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.72)); }
.nock-video-card span { position: absolute; z-index: 1; right: 14px; bottom: 12px; left: 14px; font-family: var(--font-heading); font-size: .95rem; font-weight: 700; line-height: 1.2; text-align: center; }
.nock-video-card:hover { color: var(--color-white); }
.nock-video-card:hover img { transform: scale(1.05); }
.nock-video-card-crop-right img { transform: scale(1.1); transform-origin: left center; }
.nock-video-card-crop-right:hover img { transform: scale(1.15); }
.nock-video-modal { position: fixed; z-index: 1200; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 5, 15, .82); }
.nock-video-modal[hidden] { display: none; }
.nock-video-modal-content { position: relative; width: min(960px, 100%); }
.nock-video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.nock-video-modal-close { position: absolute; z-index: 1; top: -44px; right: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: none; border-radius: 50%; background: var(--color-white); color: var(--color-dark); font-size: 24px; line-height: 1; cursor: pointer; }
.nock-video-modal-close:hover { background: var(--color-orange); color: var(--color-white); }
.nock-description { margin-bottom: 2em; }
.nock-overview { max-width: 850px; margin: 0 auto 32px; text-align: center; }
.nock-overview p { margin: 0 0 10px; }
.nock-overview a { color: var(--color-orange); font-weight: 700; }
.nock-overview a:hover { color: var(--color-purple); }
.nock-overview strong,
.nock-list strong { color: var(--color-orange); }
.nock-list a { color: var(--color-orange); font-weight: 700; }
.nock-list a:hover { color: var(--color-purple); }
.nock-description h3 a { color: inherit; }
.nock-description h3 a:hover { color: var(--color-orange); }
.nock-list { margin: 18px 0 0; padding-left: 20px; }
.nock-list li { margin-bottom: 12px; }
.nock-service { max-width: 920px; margin: 0 auto; text-align: center; }
.nock-service h3 { color: var(--color-purple); }
.nock-service > p { max-width: 720px; margin: 0 auto 24px; }
.nock-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); text-align: left; border: 1px solid #e2e2e2; }
.nock-service-grid article { padding: 20px; border-right: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.nock-service-grid article:nth-child(2n) { border-right: none; }
.nock-service-grid article:nth-child(n + 3) { border-bottom: none; }
.nock-service-grid h4 { color: var(--color-orange); margin: 0 0 8px; font-size: .95rem; }
.nock-service-grid p { margin: 0; font-size: .92rem; }

.commitment {
  text-align: center;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 3em;
  color: var(--color-purple);
  font-weight: 600;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.product-gallery.single { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
.product-gallery img { border-radius: 8px; width: 100%; height: 320px; object-fit: cover; display: block; }
.product-gallery .video-embed { width: 100%; height: 320px; max-width: none; aspect-ratio: auto; margin: 0; }
.product-gallery .video-embed.video-embed-centered { grid-column: 2; }

.media-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.media-row .product-gallery { display: flex; gap: 24px; margin: 0; }
.media-row .product-gallery img { width: 260px; height: 260px; max-width: none; max-height: none; object-fit: cover; margin: 0; }
.media-row .video-embed { width: auto; height: 260px; max-width: none; aspect-ratio: 16 / 9; margin: 0; }

.video-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 24px auto 0;
  border-radius: 8px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.spec-list {
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
  display: grid;
  gap: 12px;
}
.spec-list li { position: relative; padding-left: 24px; }
.spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

.spec-table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e2e0dd; white-space: nowrap; }
.spec-table th { background: var(--color-light-bg); color: var(--color-purple); font-weight: 700; }
.spec-table tr:last-child td { border-bottom: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img { border-radius: 8px; height: 160px; object-fit: cover; width: 100%; }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.star-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
  flex: 0 1 calc(25% - 18px);
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.14); transform: translateY(-2px); }
.feature-card img { height: 320px; object-fit: cover; background: var(--color-light-bg); width: 100%; margin-bottom: 0; flex: none; }
.star-products-grid .feature-card img { height: 220px; }
.feature-card .feature-card-image-top { object-position: center top; }
.feature-card .feature-card-image-product-left { object-position: 35% center; }
.feature-card h3 {
  color: var(--color-green);
  font-size: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 16px;
}
.feature-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 16px;
}
.feature-card-copy h3 {
  flex: none;
  padding: 0;
}
.feature-card .feature-card-copy p {
  margin: 8px 0 0;
  padding: 0;
  color: var(--color-text);
  font-weight: 400;
}
.feature-card p { padding: 0 16px; font-size: .92rem; }

/* ===== Empresa ===== */
.company-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}
.company-inner img { border-radius: 8px; width: 100%; }

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .2s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card img { height: 180px; object-fit: cover; width: 100%; }
.news-card .news-image-top { object-position: center top; }
.news-body { padding: 18px 20px; }
.news-date {
  color: var(--color-orange);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-body h3 { font-size: 1.05rem; margin-top: .3em; }
.news-body p { font-size: .92rem; margin-bottom: 0; }

/* ===== Distributors ===== */
.distributors { text-align: center; }
.distributor-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.distributor-logo-img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-dark);
  color: #bbb;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { height: 90px; margin-bottom: 16px; }
.footer-grid h4 { color: var(--color-white); font-size: 1rem; }
.footer-grid a { color: #bbb; }
.footer-grid a:hover { color: var(--color-orange); }
.footer-social a { border-color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  text-align: center;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ===== Contact modal ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 10, 30, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
  padding: 24px;
}
.contact-modal.active { opacity: 1; pointer-events: auto; }

.product-gallery img, .media-row .product-gallery img { cursor: zoom-in; }

.image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a050f;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1100;
  padding: 40px;
}
.image-lightbox.active { opacity: 1; pointer-events: auto; }
.image-lightbox img {
  width: 90vw;
  height: 85vh;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-light-bg);
  font-size: 22px;
  line-height: 1;
  color: var(--color-dark);
  cursor: pointer;
}
.image-lightbox-close:hover { background: var(--color-orange); color: var(--color-white); }
.image-lightbox iframe {
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: none;
}
.image-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-light-bg);
  color: var(--color-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.image-lightbox-arrow:hover { background: var(--color-orange); color: var(--color-white); }
.image-lightbox-prev { left: 16px; }
.image-lightbox-next { right: 16px; }
.contact-modal-card {
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  transform: scale(.94);
  transition: transform .2s ease;
  padding: 40px;
}
.contact-modal.active .contact-modal-card { transform: scale(1); }
.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-light-bg);
  font-size: 20px;
  line-height: 1;
  color: var(--color-dark);
  cursor: pointer;
}
.contact-modal-close:hover { background: var(--color-orange); color: var(--color-white); }

.contact-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-modal-form h3,
.contact-modal-info h3 {
  margin-bottom: 20px;
}
#contactForm { display: flex; flex-direction: column; gap: 14px; }
#contactForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-dark);
}
.field-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
}
.required-mark {
  color: var(--color-orange);
}
#contactForm input,
#contactForm textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  resize: vertical;
}
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}
#contactForm button { margin-top: 6px; align-self: flex-start; }

.contact-modal-info { display: flex; flex-direction: column; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--color-light-bg);
  color: var(--color-dark);
  font-weight: 600;
  margin-bottom: 12px;
  border: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.contact-info-item:hover { background: #ececec; color: var(--color-orange); }
.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--color-purple);
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 26px; height: 26px; }

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  /* Full nav + logo must share the header row without a hamburger down to
     700px; shrink both a bit so the logo scales down as a whole (via its
     own height) instead of being squeezed narrower by flex while staying
     140px tall (which would distort it). */
  .logo img { height: 48px; }
  nav#siteNav > ul { gap: 4px; }
  nav#siteNav a { font-size: 15px; padding: 10px 12px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .two-col, .company-inner, .empresa-intro, .info-columns { grid-template-columns: 1fr; }
  .gallery-grid, .product-grid, .product-gallery, .nock-gallery { grid-template-columns: repeat(2, 1fr); }
  .nock-service-grid { grid-template-columns: 1fr; }
  .nock-service-grid article { border-right: none; border-bottom: 1px solid #e2e2e2; }
  .nock-service-grid article:last-child { border-bottom: none; }
  .feature-card { flex-basis: calc(50% - 12px); }
  .star-products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .carousel-slide { padding: 0 6px; }
  .carousel-slide img { height: 110px; }
  .carousel-slide-name { margin-top: 8px; font-size: .7rem; }
  .media-row { flex-direction: column; align-items: center; }
  .media-row .product-gallery img { width: 100%; height: auto; max-width: 320px; aspect-ratio: 1 / 1; }
  .media-row .video-embed { width: 100%; height: auto; max-width: 400px; }
  .logo img { height: 34px; }
  .nav-toggle { display: flex; }
  nav#siteNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-white);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
  }
  nav#siteNav.open { display: block; }
  nav#siteNav ul { flex-direction: column; padding: 10px 0; }
  .dropdown { position: static; box-shadow: none; }
  .has-dropdown:hover .dropdown,
  .has-dropdown.hover-open .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown-inner { flex-direction: column; max-width: none; padding: 4px 24px 12px; }
  .dropdown-col { border-right: none; border-bottom: 1px solid #ececec; padding: 16px 0; }
  .dropdown-col:last-child { border-bottom: none; }
  .topbar-contact a { margin-right: 12px; font-size: 12px; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 1.6rem; }
  .gallery-grid, .news-grid, .product-grid, .product-gallery, .link-grid, .star-products-grid, .nock-gallery { grid-template-columns: 1fr; }
  .feature-card { flex-basis: 100%; }
  .section { padding: 50px 0; }
  .contact-modal-card { padding: 28px 20px; }
  .contact-modal-grid { grid-template-columns: 1fr; gap: 28px; }
}
