/* =========================================================
   New S.L. & Sons Refrigeration — main stylesheet
   Edit brand colours in :root below.
   ========================================================= */
:root {
  /* NSL logo palette */
  --brand: #2CA2C8;          /* logo drop blue */
  --navy: #0c2233;           /* deep blue for dark sections */
  --navy-2: #133049;
  --ice: #1784AB;            /* darker logo blue – buttons & links (AA contrast) */
  --ice-2: #2CA2C8;          /* logo blue on dark backgrounds */
  --ice-soft: #e6f5fa;
  --accent: #FDBF20;         /* logo yellow */
  --orange: #F37F2A;         /* flame orange */
  --red: #E43A2B;            /* flame red */
  --accent-ink: #C2560B;     /* readable orange for small text on white */
  --accent-soft: #fff5dc;
  --flame: linear-gradient(120deg, #FDBF20 0%, #F8A41E 45%, #F37F2A 100%);
  --flame-line: linear-gradient(90deg, #FDBF20, #F37F2A 55%, #E43A2B);
  --frost: #f3f7fa;
  --steel: #A8A9AD;
  --line: #dde5ec;
  --text: #13202e;
  --muted: #56677a;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 34, 51, .08);
  --shadow-lg: 0 20px 50px rgba(12, 34, 51, .16);
  --max: 1200px;
  --head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section.alt { background: var(--frost); }
.section.dark { background: var(--navy); color: #c9d6e3; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .78rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--flame-line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--flame-line); }
.section.dark .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section.dark .lead { color: #a9bccf; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--head); cursor: pointer; transition: .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ice); color: var(--white); }
.btn-primary:hover { background: #126d8e; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,132,171,.35); }
.btn-accent { background: var(--flame); color: var(--navy); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(243,127,42,.35); filter: saturate(1.1); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--ice); color: var(--ice); }
.btn-sm { padding: 11px 14px; font-size: .86rem; gap: 7px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { filter: brightness(.95); transform: translateY(-2px); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy); color: #a9bccf; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar .tb-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--accent); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(12,34,51,.08); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--flame-line); opacity: .9; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 54px; width: auto; display: block; }
.logo-foot img { height: 58px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--ice));
  display: grid; place-items: center; color: var(--white);
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-text strong { display: block; font: 800 1.12rem/1.1 var(--head); color: var(--navy); }
.logo-text span { white-space: nowrap; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  white-space: nowrap; padding: 10px 13px; border-radius: 8px; font: 600 .92rem/1 var(--head); color: var(--text); transition: .2s;
}
.nav a:hover, .nav a.active { color: var(--ice); background: var(--ice-soft); }
.nav .btn { margin-left: 10px; padding: 12px 20px; color: var(--white); }
.nav .btn, .nav .btn:hover { color: var(--navy); background: var(--flame); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(44,162,200,.30), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(243,127,42,.20), transparent 60%),
    var(--navy);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-top: 90px; padding-bottom: 110px; }
.hero h1 { color: var(--white); }
.hero h1 .hl { color: var(--accent); }
.hero .sub-title { font: 600 1.15rem/1.4 var(--head); color: var(--ice-2); margin-bottom: 18px; }
.hero p.lead { color: #b8c9da; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; margin-bottom: 24px;
}
.hero-badge b { background: var(--flame); color: var(--navy); border-radius: 999px; padding: 4px 10px; font-size: .75rem; }
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.hero-visual figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual figure:first-child { grid-row: span 2; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; left: -26px; bottom: 30px; background: var(--white); color: var(--navy);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
}
.hero-float strong { font: 800 1.8rem/1 var(--head); color: var(--orange); }
.hero-float span { font-size: .82rem; line-height: 1.3; color: var(--muted); }
.snow { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* ---------- Stats / highlight cards ---------- */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.stat:last-child { border-right: 0; }
.stat .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--ice-soft); color: var(--ice); display: grid; place-items: center; flex-shrink: 0; }
.stat .ico svg { width: 24px; height: 24px; }
.stat:nth-child(even) .ico { background: var(--accent-soft); color: var(--accent-ink); }
.stat strong { display: block; font: 800 1.6rem/1.1 var(--head); color: var(--navy); }
.stat span { font-size: .9rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 18px; width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .exp {
  position: absolute; right: -20px; bottom: -20px; background: var(--flame); color: var(--navy);
  border-radius: 16px; padding: 22px 26px; box-shadow: var(--shadow-lg);
}
.split-media .exp strong { display: block; font: 800 2.6rem/1 var(--head); }
.split-media .exp span { font-size: .85rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .3s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--frost); }
.card-img img, .card-img video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-img.contain img { object-fit: contain; padding: 14px; background: var(--white); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.card-tag { font: 700 .7rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.card-link { margin-top: auto; font: 700 .9rem/1 var(--head); color: var(--ice); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }
.card-link svg { width: 18px; height: 18px; flex-shrink: 0; }
div.p-media { cursor: default; }
.icon-card { padding: 30px 26px; }
.icon-card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--ice-soft); color: var(--ice); display: grid; place-items: center; margin-bottom: 18px; transition: .3s; }
.icon-card .ico svg { width: 28px; height: 28px; }
.icon-card:hover .ico { background: var(--flame); color: var(--navy); }
.icon-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.section.dark .icon-card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section.dark .icon-card p { color: #a9bccf; }
.section.dark .icon-card .ico { background: rgba(44,162,200,.15); color: var(--ice-2); }
.section.dark .icon-card:hover .ico { background: var(--flame); color: var(--navy); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.15rem/1 var(--head); color: var(--accent); background: var(--navy-2); border: 2px solid rgba(253,191,32,.45);
  position: relative; z-index: 1;
}
.step::after { content: ""; position: absolute; top: 32px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(253,191,32,.45), rgba(44,162,200,.35)); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.step p { font-size: .85rem; color: #a9bccf; margin: 0; }
.section:not(.dark) .step::before { background: var(--white); color: var(--accent-ink); border-color: var(--accent); }
.section:not(.dark) .step::after { background: var(--line); }
.section:not(.dark) .step h3 { color: var(--navy); }
.section:not(.dark) .step p { color: var(--muted); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filters button {
  border: 1px solid var(--line); background: var(--white); padding: 10px 18px; border-radius: 999px;
  font: 600 .88rem/1 var(--head); cursor: pointer; color: var(--text); transition: .2s;
}
.filters button:hover { border-color: var(--ice); color: var(--ice); }
.filters button.active { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: inset 0 -3px 0 var(--accent); }
.masonry { columns: 4 260px; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--frost); }
.g-item img, .g-item video { width: 100%; height: auto; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--white);
  background: linear-gradient(transparent, rgba(10,26,47,.85)); font: 600 .88rem/1.3 var(--head);
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.g-item:hover figcaption, .g-item.is-video figcaption { opacity: 1; transform: none; }
.g-item.is-video { cursor: default; }
.g-item.hide { display: none; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.preview-grid .g-item { margin: 0; height: 100%; }
.preview-grid .g-item img { height: 100%; object-fit: cover; }
.preview-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,12,22,.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 92vw; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox p { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--white); font: 600 1rem var(--head); margin: 0; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--orange); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(44,162,200,.30), transparent 60%),
    radial-gradient(600px 300px at 0% 120%, rgba(243,127,42,.22), transparent 60%),
    var(--navy);
  color: var(--white); padding: 80px 0 70px; position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flame-line); }
.page-hero p { color: #b8c9da; max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: #8aa2ba; margin-bottom: 16px; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 8px; }

/* ---------- Mission / Vision ---------- */
.mv { padding: 36px 32px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #FDBF20, #F37F2A, #E43A2B); }
.mv .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--ice-soft); color: var(--ice); display: grid; place-items: center; margin-bottom: 18px; }
.mv .ico svg { width: 26px; height: 26px; }
.mv p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 600 .95rem/1 var(--head); color: var(--navy); }
.chip svg { width: 20px; height: 20px; color: var(--ice); }

/* ---------- Projects ---------- */
.proj-card .card-body dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 6px; font-size: .9rem; }
.proj-card dt { color: var(--muted); }
.proj-card dd { margin: 0; font-weight: 600; color: var(--navy); }

/* ---------- Social ---------- */
.social-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.social-card { border-radius: 18px; padding: 36px; color: var(--white); display: flex; gap: 22px; align-items: center; transition: .3s; }
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.social-card.ig { background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737); }
.social-card.yt { background: linear-gradient(135deg, #b31217, #e52d27); }
.social-card .s-ico { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
.social-card .s-ico svg { width: 32px; height: 32px; }
.social-card h3 { color: var(--white); margin: 0 0 4px; }
.social-card p { margin: 0; opacity: .9; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px; padding: 60px; color: var(--white); position: relative; overflow: hidden;
  background:
    radial-gradient(500px 260px at 100% 100%, rgba(243,127,42,.35), transparent 70%),
    linear-gradient(120deg, var(--navy) 0%, #0f4560 60%, var(--brand) 130%);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; max-width: 640px; }
.cta-band p { margin: 0; color: #cfe8f3; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--ice-soft); color: var(--ice); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.info-item p, .info-item a { margin: 0; color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--ice); }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.form-card { background: var(--white); border-radius: 18px; padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font: 600 .85rem/1 var(--head); margin-bottom: 8px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem;
  background: var(--frost); color: var(--text); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ice); background: var(--white); box-shadow: 0 0 0 4px rgba(14,165,233,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.map { border: 0; width: 100%; height: 420px; border-radius: 18px; display: block; }

/* ---------- Footer ---------- */
.footer { background: #08192a; color: #93a7ba; padding: 80px 0 0; font-size: .95rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--flame-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--accent); }
.footer .logo-text strong { color: var(--white); }
.footer .logo-text span { color: #8ea3b8; }
.footer-about p { margin: 18px 0 20px; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: .2s; }
.f-social a:hover { background: var(--flame); color: var(--navy); }
.f-social svg { width: 20px; height: 20px; }
.f-contact li { display: flex; gap: 10px; }
.f-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom strong { color: var(--white); }

/* ---------- Floating buttons ---------- */
.float-wa, .to-top {
  position: fixed; right: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: .3s; border: 0; cursor: pointer;
}
.float-wa { bottom: 22px; background: var(--wa); color: var(--white); }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }
.to-top { bottom: 90px; width: 46px; height: 46px; right: 27px; background: var(--navy); color: var(--white); opacity: 0; pointer-events: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* ---------- Product showcase ---------- */
.p-media {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--frost); border: 0; padding: 0; margin: 0; cursor: zoom-in; isolation: isolate;
}
.p-media .p-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.15); opacity: .28; z-index: -1; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s ease; filter: drop-shadow(0 10px 16px rgba(12,34,51,.18)); }
.card:hover .p-media img, .p-card:hover .p-media img { transform: scale(1.05); }
.card-img.p-media { aspect-ratio: 4 / 3; cursor: default; }
.p-zoom {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--white);
  color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: scale(.85); transition: .25s;
}
.p-zoom svg { width: 20px; height: 20px; }
.p-card:hover .p-zoom, .p-media:focus-visible .p-zoom { opacity: 1; transform: none; }
@media (hover: none) { .p-zoom { opacity: 1; transform: none; width: 34px; height: 34px; } }

.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(44,162,200,.45); }
.p-card.hide { display: none; }
.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid transparent; border-image: var(--flame-line) 1; }
.p-cat { font: 700 .68rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.p-body h3 { font-size: 1.05rem; margin-bottom: 8px; min-height: 2.45em; }
.p-body > p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 12px; }
.p-feat { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: .86rem; color: var(--text); }
.p-feat li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.p-feat svg { width: 16px; height: 16px; color: var(--ice); flex-shrink: 0; margin-top: 1px; }
.p-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-actions .btn { width: 100%; }

.p-filters button span {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px;
  border-radius: 999px; background: var(--frost); color: var(--muted); font-size: .75rem;
}
.p-filters button.active span { background: var(--accent); color: var(--navy); }

.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-5 .icon-card { padding: 26px 20px; }
.grid-5 .icon-card h3 { font-size: 1.02rem; }
.grid-5 .icon-card p { font-size: .88rem; }

.p-modal { position: fixed; inset: 0; z-index: 210; background: rgba(5,15,25,.86); display: flex; align-items: center; justify-content: center; padding: 20px; }
.p-modal[hidden] { display: none; }
.p-modal-box {
  position: relative; background: var(--white); border-radius: 20px; width: 100%; max-width: 980px; max-height: calc(100vh - 40px);
  overflow: auto; display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: var(--shadow-lg);
}
.pm-media { background: var(--frost); display: grid; place-items: center; min-height: 360px; }
.pm-media img { width: 100%; height: 100%; max-height: 76vh; object-fit: contain; padding: 22px; }
.pm-body { padding: 40px 34px 34px; display: flex; flex-direction: column; }
.pm-body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.pm-body p { color: var(--muted); }
.pm-body .p-feat { font-size: .95rem; gap: 10px; margin-bottom: 26px; }
.pm-body .p-actions { margin-top: auto; }
.pm-close { top: 12px; right: 12px; background: rgba(12,34,51,.08); color: var(--navy); z-index: 2; width: 44px; height: 44px; }
.pm-close:hover { background: var(--navy); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .menu-toggle { display: block; position: relative; z-index: 70; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 20px 30px; gap: 4px;
    transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden; box-shadow: var(--shadow-lg); z-index: 60;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav.open::before { content: ""; position: fixed; top: 0; bottom: 0; right: 100%; width: 100vw; background: rgba(5,15,25,.5); }
  .nav a { padding: 14px 14px; font-size: 1rem; }
  .nav .btn { margin: 14px 0 0; }
  .process { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(4)::after { display: none; }
}
@media (max-width: 980px) {
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero .container { padding-top: 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4, .grid-5, .p-grid { grid-template-columns: repeat(2, 1fr); }
  .p-modal-box { grid-template-columns: 1fr; }
  .pm-media { min-height: 0; }
  .pm-media img { max-height: 46vh; }
  .pm-body { padding: 26px 22px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .split-media img { height: 420px; }
  .social-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar .tb-hide { display: none; }
  .hero-visual { grid-template-rows: 160px 160px; }
  .hero-float { left: 10px; bottom: -20px; }
  .stats-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .form-row, .checks { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
  .topbar .tb-mail { display: none; }
  .topbar .container { justify-content: center; }
  .page-hero { padding: 52px 0 48px; }
  .p-media { aspect-ratio: 16 / 11; }
  .hero-badge { font-size: .8rem; }
  .hero-badge b { white-space: nowrap; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; gap: 10px; padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .stat .ico { width: 42px; height: 42px; }
  .stat strong { font-size: 1.2rem; }
  .stat span { font-size: .82rem; }
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; margin-top: 40px; padding-bottom: 90px; }
  .header .container { height: 68px; }
  .grid-5 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid-5 .icon-card { padding: 20px 16px; }
  .grid-5 .icon-card .ico { width: 46px; height: 46px; margin-bottom: 12px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 26px; padding: 2px 16px 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex-shrink: 0; scroll-snap-align: start; }
  .section-head { margin-bottom: 32px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 24px; }
  .split-media .exp { right: 10px; bottom: -16px; padding: 16px 20px; }
  .split-media img { height: 320px; }
  .preview-grid { grid-auto-rows: 160px; }
  .logo-text span { display: none; }
  .p-grid { grid-template-columns: 1fr; gap: 18px; }
  .p-body h3 { min-height: 0; }
  .split-media .exp strong { font-size: 2rem; }
  .phones { grid-template-columns: 1fr; }
}
