/* =========================================================
   Service Segui — estilos del sitio
   Colores y tipografías según la identidad de marca.
   ========================================================= */

:root {
  --navy: #011A44;
  --navy-dark: #00112E;
  --red: #CA182B;
  --red-hover: #A8121F;
  --ink: #292929;
  --muted: #4A4F58;
  --muted-2: #5A5F68;
  --gray: #F3F4F6;
  --line: #E4E6EA;
  --on-navy: #D6DDEA;
  --wa: #1FA855;
  --radius: 10px;
  --pad: clamp(20px, 5.5vw, 80px);
  --section: clamp(64px, 8vw, 96px);
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-dark { background: var(--ink); color: #fff; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
.display, h1, h2 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.04; letter-spacing: 0.2px; }
h1 { font-size: clamp(40px, 5.4vw, 72px); }
h2 { font-size: clamp(32px, 3.8vw, 54px); color: var(--navy); }
.bg-navy h2, .bg-dark h2 { color: #fff; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 36px; height: 4px; background: var(--red); flex-shrink: 0; }
.bg-navy .eyebrow, .bg-dark .eyebrow, .hero .eyebrow { color: #fff; }
.lead { font-size: 17px; color: var(--muted); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead { max-width: 460px; margin: 0; }
.link-strong { font-weight: 800; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 6px; font-weight: 800; font-size: 16px; font-family: inherit; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--dark { border-color: var(--navy); color: var(--navy); }
.btn--dark:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--gray); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barra superior y encabezado ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; }
.topbar__group { display: flex; gap: 28px; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.header__logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 700; }
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.header__actions { display: flex; gap: 12px; }
.header__actions .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.header__actions .btn--dark { border-width: 2px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy); padding: 0; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Portada (hero) ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__img { position: absolute; top: 0; right: 0; width: 57%; height: 100%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero__stripe { position: absolute; top: 0; left: 41.4%; width: 26px; height: 100%; background: var(--red); transform: skewX(-15.5deg); transform-origin: top left; }
.hero .wrap { position: relative; min-height: 640px; display: flex; align-items: center; }
.hero__content { max-width: 580px; padding: 64px 0; display: flex; flex-direction: column; gap: 26px; }
.hero__content p { margin: 0; font-size: 19px; color: var(--on-navy); max-width: 540px; }
.hero--page .wrap { min-height: 560px; }
.hero--short .wrap { min-height: 480px; }
.breadcrumb { font-size: 14px; color: #B7C1D3; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #B7C1D3; }
.breadcrumb [aria-current] { color: #fff; font-weight: 700; }
.hero--band .wrap { min-height: 380px; }
.hero--band .hero__slash { position: absolute; right: -120px; top: 0; width: 520px; height: 100%; background: var(--red); transform: skewX(-15.5deg); opacity: .9; }

/* ---------- Franja de diferenciales ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--navy); line-height: 1.2; }
.fact span { font-size: 14px; color: var(--muted-2); }

/* ---------- Cinta de clientes ---------- */
.clients { padding: 40px 0; overflow: hidden; text-align: center; }
.clients__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--muted-2); text-transform: uppercase; margin: 0 0 24px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track img { width: 2400px; height: 100px; max-width: none; flex-shrink: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-2400px); } }

/* ---------- Áreas de servicio (inicio) ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 330px; gap: 24px; }
.area { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.area:hover { color: var(--ink); }
.area img { width: 100%; height: 150px; object-fit: cover; }
.area__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.area h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 23px; color: var(--navy); line-height: 1.15; }
.area p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.area__more { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--red); }
.area--main { grid-column: span 2; grid-row: span 2; background: var(--navy); color: #fff; position: relative; }
.area--main:hover { color: #fff; }
.area--main img { height: 420px; }
.area--main .area__body { padding: 28px 32px; gap: 14px; }
.area--main h3 { color: #fff; font-size: 36px; }
.area--main .area__more { color: #fff; font-size: 15px; }
.area__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 15px; color: var(--on-navy); margin: 0; padding: 0; list-style: none; }
.badge { position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; padding: 8px 12px; border-radius: 4px; text-transform: uppercase; }

/* ---------- Bloques con foto a un lado ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 16 / 10.5; }
.split__text { display: flex; flex-direction: column; gap: 18px; }
.split__text p { margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CA182B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain; }
.bg-dark .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* Empresas (inicio): foto con corte diagonal */
.band { position: relative; overflow: hidden; }
.band__img { position: absolute; top: 0; left: 0; width: 48.6%; height: 100%; object-fit: cover; object-position: 62% 50%; clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.band .wrap { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: flex-end; }
.band__content { width: min(620px, 46%); display: flex; flex-direction: column; gap: 24px; padding: 64px 0; }
.band__content .checks { color: #E8E8E8; }

/* Particulares */
.home-card { display: grid; grid-template-columns: 420px minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: var(--gray); }
.home-card img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 50% 40%; }
.home-card__text { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.home-card__text h2 { font-size: clamp(30px, 3vw, 42px); }
.home-card__text p { margin: 0; font-size: 17px; color: var(--muted); }
.home-card__text .btn { align-self: flex-start; }

/* ---------- Grillas de fotos ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.work { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.work img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.work figcaption { display: flex; flex-direction: column; gap: 4px; }
.work__tag { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--red); text-transform: uppercase; }
.work__title { font-weight: 800; font-size: 18px; color: var(--navy); line-height: 1.35; }

/* ---------- Reseñas ---------- */
.rating { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rating__score { display: flex; align-items: center; gap: 14px; }
.rating__score strong { font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--navy); }
.rating__score > span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted-2); }
.stars { display: flex; gap: 2px; color: #F4B400; }
.stars svg { width: 20px; height: 20px; }
.stars--lg svg { width: 30px; height: 30px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { margin: 0; padding: 32px; background: #fff; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; flex-grow: 1; font-size: 16px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.review__name { font-weight: 800; font-size: 15px; color: var(--navy); display: block; }
.review__src { font-size: 13px; color: var(--muted-2); }

/* ---------- Instagram ---------- */
.ig-feed { min-height: 180px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ig-grid a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-grid a:hover img { transform: scale(1.04); }

/* ---------- Contacto y formularios ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 80px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__info p { margin: 0; font-size: 17px; color: var(--on-navy); }
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact__list a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 12px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); min-height: 46px; padding: 0 14px; border: 1px solid #C5C9D0; border-radius: 6px; background: #fff; width: 100%; }
.form textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__note { grid-column: 1 / -1; margin: -6px 0 0; font-size: 13px; color: var(--muted-2); text-align: center; }
.form__error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--red); font-weight: 700; }

/* ---------- Páginas de servicio ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.card svg { width: 30px; height: 30px; color: var(--red); }
.card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; color: var(--navy); line-height: 1.15; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.tag { align-self: flex-start; background: #E8EEF8; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 6px 10px; border-radius: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 12px; counter-increment: step; }
.steps li::before { content: counter(step); width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-size: 28px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; color: #fff; }
.steps p { margin: 0; font-size: 15px; color: var(--on-navy); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faq div { padding: 26px 30px; background: #fff; border-radius: var(--radius); }
.faq h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.faq p { margin: 0; font-size: 15px; color: var(--muted); }
.cta { background: var(--red); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; min-height: 280px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(32px, 3.3vw, 46px); }
.cta p { margin: 10px 0 0; font-size: 18px; color: #FFE3E3; }
.cta .btn { min-height: 60px; font-size: 17px; }

/* Empresas y Nosotros */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.why div { display: flex; flex-direction: column; gap: 14px; }
.why svg { width: 34px; height: 34px; color: var(--red); }
.why strong { font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--navy); text-transform: uppercase; line-height: 1.1; }
.why p { margin: 0; font-size: 15px; color: var(--muted); }
.sectors { display: flex; flex-wrap: wrap; gap: 14px; }
.sectors span { min-height: 64px; padding: 0 26px; display: flex; align-items: center; border: 2px solid #33456B; border-radius: 32px; font-weight: 800; font-size: 17px; }
.area-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.area-cards .area { border: 1px solid var(--line); }
.area-cards .area img { height: 190px; }
.area-cards .area__body { padding: 22px; gap: 10px; }
.area-cards .area h3 { font-size: 24px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.numbers strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; color: #fff; }
.numbers span { font-size: 15px; color: var(--on-navy); }
.lab { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; gap: 20px; }
.lab img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.lab img:nth-child(1), .lab img:nth-child(2) { grid-row: span 2; }

/* Trabajos */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { min-height: 46px; padding: 0 20px; border-radius: 23px; border: 2px solid #C5C9D0; background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { padding: 48px; background: var(--gray); border-radius: 12px; margin-bottom: 40px; }
.empty strong { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--navy); text-transform: uppercase; }
.empty p { margin: 10px 0 0; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Mapa ---------- */
.map { line-height: 0; background: var(--gray); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.9); }
@media (max-width: 640px) { .map iframe { height: 260px; } }

/* ---------- Pie ---------- */
.footer { background: var(--navy-dark); color: #B7C1D3; font-size: 13px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer img { height: 34px; width: auto; }
.footer__links { display: flex; gap: 24px; }
.footer a { color: #fff; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; background: #178C46; }
.wa-float svg { width: 32px; height: 32px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__actions .btn--dark { display: none; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .area { min-height: 330px; }
  .area--main { grid-row: auto; }
  .area--main img { height: 320px; }
  .area-cards, .why, .values, .steps, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact { gap: 48px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .topbar__group--secondary { display: none; }
  .nav, .header__actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header.is-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header__logo img { height: 40px; }
  .header .wrap { min-height: 68px; }

  .hero__img, .band__img { position: relative; width: 100%; height: 300px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .hero__stripe, .hero--band .hero__slash { display: none; }
  .hero .wrap, .hero--page .wrap, .hero--short .wrap, .band .wrap { min-height: 0; }
  .hero__content { padding: 28px 0 56px; }
  .hero--band .wrap { padding-top: 56px; padding-bottom: 56px; }
  .band { background: var(--ink); }
  .band__content { width: 100%; padding: 32px 0 64px; }

  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 22px 16px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact strong { font-size: 26px; }

  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .home-card { grid-template-columns: 1fr; }
  .home-card img { min-height: 0; height: 280px; }
  .home-card__text { padding: 32px 28px; }
  .works, .reviews, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; }
  .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .lab img:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .lab img:nth-child(2) { grid-row: span 2; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .areas, .area-cards, .works, .reviews, .cards, .cards--4, .why, .values, .steps { grid-template-columns: 1fr; }
  .area--main { grid-column: auto; }
  .area--main img { height: 240px; }
  .area__list { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .btn-row .btn { width: 100%; }
  .work img { height: 240px; }
  .marquee__track img { width: 1680px; height: 70px; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-1680px); } }
  .rating__score strong { font-size: 52px; }
  .footer .wrap { flex-direction: column; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .ig-grid img { transition: none; }
}
