/* ============================================================
   PANCRA SOLUCIONES TERMICAS — Stylesheet
   Diseño responsive HTML5 moderno — Sin Flash
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────── */
:root {
  --color-primary:    #1e3a5f;
  --color-primary-d:  #122640;
  --color-accent:     #e74c3c;
  --color-accent-d:   #c0392b;
  --color-orange:     #e67e22;
  --color-teal:       #16a085;
  --color-text:       #2c3e50;
  --color-text-muted: #6b7280;
  --color-bg:         #f8fafc;
  --color-white:      #ffffff;
  --color-border:     #e2e8f0;
  --color-dark:       #0f1f30;

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 40px rgba(0,0,0,.12);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.25s ease;
  --nav-h:      94px;
}

/* ── RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 3px; }

ul { list-style: none; }

/* ── CONTAINER ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-d);
  border-color: var(--color-accent-d);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,76,60,.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── SECTIONS COMMON ───────────────────────────────── */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── NAVBAR ────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar {
  background: rgba(14, 30, 50, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(14, 30, 50, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 83px;
  width: auto;
  max-width: 378px;
  object-fit: contain;
  display: block;
  /* Separación suave del fondo navy, sin emborronar */
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  transition: opacity var(--transition), transform var(--transition), filter var(--transition);
  image-rendering: -webkit-optimize-contrast;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.96;
  transform: scale(1.02);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
/* fallback text logo (si no hay imagen) */
.logo-pancra {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.55rem 1.2rem;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--color-accent-d) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── VIDEO INTRO (antes del sitio) ─────────────────── */
body.intro-active {
  overflow: hidden;
}
body.intro-active #header,
body.intro-active main,
body.intro-active .footer,
body.intro-active .whatsapp-float {
  visibility: hidden;
}

.video-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0a1520;
  opacity: 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.video-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-intro__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-intro__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
  pointer-events: none;
}
.video-intro__ui .video-intro__skip {
  pointer-events: auto;
}

.video-intro__skip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid rgba(255,255,255,.55);
  background: rgba(14, 30, 50, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.video-intro__skip svg {
  width: 18px;
  height: 18px;
}
.video-intro__skip:hover,
.video-intro__skip:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  outline: none;
  transform: translateY(-1px);
}

.video-intro__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 3;
}
.video-intro__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.1s linear;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3.5rem;
  overflow: hidden;
  background:
    linear-gradient(
      160deg,
      rgba(14, 30, 50, 0.88) 0%,
      rgba(30, 58, 95, 0.82) 50%,
      rgba(22, 160, 133, 0.55) 100%
    ),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--color-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center bottom, rgba(231,76,60,.15) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

/* ── PRESENTACIÓN ──────────────────────────────────── */
.presentation {
  background: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.presentation-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.presentation-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #0a1520;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  min-width: 0;
}

.presentation-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0a1520;
}

.presentation-side-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.presentation-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.presentation-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.presentation-point-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 0.15rem;
  min-width: 1.6rem;
}
.presentation-points strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.presentation-points p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.presentation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-whatsapp-soft {
  background: #e8f8ef;
  color: #146c43;
  border-color: #a3e4c1;
}
.btn-whatsapp-soft:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.presentation-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.presentation-hl {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  text-align: center;
}
.presentation-hl strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.presentation-hl span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hero-accent {
  color: var(--color-accent);
  display: block;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%  { top: 6px;  opacity: 1; }
  100%{ top: 18px; opacity: 0; }
}

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.stat-item:hover { background: var(--color-bg); }

.stat-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-primary), #2980b9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
}

.stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-text strong {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.stat-text span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ── ABOUT ─────────────────────────────────────────── */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}
.about-text .section-title { text-align: left; }
.about-text .section-eyebrow { display: block; margin-bottom: 0.5rem; }

.about-features {
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}
.about-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-teal);
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  aspect-ratio: 4/3;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8f0f8, #d0e2f0);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-primary);
  border: 2px dashed rgba(30,58,95,.25);
  padding: 2rem;
  text-align: center;
}

/* ── PRODUCTS ──────────────────────────────────────── */
.products {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0 0 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  height: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(30,58,95,.15);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8eef5;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card .product-title,
.product-card .product-desc,
.product-card .product-tags {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.product-card .product-title {
  margin-top: 0.35rem;
  font-size: 1.05rem;
}
.product-card .product-desc {
  font-size: 0.88rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), #2980b9);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 1.5rem 1.5rem 0;
}
.product-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--color-white);
}

.product-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.product-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(30,58,95,.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.products-cta {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-d));
  border-radius: var(--radius-lg);
  color: var(--color-white);
}
.products-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
}

/* ── GALLERY ───────────────────────────────────────── */
.gallery {
  background: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  aspect-ratio: 4/3;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.gallery-item:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 18, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255,255,255,.12);
  outline: none;
}

/* ── CONTACT ───────────────────────────────────────── */
.contact {
  background: var(--color-primary);
}
.contact .section-eyebrow { color: rgba(255,255,255,.6); }
.contact .section-title  { color: var(--color-white); }
.contact .section-subtitle { color: rgba(255,255,255,.7); }
.contact .section-header--light .section-eyebrow { color: #7fb3d3; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.15fr);
  gap: 2.25rem;
  align-items: start;
}

.contact-info {
  color: var(--color-white);
}

.contact-info-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,.8);
}

.contact-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-item-content strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.contact-item-content a,
.contact-item-content span {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-white);
  word-break: break-word;
}
.contact-item-content a:hover { color: var(--color-accent); }

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: var(--color-white) !important;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  justify-content: center;
  width: 100%;
}
.contact-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.contact-whatsapp:hover {
  background: #1dba57;
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
}

/* ── CONTACT FORM ──────────────────────────────────── */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.85rem 1.5rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 100%;
}
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-form-lead {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.form-label span {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}
.form-input.error {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(231,76,60,.1);
}
.form-input::placeholder { color: #b0bec5; }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 220px;
  line-height: 1.5;
  height: auto;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: 0.28rem;
  font-weight: 500;
  line-height: 1.3;
}
.form-error:not(:empty) {
  display: block;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.85rem;
  margin-bottom: 0;
  line-height: 1.45;
}
.form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 1px;
}
.form-note a {
  font-weight: 600;
}

/* Honeypot anti-spam */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}
.form-status--success {
  background: #e8f8ef;
  color: #146c43;
  border: 1px solid #a3e4c1;
}
.form-status--error {
  background: #fdecea;
  color: #a93226;
  border: 1px solid #f5c6cb;
}
.form-status--info {
  background: #eaf2f8;
  color: #1a5276;
  border: 1px solid #aed6f1;
}

.btn-submit {
  min-height: 48px;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
}
.btn-submit svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 86px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-white); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,.35);
}
.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255,255,255,.65);
}
.footer-contact-list a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--color-white); }

/* ── WHATSAPP FLOAT ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: var(--color-white);
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 200px;
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  background: #1dba57;
  color: var(--color-white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  max-width: 220px;
}
.whatsapp-label {
  white-space: nowrap;
  overflow: hidden;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .about-grid { gap: 2.5rem; }
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1.25rem;
  }
  .contact-info-title {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
  .contact-whatsapp {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 80px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 30, 50, 0.98);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.2rem;
    transform: translateY(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link { width: 100%; padding: 0.8rem 1rem; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }

  .section { padding: 3.25rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .hero { min-height: 88vh; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .presentation { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .presentation-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .presentation-frame { border-radius: var(--radius-md); }
  .presentation-highlights { grid-template-columns: repeat(2, 1fr); }
  .video-intro__ui { bottom: 2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-visual { order: -1; }
  .about-img { aspect-ratio: 16/10; }
  .about-collage { aspect-ratio: 16/10; gap: 0.6rem; }
  .nav-logo-img { height: 68px; max-width: 288px; }

  .contact-form-wrapper { padding: 1.5rem 1.25rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-logo-img { height: 80px; max-width: 340px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; }

  .whatsapp-label { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; max-width: none; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: auto; aspect-ratio: 4/3; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-whatsapp { max-width: none; }
  .contact-form-wrapper { padding: 1.35rem 1.1rem 1.15rem; }
  .nav-logo-img { height: 58px; max-width: 240px; }
  :root { --nav-h: 72px; }
  .presentation-highlights { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .presentation-hl { padding: 0.95rem 0.75rem; }
  .presentation-hl strong { font-size: 1.25rem; }
}

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PRINT ─────────────────────────────────────────── */
@media print {
  #header, .whatsapp-float, .hero-scroll-hint,
  .hero-actions, .contact-form-wrapper, .video-intro { display: none; }
  body.intro-active #header,
  body.intro-active main,
  body.intro-active .footer { visibility: visible; }
  .hero { min-height: auto; padding: 2rem 1.5rem; }
  .section { padding: 2rem 0; }
}

/* ── REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
