:root {
  --dark: #202833;
  --deep: #0d1b2a;
  --green: #008f57;
  --green-bright: #00a86b;
  --green-hover: #007a4a;
  --silver: #8f9599;
  --soft: #eef1f0;
  --outer: #dce5e3;
  --border: #d0d9d7;
  --text: #1f2933;
  --white: #ffffff;
  --content-max: 1520px;
  --page-pad: clamp(24px, 4vw, 72px);
  --content-pad: max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--outer);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: 100%;
  margin: 0;
}

.announcement {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 11px 26px;
  color: #edf4f2;
  background: var(--deep);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

.announcement a {
  color: #bcebd6;
  white-space: nowrap;
}

.page-card {
  margin-top: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(32, 40, 51, 0.08);
  border-radius: 0;
  box-shadow: 0 22px 60px rgba(13, 27, 42, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px var(--content-pad);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(208, 217, 215, 0.75);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.08);
}

.brand img {
  display: block;
  width: 174px;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #52606b;
}

.primary-nav a {
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav .active {
  color: var(--green);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--green);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--green);
  background: var(--white);
  border-color: var(--border);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--dark);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 48px;
  min-height: 100vh;
  margin: 0;
  padding: 82px var(--content-pad);
  border-radius: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 14%, rgba(0, 168, 107, 0.18), transparent 28%),
    linear-gradient(135deg, var(--deep), var(--dark));
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2,
.split-section h2,
.selector-section h2,
.ai-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: #dbe5e2;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: absolute;
  top: 50%;
  left: 70%;
  z-index: 2;
  width: min(44vw, 840px);
  height: min(66vh, 660px);
  min-height: 430px;
  filter: none;
  transform: translate(-50%, -50%);
}

.monitor-card {
  position: absolute;
  right: 4%;
  width: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.card-a {
  top: 26px;
  right: 6%;
}

.card-b {
  top: 154px;
  right: 34%;
}

.card-c {
  top: 270px;
  right: 8%;
}

.card-d {
  top: 394px;
  right: 30%;
}

.monitor-card strong,
.monitor-card small {
  display: block;
}

.monitor-card small {
  margin-top: 7px;
  color: #b8c5c2;
}

.status-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 6px rgba(0, 168, 107, 0.14);
}

.status-dot.grey {
  background: #bac5c9;
  box-shadow: 0 0 0 6px rgba(186, 197, 201, 0.14);
}

.circuit-lines {
  position: absolute;
  right: 0;
  bottom: -92px;
  width: 250px;
}

.circuit-lines span {
  display: block;
  height: 2px;
  margin: 35px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--green-bright), rgba(255, 255, 255, 0.62));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--content-max));
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--border);
}

.trust-strip article {
  min-height: 118px;
  padding: 24px;
  background: #f6f8f7;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 8px;
  color: #56636d;
  line-height: 1.55;
}

.section,
.split-section,
.selector-section,
.ai-section,
.contact-section {
  margin: 0 auto;
  padding: 92px var(--page-pad);
  width: min(100%, calc(var(--content-max) + (var(--page-pad) * 2)));
}

.split-section,
.selector-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.split-section > *,
.selector-section > *,
.contact-section > * {
  min-width: 0;
}

.split-section p,
.selector-copy p,
.ai-section p,
.contact-section p {
  color: #52606b;
  font-size: 17px;
  line-height: 1.7;
}

.diagram-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  min-height: 340px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--soft);
}

.node {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--dark);
  background: var(--white);
  font-weight: 800;
  text-align: center;
}

.main-node,
.result-node {
  color: var(--white);
  background: var(--dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.split-section h2,
.selector-section h2,
.ai-section h2,
.contact-section h2 {
  font-size: clamp(32px, 3.4vw, 48px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.muted {
  width: 100%;
  max-width: none;
  padding-inline: var(--content-pad);
  background: #f7f9f8;
}

.info-card,
.service-card,
.recommendation {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.04);
  transition: transform 180ms ease, border-color 180ms ease;
}

.info-card:hover,
.service-card:hover {
  border-color: rgba(0, 143, 87, 0.5);
  transform: translateY(-3px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--green);
  background: rgba(0, 143, 87, 0.09);
  font-size: 13px;
  font-weight: 800;
}

.info-card h3,
.service-card h3,
.recommendation h3 {
  margin: 22px 0 10px;
  color: var(--dark);
  font-size: 21px;
}

.info-card p,
.service-card p,
.recommendation p {
  color: #52606b;
  line-height: 1.66;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 800;
}

.selector-section {
  align-items: stretch;
}

.selector-options {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.selector-options button {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--dark);
  background: var(--white);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.selector-options .selected {
  border-color: var(--green);
  background: rgba(0, 143, 87, 0.08);
}

.recommendation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
}

.recommendation h3,
.recommendation p {
  color: var(--white);
}

.recommendation p {
  color: #d0d9d7;
}

.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.process-flow {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 26px;
  background: var(--soft);
}

.process-flow span {
  position: relative;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  color: var(--dark);
  font-weight: 800;
}

.process-flow span::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.accordion,
.faq-list {
  display: grid;
  gap: 12px;
}

.accordion button,
.faq-list button {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--dark);
  background: var(--white);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion button::after,
.faq-list button::after {
  content: "+";
  float: right;
  color: var(--green);
}

.accordion button[aria-expanded="true"]::after,
.faq-list button[aria-expanded="true"]::after {
  content: "-";
}

.accordion div,
.faq-list div {
  padding: 0 20px 12px;
  color: #52606b;
  line-height: 1.65;
}

.ai-section {
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 46px var(--content-pad);
  border-radius: 28px;
  color: var(--white);
  background: var(--deep);
}

.ai-section h2,
.contact-section h2 {
  color: var(--white);
}

.ai-section p {
  margin: 0;
  color: #d0d9d7;
}

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.value-grid span {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dark);
  background: #f8faf9;
  font-weight: 700;
}

.faq-section {
  padding-top: 20px;
}

.contact-section {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  padding: 58px var(--content-pad);
  border-radius: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 168, 107, 0.18), transparent 30%),
    var(--dark);
}

.contact-section p {
  color: #d0d9d7;
}

.whatsapp-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.whatsapp-card a {
  color: #bcebd6;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  color: var(--dark);
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: #fbfcfc;
}

.contact-form textarea {
  resize: vertical;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 10px;
}

.consent-field input {
  width: auto;
  margin-top: 3px;
}

.consent-field .field-error {
  grid-column: 1 / -1;
}

.field-error,
.form-status {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.field-error,
.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: var(--green);
}

.form-note {
  margin: 0;
  color: #697680;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  padding: 40px var(--content-pad) 46px;
  border-top: 1px solid var(--border);
  color: #52606b;
}

.site-footer img {
  width: 190px;
  max-width: 100%;
}

.site-footer strong,
.site-footer a {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: var(--dark);
}

.site-footer a {
  margin-top: 9px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  padding: 14px 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(0, 143, 87, 0.26);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-shell {
    width: 100%;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
  }

  .primary-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .split-section,
  .selector-section,
  .ai-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 60px;
  }

  .hero-visual {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .card-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: 100%;
    margin-block: 0;
  }

  .announcement {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 20px;
  }

  .page-card {
    border-radius: 0;
  }

  .site-header {
    padding: 18px;
  }

  .brand img {
    width: 148px;
  }

  .hero,
  .section,
  .split-section,
  .selector-section,
  .contact-section {
    margin-inline: 0;
  }

  .hero {
    padding: 40px 24px;
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .monitor-card {
    right: 0;
    width: 180px;
  }

  .card-b {
    right: 8%;
  }

  .card-c,
  .card-d {
    display: none;
  }

  .trust-strip,
  .card-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    width: calc(100% - 36px);
    margin-inline: auto;
  }

  .muted {
    padding-inline: 18px;
  }

  .section,
  .split-section,
  .selector-section {
    width: 100%;
    padding-inline: 18px;
    padding-block: 58px;
  }

  .ai-section {
    margin-inline: 0;
    padding: 30px;
  }

  .contact-section {
    padding: 34px 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }
}

@media (max-width: 1040px) {
  .site-header {
    min-height: 78px;
    padding-inline: clamp(18px, 4vw, 34px);
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 0;
    z-index: 18;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 28px clamp(22px, 6vw, 56px);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 28px 60px rgba(13, 27, 42, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .primary-nav a {
    padding: 17px 0;
    border-bottom: 1px solid rgba(208, 217, 215, 0.72);
    font-size: 18px;
  }

  .primary-nav.open + .header-cta {
    position: fixed;
    left: clamp(22px, 6vw, 56px);
    right: clamp(22px, 6vw, 56px);
    bottom: 28px;
    z-index: 19;
    display: inline-flex;
  }

  .hero {
    align-items: start;
    gap: 40px;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .card-grid,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .selector-section,
  .contact-section,
  .ai-section {
    gap: 34px;
  }

  img,
  svg {
    max-width: 100%;
  }

  .carousel,
  .portfolio,
  .image-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
}

@media (max-width: 768px) {
  .announcement,
  .site-header,
  .hero,
  .section,
  .split-section,
  .selector-section,
  .ai-section,
  .contact-section,
  .site-footer {
    padding-inline: clamp(18px, 5vw, 28px);
  }

  .announcement {
    gap: 8px;
  }

  .hero {
    padding-block: 44px 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 1.08;
  }

  .section-heading h2,
  .split-section h2,
  .selector-section h2,
  .ai-section h2,
  .contact-section h2 {
    font-size: clamp(29px, 8vw, 40px);
  }

  .hero-text,
  .split-section p,
  .selector-copy p,
  .ai-section p,
  .contact-section p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions,
  .recommendation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .recommendation-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
    overflow: hidden;
  }

  .monitor-card {
    width: min(190px, 52vw);
    padding: 16px;
  }

  .card-a {
    top: 12px;
    right: 0;
  }

  .card-b {
    top: 120px;
    right: auto;
    left: 0;
  }

  .circuit-lines {
    right: 0;
    bottom: 100px;
    width: min(220px, 64vw);
  }

  .diagram-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px;
  }

  .card-grid,
  .coverage-grid,
  .trust-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .info-card,
  .service-card,
  .recommendation,
  .contact-form {
    padding: 24px;
  }

  .selector-options button,
  .accordion button,
  .faq-list button {
    min-height: 52px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 132px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .primary-nav {
    inset: 72px 0 0;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .hero-visual {
    min-height: 350px;
  }

  .monitor-card {
    width: min(178px, 56vw);
  }

  .circuit-lines {
    width: min(190px, 58vw);
  }

  .floating-whatsapp {
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 360px) {
  .announcement,
  .site-header,
  .hero,
  .section,
  .split-section,
  .selector-section,
  .ai-section,
  .contact-section,
  .site-footer {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .monitor-card {
    width: 164px;
  }
}

/* Hero layout correction: force a true left content / right visual column. */
.hero {
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  align-items: center;
  min-height: auto;
  padding: clamp(36px, 5vh, 52px) clamp(48px, 7vw, 140px);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.hero-visual {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  width: 100%;
  height: auto;
  min-height: 430px;
  overflow: visible;
  transform: none;
}

.hero-card {
  position: absolute;
  z-index: 2;
  width: clamp(210px, 15vw, 250px);
}

.card-a {
  top: 12px;
  right: 2%;
}

.card-b {
  top: 112px;
  left: 34%;
  right: auto;
}

.card-c {
  top: 214px;
  right: 0;
}

.card-d {
  bottom: 10px;
  left: 42%;
  right: auto;
  top: auto;
}

.hero-lines {
  display: block;
  position: static;
  flex: 0 0 clamp(180px, 16vw, 260px);
  width: clamp(180px, 16vw, 260px);
  height: 58px;
  margin-left: 10px;
  z-index: 0;
  opacity: 0.9;
}

.hero-actions .hero-lines {
  display: grid;
  gap: 14px;
  align-content: center;
  align-self: center;
}

.hero-actions .hero-lines span {
  margin: 0;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
    gap: 36px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-card {
    width: 210px;
  }

  .card-a {
    right: 4%;
  }

  .card-b {
    left: 0;
  }

  .card-c {
    right: 0;
  }

  .card-d {
    left: 6%;
    bottom: 0;
  }

  .hero-lines {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
  }

  .hero-card {
    position: static;
    display: block;
    width: 100%;
  }

  .hero-lines {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }
}

/* Final hero refinement: compact spacing, CTA-aligned strips, right-side cards. */
.hero {
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  padding: clamp(34px, 5vh, 48px) clamp(44px, 7vw, 136px);
}

.hero-content {
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.hero-actions .hero-lines {
  display: grid;
  flex: 0 0 clamp(118px, 8vw, 170px);
  width: clamp(118px, 8vw, 170px);
  height: 42px;
  margin-left: 6px;
  gap: 10px;
}

.card-a {
  top: 0;
  right: 2%;
}

.card-b {
  top: 124px;
  left: 32%;
}

.card-c {
  top: 226px;
  right: 0;
}

.card-d {
  bottom: 0;
  left: 18%;
}

@media (max-width: 1300px) and (min-width: 1181px) {
  .hero-actions {
    gap: 10px;
  }

  .hero-actions .hero-lines {
    flex-basis: 90px;
    width: 90px;
    margin-left: 4px;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .hero-actions .hero-lines {
    display: none;
  }

  .card-a {
    top: 0;
    right: 4%;
  }

  .card-b {
    top: 118px;
    left: 0;
  }

  .card-c {
    top: 226px;
    right: 0;
  }

  .card-d {
    bottom: 0;
    left: 18%;
  }
}

@media (max-width: 900px) {
  .hero-actions .hero-lines {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 44px clamp(18px, 5vw, 28px) 34px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-visual {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-card {
    position: static;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }
}
