/* Graficom — clean & friendly redesign closer to original visual identity */

:root {
  /* Brand */
  --brand: #2D6FD7;          /* Azul original */
  --brand-hover: #2459b8;
  --brand-soft: #eaf0fb;     /* Light blue band */
  --brand-softer: #f3f6fc;

  --ink: #1a2238;            /* deep navy text */
  --text: #2a3550;
  --muted: #6b7488;
  --line: #e6eaf2;
  --line-strong: #c9d1e0;

  --bg: #ffffff;
  --bg-2: #f8fafd;

  --accent: #d24a3a;         /* registro print accent */

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }

/* ───── Section head (centered like original) ───── */
.head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.head .eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.head .accent-line {
  width: 36px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin-top: 8px;
}
.head .sub {
  margin-top: 8px;
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
}

/* ───── Button ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 18px -6px rgba(45, 111, 215, .55);
}
.btn:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(45,111,215,.6); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); background: transparent; transform: translateY(-1px); }
.btn.sm { padding: 10px 18px; font-size: 13.5px; }

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.nav-links a {
  padding: 4px 0;
  position: relative;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
}

/* Burger */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .25s ease;
}
.nav-burger:hover { border-color: var(--brand); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───── Hero ───── */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1a3a 0%, #1a3163 45%, #2a4a8a 100%) center/cover,
              url("img/hero.jpg") center/cover no-repeat;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero-bg .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(110deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(20deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px);
  mix-blend-mode: overlay;
}
.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,18,38,.85) 0%, rgba(10,18,38,.55) 55%, rgba(10,18,38,.35) 100%),
    linear-gradient(180deg, rgba(10,18,38,.25) 0%, rgba(10,18,38,.6) 100%);
}
.hero-bg .photo-label {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 28px;
  max-width: 980px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.92);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6ee388;
  box-shadow: 0 0 0 4px rgba(110, 227, 136, .18);
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  font-weight: 600;
}
.hero h1 .em {
  background: linear-gradient(135deg, #8fb6ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero p.sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  margin-top: 36px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-ctas .btn.ghost {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.hero-ctas .btn.ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* Stat strip just below hero */
.trust-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.trust-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.trust-cell:last-child { border-right: 0; }
.trust-cell .n {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-cell .n sup { font-size: 0.5em; color: var(--brand); margin-left: 2px; font-weight: 500; }
.trust-cell .l {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ───── Sec ───── */
section { position: relative; }
.sec { padding: clamp(80px, 9vw, 120px) 0; }
.sec-soft { background: var(--bg-2); }
.sec-blue { background: var(--brand-soft); }

/* ───── Services ───── */
.svcs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
}
.sec-soft .svc { background: #fff; }
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(26, 34, 56, .18);
  border-color: var(--brand-soft);
}
.svc .ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background .3s ease, color .3s ease;
}
.svc:hover .ico { background: var(--brand); color: #fff; }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.svc p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.svc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc ul li {
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc ul li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ───── Productos estrella (card grid) ───── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(26,34,56,.18); }
.prod .ph {
  aspect-ratio: 4/3;
  position: relative;
  background:
    linear-gradient(135deg, #eef2fa 0%, #dde6f4 100%);
}
.prod .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(45,111,215,.05) 0 1px, transparent 1px 14px);
}
.prod .ph .ph-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255,255,255,.92);
  padding: 5px 10px;
  border-radius: 999px;
}
.prod .ph .ph-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(45,111,215,.32);
}
.prod .ph .ph-glyph svg { width: 64px; height: 64px; }
.prod .meta {
  padding: 18px 20px 22px;
}
.prod .meta h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.prod .meta p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ───── Galería (mosaic) ───── */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gal-cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, #eef2fa 0%, #d8e2f3 100%);
  cursor: pointer;
  transition: transform .35s ease;
}
.gal-cell:hover { transform: scale(.992); }
.gal-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(45,111,215,.06) 0 1px, transparent 1px 18px);
}
.gal-cell .gal-info {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.gal-cell .gal-info .cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255,255,255,.92);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.gal-cell .gal-info .name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gal-cell.span-a { grid-column: span 8; grid-row: span 2; }
.gal-cell.span-b { grid-column: span 4; grid-row: span 1; }
.gal-cell.span-c { grid-column: span 4; grid-row: span 1; }
.gal-cell.span-d { grid-column: span 3; grid-row: span 2; }
.gal-cell.span-e { grid-column: span 3; grid-row: span 2; }
.gal-cell.span-f { grid-column: span 3; grid-row: span 2; }
.gal-cell.span-g { grid-column: span 3; grid-row: span 2; }
.gal-cell .gal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gal-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.gal-cell .gal-info .cat {
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
}
.gal-cell .gal-info .name {
  color: #fff;
}

.gallery-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.gallery-foot .hint {
  font-size: 13.5px;
  color: var(--muted);
}

/* ───── Sobre Nosotros ───── */
.about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1a3163 0%, #2a4a8a 100%);
}
.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 50%);
  z-index: 1;
  pointer-events: none;
}
.about-photo .badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}
.about-photo .badge small {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.about-photo .drop {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.3);
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
}
.about-text .eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.about-text h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 24px;
  font-weight: 600;
}
.about-text p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.about-text .pull {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.about-sign {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-sign .sig-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.about-sign .sig-role {
  font-size: 13px;
  color: var(--muted);
}
.about-sign .sig-divider {
  width: 1px; height: 32px;
  background: var(--line-strong);
}

/* ───── Casos de uso ───── */
.uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.use {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .3s ease, transform .35s ease;
}
.use:hover { border-color: var(--brand); transform: translateY(-3px); }
.use .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.use .ico svg { width: 22px; height: 22px; }
.use h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.use p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ───── Clientes ───── */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: background .3s ease;
  position: relative;
}
.client:nth-child(4n) { border-right: 0; }
.client:hover { background: var(--brand-softer); }
.client-logo {
  max-width: 158px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .58;
  transition: opacity .3s ease, filter .3s ease;
}
.client:hover .client-logo { opacity: 1; filter: grayscale(0); }
.client .wm {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .3s ease, filter .3s ease, color .3s ease;
}
.client:hover .wm { opacity: 1; filter: grayscale(0); color: var(--brand); }
.client .wm.allcaps { letter-spacing: 0.12em; text-transform: uppercase; font-size: 13.5px; }
.client .wm.italic { font-style: italic; font-weight: 500; }
.client .wm.thin { font-weight: 400; }
.clients-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* ───── Testimonio (light blue band, like original) ───── */
.testi {
  background: var(--brand-soft);
  padding: clamp(70px, 8vw, 100px) 0;
}
.testi-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.testi .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px -8px rgba(26,49,99,.4);
}
.testi .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi .who {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testi .who-role {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.testi blockquote {
  margin: 24px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.testi .stars {
  margin-top: 16px;
  color: #f4b740;
  font-size: 16px;
  letter-spacing: 2px;
}

/* ───── FAQ ───── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq-side h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.faq-side .eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: block;
}
.faq-side p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color .3s ease;
}
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.faq-item .plus svg { display: block; }
.faq-item .plus .plus-v {
  transform-origin: 12px 12px;
  transition: transform .3s ease;
}
.faq-item[open] .plus { background: var(--brand); color: #fff; }
.faq-item[open] .plus .plus-v { transform: scaleY(0); }
.faq-item .ans {
  margin-top: 14px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ───── Contact section ───── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-side h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.contact-side .eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: block;
}
.contact-side > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-list .ci-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-list .ci-ico svg { width: 20px; height: 20px; }
.contact-info-list .ci-k {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-info-list .ci-v {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 22px 60px -30px rgba(26, 34, 56, .15);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.contact-form label .req { color: var(--accent); margin-left: 2px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 111, 215, .1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .submit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.contact-form .submit:disabled {
  opacity: .7;
  cursor: progress;
  transform: none;
}
.form-note {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.form-note.ok {
  background: #e7f5ec;
  border: 1px solid #b7e0c4;
  color: #1c7a43;
}
.form-note.err {
  background: #fdecea;
  border: 1px solid #f3c4bd;
  color: #b23a2a;
}
.form-note.err a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ───── Map ───── */
.map-band {
  height: clamp(360px, 46vw, 520px);
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}
.map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-pin .card { pointer-events: auto; }
.map-pin .card .map-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  font-size: 12.5px;
}
.map-pin .card .map-link:hover { text-decoration: underline; }
.map-pin .card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px -10px rgba(26,34,56,.25);
  text-align: left;
  min-width: 240px;
}
.map-pin .card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.map-pin .card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.map-pin .card .rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.map-pin .card .rating .stars {
  color: #f4b740;
}
.map-pin .pin-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand-hover), 0 6px 14px -4px rgba(45,111,215,.5);
  position: relative;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(45,111,215,.5), 0 0 0 1px var(--brand-hover), 0 6px 14px -4px rgba(45,111,215,.5); }
  70% { box-shadow: 0 0 0 22px rgba(45,111,215,0), 0 0 0 1px var(--brand-hover), 0 6px 14px -4px rgba(45,111,215,.5); }
  100% { box-shadow: 0 0 0 0 rgba(45,111,215,0), 0 0 0 1px var(--brand-hover), 0 6px 14px -4px rgba(45,111,215,.5); }
}

/* ───── Footer ───── */
footer {
  background: var(--bg-2);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.6;
}
.foot-col h5 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col ul a, .foot-col ul li { font-size: 14px; color: var(--text); transition: color .25s ease; }
.foot-col ul a:hover { color: var(--brand); }
.foot-meta {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ───── Reveal on scroll ───── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  .svcs, .uses { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .client:nth-child(4n) { border-right: 1px solid var(--line); }
  .client:nth-child(2n) { border-right: 0; }
  .about, .faq-grid, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-cell:nth-child(2) { border-right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gal-cell.span-a { grid-column: span 2; grid-row: span 2; }
  .gal-cell { grid-column: span 1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
@media (max-width: 880px) {
  .nav-burger { display: inline-flex; }
  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -20px rgba(26, 34, 56, .18);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility 0s linear .28s;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav.is-open .nav-right {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .28s ease, opacity .28s ease, visibility 0s linear 0s;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta-btn {
    margin-top: 20px;
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .hero-content { padding: 90px 20px; }
  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
  .products { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .client { border-right: 0 !important; }
  .gallery { grid-template-columns: 1fr; }
  .gal-cell, .gal-cell.span-a { grid-column: span 1; grid-row: span 1; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-brand p { max-width: none; }
  .foot-meta { flex-direction: column; align-items: flex-start; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 16px; }
  .trust-cell:last-child { border-bottom: 0; }
  .contact-form { padding: 24px; }
  footer { padding: 44px 0 24px; }
}

/* Prevent horizontal overflow on small screens */
html, body { overflow-x: hidden; }
