/* ============================================================
   BestPack Solutions — Design System
   Paleta: Negro · Azul · Amarillo (acentos verde/morado)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Backgrounds */
  --bg:        #070b12;
  --bg-elev:   #0c1320;
  --surface:   #111a2b;
  --surface-2: #18233a;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Brand */
  --yellow:      #ffc20a;
  --yellow-600:  #e0a800;
  --blue:        #2b82f6;
  --blue-400:    #5aa0ff;
  --blue-700:    #1b5fc4;
  --green:       #2fbf71;
  --purple:      #8b5cf6;

  /* Text */
  --text:   #eef3fb;
  --muted:  #9aa7bd;
  --muted-2:#6c7a93;
  --white:  #ffffff;

  /* Effects */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow:    0 18px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -28px rgba(43, 130, 246, 0.45);
  --ring: 0 0 0 3px rgba(43, 130, 246, 0.35);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 44px);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

::selection { background: var(--yellow); color: #1a1300; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #243049; border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #324167; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--muted); }

.text-grad-y { background: linear-gradient(100deg, var(--yellow), #ffd95e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad-b { background: linear-gradient(100deg, var(--blue-400), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue-400); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-elev { background: var(--bg-elev); }
.center { text-align: center; }
.maxw-680 { max-width: 680px; }
.mx-auto { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); border-radius: 2px; }
.eyebrow.center { justify-content: center; }

.section-head { margin-bottom: clamp(34px, 5vw, 56px); }
.section-head p { font-size: 1.05rem; margin-top: 14px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #c3cde0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: linear-gradient(180deg, #ffce3a, var(--yellow)); color: #19130a; box-shadow: 0 12px 30px -12px rgba(255, 194, 10, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 194, 10, .75); }

.btn-blue { background: linear-gradient(180deg, var(--blue-400), var(--blue)); color: #fff; box-shadow: 0 12px 30px -12px rgba(43, 130, 246, .65); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(43, 130, 246, .8); }

.btn-wa { background: #25d366; color: #06340f; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .6); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(37, 211, 102, .8); }

.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }

.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 11, 18, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: #c7d0e2; padding: 9px 14px; border-radius: 9px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Nav dropdown (Soluciones) */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 0.93rem; font-weight: 500; color: #c7d0e2; padding: 9px 14px; border-radius: 9px; cursor: pointer; transition: color .2s, background .2s; }
.nav-dd-toggle:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-dd-caret { width: 15px; height: 15px; transition: transform .2s; flex-shrink: 0; }
.nav-dd-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 252px; background: rgba(10, 15, 24, .97); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border: 1px solid var(--border); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd:hover .nav-dd-caret, .nav-dd.open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu a { padding: 10px 14px; border-radius: 9px; font-size: 0.92rem; font-weight: 500; color: #c7d0e2; white-space: nowrap; transition: color .2s, background .2s; }
.nav-dd-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { opacity: .92; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo--footer { height: 50px; width: auto; display: block; }
@media (max-width: 760px) { .brand-logo { height: 33px; } }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; color: #fff; align-items: center; justify-content: center; border: 1px solid var(--border); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 8%, rgba(7,11,18,.92) 38%, rgba(7,11,18,.55) 70%, rgba(7,11,18,.78) 100%),
    radial-gradient(80% 60% at 80% 10%, rgba(43,130,246,.18), transparent 60%);
}
.hero-grid-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(43,130,246,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(43,130,246,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(70% 60% at 75% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 75% 30%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-block: 48px; }
.hero h1 { margin-bottom: 14px; }
.hero-keyline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 1.9vw, 1.35rem); color: #e6ecf6; letter-spacing: .2px; margin: 6px 0 20px; }
.hero-keyline .kw { white-space: nowrap; }
.hero-keyline .kw--long { white-space: normal; }
.hero-keyline .sep { color: var(--yellow); opacity: .85; }
.hero-keyline strong { color: var(--yellow); font-weight: 800; }

/* Stats band (below hero) */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-band .sb { padding: 6px 14px; border-left: 1px solid var(--border); }
.stat-band .sb:first-child { border-left: none; }
.stat-band .sb-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: #fff; line-height: 1; letter-spacing: -1px; }
.stat-band .sb-n .y { color: var(--yellow); }
.stat-band .sb-l { display: block; margin-top: 11px; font-size: clamp(.82rem, 1.4vw, .95rem); color: var(--muted); font-weight: 500; }
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px 8px; } .stat-band .sb:nth-child(odd) { border-left: none; } }
.hero .hero-sub { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: 20px; line-height: 1.25; }
.hero p.lead { margin-bottom: 14px; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; color: #c3cde0; font-weight: 500; }
.hero-badge svg { width: 19px; height: 19px; color: var(--yellow); flex-shrink: 0; }

.pill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 500; color: #cdd6e8;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px;
  position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent, var(--blue)); opacity: .9; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .num .suffix { color: var(--accent, var(--blue-400)); }
.stat .label { margin-top: 10px; font-weight: 600; color: var(--text); font-size: 0.98rem; }
.stat .sub { font-size: 0.84rem; color: var(--muted); margin-top: 3px; }

/* ---------- Generic cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent, var(--blue)) 16%, transparent);
  color: var(--accent, var(--blue-400)); border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 30%, transparent);
}
.icon-badge svg { width: 27px; height: 27px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Centra una tarjeta huerfana en la ultima fila de un grid de 3 columnas */
@media (min-width: 761px) { .grid-3 > .col-center { grid-column: 2; } }

/* ---------- Divisions ---------- */
.division-card { display: flex; flex-direction: column; }
/* Panel gráfico con ilustración por división */
.division-card .division-art { margin: -28px -28px 22px; height: 270px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 1px solid var(--border); overflow: hidden; position: relative; background: var(--surface-2); }
.division-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.division-card:hover .division-art img { transform: scale(1.05); }
.division-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, var(--bg-elev)); pointer-events: none; }

/* Toda la tarjeta de división es clicable (stretched link) */
.division-card:has(a:not(.btn)) { cursor: pointer; }
.division-card a:not(.btn)::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.division-card .dnum { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; letter-spacing: .1em; color: var(--accent, var(--blue-400)); margin-bottom: 4px; }
.division-card h3 { color: #fff; margin-bottom: 10px; }
.division-card .tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.division-card .tag-list span { font-size: 0.78rem; color: #c3cde0; background: rgba(255,255,255,.05); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; }
.division-card .grow-flag { font-size: 0.75rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Feature list (why) ---------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--yellow) 18%, transparent); color: var(--yellow); display: grid; place-items: center; margin-top: 2px; }
.feature .check svg { width: 16px; height: 16px; }
.feature h4 { font-size: 1rem; color: #fff; margin-bottom: 2px; }
.feature p { font-size: 0.9rem; }

/* ---------- Evolution timeline ---------- */
.evo { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.evo .arrow { display: grid; place-items: center; color: var(--yellow); }
.evo .arrow svg { width: 30px; height: 30px; }
.evo-col { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); background: var(--surface); border-left: 4px solid var(--accent, var(--muted-2)); }
.evo-col h4 { text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--accent, var(--text)); margin-bottom: 14px; }
.evo-col ul { display: flex; flex-direction: column; gap: 12px; }
.evo-col li { display: flex; align-items: center; gap: 10px; color: #d4dcec; font-size: .95rem; }
.evo-col li svg { width: 20px; height: 20px; color: var(--accent, var(--blue-400)); flex-shrink: 0; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 24px 14px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: transform .2s, border-color .2s, background .2s;
}
.industry:hover { transform: translateY(-4px); border-color: var(--blue); background: var(--surface-2); }
.industry svg { width: 32px; height: 32px; color: var(--blue-400); }
.industry span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cert { text-align: center; padding: 24px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.cert .cert-ico { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--accent, var(--blue-400)); font-family: var(--font-display); font-weight: 800; font-size: .85rem; }
.cert .cert-ico svg { width: 28px; height: 28px; }
.cert b { display: block; color: #fff; font-size: .95rem; font-family: var(--font-display); }
.cert small { color: var(--muted); font-size: .8rem; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 36px; align-items: center; }
.client-logo { display: grid; place-items: center; min-height: 56px; padding: 6px 10px; }
.client-logo img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; opacity: .72; transition: opacity .25s ease, transform .25s ease; }
.client-logo:hover img { opacity: 1; transform: scale(1.05); }

/* ---------- Coverage ---------- */
.coverage-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.coverage-list { display: flex; flex-wrap: wrap; gap: 10px; }
.coverage-list .pill { font-size: .9rem; padding: 9px 16px; }
.coverage-list .pill.primary { background: color-mix(in srgb, var(--yellow) 16%, transparent); border-color: color-mix(in srgb, var(--yellow) 35%, transparent); color: #ffe28a; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--blue); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { flex-shrink: 0; width: 24px; height: 24px; transition: transform .25s; color: var(--blue-400); }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 22px; color: var(--muted); }
.faq-a p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; gap: 15px; align-items: flex-start; }
.contact-line .ci { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue-400); border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent); }
.contact-line .ci svg { width: 22px; height: 22px; }
.contact-line .ct b { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.contact-line .ct a, .contact-line .ct span { color: var(--muted); font-size: .95rem; }
.contact-line .ct a:hover { color: var(--yellow); }

.form-card { background: linear-gradient(180deg, var(--surface), var(--bg-elev)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: #cdd6e8; margin-bottom: 7px; }
.field label .req { color: var(--yellow); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 11px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239aa7bd' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-msg { padding: 13px 16px; border-radius: 11px; font-size: .92rem; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: color-mix(in srgb, var(--green) 14%, transparent); border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); color: #aef0c8; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; background: linear-gradient(120deg, #0c1a33, #0a1018); border: 1px solid var(--border); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(43,130,246,.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #05080d; border-top: 1px solid var(--border); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 44px; }
.footer h5 { font-family: var(--font-display); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-about p { font-size: .92rem; margin: 16px 0; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-2); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Article / Blog ---------- */
.article-hero { padding-top: calc(var(--header-h) + 50px); padding-bottom: 30px; }
.breadcrumbs { font-size: .82rem; color: var(--muted-2); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--yellow); }
.article-body { max-width: 760px; margin-inline: auto; }
.article-body h2 { margin-top: 44px; margin-bottom: 14px; color: #fff; }
.article-body h3 { margin-top: 30px; margin-bottom: 10px; color: #fff; }
.article-body p { margin-bottom: 16px; color: #c3cde0; font-size: 1.04rem; }
.article-body ul, .article-body ol { margin: 0 0 18px 0; padding-left: 22px; color: #c3cde0; display: flex; flex-direction: column; gap: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: 1.02rem; }
.article-body strong { color: #fff; }
.article-body a { color: var(--blue-400); text-decoration: underline; text-underline-offset: 3px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--yellow); border-radius: var(--radius); padding: 20px 22px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }

.post-card { display: flex; flex-direction: column; }
.post-card .tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-400); margin-bottom: 10px; }
.post-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.post-card p { font-size: .92rem; flex-grow: 1; }
.post-card .read { margin-top: 16px; color: var(--yellow); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 44px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 100% at 80% 0%, rgba(43,130,246,.16), transparent 60%); }
.page-hero > .container { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .coverage-wrap { grid-template-columns: 1fr; gap: 26px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .evo { grid-template-columns: 1fr; }
  .evo .arrow { transform: rotate(90deg); padding: 4px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav-links, .nav-actions .btn:not(.nav-cta) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-dd { width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; background: transparent; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 2px 0 6px 14px; }
  .nav-dd.open .nav-dd-menu { display: flex; }
  .nav-dd-menu a { padding: 11px 12px; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(8,12,20,.98); backdrop-filter: blur(14px);
    padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .stat { padding: 20px 18px; }
  .hero-badges { gap: 8px 16px; }
}
