:root {
    --beige: #cdc5b0;
    --green: #9dac94;
    --blue: #0090d4;
    --blue-dark: #0079b3;
    --ink: #2a3135;
    --field: #f7fafc;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--beige);
}

.wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

h1, h2 {
    font-family: Oswald, Arial, sans-serif;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.hero { background: var(--beige); padding: 32px 0 40px; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); margin: 16px 0 28px; }
.hero.booking { min-height: 70vh; }
.hero.booking h1 { font-size: clamp(24px, 5vw, 36px); }
.logo { height: 96px; width: auto; }
.lead-text { color: #fff; font-family: Lato, Arial, sans-serif; font-size: 18px; margin: -12px 0 24px; }

.card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    padding: 24px;
    text-align: left;
    margin: 0 auto;
    max-width: 540px;
}

.lead-form label { display: block; font-size: 14px; margin: 14px 0 6px; }
.lead-form label:first-of-type { margin-top: 0; }
.lead-form input {
    width: 100%;
    padding: 14px 16px;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--field);
    border: 1px solid transparent;
    border-radius: 4px;
}
.lead-form input:focus { outline: none; border-color: var(--blue); background: #fff; }
.field-error, .form-error { color: #c0392b; font-size: 13px; }
.field-error { display: block; margin-top: 4px; }
.form-error:not(:empty) { background: #fdecea; padding: 10px 12px; border-radius: 4px; margin-bottom: 14px; }
.form-error ul { margin: 0; padding-left: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 18px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover:not(:disabled) { background: var(--blue-dark); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover:not(:disabled) { background: var(--field); }

.offer { font-family: Lato, Arial, sans-serif; color: #fff; margin-top: 36px; }
.offer h2 { font-family: Lato, Arial, sans-serif; font-size: clamp(20px, 4.5vw, 26px); }
.offer ul { list-style: none; padding: 0; margin: 20px auto 0; display: inline-block; text-align: left; font-size: clamp(18px, 4vw, 24px); }
.offer li { padding: 3px 0 3px 1.6em; position: relative; }
.offer li::before { content: "✅"; position: absolute; left: 0; }

.find-us { background: var(--green); padding: 36px 0 48px; }
.find-us h2 { font-size: clamp(24px, 5vw, 36px); margin: 0 0 28px; }
.map { width: 100%; max-width: 400px; height: 400px; border: 0; display: block; margin: 0 auto 24px; }
.review { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto 24px; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }

.site-footer { background: var(--beige); color: #fff; text-align: center; font-weight: 600; font-size: 14px; padding: 28px 16px; }
.site-footer p { max-width: 640px; margin: 0 auto 14px; }
.site-footer a { color: #fff; }

/* Agenda */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-size: 18px; }
.cal-nav { width: 40px; height: 40px; border: 1px solid #dfe5ea; border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: 12px; color: #7b8790; margin-bottom: 4px; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 50%; font: inherit; font-size: 15px; font-weight: 600; background: #e6f4fb; color: var(--blue-dark); cursor: pointer; }
.cal-day:hover:not(:disabled) { background: #cfe9f7; }
.cal-day:disabled { background: none; color: #c3cad0; font-weight: 400; cursor: default; }
.cal-day.selected { background: var(--blue); color: #fff; }

#slots-box h2 { font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); margin: 24px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slot { padding: 12px 8px; border: 1px solid var(--blue); border-radius: 4px; background: #fff; color: var(--blue-dark); font: inherit; font-weight: 600; cursor: pointer; }
.slot:hover { background: #e6f4fb; }
.slot.selected { background: var(--blue); color: #fff; }
.hint { font-size: 13px; color: #7b8790; margin: 16px 0 0; }

.confirm-card { text-align: center; }
.confirm-when span { display: block; font-size: 18px; }
.confirm-when span::first-letter { text-transform: uppercase; }
.confirm-when strong { display: block; font-family: Oswald, Arial, sans-serif; font-size: 44px; font-weight: 500; color: var(--blue-dark); }
.confirm-actions .btn { margin-top: 12px; }

/* Páginas legales */
.legal { background: #fff; }
.legal .wrap { text-align: left; max-width: 760px; padding-top: 32px; padding-bottom: 48px; line-height: 1.6; }
.legal h1, .legal h2 { color: var(--ink); }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
