/* Layout: white, airy pages; real people cut out of organic frames, wrapped in thick aqua→blue
   ribbons (the water of the HidroMec flyer). Big two-tone headlines with a water-gradient highlight. */
:root {
  --ink: #0B1F3A;        /* azul noche para títulos */
  --text: #33415C;
  --muted: #64718A;
  --line: #E2E9F1;
  --soft: #F1F7FA;       /* gris con tinte agua */
  --paper: #FFFFFF;
  --accent: #1463D1;     /* azul HidroMec */
  --accent-d: #0E4FAA;
  --aqua: #2BC8CB;       /* agua del volante */
  --aqua-d: #0E8F94;
  --navy: #0B2E5C;
  --cream: #F3E6C4;      /* letras del logo original */
  --volt: #FFC928;
  --wa: #25D366;

  --f-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.9rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.08; font-weight: 800; }
h3 { font-size: 1.28rem; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.hl { color: var(--accent); background: linear-gradient(90deg, var(--aqua-d), var(--accent) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

.kicker { font-family: var(--f-head); font-weight: 800; color: var(--accent); letter-spacing: -.02em; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-head); font-weight: 600; font-size: .98rem; line-height: 1;
  height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(20,99,209,.9); }
.btn-primary:hover { background: var(--accent-d); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262E52; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; flex: none; line-height: 1; }
.logo { display: inline-flex; align-items: flex-end; font-family: var(--f-head); font-weight: 800; font-size: 2rem; letter-spacing: -.035em; color: var(--navy); line-height: .8; }
.logo-r { width: .66em; height: .86em; margin: 0 .05em 0 .07em; color: var(--accent); flex: none; }
.brand-tag { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua-d); margin-top: 5px; }
.nav { display: flex; gap: 34px; margin-inline: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { flex: none; }

.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--soft); border-radius: 50%; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(16px, 3vw, 40px) clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero .kicker { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.9rem); line-height: 1.04; letter-spacing: -.03em; text-transform: none; margin-bottom: 0; }
.hero h1 .hl { display: block; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.g-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; text-decoration: none; color: var(--muted); font-size: .95rem; }
.g-rating strong { color: var(--ink); }
.g-logo { width: 20px; height: 20px; flex: none; }
.stars { display: inline-flex; gap: 2px; color: #FBBC05; }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: #D9DCE4; }

.hero-art { position: relative; margin-right: calc(-1 * clamp(0px, (100vw - var(--maxw)) / 2, 120px)); }
.hero-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-badge {
  position: absolute; left: 4%; bottom: 10%;
  width: 118px; height: 118px; border-radius: 50%;
  background: #fff; box-shadow: 0 18px 40px -18px rgba(21,27,51,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15;
}
.hero-badge strong { font-family: var(--f-head); font-weight: 800; font-size: 2.1rem; color: var(--accent); letter-spacing: -.04em; line-height: 1; }
.hero-badge span { font-size: .78rem; font-weight: 600; color: var(--ink); margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; }
  .hero-copy > :nth-child(5) { animation-delay: .2s; }
  .hero-art { animation: rise 1s .1s cubic-bezier(.2,.7,.2,1) both; }
  .ribbon.r1 { animation: drift 9s ease-in-out infinite alternate; }
  .ribbon.r2 { animation: drift 11s ease-in-out -4s infinite alternate-reverse; }
}
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
@keyframes drift { from { translate: 0 0; } to { translate: 6px -6px; } }

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact strong { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); max-width: 40ch; font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.service { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.service-img { position: relative; aspect-ratio: 1 / 1; margin: 0 12px 16px 0; }
.service-img::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, var(--aqua), var(--accent) 60%, var(--navy)); transform: translate(10px, 10px);
  transition: transform .3s ease;
}
.service-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.shape-1 { border-radius: 38% 62% 46% 54% / 44% 38% 62% 56%; }
.shape-2 { border-radius: 56% 44% 60% 40% / 40% 52% 48% 60%; }
.shape-3 { border-radius: 44% 56% 38% 62% / 58% 42% 58% 42%; }
.service:hover .service-img::before { transform: translate(14px, 14px); }
.service p { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--accent-d); text-decoration: none; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
.also { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.also span { color: var(--ink); background: var(--soft); padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; }

/* Split (taller) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px); }
.split-art { min-width: 0; }
.split-svg { width: 100%; height: auto; display: block; overflow: visible; }
.split-copy { min-width: 0; padding-right: max(var(--gutter-r), calc((100vw - var(--maxw)) / 2 + 20px)); }
.split-copy h2 .hl { display: block; }
.split-copy .lead { margin-top: 20px; max-width: 50ch; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks svg { width: 26px; height: 26px; flex: none; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--accent)); color: #fff; margin-top: 1px; }

/* Reviews */
.reviews-sec { background: var(--soft); }
.reviews-top { position: relative; overflow: hidden; background: linear-gradient(180deg, #EAF7F8 0%, var(--soft) 100%); padding-block: clamp(64px, 8vw, 104px); }
.reviews-top::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43,200,203,.22), transparent); pointer-events: none; }
.reviews-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-bottom: 40px; }
.rh-copy { max-width: 640px; }
.reviews-head h2 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.6rem); }
.rh-sub { margin-top: 14px; color: var(--muted); font-size: 1.12rem; }
.rs-card { position: relative; display: flex; align-items: center; gap: 22px; background: #fff; border-radius: 28px; padding: 22px 30px; box-shadow: 0 22px 50px -28px rgba(11,46,92,.45); }
.rs-score { display: flex; align-items: center; gap: 16px; }
.rs-score > strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(3.2rem, 2.4rem + 2.4vw, 4.6rem); line-height: .9; color: var(--ink); letter-spacing: -.04em; }
.rs-meta { display: flex; flex-direction: column; gap: 6px; }
.rs-meta .stars svg { width: 24px; height: 24px; }
.rs-count { color: var(--ink); font-weight: 600; font-size: 1rem; }
.rs-g { width: 40px; height: 40px; flex: none; padding-left: 22px; box-sizing: content-box; border-left: 1px solid var(--line); }
.rs-actions { display: flex; gap: 10px; }
.nav-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .18s, color .18s; }
.nav-btn:hover { background: var(--ink); color: #fff; }
.nav-btn svg { width: 22px; height: 22px; }

.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: 26px; padding: 30px 28px 26px; min-width: 0;
}
.review::before { content: "\201C"; position: absolute; right: 24px; top: 6px; font-family: var(--f-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--accent); opacity: .18; }
.review-top { display: flex; align-items: center; gap: 12px; order: 3; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: .9rem; }
.review-who { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.review-who a, .review-who strong { font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-when { color: var(--muted); font-size: .85rem; }
.review-g { margin-left: auto; width: 20px; height: 20px; flex: none; }
.review .stars { order: 1; }
.review-text { order: 2; color: var(--ink); font-size: 1.08rem; line-height: 1.6; overflow-wrap: anywhere; }
.review-text.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { order: 2; align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent-d); cursor: pointer; }
.reviews-empty { grid-column: 1 / -1; padding: 28px; background: #fff; border-radius: 26px; color: var(--muted); }
.reviews-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.reviews-attr { color: var(--muted); font-size: .88rem; }
.reviews-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.reviews-top .review { box-shadow: 0 16px 40px -30px rgba(11,46,92,.5); }
.link { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

/* Ingelec */
.ingelec { padding-block: clamp(56px, 7vw, 96px); }
.ing-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 32px; }
.ing-mark { width: 76px; height: 76px; border-radius: 24px; background: var(--volt); color: var(--ink); display: grid; place-items: center; }
.ing-mark svg { width: 36px; height: 36px; }
.ing-tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ing-copy h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ing-copy > p:not(.ing-tag) { color: var(--muted); margin-top: 8px; }
.ing-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ing-list li { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 5px 14px; border-radius: 999px; background: var(--soft); }
.ing-actions { display: flex; flex-direction: column; gap: 10px; }

/* Contact */
.contact { padding-bottom: clamp(56px, 7vw, 96px); }
.contact-panel { position: relative; overflow: hidden; border-radius: 36px; background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 64px); }
.cp-ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-info h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.contact-info h2 .hl { background: linear-gradient(90deg, #5FE3E5, #7FB2FF); -webkit-background-clip: text; background-clip: text; }
.contact-info h2 .hl { display: block; }
.contact-info .lead { color: #B8BDD0; margin-top: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--aqua); }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.08rem; }
.contact-list a:hover { color: var(--aqua); }

.contact-form { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 14px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field .invalid { border-color: #D93025; }
.form-error { color: #B3261E; font-weight: 600; font-size: .9rem; }

/* Footer */
.site-footer { padding-block: 8px 104px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-meta { color: var(--muted); font-size: .92rem; }
.footer-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--aqua); }
.footer-link:hover { color: var(--accent); border-color: var(--accent); }
.footer-made { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-credit { display: inline-flex; align-items: center; padding: 6px 2px; border-radius: 6px; transition: opacity .15s, transform .15s; }
.footer-credit img { height: 18px; width: auto; display: block; }
.footer-credit:hover { opacity: .75; transform: translateY(-1px); }

/* Servicio 24 hs: sello circular sobre la portada */
.seal-24 { position: absolute; top: 4%; right: 2%; width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 20px 40px -20px rgba(11,46,92,.7); z-index: 2; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-text { font-family: var(--f-head); font-weight: 700; font-size: 15px; fill: #fff; letter-spacing: 1px; }
.seal-core { position: absolute; inset: 27%; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9; }
.seal-core strong { font-family: var(--f-head); font-weight: 800; font-size: 2.15rem; color: var(--navy); letter-spacing: -.04em; }
.seal-core span { font-family: var(--f-head); font-weight: 700; font-size: .8rem; color: var(--aqua-d); letter-spacing: .18em; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .seal-ring text { transform-origin: 100px 100px; animation: spin 22s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* WhatsApp */
.wa-fab {
  position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.75); transition: transform .18s;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 32px; height: 32px; }

/* ---------- ¿Cuándo llamar? (home + página /cuando-llamar) ---------- */
.cl-home { padding-top: 0; }
.cl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cl-card { background: var(--soft); border-radius: 28px; padding: 26px 28px 22px; }
.cl-card h3 a { text-decoration: none; }
.cl-card h3 a:hover { color: var(--accent); }
.cl-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.cl-card li a { display: block; padding: 9px 0 9px 26px; position: relative; text-decoration: none; color: var(--text); font-weight: 500; line-height: 1.4; border-top: 1px solid rgba(11,46,92,.08); }
.cl-card li a::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--aqua), var(--accent)); }
.cl-card li a:hover { color: var(--accent-d); }
.cl-all { margin-top: 36px; }

.cl-hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fff 0%, #EAF7F8 100%); }
.cl-hero h1 .hl { display: block; }
.cl-hero .lead { margin-top: 20px; max-width: 60ch; }
.crumbs { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cl-chips a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); background: #fff; padding: 9px 18px; border-radius: 999px; box-shadow: 0 8px 20px -14px rgba(11,46,92,.6); transition: background-color .15s, color .15s; }
.cl-chips a:hover { background: var(--ink); color: #fff; }

.cl-sec { padding-block: clamp(56px, 7vw, 96px); }
.cl-sec-soft { background: var(--soft); }
.cl-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cl-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.cl-aside .service-img { max-width: 260px; margin-bottom: 28px; }
.cl-aside h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
.cl-aside h2 .hl { display: block; }
.cl-intro { color: var(--muted); margin: 16px 0 24px; }
.cl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cl-item { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 24px; scroll-margin-top: calc(var(--header-h) + 20px); transition: box-shadow .2s, border-color .2s; }
.cl-sec-soft .cl-item { border-color: transparent; box-shadow: 0 16px 36px -30px rgba(11,46,92,.55); }
.cl-item:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,99,209,.18); }
.cl-num { display: inline-block; font-family: var(--f-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--aqua-d); margin-bottom: 8px; }
.cl-item h3 { font-size: 1.14rem; }
.cl-item p { color: var(--muted); margin-top: 8px; font-size: 1rem; line-height: 1.6; }
.cl-end { padding-top: clamp(24px, 4vw, 48px); }
.cl-end-copy { position: relative; max-width: 640px; }
.cl-end-copy .btn-primary { background: var(--wa); box-shadow: 0 10px 24px -12px rgba(37,211,102,.9); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1100px) { .cl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .cl-grid { grid-template-columns: 1fr; }
  .cl-aside { position: static; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0 24px; align-items: center; }
  .cl-aside .service-img { grid-row: span 2; margin: 0; }
  .cl-aside .cl-intro, .cl-aside .btn { grid-column: 1 / -1; }
  .cl-aside .btn { justify-self: start; }
}
@media (max-width: 640px) {
  .cl-cards, .cl-list { grid-template-columns: 1fr; }
  .cl-aside { grid-template-columns: 96px minmax(0, 1fr); gap: 0 18px; }
  .cl-item { padding: 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .reviews { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); margin: 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter-r) 20px var(--gutter);
    background: #fff; box-shadow: 0 24px 30px -24px rgba(21,27,51,.35);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-right: 0; max-width: 560px; width: 100%; margin-inline: auto; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-art { margin-right: var(--gutter-r); }
  .split-copy { padding-left: var(--gutter); padding-right: var(--gutter-r); }
  .ing-card { grid-template-columns: auto minmax(0, 1fr); }
  .ing-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .cp-ribbons { opacity: .35; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo { font-size: 1.7rem; }
  .header-cta span { display: none; }
  .header-cta { width: 46px; padding: 0; height: 46px; }
  .header-cta .ico { width: 20px; height: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-badge { width: 92px; height: 92px; left: 0; }
  .seal-24 { width: 112px; height: 112px; right: 0; top: 2%; }
  .seal-core strong { font-size: 1.6rem; }
  .seal-core span { font-size: .66rem; }
  .hero-badge strong { font-size: 1.6rem; }
  .hero-badge span { font-size: .68rem; }
  .fact { padding: 20px 14px; }
  .fact strong { font-size: 1.2rem; }
  .services { grid-template-columns: 1fr; }
  .reviews { grid-auto-columns: 86%; }
  .reviews-links { margin-left: 0; }
  .rs-card { width: 100%; padding: 18px 20px; justify-content: space-between; }
  .rs-g { width: 32px; height: 32px; padding-left: 16px; }
  .ing-card { grid-template-columns: 1fr; }
  .ing-mark { width: 60px; height: 60px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-panel { border-radius: 28px; }
  .wa-fab { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
