/*
Theme Name: Fluxly Exacto - Carrusel
Theme URI: https://fluxly.es
Author: Fluxly
Author URI: https://fluxly.es
Description: Tema corporativo de Fluxly, fiel al diseño aprobado, para aplicaciones, automatización e IA práctica para pequeñas empresas.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fluxly
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --navy: #082b63;
  --navy-dark: #03265b;
  --blue: #1767ff;
  --orange: #ff510d;
  --green: #19a75b;
  --purple: #8b5bd1;
  --pink: #ca43bf;
  --ink: #092759;
  --muted: #52627a;
  --line: #dfe6ef;
  --line-soft: #edf1f6;
  --white: #fff;
  --soft-blue: #f5f9ff;
  --soft-pink: #fff7fd;
  --soft-orange: #fff8f3;
  --shadow: 0 14px 35px rgba(7, 39, 87, .13);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
section[id] { scroll-margin-top: 82px; }

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 20px; }

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
}
.header-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 176px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translateZ(0);
}
.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 45px);
  padding-right: 34px;
}
.main-nav a {
  color: var(--navy-dark);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--orange); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  background: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 9px 22px rgba(255, 81, 13, .18);
}
.button-primary:hover { background: #ec4706; box-shadow: 0 12px 25px rgba(255, 81, 13, .24); }
.button-outline {
  min-width: 176px;
  min-height: 36px;
  padding: 8px 22px;
  color: var(--navy);
  background: #fff;
  border-color: #1767ff;
  border-radius: 4px;
  font-size: 13px;
}
.header-cta { min-height: 38px; padding: 10px 20px; font-size: 13px; }

.hero {
  min-height: 388px;
  padding: 10px 0 34px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 38.5% 61.5%;
  align-items: center;
  gap: 36px;
}
.hero-copy { padding-top: 4px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(35px, 3.75vw, 48px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hero h1 span { color: var(--orange); }
.hero-intro {
  max-width: 410px;
  margin: 18px 0 17px;
  color: #263e64;
  font-size: 14.2px;
  line-height: 1.52;
}
.hero-intro strong { color: var(--navy); font-weight: 780; }
.hero-button { min-width: 198px; }
.direct-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 19px;
  color: #395170;
  font-size: 12px;
}
.direct-email svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
}
.direct-email a { color: var(--blue); font-weight: 750; text-decoration: none; }
.trust-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: 20px;
  max-width: 420px;
}
.trust-row > div { display: flex; align-items: center; gap: 11px; color: #253b5c; font-size: 11px; line-height: 1.35; }
.trust-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border: 1.4px solid var(--navy);
  border-radius: 50%;
}
.trust-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-dashboard { padding-top: 3px; }
.hero-dashboard img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-left: auto;
  border-radius: 13px;
  box-shadow: var(--shadow);
  image-rendering: auto;
}

.problems { padding: 20px 0 21px; }
.problems h2,
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.03em;
  line-height: 1.2;
  text-align: center;
}
.problems h2 { margin-bottom: 15px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.problem-card {
  min-height: 99px;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(8, 43, 99, .035);
}
.problem-card p {
  margin: 0;
  color: #28405f;
  font-size: 11.5px;
  line-height: 1.42;
}
.problem-card strong { color: var(--navy); font-weight: 760; }
.problem-icon { width: 47px; height: 47px; display: grid; place-items: center; }
.problem-icon svg { width: 45px; height: 45px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-icon.orange { color: var(--orange); }
.problem-icon.blue { color: var(--blue); }
.problem-icon.green { color: var(--green); }
.problem-icon.purple { color: var(--purple); }
.problem-icon circle { fill: currentColor; stroke: none; }
.problem-icon.green circle { fill: none; stroke: currentColor; }

.services { padding: 0 0 18px; }
.section-heading { text-align: center; }
.section-heading p {
  margin: 4px 0 0;
  color: #5a6a80;
  font-size: 11px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.service-grid article { text-align: center; }
.service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0 auto 5px;
  color: var(--blue);
}
.service-icon svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-grid h3 {
  min-height: 31px;
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
}
.service-grid p { margin: 0; color: #52627a; font-size: 9.8px; line-height: 1.45; }
.section-action { margin-top: 14px; text-align: center; }

.use-cases { padding: 2px 0 24px; overflow: hidden; }
.use-case-heading h2 { font-size: 20px; }
.use-case-heading p { margin-top: 3px; }
.case-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.case-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-width: 0;
}
.case-card {
  position: relative;
  flex: .82 1 0;
  min-width: 0;
  min-height: 218px;
  padding: 15px 14px 14px;
  border: 1px solid;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: .68;
  filter: saturate(.82);
  transform: scale(.94);
  transform-origin: center;
  box-shadow: 0 7px 18px rgba(8, 43, 99, .04);
  transition: flex .35s ease, transform .35s ease, opacity .35s ease, filter .35s ease, box-shadow .35s ease;
}
.case-card:hover { opacity: .88; transform: scale(.97); }
.case-card.is-active {
  flex: 1.42 1 0;
  min-height: 252px;
  opacity: 1;
  filter: none;
  transform: scale(1);
  z-index: 2;
  box-shadow: 0 18px 42px rgba(8, 43, 99, .14);
}
.case-blue { background: linear-gradient(135deg, #fbfdff 0%, #f2f7ff 100%); border-color: #d7e4fb; }
.case-pink { background: linear-gradient(135deg, #fffaff 0%, #fff4fd 100%); border-color: #eed7ef; }
.case-orange { background: linear-gradient(135deg, #fffdfb 0%, #fff6ef 100%); border-color: #f1d8c8; }
.case-top {
  min-height: 62px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 74px;
  align-items: start;
  gap: 7px;
}
.case-card.is-active .case-top { grid-template-columns: 42px minmax(0, 1fr) 112px; }
.case-icon { width: 38px; height: 38px; display: grid; place-items: center; }
.case-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.case-card.is-active .case-icon,
.case-card.is-active .case-icon svg { width: 42px; height: 42px; }
.case-icon.blue { color: var(--blue); }
.case-icon.pink { color: var(--pink); }
.case-icon.orange { color: var(--orange); }
.case-card h3 { margin: 2px 0 0; color: var(--navy); font-size: 11px; font-weight: 760; line-height: 1.32; transition: font-size .3s ease; }
.case-card.is-active h3 { font-size: 14.4px; }
.case-top img { justify-self: end; max-height: 76px; max-width: 100%; width: auto; object-fit: contain; transition: max-height .3s ease; }
.case-card.is-active .case-top img { max-height: 112px; }
.case-orange .case-top img { max-height: 61px; margin-top: 2px; }
.case-orange.is-active .case-top img { max-height: 90px; }
.case-card ul { list-style: none; padding: 0; margin: 7px 0 22px; }
.case-card li {
  position: relative;
  margin: 2px 0;
  padding-left: 15px;
  color: #31445f;
  font-size: 8.5px;
  line-height: 1.42;
  transition: font-size .3s ease;
}
.case-card.is-active li { margin: 3px 0; font-size: 10.2px; }
.case-card li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; }
.case-blue li::before, .case-blue > a { color: var(--blue); }
.case-pink li::before, .case-pink > a { color: var(--pink); }
.case-orange li::before, .case-orange > a { color: var(--orange); }
.case-card > a { position: absolute; left: 14px; bottom: 11px; font-size: 9px; font-weight: 760; text-decoration: none; }
.case-card.is-active > a { font-size: 10.5px; }
.case-card > a span { margin-left: 7px; }
.carousel-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d9e3f0;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 43, 99, .08);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.carousel-arrow:hover,
.carousel-arrow:focus-visible { color: #fff; border-color: var(--orange); background: var(--orange); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 81, 13, .22); }
.carousel-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 13px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d3e1;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.carousel-dot.is-active { width: 28px; background: var(--orange); }

.process { padding: 0 0 9px; }
.process-heading p { font-size: 9.5px; }
.process-grid {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.process-grid li { position: relative; text-align: center; }
.process-grid li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 35px);
  width: calc(100% - 40px);
  border-top: 1px dashed #c3cddd;
}
.process-grid li:not(:last-child)::before {
  content: "›";
  position: absolute;
  top: 13px;
  right: -19px;
  z-index: 2;
  color: #aab8cb;
  font-size: 22px;
  font-weight: 300;
}
.step-head { position: relative; width: 92px; height: 51px; margin: 0 auto 3px; }
.step-number {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 2;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}
.step-number.orange { background: var(--orange); }
.step-number.blue { background: #2f71e9; }
.step-number.green { background: #29aa66; }
.step-number.purple { background: #ad5aac; }
.step-icon {
  position: absolute;
  right: 3px;
  top: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e0ec;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 5px 12px rgba(8, 43, 99, .06);
}
.step-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-grid h3 { margin: 0 0 4px; color: var(--navy); font-size: 10.8px; font-weight: 760; line-height: 1.3; }
.process-grid p { max-width: 185px; margin: 0 auto; color: #52627a; font-size: 8.7px; line-height: 1.5; }
.honesty-banner {
  max-width: 650px;
  min-height: 46px;
  margin: 13px auto 0;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 7px;
  background: linear-gradient(90deg, #fff9f1 0%, #fff7ee 55%, #fffaf6 100%);
}
.honesty-icon { color: #f5a000; }
.honesty-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.honesty-banner strong { display: block; color: var(--navy); font-size: 12.2px; line-height: 1.3; }
.honesty-banner div span { display: block; margin-top: 2px; color: #4f6076; font-size: 9.4px; }

.audit { padding: 0 0 11px; }
.audit-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 230px;
  border: 1px solid var(--navy);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 43, 99, .05);
}
.audit-copy {
  padding: 21px 28px;
  color: #fff;
  background: linear-gradient(135deg, #082f6b 0%, #022455 100%);
}
.audit-copy h2 { margin: 0 0 11px; font-size: 23px; font-weight: 720; letter-spacing: -.025em; line-height: 1.22; }
.audit-copy p { max-width: 230px; margin: 0; color: #edf3ff; font-size: 10.5px; line-height: 1.55; }
.audit-copy ul { list-style: none; padding: 0; margin: 19px 0 0; }
.audit-copy li { display: flex; align-items: center; gap: 9px; margin: 7px 0; font-size: 9.8px; }
.audit-copy li span { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 18px; }
.audit-copy li svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.audit-form { padding: 8px 9px 8px 28px; background: #fff; }
.form-row { display: grid; gap: 10px; }
.form-row-three { grid-template-columns: repeat(3, 1fr); }
.form-row-two { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.audit-form label { display: block; color: #263e60; font-size: 8.6px; font-weight: 720; line-height: 1.2; }
.audit-form label > span,
.audit-form label > b { color: var(--orange); }
.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border: 1px solid #dce4ee;
  border-radius: 5px;
  color: #233a5b;
  background: #fff;
  outline: 0;
  font-size: 9.5px;
  line-height: 1.25;
}
.audit-form input,
.audit-form select { height: 34px; }
.audit-form textarea { min-height: 42px; resize: vertical; }
.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(23, 103, 255, .1); }
.wide-label { margin-top: 8px; }
.form-bottom { display: grid; grid-template-columns: 1fr 290px; align-items: center; gap: 14px; margin-top: 8px; }
.checkbox { display: flex !important; align-items: center; gap: 8px; font-weight: 550 !important; }
.checkbox input { width: 16px; height: 16px; margin: 0; padding: 0; flex: 0 0 16px; }
.checkbox a { color: var(--blue); }
.form-submit { width: 100%; min-height: 34px; padding: 8px 15px; font-size: 10.5px; }
.form-status { min-height: 13px; margin: 4px 0 0; color: var(--green); font-size: 9px; font-weight: 700; }
.form-status.is-error { color: #bd2419; }
.honeypot-field { position: absolute !important; left: -9999px !important; }
.footer-email { margin: 8px 0 0; color: #3d506c; font-size: 10px; text-align: center; }
.footer-email a { color: var(--blue); font-weight: 760; text-decoration: none; }

.site-footer { padding: 15px 0 20px; border-top: 1px solid var(--line-soft); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #738095; font-size: 10px; }
.footer-inner nav { display: flex; gap: 16px; }
.footer-inner a { color: var(--navy); text-decoration: none; }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 100;
  width: min(680px, calc(100% - 40px));
  margin: auto;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { color: var(--navy); font-size: 12px; }
.cookie-banner p { margin: 2px 0 0; color: #5b6a7e; font-size: 10px; }
.cookie-banner a { color: var(--blue); }
.cookie-banner .button { min-height: 34px; padding: 8px 14px; font-size: 11px; }

/* Legal pages */
.legal-page { background: #f8fafc; }
.legal-header { padding: 18px 0; border-bottom: 1px solid var(--line); background: #fff; }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header img { width: 150px; }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 40px auto; }
.legal-card { padding: 42px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(8, 43, 99, .06); }
.legal-card h1 { margin: 0 0 24px; color: var(--navy); font-size: 36px; }
.legal-card h2 { margin: 28px 0 10px; color: var(--navy); font-size: 21px; }
.legal-card p { color: #495c75; }
.legal-card a { color: var(--blue); }

@media (max-width: 1120px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .header-inner { grid-template-columns: 180px 1fr auto; }
  .main-nav { gap: 22px; padding-right: 12px; }
  .hero-grid { grid-template-columns: 40% 60%; gap: 24px; }
  .hero h1 { font-size: clamp(33px, 4vw, 44px); }
  .problem-card { padding-inline: 12px; }
  .audit-copy { padding-inline: 22px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px, 760px); }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto auto; }
  .brand img { width: 150px; }
  .menu-toggle { display: block; order: 3; }
  .header-cta { justify-self: end; }
  .main-nav {
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; text-align: center; }
  .hero { padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: clamp(38px, 7vw, 54px); }
  .hero h1 br { display: none; }
  .hero-intro { max-width: 600px; }
  .hero-dashboard { max-width: 680px; width: 100%; margin-inline: auto; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .case-carousel { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 8px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .case-track { gap: 8px; }
  .case-card { min-height: 222px; }
  .case-card.is-active { min-height: 248px; }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .process-grid li::after,
  .process-grid li::before { display: none; }
  .audit-card { grid-template-columns: 1fr; }
  .audit-copy { padding: 28px; }
  .audit-copy p { max-width: 600px; }
  .audit-copy ul { display: flex; gap: 22px; flex-wrap: wrap; }
  .audit-form { padding: 22px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 28px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 142px; }
  .header-cta { display: none; }
  .hero { padding: 15px 0 28px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { order: 1; }
  .hero-dashboard { order: 2; }
  .eyebrow { font-size: 9px; }
  .hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .hero-intro { font-size: 14px; }
  .hero-button { width: 100%; }
  .direct-email { align-items: flex-start; }
  .trust-row { grid-template-columns: 1fr; gap: 10px; }
  .problems { padding-top: 24px; }
  .problems h2,
  .section-heading h2 { font-size: 21px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 92px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:last-child { grid-column: 1 / -1; }
  .case-carousel { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 7px; }
  .carousel-arrow { width: 34px; height: 34px; }
  .carousel-arrow svg { width: 19px; height: 19px; }
  .case-track { position: relative; display: block; min-height: 304px; }
  .case-card { display: none; width: 100%; min-height: 304px; transform: none; opacity: 1; }
  .case-card.is-active { display: block; min-height: 304px; transform: none; }
  .case-card.is-active .case-top { grid-template-columns: 42px minmax(0, 1fr) 96px; }
  .case-card.is-active .case-top img { max-height: 96px; }
  .case-card.is-active h3 { font-size: 14px; }
  .case-card.is-active li { font-size: 10.5px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid p { max-width: 290px; font-size: 9.5px; }
  .honesty-banner { align-items: flex-start; }
  .audit-copy h2 { font-size: 25px; }
  .audit-copy ul { display: block; }
  .form-row-three,
  .form-row-two { grid-template-columns: 1fr; }
  .form-bottom { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .legal-card { padding: 26px; }
}

@media (max-width: 400px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article:last-child { grid-column: auto; }
  .case-card.is-active .case-top { grid-template-columns: 40px minmax(0, 1fr) 82px; }
  .audit-copy { padding: 24px 20px; }
  .audit-form { padding: 18px 14px; }
}
