/* =========================================================
   Billeke.cl · VeloraPayroll — Maqueta de portada
   Paleta tomada del producto: verde del sistema + naranja de acento
   ========================================================= */

:root {
  --ink: #0B2618;          /* fondo oscuro (hero, servicios, pie) */
  --ink-2: #11331F;
  --green: #14532D;        /* verde de títulos de la aplicación */
  --green-2: #1F6B3E;
  --lime: #89B000;         /* verde del logo, uso puntual */
  --orange: #EA580C;       /* naranja de la aplicación */
  --orange-2: #C2410C;
  --orange-soft: #FFF1E8;
  --paper: #FAFAF7;
  --alt: #F2F4EF;
  --card: #FFFFFF;
  --line: #E3E7DF;
  --text: #37443B;
  --muted: #66746A;
  --on-dark: #E8EFE9;
  --on-dark-muted: #A9B8AD;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 38, 24, .06), 0 8px 24px rgba(11, 38, 24, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--orange-2); }

h1, h2, h3, h4 { color: var(--green); margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

section[id] { scroll-margin-top: 80px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font);
  padding: 15px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, .tabs button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(234, 88, 12, .45); outline-offset: 2px;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 38, 24, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand img { width: 136px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav > a { color: var(--on-dark-muted); font-size: 15px; font-weight: 500; }
.main-nav > a:hover { color: #fff; }
.nav-actions { display: flex; gap: 10px; margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(137, 176, 0, .14), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(234, 88, 12, .10), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding: 72px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #D9E9A6; background: rgba(137, 176, 0, .12); border: 1px solid rgba(137, 176, 0, .35);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: #FDBA8C; }
.lead { font-size: 19px; color: var(--on-dark-muted); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--on-dark); }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 16px; height: 16px; color: var(--lime); stroke-width: 3; }

.hero-visual { position: relative; padding: 24px 0 40px 24px; }
.browser {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero .browser { box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, .1); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F3EF; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAD3; }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 12px; }
.browser.crop img { aspect-ratio: 16 / 7.4; object-fit: cover; object-position: top left; width: 100%; }

.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  background: #fff; color: var(--text); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  font-size: 14px; line-height: 1.35;
}
.float-card strong { display: block; color: var(--green); font-size: 15px; }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.fc-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; }
.fc-icon svg { width: 18px; height: 18px; }
.fc-icon.ok { background: #E7F4EA; color: var(--green-2); }
.fc-icon.ai { background: var(--orange-soft); color: var(--orange); }

.fc-status { top: 0; left: -8px; }
.fc-kpi { flex-direction: column; align-items: flex-start; gap: 2px; right: -14px; top: 38%; min-width: 170px; }
.fc-kpi strong { font-size: 22px; letter-spacing: -0.01em; }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 8px; }
.mini-bars i { width: 14px; height: var(--h); background: var(--orange); border-radius: 3px 3px 0 0; opacity: .85; }
.mini-bars i:nth-child(4) { opacity: 1; }
.fc-chat { bottom: 0; left: 4%; max-width: 330px; align-items: flex-start; }
.fc-chat p { margin: 2px 0 0; color: var(--text); }

/* ---------- Franja ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 12px; font-size: 15px; font-weight: 600; color: var(--green);
}
.strip-grid > div + div { border-left: 1px solid var(--line); }
.strip-grid svg { color: var(--orange); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }

/* ---------- Pestañas de módulos ---------- */
.tabs {
  display: flex; gap: 6px; padding: 6px; margin-bottom: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  font: 600 15px/1 var(--font); color: var(--muted);
  background: transparent; border: 0; border-radius: 8px; padding: 12px 18px; cursor: pointer; white-space: nowrap;
}
.tabs button:hover { color: var(--green); background: var(--alt); }
.tabs button[aria-selected="true"] { color: #fff; background: var(--green); }

.tab-panel { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.panel-copy h3 { font-size: 26px; margin-bottom: 14px; }
.panel-copy p { margin: 0 0 20px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #E7F4EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B3E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Bento de beneficios ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 20px; margin: 18px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #E7F4EA; color: var(--green-2); }
.icon-badge svg { width: 22px; height: 22px; }

.b-ai { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #FFF8F3 100%); }
.b-ai .icon-badge { background: var(--orange-soft); color: var(--orange); }
.chat { display: grid; gap: 10px; margin: 24px 0; }
.msg { font-size: 15px; line-height: 1.45; padding: 12px 14px; border-radius: 14px; max-width: 92%; }
.msg.user { justify-self: end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.msg.bot b { color: var(--green); }
.msg .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips span { font-size: 13px; font-weight: 500; color: var(--green); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

.b-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.bars div { position: relative; flex: 1; height: var(--h); min-height: 6px; background: var(--orange); border-radius: 6px 6px 0 0; }
.bars span { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }

.b-dark {
  grid-column: 1 / -1; background: var(--green); border-color: var(--green);
  display: grid; grid-template-columns: auto auto 1fr; gap: 8px 28px; align-items: center;
}
.b-dark .icon-badge { grid-row: span 2; }
.b-dark .tag { grid-column: 2; margin: 0; }
.b-dark h3 { grid-column: 2; }
.b-dark p { grid-column: 3; grid-row: 1 / span 2; max-width: 36em; }
.b-dark h3 { color: #fff; margin: 0; }
.b-dark p { color: #CFE0D4; }
.b-dark .icon-badge { background: rgba(255, 255, 255, .12); color: #fff; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #D9E9A6; }

/* ---------- Servicios ---------- */
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark .section-head h2 { color: #fff; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-lg); padding: 30px;
}
.svc .icon-badge { background: rgba(137, 176, 0, .14); color: #C6DF6A; }
.svc h3 { color: #fff; font-size: 20px; margin: 20px 0 10px; }
.svc p { margin: 0; color: var(--on-dark-muted); font-size: 16px; }

/* ---------- Acceso clientes ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.access-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px;
  color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.access-card:hover { border-color: var(--green-2); box-shadow: var(--shadow); color: var(--text); }
.access-card h3 { font-size: 18px; margin-bottom: 4px; }
.access-card p { margin: 0; font-size: 15px; color: var(--muted); }
.access-card .arrow { font-size: 22px; color: var(--orange); transition: transform .15s; }
.access-card:hover .arrow { transform: translateX(4px); }

/* ---------- Contacto ---------- */
.contact-section { background: var(--alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); margin: 0 0 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-list svg { color: var(--orange); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 16px/1.4 var(--font); color: var(--text);
  border: 1px solid #CDD4CB; border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-2); }
.form-note { margin: 0; font-size: 14px; color: var(--muted); text-align: center; min-height: 1em; }
.form-note:empty { display: none; }
.form-note.ok { color: var(--green-2); font-weight: 600; background: #E7F4EA; border-radius: 10px; padding: 12px 14px; }
.form-note.error { color: #B42318; font-weight: 600; background: #FEF3F2; border-radius: 10px; padding: 12px 14px; }
.field-error { font-size: 13px; font-weight: 500; color: #B42318; min-height: 0; }
.field-error:empty { display: none; }
.contact-form [aria-invalid="true"] { border-color: #D92D20; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Banner de actualidad ---------- */
:root { --src-dgi: #14532D; --src-mitradel: #C2410C; --src-css: #0E7490; }

.news-bar { background: #FFF7F0; border-bottom: 1px solid #F5DCC8; }
.news-bar[hidden] { display: none; }
.news-bar-inner { display: flex; align-items: center; gap: 18px; min-height: 50px; }
.news-label {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(234, 88, 12, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, .45); } 70% { box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); } }
.news-slot { flex: 1; min-width: 0; }
.news-item { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; transition: opacity .25s; }
.news-item.fading { opacity: 0; }
.news-item:hover .news-title { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.news-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.news-date { flex: none; font-size: 13px; color: var(--muted); }
.src-chip {
  flex: none; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--green); border-radius: 6px; padding: 3px 8px; line-height: 1.3;
}
.src-chip[data-src="dgi"] { background: var(--src-dgi); }
.src-chip[data-src="mitradel"] { background: var(--src-mitradel); }
.src-chip[data-src="css"] { background: var(--src-css); }
.news-ctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.news-ctrl button {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid #F0D2BC; background: #fff; color: var(--green); cursor: pointer;
}
.news-ctrl button:hover { border-color: var(--orange); color: var(--orange-2); }
.news-ctrl svg { width: 16px; height: 16px; }
.news-count { font-size: 12px; color: var(--muted); min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.news-all { flex: none; font-size: 14px; font-weight: 600; color: var(--orange-2); }

/* ---------- Sección de actualidad ---------- */
.section-sub { margin: 12px 0 0; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.news-card-head { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 18px 22px; border-bottom: 1px solid var(--line); border-top: 4px solid var(--green); }
.news-card[data-src="dgi"] .news-card-head { border-top-color: var(--src-dgi); }
.news-card[data-src="mitradel"] .news-card-head { border-top-color: var(--src-mitradel); }
.news-card[data-src="css"] .news-card-head { border-top-color: var(--src-css); }
.news-card-head h3 { font-size: 15px; line-height: 1.3; }
.news-card-head small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.news-list { list-style: none; margin: 0; padding: 6px 22px; flex: 1; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: block; padding: 14px 0; color: var(--text); }
.news-list a:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.news-list time { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.news-list strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--green); }
.news-empty { padding: 18px 0; font-size: 14px; color: var(--muted); }
.news-card-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.news-card-foot a { color: var(--orange-2); }
.news-meta { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .news-item { transition: none; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 136px; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 26em; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; color: var(--on-dark-muted); margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13px;
}
.footer-bottom a { display: inline; margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 760px; }
  .tab-panel { grid-template-columns: 1fr; gap: 28px; }
  .panel-copy { max-width: 640px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-ai { grid-row: auto; grid-column: span 2; }
  .b-wide { grid-column: span 2; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto; width: 44px; height: 44px; place-content: center;
    background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 8px 24px 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .nav-actions { flex-direction: column; margin: 16px 0 0; }
  .nav-actions .btn { padding: 14px; font-size: 15px; }

  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .services { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-all, .news-date { display: none; }
  .access { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .section { padding: 64px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }

  .hero { padding: 44px 0 64px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 0; }
  .float-card { position: static; margin-top: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
  .fc-kpi, .fc-status { display: none; }
  .fc-chat { max-width: none; }

  .strip-grid > div { justify-content: flex-start; font-size: 14px; padding: 16px 10px; }

  .news-label { display: none; }
  .news-bar-inner { gap: 10px; padding: 8px 0; }
  .news-item { align-items: flex-start; gap: 8px; font-size: 14px; }
  .news-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
  .news-count { display: none; }

  .tabs { width: auto; margin-inline: -20px; border-radius: 0; border-inline: 0; padding: 6px 20px; }
  .panel-copy h3 { font-size: 22px; }

  .bento { grid-template-columns: 1fr; }
  .b-ai, .b-wide { grid-column: auto; }
  .b-dark { grid-template-columns: 1fr; gap: 10px; }
  .b-dark .icon-badge, .b-dark .tag, .b-dark h3, .b-dark p { grid-column: auto; grid-row: auto; }
  .b-wide { grid-template-columns: 1fr; }
  .card { padding: 24px; }

  .access-card { grid-template-columns: auto 1fr; }
  .access-card .arrow { display: none; }

  .contact-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}
