:root {
    --red: #d40000;
    --red-dark: #9f0000;
    --red-soft: rgba(212, 0, 0, .12);
    --black: #050505;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --gray: #f3f4f6;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(0,0,0,.14);
    --shadow-soft: 0 14px 34px rgba(0,0,0,.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 8% 8%, rgba(212,0,0,.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4f4f4 42%, #ededed 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(135deg, rgba(0,0,0,.025) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.025) 50%, rgba(0,0,0,.025) 75%, transparent 75%, transparent);
    background-size: 26px 26px;
    opacity: .35;
    z-index: -1;
}

/* CABECERA */
.site-header {
    background: #000;
    border-bottom: 4px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.header-inner {
    max-width: 1220px;
    margin: auto;
    padding: 18px 24px;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    max-height: 74px;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 15px 22px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 999px;
    letter-spacing: .035em;
    transition: .22s ease;
    overflow: hidden;
}

.main-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    opacity: 0;
    transition: .22s ease;
    z-index: -1;
}

.main-nav a:hover::before,
.main-nav a.active::before {
    opacity: 1;
}

.main-nav a:hover,
.main-nav a.active {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212,0,0,.28);
}

/* HERO */
.hero {
    position: relative;
    min-height: 440px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.90) 42%, rgba(0,0,0,.52) 74%, rgba(0,0,0,.30) 100%),
        url("../img/hero-reservas.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 58%, rgba(212,0,0,.26) 58% 64%, transparent 64%),
        radial-gradient(circle at 80% 25%, rgba(255,255,255,.12), transparent 26%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), #ff3b3b, var(--red));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    margin: auto;
    padding: 72px 24px 64px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    padding: 10px 17px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 12px 28px rgba(212,0,0,.34);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .05em;
}

.hero-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255,255,255,.18);
}

.hero h1 {
    margin: 0;
    max-width: 880px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.hero h1 span {
    color: var(--red);
    text-shadow: 0 14px 34px rgba(212,0,0,.28);
}

.hero p {
    max-width: 720px;
    margin: 24px 0 0;
    font-size: 22px;
    line-height: 1.55;
    color: #e5e7eb;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    max-width: 940px;
}

.hero-features div {
    position: relative;
    border-left: 4px solid var(--red);
    padding: 16px 17px;
    background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
    font-weight: 900;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 14px 28px rgba(0,0,0,.20);
    backdrop-filter: blur(6px);
}

.hero-features div::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

/* CONTENIDO */
.booking {
    max-width: 1180px;
    margin: auto;
    padding: 38px 20px 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.step {
    position: relative;
    background: rgba(255,255,255,.92);
    border-radius: 20px;
    padding: 18px 12px 16px;
    text-align: center;
    color: #9ca3af;
    border: 1px solid rgba(229,231,235,.95);
    font-weight: 900;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: transparent;
}

.step strong {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #555;
    font-size: 18px;
}

.step span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

.step.active {
    border-color: rgba(212,0,0,.55);
    color: var(--red);
    box-shadow: 0 18px 38px rgba(212,0,0,.15);
}

.step.active::before {
    background: linear-gradient(90deg, var(--red), #ff3232);
}

.step.active strong {
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    color: white;
    box-shadow: 0 10px 22px rgba(212,0,0,.28);
}

.booking-card {
    position: relative;
    background: rgba(255,255,255,.96);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.78);
    overflow: hidden;
}

.booking-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--red), transparent 65%);
}

.oculto {
    display: none;
}

.section-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.section-head > span {
    background: linear-gradient(135deg, var(--red), #ff1919);
    color: white;
    font-weight: 900;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(212,0,0,.22);
}

.section-head h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -.035em;
    color: #0f172a;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    border: 1px solid #e6e6e6;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: .24s ease;
    box-shadow: 0 14px 28px rgba(0,0,0,.07);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 22px;
    box-shadow: inset 0 0 0 0 var(--red);
    transition: .24s ease;
    z-index: 3;
}

.service-card:hover,
.service-card.seleccionado {
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(0,0,0,.15);
}

.service-card:hover::before,
.service-card.seleccionado::before {
    box-shadow: inset 0 0 0 3px var(--red);
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: #ddd;
    transition: .28s ease;
}

.service-card:hover img,
.service-card.seleccionado img {
    transform: scale(1.045);
    filter: contrast(1.05) saturate(1.08);
}

.service-body {
    position: relative;
    padding: 18px 18px 20px;
    min-height: 120px;
}

.service-body::before {
    content: "";
    position: absolute;
    left: 18px;
    top: -3px;
    width: 54px;
    height: 6px;
    border-radius: 999px;
    background: var(--red);
}

.service-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.15;
    color: #08111f;
}

.service-body p {
    margin: 0;
    color: var(--red);
    font-weight: 900;
}

/* CALENDARIO Y HORAS */
.month-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}

.month-nav strong {
    text-align: center;
    font-size: 24px;
    color: #111827;
}

.month-nav button,
.btn-secondary,
.btn-main {
    border: none;
    border-radius: 14px;
    padding: 15px 22px;
    font-weight: 900;
    cursor: pointer;
    transition: .20s ease;
}

.month-nav button,
.btn-secondary {
    background: linear-gradient(135deg, #171717, #000);
    color: white;
    box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

.month-nav button:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(0,0,0,.22);
}

.btn-secondary {
    margin-top: 24px;
}

.btn-main {
    width: 100%;
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    color: white;
    font-size: 18px;
    margin-top: 24px;
    box-shadow: 0 16px 34px rgba(212,0,0,.28);
}

.btn-main:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    transform: translateY(-2px);
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 9px;
}

.dia-nombre {
    text-align: center;
    font-weight: 900;
    color: #4b5563;
    padding: 9px;
}

.dia {
    min-height: 60px;
    background: #eceff3;
    border: 1px solid #e1e5eb;
    border-radius: 14px;
    text-align: center;
    padding: 15px 4px;
    opacity: .50;
    font-weight: 800;
}

button.dia {
    font-family: inherit;
}

.dia.disponible {
    background: #fff;
    border: 2px solid rgba(212,0,0,.70);
    color: var(--red);
    opacity: 1;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(212,0,0,.08);
}

.dia.disponible:hover {
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    color: white;
    transform: translateY(-2px);
}

.dia.vacio {
    background: transparent;
    border: none;
    box-shadow: none;
}

.hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 15px;
}

.hora {
    border: 2px solid rgba(212,0,0,.24);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    font-weight: 900;
    background: white;
    transition: .20s ease;
    box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.hora:hover {
    background: linear-gradient(135deg, var(--red), #ff1a1a);
    color: white;
    border-color: var(--red);
    transform: translateY(-2px);
}

/* FORMULARIO */
.form-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 30px;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.booking-form h3,
.summary-box h3 {
    margin-top: 0;
    color: #0f172a;
}

label {
    display: block;
    margin-top: 14px;
    font-weight: 900;
    font-size: 14px;
    color: #1f2937;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    margin-top: 7px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: .18s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(212,0,0,.10);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.summary-box {
    background:
        linear-gradient(180deg, #141414, #050505);
    color: white;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    padding: 24px;
    align-self: start;
    border-top: 6px solid var(--red);
    box-shadow: 0 20px 42px rgba(0,0,0,.20);
}

.summary-box h3 {
    color: white;
}

.summary-content {
    color: #e5e7eb;
}

.summary-content p {
    margin: 0 0 16px;
}

.summary-content strong {
    color: white;
}

.secure-note {
    color: #b9b9b9;
    font-size: 13px;
    margin-top: 20px;
    line-height: 1.5;
}

.mensaje {
    display: none;
    padding: 17px;
    margin-top: 22px;
    border-radius: 14px;
    font-weight: 900;
    text-align: center;
}

.ok {
    background: #dcfce7;
    color: #166534;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.site-footer {
    background: #050505;
    color: white;
    text-align: center;
    padding: 34px 20px;
    border-top: 4px solid var(--red);
}

.site-footer span {
    display: block;
    margin-top: 7px;
    color: #aaa;
}

/* MÓVIL */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
        min-height: auto;
        padding: 16px;
    }

    .logo {
        max-height: 58px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 4px;
    }

    .main-nav a {
        padding: 12px 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 42px 18px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        font-size: 13px;
    }

    .booking {
        padding: 22px 12px 42px;
    }

    .steps {
        display: flex;
        overflow-x: auto;
        position: sticky;
        top: 0;
        background: rgba(244,244,244,.96);
        z-index: 10;
        padding: 10px 0;
    }

    .step {
        min-width: 94px;
    }

    .booking-card {
        padding: 22px;
        border-radius: 20px;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        display: grid;
        grid-template-columns: 120px 1fr;
        align-items: stretch;
    }

    .service-card img {
        height: 100%;
        min-height: 118px;
    }

    .service-body {
        min-height: auto;
    }

    .month-nav {
        grid-template-columns: 1fr;
    }

    .month-nav strong {
        order: -1;
    }

    .calendar {
        gap: 5px;
    }

    .dia {
        min-height: 46px;
        font-size: 13px;
        padding: 11px 3px;
        border-radius: 10px;
    }

    .hours {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-layout,
    .form-columns {
        grid-template-columns: 1fr;
    }

    .summary-box {
        order: -1;
    }
}
