/*
 * MUNDO SANACIÓN — Página de sitio en construcción.
 * Diseño editorial de una sola página, sin logotipo ni componentes decorativos.
 * Animación sutil del título mediante CSS (sin JavaScript).
 */

:root {
  --paper: #f2f0e9;
  --ink: #263830;
  --body: #444b45;
  --subtle: #70776e;
  --rule: #c7c8bf;
  --accent: #ac6952;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { min-width: 320px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(100% - 112px, 1440px);
  min-height: 100svh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.site-name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.045em;
}
.site-status {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 500;
}

main { flex: 1; display: flex; flex-direction: column; }

.hero {
  flex: 1;
  min-height: 455px;
  display: flex;
  align-items: center;
  padding: 48px 0 61px;
}
.hero-title {
  width: 100%;
  margin: 0;
  font-size: clamp(86px, 9.2vw, 148px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: -.088em;
}
.line { display: block; width: fit-content; max-width: 100%; }
.line-one {
  animation: appear 780ms cubic-bezier(.16,1,.3,1) both;
}
.line-two {
  margin-left: clamp(20px, 5.4vw, 88px);
  white-space: nowrap;
  animation: appear 900ms cubic-bezier(.16,1,.3,1) 130ms both;
}
.underline { position: relative; display: inline-block; }
.underline::after {
  content: "";
  position: absolute;
  bottom: -.14em;
  left: .035em;
  right: .04em;
  height: .034em;
  min-height: 3px;
  background: var(--accent);
  transform-origin: 0 50%;
  animation: underline-in 1.05s cubic-bezier(.16,1,.3,1) 530ms both;
}
.period {
  display: inline-block;
  color: var(--accent);
  animation: period-breathe 3.6s ease-in-out 1.5s infinite;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  column-gap: clamp(65px, 8vw, 145px);
  border-top: 1px solid var(--ink);
  padding: 39px 0 61px;
}
.about h2 {
  max-width: 515px;
  margin: 0;
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 500;
  letter-spacing: -.053em;
  line-height: 1.19;
}
.about-text { padding-top: 0; max-width: 545px; }
.about-text p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.73;
  letter-spacing: -.006em;
  margin: 0 0 17px;
}
.about-text p:last-child { margin-bottom: 0; }

.site-footer {
  min-height: 65px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--subtle);
  font-size: 12px;
}

@keyframes appear {
  from { opacity: 0; transform: translateY(.19em); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes underline-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes period-breathe {
  0%, 77%, 100% { opacity: 1; }
  85% { opacity: .35; }
  92% { opacity: 1; }
}

@media (max-width: 920px) {
  .page { width: calc(100% - 72px); }
  .site-header { min-height: 88px; }
  .hero { min-height: 400px; }
  .hero-title { font-size: clamp(70px, 9.2vw, 96px); }
  .about { gap: 45px; }
  .about h2 { font-size: 28px; }
  .about-text p { font-size: 15px; }
}

@media (max-width: 680px) {
  .page { width: calc(100% - 40px); }
  .site-header { min-height: 80px; }
  .site-name { font-size: 17px; }
  .site-status { font-size: 12px; }
  .hero { min-height: 360px; padding: 55px 0 72px; }
  .hero-title { font-size: clamp(43px, 11.5vw, 74px); letter-spacing: -.085em; }
  .line-two { margin-left: .2em; }
  .about { grid-template-columns: 1fr; gap: 26px; padding: 27px 0 45px; }
  .about h2 { font-size: 29px; max-width: 460px; }
  .about-text p { font-size: 15px; line-height: 1.7; }
  .site-footer { min-height: 68px; }
}

@media (max-width: 380px) {
  .page { width: calc(100% - 32px); }
  .hero-title { font-size: 11.15vw; }
  .hero { min-height: 290px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .line-one, .line-two, .underline::after, .period { animation: none !important; }
}
