*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rosa: #F8C8DC;
  --lavanda: #DCC7F7;
  --crema: #FFF7EA;
  --menta: #CDEFE3;
  --dorado: #D8B46A;
  --dorado-oscuro: #B8903A;
  --texto: #3A3A3A;
  --texto-suave: #7A6A5A;
  --borde: #EDE0D0;
  --blanco: #FFFDF8;

  --maar-bg: #FFFDF8;
  --maar-rosa-sombra: #e8a4bc;
  --maar-lavanda-sombra: #c0a4e8;
  --maar-menta-sombra: #9edec8;
  --maar-dorado-sombra: #b8903a;
  --maar-texto-lt: #b0a090;
  --maar-hilo: rgba(216, 180, 106, 0.45);
  --maar-card-borde: rgba(216, 180, 106, 0.18);

  --ff-titulo: "Cormorant Garamond", Georgia, serif;
  --ff-cuerpo: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radio: 1rem;
  --radio-lg: 1.5rem;
  --sombra: 0 4px 24px rgba(58, 42, 20, 0.08);
  --sombra-hover: 0 8px 40px rgba(58, 42, 20, 0.14);

  --max: 1200px;
  --pad-x: 1.25rem;
}

html {
  scroll-behavior: smooth;
  background-color: var(--crema);
}

body {
  min-height: 100vh;
  font-family: var(--ff-cuerpo);
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  font-family: var(--ff-cuerpo);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--dorado);
  color: var(--blanco);
  box-shadow: 0 2px 12px rgba(216, 180, 106, 0.35);
}

.btn-primary:hover {
  background: var(--dorado-oscuro);
  box-shadow: 0 4px 20px rgba(216, 180, 106, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dorado-oscuro);
  border: 2px solid var(--dorado);
}

.btn-outline:hover {
  background: var(--dorado);
  color: var(--blanco);
}

.btn-ghost {
  background: var(--blanco);
  color: var(--texto);
  box-shadow: var(--sombra);
}

.btn-ghost:hover {
  box-shadow: var(--sombra-hover);
}

.section-title {
  font-family: var(--ff-titulo);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
  color: var(--texto);
  line-height: 1.2;
  text-wrap: balance;
}

.section-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.divider-oro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem auto 0;
}

.divider-oro::before,
.divider-oro::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--dorado);
  opacity: 0.6;
}

.divider-diam {
  width: 7px;
  height: 7px;
  background: var(--dorado);
  transform: rotate(45deg);
  border-radius: 1px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.85rem;
  border-radius: 2rem;
  background: var(--menta);
  color: #2A7A5A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-simple {
  min-height: 58vh;
  padding: 5rem 0;
}

.page-simple__inner {
  text-align: center;
}

.page-simple .btn {
  margin-top: 1.5rem;
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.health-card {
  padding: 1.1rem;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
  box-shadow: var(--sombra);
}

.health-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--texto-suave);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.health-card.is-ok {
  border-color: rgba(37, 211, 102, 0.35);
}

.health-card.is-error {
  border-color: rgba(224, 96, 112, 0.4);
}

.health-card small {
  margin-top: 0.35rem;
  color: var(--texto-suave);
  overflow-wrap: anywhere;
}

.dev-page__inner {
  max-width: 920px;
}

.dev-card,
.dev-alert {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1.5px solid var(--borde);
  border-radius: var(--radio-lg);
  background: var(--blanco);
  box-shadow: var(--sombra);
  text-align: left;
}

.dev-card h2 {
  margin-bottom: 1rem;
  color: var(--texto);
  font-family: var(--ff-titulo);
  font-size: 1.4rem;
  font-weight: 500;
}

.dev-alert {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dev-alert--ok {
  border-color: rgba(61, 170, 112, 0.35);
}

.dev-alert--error {
  border-color: rgba(224, 96, 112, 0.45);
}

.dev-table {
  width: 100%;
  border-collapse: collapse;
}

.dev-table th,
.dev-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--borde);
  font-size: 0.9rem;
  text-align: left;
}

.dev-table tr:last-child td {
  border-bottom: none;
}

.dev-pill {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.dev-pill--ok {
  background: rgba(61, 170, 112, 0.12);
  color: #2A7A5A;
}

.dev-pill--pending {
  background: rgba(216, 180, 106, 0.16);
  color: var(--dorado-oscuro);
}

.dev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.dev-email-form input {
  min-height: 52px;
  min-width: min(100%, 220px);
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--borde);
  border-radius: 3rem;
  background: var(--blanco);
  color: var(--texto);
}

@media (min-width: 720px) {
  .health-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  :root {
    --pad-x: 1rem;
  }

  .btn {
    width: 100%;
    padding-inline: 1.35rem;
  }
}
