/* Shared layout for every language version of the diagnosis page. */
:root { --wrap: 1440px; }

body { background: #f5f1ea; }

header {
  padding: 20px 30px;
  background: transparent !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

header.is-scrolled { background: #fff !important; }

header .nav { max-width: var(--wrap); }

.diagnostico {
  min-height: calc(100svh - 93px);
  padding: clamp(64px, 6vw, 96px) 30px clamp(72px, 7vw, 112px);
}

.diagnostico-grid {
  width: 100%;
  max-width: var(--wrap);
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 600px);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

.diagnostico-copy {
  min-width: 0;
  padding: 20px 0;
}

.diagnostico h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 5.8vw, 6.65rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.diagnostico-copy p {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.52;
}

.form-card {
  width: 100%;
  padding: clamp(34px, 3.5vw, 50px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .19);
}

.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 24px; }
.form-card .btn { min-width: min(100%, 300px); }

footer { padding: 34px 30px; }
footer .footer-inner { max-width: var(--wrap); }

.whatsapp-float {
  right: 26px;
  bottom: 26px;
  width: 68px;
  height: 68px;
}
.whatsapp-float svg { width: 44px; height: 44px; }

@media (max-width: 1180px) {
  header,
  header.is-scrolled { padding: 14px 20px; }
}

@media (max-width: 980px) {
  .diagnostico {
    min-height: auto;
    padding: 58px 24px 76px;
  }
  .diagnostico-grid {
    max-width: 780px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .diagnostico-copy { padding: 0; }
  .diagnostico h1 { max-width: 720px; }
  .form-card { max-width: 720px; }
}

@media (max-width: 560px) {
  .diagnostico { padding: 118px 18px 58px !important; }
  .diagnostico-grid { gap: 26px; }
  .diagnostico-copy p {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.55;
  }
  .field { margin-bottom: 18px; }
  .form-card .btn { width: 100%; min-width: 0; }
  footer { padding: 28px 18px !important; }
}
