@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;700&display=swap');

:root {
    --ink-900: #1a1714;
    --ink-700: #3a332d;
    --ink-500: #64594f;
    --sand-100: #f7f2eb;
    --sand-200: #efe5d9;
    --gold-500: #b88a44;
    --gold-600: #9f7434;
    --teal-700: #2f5a63;
    --surface: #fffdf9;
    --shadow-soft: 0 18px 42px rgba(26, 23, 20, 0.12);
    --shadow-card: 0 8px 24px rgba(26, 23, 20, 0.12);
}

.home-layout {
    display: grid;
    gap: 3.5rem;
}

.hero-shell {
    position: relative;
    min-height: 76vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 76vh;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(0.95);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(26, 23, 20, 0.76) 0%, rgba(26, 23, 20, 0.42) 44%, rgba(26, 23, 20, 0.12) 70%),
        radial-gradient(circle at 82% 24%, rgba(184, 138, 68, 0.34), transparent 46%);
}

.hero-content {
    position: absolute;
    left: clamp(1rem, 4vw, 4rem);
    bottom: clamp(1.5rem, 8vh, 5rem);
    max-width: 700px;
    color: #fff;
    animation: heroReveal 0.8s ease-out both;
}

.hero-kicker {
    margin: 0 0 0.8rem;
    font: 700 0.85rem/1 Manrope, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f8d9a8;
}

.hero-content h1 {
    margin: 0;
    font: 700 clamp(2rem, 4.5vw, 3.8rem)/1.05 "Cormorant Garamond", serif;
    text-wrap: balance;
}

.hero-copy {
    margin-top: 1rem;
    max-width: 60ch;
    font: 500 clamp(1rem, 1.5vw, 1.2rem)/1.65 Manrope, sans-serif;
    color: #f2ece3;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    text-decoration: none;
    font: 700 0.92rem/1 Manrope, sans-serif;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-hero-primary {
    background: var(--gold-500);
    color: #fff;
    box-shadow: 0 12px 24px rgba(184, 138, 68, 0.35);
}

.btn-hero-primary:hover {
    background: var(--gold-600);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.about-section {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-section h2,
.services-section h2,
.reviews-section h2 {
    margin: 0 0 1.1rem;
    font: 700 clamp(2rem, 3vw, 2.8rem)/1.12 "Cormorant Garamond", serif;
    color: var(--ink-900);
    letter-spacing: 0.01em;
}

.about-section p {
    margin: 0;
    font: 500 1.06rem/1.9 Manrope, sans-serif;
    color: var(--ink-700);
    text-wrap: pretty;
}

.services-section {
    position: relative;
    margin: 0 -0.85rem;
    padding: 2.5rem 0;
    background: linear-gradient(180deg, var(--surface), var(--sand-100));
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1.8rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

.service-card {
    position: relative;
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(26, 23, 20, 0.76), rgba(26, 23, 20, 0.15) 56%);
    transition: background 0.35s ease;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(47, 90, 99, 0.74), rgba(26, 23, 20, 0.24) 56%);
}

.service-card h3 {
    margin: 0;
    color: #fff;
    font: 700 1.8rem/1.08 "Cormorant Garamond", serif;
    letter-spacing: 0.02em;
}

.reviews-section {
    max-width: 880px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    .reviews-section { max-width: 1200px; }
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-add-review {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    font: 700 0.9rem/1 Manrope, sans-serif;
    letter-spacing: 0.01em;
    color: #fff;
    background: var(--teal-700);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-add-review:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.carousel-btn {
    flex-shrink: 0;
    border: none;
    background: rgba(26, 23, 20, 0.55);
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.carousel-btn:hover {
    background: var(--teal-700);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.carousel-inner {
    flex: 1;
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding: 0.4rem 0.2rem;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.review-card {
    display: none;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(26, 23, 20, 0.08);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    flex: 0 0 100%;
}

.review-card.active {
    display: flex;
    animation: cardFadeIn 0.35s ease both;
}

@media (min-width: 768px) {
    .review-card.active { flex: 0 0 calc(50% - 0.5rem); }
}

@media (min-width: 1200px) {
    .carousel-inner { gap: 0.5rem; }
    .review-card.active { flex: 0 0 calc(33.33% - 0.34rem); }
}

.review-card h4 {
    margin: 0;
    color: var(--ink-900);
    font: 700 1.08rem/1.2 Manrope, sans-serif;
}

.review-card p {
    margin: 0.6rem 0 0;
    color: var(--ink-700);
    font: 500 0.97rem/1.7 Manrope, sans-serif;
}

.review-stars {
    margin: 0.45rem 0 0.2rem;
    font-size: 1.2rem;
}

.review-stars .star {
    color: #d2cdc6;
}

.review-stars .star.filled {
    color: var(--gold-500);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    background: rgba(20, 17, 14, 0.7);
    backdrop-filter: blur(2px);
}

.modal-content {
    width: min(92vw, 620px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(26, 23, 20, 0.08);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    animation: modalRise 0.28s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid rgba(26, 23, 20, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: var(--ink-900);
    font: 700 1.5rem/1.12 "Cormorant Garamond", serif;
}

.close-btn {
    border: none;
    background: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--ink-500);
}

.close-btn:hover {
    background: #f1ece6;
    color: var(--ink-900);
}

#reviewForm {
    padding: 1.3rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ink-700);
    font: 700 0.92rem/1.2 Manrope, sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #d8cfc3;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font: 500 0.95rem/1.4 Manrope, sans-serif;
    color: var(--ink-900);
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(47, 90, 99, 0.14);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.star-rating {
    display: flex;
    gap: 0.2rem;
    font-size: 2.1rem;
}

.star-rating input {
    display: none;
}

.star-rating .star-label {
    cursor: pointer;
    color: #d7d1c9;
}

.star-rating .star-label.hover,
.star-rating .star-label.selected {
    color: var(--gold-500);
}

.form-actions {
    display: flex;
    justify-content: end;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.btn-cancel,
.btn-submit {
    border: none;
    border-radius: 999px;
    padding: 0.68rem 1.15rem;
    font: 700 0.88rem/1 Manrope, sans-serif;
}

.btn-cancel {
    background: #ede6dc;
    color: var(--ink-700);
}

.btn-submit {
    background: var(--teal-700);
    color: #fff;
}

.btn-submit:hover,
.btn-cancel:hover {
    filter: brightness(1.04);
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .services-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .hero-shell,
    .hero-image {
        min-height: 68vh;
    }

    .hero-content {
        left: 1rem;
        right: 1rem;
        bottom: 1.2rem;
    }

    .hero-actions {
        width: 100%;
        display: grid;
    }

    .btn-hero {
        width: 100%;
    }

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

    .service-card {
        min-height: 280px;
    }

    .reviews-header {
        align-items: flex-start;
    }

    .btn-add-review {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}
