@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap");

:root {
  --font-inter: "Inter";
  --font-poppins: "Poppins";
  --navy: #003366;
  --navy-soft: #0b477b;
  --teal: #00a89b;
  --teal-dark: #00887e;
  --teal-pale: #e7f8f6;
  --yellow: #b8f1eb;
  --pink: #00a89b;
  --ink: #17213c;
  --muted: #647085;
  --line: #dbe2e8;
  --surface: #ffffff;
  --page: #f4f6f7;
  --error: #b4232b;
}

* {
  box-sizing: border-box;
}

[hidden],
.hp-field {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-inter), Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-poppins), Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 168, 155, 0.34);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
  backdrop-filter: blur(16px);
}

.topbar,
.main-nav {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.topbar {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
}

.topbar > a {
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.topbar > a:hover {
  color: var(--teal-dark);
}

.admin-hover-zone {
  display: flex;
  min-width: 150px;
  min-height: 30px;
  align-items: center;
  justify-content: flex-end;
}

.admin-top-trigger {
  min-height: 28px;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0;
  padding: 5px 13px;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-hover-zone:hover .admin-top-trigger,
.admin-hover-zone:focus-within .admin-top-trigger {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.admin-top-trigger:hover,
.admin-top-trigger:focus-visible {
  background: var(--teal-pale);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.12);
  color: var(--teal-dark);
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 250px;
  max-width: 26vw;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  justify-content: center;
}

.desktop-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-soft), var(--teal));
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.analysis-period {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #607086;
  font-size: 0.78rem;
}

.analysis-period strong {
  color: var(--navy);
  font-weight: 750;
}

.period-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 168, 155, 0.11);
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--navy-soft), var(--teal));
  color: #fff;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: 180ms ease;
}

.header-cta:hover {
  box-shadow: 0 10px 24px rgba(0, 168, 155, 0.24);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 38, 76, 0.97) 0%, rgba(0, 51, 102, 0.91) 36%, rgba(0, 51, 102, 0.48) 62%, rgba(0, 51, 102, 0.08) 100%),
    url("hero-ortodontia-adolescentes.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0 66%, transparent 66%);
  pointer-events: none;
}

.hero-inner {
  width: min(100% - 40px, 1120px);
  margin: auto;
  padding: 68px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-soft), var(--teal));
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.18);
  color: #fff;
  padding: 5px 18px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: var(--font-poppins), Arial, sans-serif;
  font-size: clamp(2.55rem, 6vw, 4.85rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero p {
  max-width: 545px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero .hero-slogan {
  max-width: 610px;
  color: #fff;
  font-family: var(--font-poppins), Arial, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .hero-slogan strong {
  color: #76e4dc;
}

.hero .hero-description {
  margin-top: 10px;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.hero-actions > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.hero-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--navy-soft), var(--teal));
  box-shadow: 0 12px 28px rgba(0, 168, 155, 0.28);
  color: #fff;
  padding: 13px 24px;
  font-weight: 800;
  text-decoration: none;
  transition: 180ms ease;
}

.hero-cta:hover {
  background: #00bdb0;
  box-shadow: 0 16px 34px rgba(0, 168, 155, 0.34);
  transform: translateY(-2px);
}

.program-banner {
  position: relative;
  z-index: 3;
  width: min(100% - 28px, 1120px);
  margin: -58px auto 0;
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(0, 51, 102, 0.14);
}

.program-banner-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.75fr);
  gap: clamp(28px, 5vw, 62px);
  padding: clamp(28px, 5vw, 50px);
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 168, 155, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff, #f5fbfa);
}

.program-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 13px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.program-kicker span {
  color: #e5a900;
  font-size: 0.8rem;
}

.program-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.program-copy > p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #526176;
  font-size: 0.95rem;
}

.program-copy blockquote {
  margin: 19px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--teal);
  color: var(--navy-soft);
  font-family: var(--font-poppins), Arial, sans-serif;
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 600;
}

.program-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
}

.program-banner-actions > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--navy-soft), var(--teal));
  box-shadow: 0 10px 24px rgba(0, 168, 155, 0.22);
  color: #fff;
  padding: 11px 22px;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
  transition: 180ms ease;
}

.program-banner-actions > a:hover {
  box-shadow: 0 14px 30px rgba(0, 168, 155, 0.3);
  transform: translateY(-2px);
}

.program-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: center;
  color: #708094;
  font-size: 0.76rem;
}

.program-contact > span:first-child {
  flex-basis: 100%;
  color: #708094;
  font-weight: 600;
}

.program-contact a {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.registration-flow {
  display: grid;
  gap: 12px;
  align-content: center;
}

.registration-flow > div {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid rgba(0, 168, 155, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(0, 51, 102, 0.06);
}

.registration-flow span {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.registration-flow strong,
.registration-flow small {
  display: block;
}

.registration-flow strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.registration-flow small {
  margin-top: 3px;
  color: #718095;
  font-size: 0.74rem;
  line-height: 1.35;
}

.program-services {
  padding: 22px clamp(22px, 4vw, 42px) 25px;
  background: var(--navy);
  color: #fff;
}

.program-services h3 {
  margin: 0 0 15px;
  color: #85eee6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-services ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-services li {
  display: flex;
  min-height: 112px;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.3;
}

.program-services li:first-child {
  padding-left: 0;
  border-left: 0;
}

.program-services .service-icon {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  background-image: url("program-icons-strip.png");
  background-repeat: no-repeat;
  background-position: 0 center;
  background-size: 500% auto;
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(1049%) hue-rotate(125deg) brightness(102%) contrast(87%);
}

.program-services li:nth-child(2) .service-icon {
  background-position: 25% center;
}

.program-services li:nth-child(3) .service-icon {
  background-position: 50% center;
}

.program-services li:nth-child(4) .service-icon {
  background-position: 75% center;
}

.program-services li:nth-child(5) .service-icon {
  background-position: 100% center;
}

.program-services .service-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-services .service-copy b {
  color: #85eee6;
  font-size: 0.7rem;
  font-weight: 900;
}

.page-shell {
  width: min(100% - 28px, 900px);
  margin: 24px auto 72px;
  position: relative;
  z-index: 2;
}

.form-card {
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid rgba(7, 17, 61, 0.06);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(7, 17, 61, 0.1);
}

.action-info {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 18px;
  align-items: start;
  margin-bottom: 46px;
  padding: 24px 18px 24px 24px;
  border: 1px solid #dce6e7;
  border-radius: 16px;
  background: linear-gradient(135deg, #edf3f3, #f5f7f7);
  color: #34485c;
}

.action-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--teal);
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 700;
}

.card-label {
  margin: 1px 0 4px !important;
  color: var(--teal) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.action-info h2 {
  margin: 0 0 8px;
  color: var(--navy-soft);
  font-size: clamp(1.2rem, 4vw, 1.48rem);
  line-height: 1.2;
}

.action-info p {
  margin: 0;
  font-size: 0.96rem;
}

.close-card {
  width: 40px;
  height: 40px;
  border: 2px solid #d13c46;
  border-radius: 50%;
  background: transparent;
  color: #c92f3a;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  transition: 160ms ease;
}

.close-card:hover {
  background: #fff0f1;
  transform: rotate(4deg);
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.section-number {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-poppins), Arial, sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-divider {
  margin-top: 50px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.field label,
.choice-group legend {
  display: block;
  margin-bottom: 8px;
  color: #26324a;
  font-size: 0.91rem;
  font-weight: 750;
}

.field label span,
.choice-group legend span,
.required-note span {
  color: var(--pink);
}

.field label small {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #ccd5dd;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a2b0;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9cabb8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 109, 114, 0.1);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(180, 35, 43, 0.09);
}

.field-error {
  margin: 6px 0 0;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 650;
}

.field-hint {
  margin: 6px 0 0;
  color: #717c8c;
  font-size: 0.78rem;
}

.choice-group {
  min-width: 0;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice-row.periods {
  grid-template-columns: repeat(3, 1fr);
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccd5dd;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  position: relative;
  z-index: 1;
  color: #465267;
  font-size: 0.9rem;
  font-weight: 700;
}

.choice-card:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-pale);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.choice-card:has(input:checked) span {
  color: var(--teal-dark);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(0, 109, 114, 0.32);
  outline-offset: 3px;
}

.conditional-field {
  margin: -4px 0 26px;
  padding: 18px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 11px 11px 0;
  background: #fffbea;
}

.consent-box {
  padding: 19px;
  border: 1px solid #cddfe0;
  border-radius: 14px;
  background: #f1f7f7;
}

.consent-box.has-error {
  border-color: var(--error);
  background: #fff7f7;
}

.consent-box label {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  cursor: pointer;
  color: #344157;
  font-size: 0.89rem;
}

.consent-box input {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.consent-box a,
.legal-section a {
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.submit-error {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--error);
  border-radius: 8px;
  background: #fff0f1;
  color: #8e1c24;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  border-radius: 12px;
  cursor: pointer;
  padding: 13px 22px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(7, 17, 61, 0.18);
}

.primary-button:hover:not(:disabled) {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid #b8c3cd;
  background: #fff;
  color: #3b475a;
}

.secondary-button:hover:not(:disabled) {
  background: #f4f6f7;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.required-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.success-state {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 0;
}

.success-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 20px;
  border: 9px solid #d9efec;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
}

.success-kicker {
  margin: 0 0 8px !important;
  color: var(--teal) !important;
  font-size: 0.75rem !important;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.success-state h2 {
  max-width: 590px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-poppins), Arial, sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.success-state > p {
  max-width: 560px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.privacy-note {
  margin-top: 25px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.82rem;
}

.success-button {
  margin-top: 28px;
}

.legal-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.legal-section article {
  scroll-margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.legal-section h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 28px max(20px, calc((100vw - 900px) / 2));
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
}

.technical-responsibility {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.footer-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  justify-content: center;
}

footer a {
  color: #dce2f0;
  font-size: 0.8rem;
  text-underline-offset: 3px;
}

.admin-hidden-trigger {
  display: none;
}

.admin-hidden-trigger:hover,
.admin-hidden-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  opacity: 0.72;
  transform: scale(1.08);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 22, 45, 0.62);
  backdrop-filter: blur(8px);
}

.admin-dialog {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 20, 45, 0.32);
  padding: 30px;
}

.admin-dialog h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.45rem;
}

.admin-dialog > p:not(.card-label) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-dialog .field {
  margin-bottom: 16px;
}

.admin-dialog .primary-button {
  width: 100%;
  margin-top: 8px;
}

.admin-export-options {
  display: grid;
  gap: 12px;
}

.admin-success {
  margin: 0 0 4px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-export-form {
  margin: 0;
}

.admin-export-form .primary-button,
.admin-export-form .secondary-button {
  width: 100%;
}

.admin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d4dee7;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-close:hover {
  background: var(--teal-pale);
  color: var(--teal-dark);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-2 {
    grid-column: span 2;
  }

  .form-actions {
    flex-direction: row;
  }

  .primary-button {
    min-width: 230px;
  }

  .legal-section {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .admin-hover-zone {
    display: none;
  }

  .program-banner-main {
    grid-template-columns: 1fr;
  }

  .registration-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-services ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 0;
  }

  .program-services li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .topbar,
  .main-nav {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    min-height: 34px;
  }

  .topbar > a {
    display: none;
  }

  .admin-hover-zone {
    display: none;
  }

  .main-nav {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .brand-logo {
    width: 170px;
    max-width: 46vw;
    max-height: 62px;
  }

  .analysis-period {
    font-size: 0.71rem;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    min-height: 39px;
    padding: 8px 14px;
  }

  .hero {
    min-height: 480px;
    background:
      linear-gradient(90deg, rgba(0, 38, 76, 0.96) 0%, rgba(0, 51, 102, 0.88) 64%, rgba(0, 51, 102, 0.45) 100%),
      url("hero-ortodontia-adolescentes.png") 58% center / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 34px, 1120px);
    padding: 64px 0 100px;
  }

  .hero h1 {
    max-width: 440px;
  }

  .hero p {
    max-width: 410px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shell {
    width: min(100% - 20px, 900px);
    margin-top: 18px;
  }

  .program-banner {
    width: min(100% - 20px, 1120px);
    margin-top: -52px;
    border-radius: 16px;
  }

  .program-banner-main {
    padding: 25px 20px;
  }

  .program-banner-actions {
    align-items: stretch;
  }

  .program-banner-actions > a {
    width: 100%;
    justify-content: center;
  }

  .registration-flow {
    grid-template-columns: 1fr;
  }

  .program-services {
    padding: 22px 20px 24px;
  }

  .program-services ul {
    grid-template-columns: 1fr;
  }

  .program-services li,
  .program-services li:first-child,
  .program-services li:nth-child(odd) {
    min-height: 86px;
    padding: 7px 0;
    border: 0;
  }

  .program-services .service-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .form-card {
    border-radius: 15px;
  }

  .action-info {
    grid-template-columns: 40px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 18px 12px 18px 16px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 1.6rem;
  }

  .close-card {
    width: 36px;
    height: 36px;
  }

  .choice-row.periods {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .footer-logo {
    width: 210px;
    max-height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Privacy page */
.privacy-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 28%, rgba(0, 168, 155, 0.08), transparent 28%),
    #f5f8fa;
}

.privacy-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
  backdrop-filter: blur(16px);
}

.privacy-topbar,
.privacy-nav {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.privacy-topbar {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
  color: #607086;
  font-size: 0.74rem;
  font-weight: 700;
}

.privacy-topbar span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.privacy-topbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 168, 155, 0.11);
}

.privacy-topbar a {
  color: var(--navy-soft);
  text-decoration: none;
}

.privacy-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  align-items: center;
}

.privacy-brand {
  display: inline-flex;
  justify-self: start;
}

.privacy-brand img {
  display: block;
  width: 230px;
  max-width: 26vw;
  max-height: 76px;
  object-fit: contain;
}

.privacy-nav nav {
  display: flex;
  gap: clamp(20px, 3vw, 38px);
}

.privacy-nav nav a {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.privacy-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-self: end;
  padding: 9px 19px;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--navy-soft), var(--teal));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.privacy-hero {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(0, 51, 102, 0.98), rgba(0, 93, 106, 0.92)),
    url("hero-healthcare.png") center 45% / cover;
  color: #fff;
}

.privacy-hero-inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(58px, 9vw, 96px) 0 clamp(90px, 12vw, 132px);
}

.privacy-eyebrow {
  margin: 0 0 12px;
  color: #88eee6;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-poppins), sans-serif;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.privacy-hero-inner > p:not(.privacy-eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.privacy-update {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
}

.privacy-update > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.privacy-update strong,
.privacy-update small {
  display: block;
}

.privacy-update strong {
  font-size: 0.8rem;
}

.privacy-update small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.privacy-shell {
  width: min(100% - 28px, 1120px);
  margin: -58px auto 72px;
  position: relative;
  z-index: 2;
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 51, 102, 0.12);
}

.privacy-summary > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 13px;
  padding: 24px;
  border-left: 1px solid #e7eef2;
}

.privacy-summary > div:first-child {
  border-left: 0;
}

.summary-icon {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.privacy-summary strong {
  color: var(--navy);
  font-family: var(--font-poppins), sans-serif;
  font-size: 0.9rem;
}

.privacy-summary p {
  margin: 4px 0 0;
  color: #6b7b8f;
  font-size: 0.76rem;
  line-height: 1.45;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.privacy-index {
  position: sticky;
  top: 150px;
  display: flex;
  height: fit-content;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid #dce7ec;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.privacy-index strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-poppins), sans-serif;
  font-size: 0.86rem;
}

.privacy-index a {
  padding: 5px 0;
  color: #5c6d80;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
}

.privacy-index a:hover {
  color: var(--teal-dark);
}

.privacy-content {
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 51, 102, 0.08);
}

.privacy-content > section {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  scroll-margin-top: 145px;
  padding: 36px clamp(22px, 5vw, 52px);
  border-top: 1px solid #e7eef2;
}

.privacy-content > .privacy-intro {
  display: block;
  border-top: 0;
  background: linear-gradient(135deg, #eef8f7, #f7fafb);
}

.privacy-intro p {
  margin: 0;
  color: #344f62;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.75;
}

.privacy-section-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: #8cf0e8;
  font-size: 0.72rem;
  font-weight: 900;
}

.privacy-content h2 {
  margin: 2px 0 15px;
  color: var(--navy);
  font-family: var(--font-poppins), sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.25;
}

.privacy-content h3 {
  margin: 0 0 5px;
  color: var(--navy-soft);
  font-size: 0.82rem;
}

.privacy-content p,
.privacy-content li {
  color: #53667a;
  font-size: 0.91rem;
  line-height: 1.72;
}

.privacy-content p {
  margin: 0 0 13px;
}

.privacy-data-grid,
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.privacy-data-grid > div,
.rights-grid span {
  padding: 16px;
  border: 1px solid #dfe9ed;
  border-radius: 13px;
  background: #f8fafb;
}

.privacy-data-grid p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

.privacy-alert {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 4px solid #e7b61d;
  border-radius: 0 12px 12px 0;
  background: #fff9e7;
}

.privacy-alert strong {
  color: #6f5611;
  font-size: 0.8rem;
}

.privacy-alert p {
  margin: 3px 0 0;
  color: #756225;
  font-size: 0.82rem;
}

.privacy-checklist {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.privacy-checklist li {
  position: relative;
  padding-left: 28px;
}

.privacy-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.rights-grid {
  margin: 17px 0;
}

.rights-grid span {
  position: relative;
  padding-left: 38px;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.rights-grid span::before {
  content: "•";
  position: absolute;
  left: 17px;
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 0.7;
}

.privacy-content > .privacy-contact {
  background: linear-gradient(135deg, #003366, #075f68);
}

.privacy-contact .privacy-section-number {
  background: #fff;
  color: var(--navy);
}

.privacy-contact h2,
.privacy-contact p {
  color: #fff;
}

.privacy-contact > div > p:not(.privacy-eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-contact a {
  display: inline-flex;
  margin-top: 6px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.privacy-content > .privacy-sources {
  display: block;
  background: #f7f9fa;
}

.privacy-sources ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.privacy-sources a {
  color: var(--teal-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.privacy-sources > p {
  margin: 0;
  color: #7a6650;
  font-size: 0.76rem;
}

.privacy-footer {
  padding-top: 30px;
  padding-bottom: 30px;
}

.privacy-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
}

@media (max-width: 860px) {
  .privacy-nav {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .privacy-nav nav {
    display: none;
  }

  .privacy-brand img {
    width: 180px;
    max-width: 46vw;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .privacy-summary > div {
    border-top: 1px solid #e7eef2;
    border-left: 0;
  }

  .privacy-summary > div:first-child {
    border-top: 0;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-index {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-index strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .privacy-topbar,
  .privacy-nav,
  .privacy-hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .privacy-topbar a {
    display: none;
  }

  .privacy-back {
    min-height: 39px;
    padding: 8px 13px;
    font-size: 0.72rem;
  }

  .privacy-hero-inner {
    padding-top: 52px;
  }

  .privacy-index {
    grid-template-columns: 1fr;
  }

  .privacy-content > section {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .privacy-data-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }
}
