/*  Zerezia — styles
    ............................................ */

/* --- reset chungo --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: ui-serif, "Times New Roman", Times, serif;
    background: #f5efe8;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* --- nav --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    background: rgba(245, 239, 232, 0.9);
    border-bottom: 1px solid #d6cdc2;
    backdrop-filter: blur(4px);
}

.nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    border-bottom: 2px solid #c73e2b;
    padding-bottom: 2px;
}

.nav__logo:hover {
    border-color: #1a1a1a;
}

.nav__links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.925rem;
}

.nav__links a {
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.nav__links a:hover {
    border-bottom-color: #c73e2b;
}

/* --- hero --- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    background: #f5efe8;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(199, 62, 43, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(26, 26, 26, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 720px;
    text-align: center;
}

.hero__title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero__title-accent {
    color: #c73e2b;
    font-style: italic;
}

.hero__sub {
    font-size: 1.2rem;
    color: #5b534a;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* --- buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 2px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--primary {
    background: #1a1a1a;
    color: #f5efe8;
}

.btn--primary:hover {
    background: transparent;
    color: #1a1a1a;
}

/* --- sections general --- */
.section {
    padding: 5rem 1.5rem;
}

.section__inner {
    max-width: 980px;
    margin: 0 auto;
}

.section__title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* --- about --- */
.about {
    border-top: 1px solid #d6cdc2;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about__text p {
    font-size: 1.05rem;
    color: #2a2a2a;
    margin-bottom: 1.2rem;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    border-left: 3px solid #c73e2b;
    padding-left: 1.5rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.stat__label {
    font-size: 0.85rem;
    color: #5b534a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- services --- */
.services {
    background: #ece5db;
    border-top: 1px solid #d6cdc2;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #f5efe8;
    padding: 2rem 1.5rem;
    border: 1px solid #d6cdc2;
    transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
    border-color: #c73e2b;
    transform: translateY(-3px);
}

.service-card__icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    color: #c73e2b;
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    font-size: 0.95rem;
    color: #5b534a;
    line-height: 1.55;
}

/* --- cta --- */
.cta {
    text-align: center;
    border-top: 1px solid #d6cdc2;
}

.cta p {
    font-size: 1.1rem;
    color: #5b534a;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- footer --- */
.footer {
    border-top: 2px solid #1a1a1a;
    padding: 4rem 1.5rem 2rem;
    background: #1a1a1a;
    color: #d6cdc2;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 980px;
    margin: 0 auto;
}

.footer__brand h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f5efe8;
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: #c73e2b;
    border-bottom: 1px solid transparent;
}

.footer__contact a:hover {
    border-bottom-color: #c73e2b;
}

.footer__bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a2a;
    font-size: 0.85rem;
    color: #6b635a;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* --- responsive cutre --- */
@media (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        border-left: none;
        border-top: 3px solid #c73e2b;
        padding-left: 0;
        padding-top: 1.5rem;
    }

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

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

/* --- pricing --- */
.pricing {
    border-top: 1px solid #d6cdc2;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: #f5efe8;
    padding: 2rem 1.5rem;
    border: 1px solid #d6cdc2;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
    border-color: #c73e2b;
    transform: scale(1.02);
}

.pricing-card--featured {
    border-color: #c73e2b;
    background: #fffbf7;
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    transform: scale(1.05);
}

.pricing-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card__price {
    font-size: 1rem;
    color: #5b534a;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d6cdc2;
}

.pricing-card__amount {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.pricing-card__features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-card__features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #2a2a2a;
}

.pricing-card__features li::before {
    content: "— ";
    color: #c73e2b;
}

.btn--secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn--secondary:hover {
    background: #1a1a1a;
    color: #f5efe8;
}

@media (max-width: 768px) {
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .pricing-card--featured {
        transform: none;
    }
}

/* --- contact section --- */
.contact {
    border-top: 1px solid #d6cdc2;
    background: #ece5db;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__info p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: #2a2a2a;
}

.contact__mail {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #c73e2b;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid transparent;
}

.contact__mail:hover {
    border-bottom-color: #c73e2b;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact__form input,
.contact__form textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d6cdc2;
    background: #f5efe8;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s;
}

.contact__form input:focus,
.contact__form textarea:focus {
    border-color: #c73e2b;
}

/* --- overlay --- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- booking modal --- */
.booking {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 300;
    background: #f5efe8;
    border: 2px solid #1a1a1a;
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.booking--open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.booking__inner {
    padding: 2rem;
}

.booking__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #1a1a1a;
}

.booking__header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.booking__close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #5b534a;
    font-family: inherit;
    padding: 0 0.25rem;
    line-height: 1;
}

.booking__close:hover {
    color: #c73e2b;
}

.booking__sub {
    margin-bottom: 1rem;
    color: #5b534a;
    font-size: 0.95rem;
}

.booking__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.booking__nav-btn {
    background: none;
    border: 1px solid #d6cdc2;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1a1a1a;
    transition: border-color 0.2s;
}

.booking__nav-btn:hover {
    border-color: #c73e2b;
}

/* --- calendar grid --- */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
}

.cal-day-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5b534a;
    padding: 0.4rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: default;
    transition: all 0.15s;
}

.cal-day--disabled {
    color: #c4bbb2;
}

.cal-day--available {
    cursor: pointer;
    border-color: #d6cdc2;
    background: #fff;
}

.cal-day--available:hover {
    border-color: #c73e2b;
    background: #fffbf7;
}

.cal-day--selected {
    border-color: #c73e2b;
    background: #c73e2b;
    color: #fff;
    font-weight: 700;
}

.cal-day--empty {
    visibility: hidden;
}

.cal-summary {
    text-align: center;
    font-size: 0.85rem;
    color: #5b534a;
    margin-top: 0.5rem;
}

.cal-summary strong {
    color: #1a1a1a;
}

/* --- slots grid --- */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.slot-btn {
    padding: 0.6rem 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #d6cdc2;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.slot-btn:hover {
    border-color: #c73e2b;
}

.slot-btn--selected {
    background: #c73e2b;
    color: #fff;
    border-color: #c73e2b;
}

/* --- booking form --- */
.booking__back {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #c73e2b;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.5rem;
}

.booking__back:hover {
    text-decoration: underline;
}

.booking__summary {
    background: #ece5db;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.booking__summary p {
    margin-bottom: 0.3rem;
}

.booking__fields {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.booking__fields input,
.booking__fields textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d6cdc2;
    background: #fff;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s;
}

.booking__fields input:focus,
.booking__fields textarea:focus {
    border-color: #c73e2b;
}

.booking__confirm {
    text-align: center;
    padding: 2rem 0;
}

.booking__confirm p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* --- utils --- */
.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

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

    .booking__inner {
        padding: 1.25rem;
    }
}

/* --- slot booked / empty --- */
.slot-btn--booked {
    background: #ece5db;
    color: #b8b0a6;
    border-color: #ddd6cc;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

.slot-btn--empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #5b534a;
    font-size: 0.9rem;
    padding: 1rem 0;
}

/* --- page hero (about, etc) --- */
.page-hero {
    padding: 8rem 1.5rem 3rem;
    border-bottom: 1px solid #d6cdc2;
}

.page-hero__title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- about page --- */
.about-page {
    padding-top: 2rem;
}

.about-page__block {
    margin-bottom: 3.5rem;
    max-width: 720px;
}

.about-page__block--signoff {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #1a1a1a;
    font-size: 1.1rem;
}

.about-page__content p {
    font-size: 1.05rem;
    color: #2a2a2a;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-page__list {
    list-style: none;
    padding: 0;
}

.about-page__list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid #c73e2b;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2a2a2a;
    line-height: 1.6;
}

/* --- active nav link --- */
.nav--active {
    border-bottom-color: #c73e2b !important;
}



/* --- form status --- */
.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #d6cdc2;
}

.form-status--ok {
    border-color: #2a7d2a;
    background: #e8f5e8;
    color: #1a4a1a;
}

/* --- success modal --- */
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.success-modal--visible {
    opacity: 1;
    pointer-events: auto;
}

.success-modal__inner {
    background: #f5efe8;
    border: 2px solid #1a1a1a;
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.success-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 3px solid #2a7d2a;
    border-radius: 50%;
    color: #2a7d2a;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-modal__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.success-modal__text {
    font-size: 0.95rem;
    color: #5b534a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
