﻿/* Tokens de marca: Podología Paula De la Vega */
:root {
  --frambuesa: #b8346c;       /* color del logo, un punto más profundo para contraste */
  --frambuesa-hondo: #8f2152;
  --frambuesa-velo: #f7e6ee;
  --ciruela: #34172b;         /* tinta principal */
  --ciruela-suave: #6a5262;   /* texto secundario */
  --rubor: #fbf4f7;           /* fondos de sección */
  --linea: #ecdee5;
  --papel: #ffffff;
  --eucalipto: #2c6b61;       /* disponibilidad, domicilio, estados correctos */
  --eucalipto-velo: #e5f0ed;
  --aviso: #9a5b00;
  --aviso-velo: #fdf1dc;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;
  --sombra: 0 1px 2px rgba(52, 23, 43, .06), 0 8px 24px -12px rgba(52, 23, 43, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--ciruela);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--frambuesa); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn--primary { background: var(--frambuesa); color: #fff; }
.btn--primary:hover { background: var(--frambuesa-hondo); }
.btn--ghost { border-color: var(--linea); background: var(--papel); color: var(--ciruela); }
.btn--ghost:hover { border-color: var(--frambuesa); color: var(--frambuesa-hondo); }
.btn--euca { background: var(--eucalipto); color: #fff; }
.btn--euca:hover { background: #22574f; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.link { color: var(--frambuesa-hondo); font-weight: 600; text-underline-offset: 3px; }

/* Formularios */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .875rem; color: var(--ciruela-suave); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: .65em .9em;
  border: 1.5px solid var(--linea); border-radius: var(--r-s);
  background: var(--papel);
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--frambuesa); box-shadow: 0 0 0 3px var(--frambuesa-velo); }
.input[aria-invalid="true"] { border-color: #c0392b; }
.error-msg { color: #a3281c; font-size: .875rem; }

.chip {
  min-height: 38px; padding: .35em 1em; border-radius: 999px;
  border: 1.5px solid var(--linea); background: var(--papel); cursor: pointer; font-weight: 500;
}
.chip:hover { border-color: var(--frambuesa); }
.chip.is-on { background: var(--ciruela); border-color: var(--ciruela); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.back { background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--ciruela-suave); padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
