:root {
    --green: #173f18;
    --green-soft: #245c27;
    --gold: #c99a45;
    --cream: #f8f4ea;
    --beige: #efe6d3;
    --light: #fffdf8;
    --text: #2f2f2f;
    --muted: #777;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(to bottom, #f8f4ea, #fffdf8);
    color: var(--text);
    font-family: Georgia, serif;
}

.container {
    width: 92%;
    max-width: 1250px;
    margin: auto;
}

section {
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 36px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}
.hero-logo{
    max-width: 280px;
    width: 100%;
    height: auto;
    display:block;
    margin:0 auto;
}
.hero-left {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
}

.hero-left h1 {
    font-size: 72px;
    line-height: 1;
    color: var(--green);
    margin-bottom: 20px;
    text-align:center;
}

.hero-left p {
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    max-width: 500px;
    text-align:center;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    font-size: 28px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
}

.btn-group {
    margin-top: 35px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    margin: 0 auto;
    padding: 16px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--green);
    color: white;
}

.btn-primary:hover {
    background: var(--green-soft);
}

.btn-secondary {
    background: var(--gold);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.about-text {
    padding: 70px;
    background: var(--light);
    text-align:center;
}

.about-text h2 {
    font-size: 56px;
    color: var(--green);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 19px;
    line-height: 1.8;
    color: #555;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services {
    background: #dce9df;
    padding: 70px;
}

.services h2 {
    text-align: center;
    font-size: 56px;
    color: var(--green);
    margin-bottom: 50px;
}

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

.service-item {
    text-align: left;
    background: white;
    border-radius: 28px;
    padding: 35px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 25px;
    align-items: center;
}

.service-item h3,
.service-item p {
    grid-column: 2;
}

.service-icon {
    grid-row: 1 / span 3;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 32px;
    color: var(--green);
    margin-bottom: 12px;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    padding: 80px;
    background: var(--beige);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    font-size: 58px;
    color: var(--green);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 19px;
    line-height: 1.8;
    color: #555;
}
/* Estilos básicos para los formularios */
.booking-form label {
    font-size: 18px;
    font-weight: bold;
    color: #173f18;
    margin-bottom: 8px;
    display: block;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    margin-bottom: 18px;
    background-color: #fffaf0;
}

.booking-form textarea {
    height: 100px;
}


/* Estilo para las horas ocupadas (verde claro) */
.occupied {
    background-color: #D4EDDA;  /* Verde claro */
    color: #155724;  /* Texto en verde oscuro */
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: normal;
}

/* Estilo para las horas disponibles (color crema) */
.available-time {
    background-color: #F4E1C1;  /* Color crema */
    color: #5C4033;  /* Texto marrón oscuro */
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Cambiar el color del botón cuando se pasa el mouse */
.available-time:hover {
    background-color: #E4CBA0;  /* Cremoso un poco más oscuro */
}


/* Estilos para el calendario */
#calendar {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f4ea;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


footer {
    text-align: center;
    padding: 50px 20px;
    color: #777;
}

@media (max-width: 900px) {

    .hero,
    .about,
    .cta {
        grid-template-columns: 1fr;
    }

    .hero-left,
    .about-text,
    .cta-content,
    .services {
        padding: 40px;
    }

    .hero-left h1,
    .about-text h2,
    .services h2,
    .cta-content h2 {
        font-size: 42px;
    }

    .hero {
        min-height: auto;
    }

    .hero-right img {
        height: 450px;
    }

    .service-item {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .service-item h3,
    .service-item p,
    .service-icon {
        grid-column: 1;
        grid-row: auto;
    }
}


.fc-day-top {
    position: relative !important;
}

.fc-day-top.selected-day,
.fc-bg .fc-day.selected-day {
    background: #d9d9d9 !important;
}

.calendar-dots {
    display: flex !important;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
    width: 100%;
}

.calendar-dot {
    width: 7px;
    height: 7px;
    background: #173f18;
    border-radius: 50%;
    display: inline-block;
}

.selectable-day {
    background: #d9d9d9 !important;
    cursor: pointer;
}

.selectable-day:hover {
    background: #c7c7c7 !important;
}

.disabled-day {
    background: #f2f2f2 !important;
    opacity: 0.35;
    cursor: not-allowed !important;
}
.fc-bg .fc-day.selectable-day {
    background-color: #d9d9d9 !important;
}

.fc-bg .fc-day.disabled-day {
    background-color: #f2f2f2 !important;
    opacity: 0.35 !important;
}

.fc-bg .fc-day.selectable-day:hover {
    background-color: #c7c7c7 !important;
}

/* Calendario premium */

#calendar {
    border: 1px solid rgba(201, 154, 69, 0.25);
}

.fc-toolbar h2 {
    color: #173f18;
    font-size: 26px;
    text-transform: capitalize;
}

.fc-button {
    background: #173f18 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    text-transform: capitalize !important;
    box-shadow: none !important;
}

.fc-button:hover {
    background: #245c27 !important;
}

.fc-day-header {
    color: #173f18;
    font-weight: bold;
    padding: 10px 0 !important;
    background: #efe6d3;
}

.fc-day-number {
    color: #2f2f2f;
    font-weight: bold;
    padding: 8px !important;
}

.fc-day {
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.fc-day:hover {
    filter: brightness(0.96);
}
/*
.fc-today {
    border: 2px solid #c99a45 !important;
    box-shadow: inset 0 0 0 2px rgba(201, 154, 69, 0.25);
}
*/

.fc-day.selected-calendar-date {
    background: #bfbfbf !important;
    box-shadow: inset 0 0 0 2px #173f18;
}

#times-loader {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #f8f4ea;
    color: #173f18;
    font-weight: bold;
    text-align: center;
    border: 1px solid rgba(201, 154, 69, 0.35);
}
#times-loader {
    margin-top: 22px;
    padding: 22px;
    border-radius: 18px;
    background: #f8f4ea;
    color: #173f18;
    font-weight: bold;
    text-align: center;
    border: 1px solid rgba(201, 154, 69, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.loader-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(23, 63, 24, 0.2);
    border-top-color: #173f18;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.time-slot {
    animation: fadeUp 0.25s ease both;
}

#booking-form {
    animation: fadeUp 0.3s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.booking-summary {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(239,230,211,1) 0%,
        rgba(248,244,234,1) 100%
    );

    border: 1px solid rgba(201,154,69,0.25);

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: none;
    color: #777;
    margin-bottom: 8px;
}

.summary-value {
    font-size: 22px;
    font-weight: bold;
    color: #173f18;
}

.booking-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 18px;
    background: #173f18;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s ease;
}

.booking-btn:hover {
    background: #245c27;
    transform: translateY(-1px);
}

@media (max-width: 768px) {

    .booking-summary {
        grid-template-columns: 1fr;
    }

}
.service-description {
    margin-top: -8px;
    margin-bottom: 18px;
    color: #777;
    font-size: 15px;
    line-height: 1.5;
}
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;

    border: none;
    border-radius: 999px;

    background: #173f18;
    color: white;

    text-decoration: none;
    font-weight: bold;
    font-size: 15px;

    cursor: pointer;

    transition: 0.25s ease;

    margin-bottom: 22px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-button:hover {
    background: #245c27;
    transform: translateY(-1px);
}

.nav-button:active {
    transform: translateY(0);
}

.booking-form {
    padding: 42px !important;
}

#available-times {
    margin-top: 24px;
}

.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-form h2 {
    margin-bottom: 14px;
}

.booking-summary {
    margin-top: 10px;
    margin-bottom: 32px;
}

.time-slot {
    margin-bottom: 14px;
}

@media (max-width: 768px) {

    .container {
        width: 94%;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 34px 24px;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .hero-right {
        padding: 18px;
    }

    #calendar {
        padding: 8px;
        max-width: 100%;
        overflow-x: visible;
    }

    .fc-toolbar {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .fc-toolbar .fc-left,
    .fc-toolbar .fc-center,
    .fc-toolbar .fc-right {
        float: none;
        text-align: center;
    }

    .fc-toolbar h2 {
        font-size: 22px;
    }

    .fc-button {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    .fc-day-number {
        font-size: 12px;
        padding: 4px !important;
    }

    .fc-day-header {
        font-size: 12px;
        padding: 8px 0 !important;
    }

    .booking-form {
        padding: 26px 20px !important;
        border-radius: 24px;
    }

    .booking-summary {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .summary-value {
        font-size: 19px;
    }

    .available-time,
    .occupied {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }

    .nav-button,
    .booking-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        font-size: 16px;
    }
}

.calendar-title {
    text-align: center;
    color: #173f18;
    font-size: 32px;
    margin-bottom: 22px;
    margin-top: 10px;
}
.calendar-footer {
    text-align: center;
    color: #173f18;
    font-size: 15px;
    margin-bottom: 22px;
    margin-top: 10px;
}

.service-price {
    font-weight: 700;
    color: var(--green) !important;
    margin-top: 14px;
}

.calendar-day-label {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    border-radius: 8px;
    background: #9b1c1c;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    text-transform: none;
}

.calendar-day-message {
    padding: 18px;
    border-radius: 16px;
    font-weight: bold;
    text-align: center;
}

.calendar-day-message.blocked {
    background: #ffd9d9;
    color: #9b1c1c;
    border: 1px solid #e8a0a0;
}

.calendar-day-message.full {
    background: #fff0cc;
    color: #996600;
    border: 1px solid #e8d3a4;
}


.fc-day {
    position: relative;
}

.calendar-day-label.blocked,
.calendar-day-status.blocked {
    background: #9b1c1c;
    color: #fff;
}

.calendar-day-label.full,
.calendar-day-status.full {
    background: #996600;
    color: #fff;
}

.calendar-day-status {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}

/* Ajuste móvil para etiquetas de días cerrados/llenos en el calendario */
@media (max-width: 768px) {
    .fc-view-container .fc-day-top {
        position: relative !important;
        min-height: 42px;
        overflow: hidden;
        vertical-align: top;
    }

    .fc-view-container .fc-day-number {
        display: block;
        float: none !important;
        text-align: center;
        padding: 3px 0 0 !important;
        line-height: 1.1;
    }

    .calendar-day-label {
        display: block;
        position: absolute;
        left: 2px;
        right: 2px;
        bottom: 3px;
        width: auto;
        max-width: calc(100% - 4px);
        margin: 0 auto;
        padding: 2px 1px;
        border-radius: 5px;
        font-size: 7px;
        line-height: 1;
        letter-spacing: -0.2px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .calendar-day-status {
        display: none;
    }

    .fc-row .fc-content-skeleton td,
    .fc-row .fc-bg td {
        min-width: 0;
    }
}

@media (max-width: 390px) {
    .calendar-day-label {
        font-size: 6px;
        padding-left: 0;
        padding-right: 0;
    }
}


.fc-day-top.available .fc-day-number {
    color: #fff !important;
    font-weight: 700;
}

.fc-day.available {
    overflow: hidden;
}

.fc-day-top.selected-calendar-date .fc-day-number {
    color: #fff !important;
    font-weight: 700;
}
#calendar .fc-content-skeleton td.available,
#calendar .fc-content-skeleton td.available a,
#calendar .fc-content-skeleton td.available .fc-day-number {
    color: #fff !important;
}

#calendar .fc-content-skeleton td.selected-calendar-date,
#calendar .fc-content-skeleton td.selected-calendar-date a,
#calendar .fc-content-skeleton td.selected-calendar-date .fc-day-number {
    color: #fff !important;
}
@media (max-width: 768px) {
    #calendar .fc-view-container {
        overflow: visible !important;
    }

    #calendar .fc-view,
    #calendar .fc-row,
    #calendar .fc-day-grid,
    #calendar .fc-scroller {
        height: auto !important;
        overflow: visible !important;
    }

    #calendar .fc-basic-view .fc-body .fc-row {
        min-height: 42px !important;
    }

    #calendar .fc-day-number {
        font-size: 12px;
        padding: 4px !important;
    }
}