:root {
    --main-color: #3b2a22;
    --accent: #8b5a3c;
    --cream: #f7f1e8;
    --paper: #fffaf4;
    --muted: #6b574c;
    --line: rgba(59, 42, 34, 0.18);
    --shadow: 0 1.2rem 3rem rgba(59, 42, 34, 0.12);
    --radius: 1.2rem;
    --header-h: 7.2rem;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: var(--header-h);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--main-color);
    background: var(--paper);
    line-height: 1.6;
}

img,
iframe {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    background: none;
    cursor: pointer;
    color: inherit;
}

section {
    padding: 6rem 9%;
}

.heading {
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 6vw, 6.4rem);
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.heading span {
    display: block;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.8rem;
}

.section-intro {
    max-width: 62rem;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-size: 1.6rem;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.8rem;
    border: 0.15rem solid var(--main-color);
    border-radius: 999px;
    color: var(--main-color);
    background: transparent;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--main-color);
    color: var(--cream);
    transform: translateY(-0.15rem);
}

.btn-solid {
    background: var(--main-color);
    color: var(--cream);
}

.btn-solid:hover,
.btn-solid:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-group .btn {
    margin-top: 0;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(255, 250, 244, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 0.4rem 1.6rem rgba(59, 42, 34, 0.08);
    padding: 1.4rem 9%;
    min-height: var(--header-h);
}

.header .logo {
    font-family: var(--font-display);
    color: var(--main-color);
    font-size: 2.4rem;
    font-weight: 700;
}

.header .logo span {
    font-weight: 500;
    color: var(--accent);
}

.header .navbar a {
    margin: 0 1rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--main-color);
}

.header .navbar a:hover,
.header .navbar a:focus-visible {
    color: var(--accent);
}

.header .header-cta {
    margin-top: 0;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
}

#menu-btn {
    font-size: 2.6rem;
    color: var(--main-color);
    display: none;
    line-height: 1;
}

/* HOME */

.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 4rem) 9% 6rem;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(139, 90, 60, 0.35), transparent 45%),
        radial-gradient(ellipse at 80% 10%, rgba(247, 241, 232, 0.2), transparent 40%),
        linear-gradient(160deg, #1c120e 0%, #3b2a22 45%, #5c3d2e 100%);
    color: var(--cream);
    overflow: hidden;
}

.home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.015) 18px,
            rgba(255, 255, 255, 0.015) 19px
        );
    pointer-events: none;
}

.home-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(to top, rgba(28, 18, 14, 0.55), transparent);
    pointer-events: none;
}

.home-content {
    position: relative;
    z-index: 1;
    max-width: 72rem;
    text-align: center;
    animation: rise-in 0.9s ease both;
}

.eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 241, 232, 0.75);
    margin-bottom: 1.5rem;
}

.home h1 {
    font-family: var(--font-display);
    font-size: clamp(4.2rem, 9vw, 8.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.2rem;
    animation: rise-in 1s ease 0.1s both;
}

.tagline {
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 500;
    color: #e8d5c4;
    margin-bottom: 1.2rem;
    animation: rise-in 1s ease 0.2s both;
}

.lead {
    font-size: 1.7rem;
    color: rgba(247, 241, 232, 0.82);
    max-width: 42rem;
    margin: 0 auto 0.5rem;
    animation: rise-in 1s ease 0.3s both;
}

.home .btn {
    border-color: rgba(247, 241, 232, 0.55);
    color: var(--cream);
}

.home .btn:hover,
.home .btn:focus-visible {
    background: var(--cream);
    color: var(--main-color);
    border-color: var(--cream);
}

.home .btn-solid {
    background: var(--cream);
    color: var(--main-color);
    border-color: var(--cream);
}

.home .btn-solid:hover,
.home .btn-solid:focus-visible {
    background: transparent;
    color: var(--cream);
}

.home .cta-group {
    justify-content: center;
    animation: rise-in 1s ease 0.4s both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(1.6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ABOUT */

.about {
    background: var(--paper);
}

.about .row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: center;
    margin-top: 3rem;
}

.about-visual {
    min-height: 42rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 30% 25%, rgba(247, 241, 232, 0.18), transparent 40%),
        linear-gradient(145deg, #2a1c16, #5a3a2a 55%, #8b5a3c);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    animation: pulse-soft 6s ease-in-out infinite;
}

.about-mark {
    text-align: center;
    color: var(--cream);
    padding: 2rem;
}

.mark-brand {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mark-sub {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.35em;
    margin: 0.6rem 0 1.4rem;
    opacity: 0.85;
}

.mark-line {
    display: inline-block;
    font-size: 1.4rem;
    border-top: 1px solid rgba(247, 241, 232, 0.35);
    padding-top: 1.2rem;
}

@keyframes pulse-soft {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

.about .content .title {
    font-family: var(--font-display);
    color: var(--main-color);
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.about .content > p {
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1.8;
    padding: 0.4rem 0;
}

.about .icons-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    padding-top: 2.8rem;
}

.about .icons {
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about .icons:hover {
    transform: translateY(-0.3rem);
    box-shadow: var(--shadow);
}

.about .icons i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.about .icons h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

.about .icons p {
    font-size: 1.35rem;
    color: var(--muted);
    line-height: 1.6;
}

/* COFFEE HIGHLIGHTS */

.coffee-highlights {
    background:
        linear-gradient(180deg, #2a1c16 0%, #3b2a22 100%);
    color: var(--cream);
}

.coffee-highlights .heading {
    color: #fff;
}

.coffee-highlights .heading span,
.coffee-highlights .section-intro {
    color: #d9c3b0;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.2rem;
}

.coffee-grid li {
    padding: 1.6rem 1.4rem;
    border: 1px solid rgba(247, 241, 232, 0.18);
    border-radius: var(--radius);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, transform 0.25s ease;
}

.coffee-grid li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-0.2rem);
}

/* MENU */

.menu {
    background:
        linear-gradient(180deg, rgba(247, 241, 232, 0.65), rgba(255, 250, 244, 0.95)),
        radial-gradient(circle at top right, rgba(139, 90, 60, 0.12), transparent 40%);
}

.menu-note {
    font-style: italic;
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.menu-filter {
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-filter:hover,
.menu-filter:focus-visible,
.menu-filter.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: var(--cream);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2rem;
}

.menu-category {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 2.2rem;
    box-shadow: 0 0.8rem 2rem rgba(59, 42, 34, 0.05);
}

.menu-category.hidden {
    display: none;
}

.menu-category h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.category-note {
    font-size: 1.3rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: 1.5rem;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li span:first-child {
    flex: 1;
}

.item-note {
    display: block;
    font-style: normal;
    font-size: 1.25rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.price {
    font-weight: 600;
    white-space: nowrap;
    color: var(--accent);
}

.extras-more {
    margin-top: 1.4rem;
    font-size: 1.35rem;
    color: var(--muted);
    line-height: 1.7;
}

.popular-strip {
    margin-top: 3rem;
    padding: 2.2rem;
    border-radius: 1.4rem;
    background: var(--main-color);
    color: var(--cream);
    text-align: center;
}

.popular-strip h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.popular-strip p {
    font-size: 1.45rem;
    line-height: 1.8;
    color: #e8d5c4;
}

/* REVIEWS */

.review {
    background: #fff;
}

.rating-banner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
    margin: 3rem 0 2.5rem;
    padding: 2.4rem;
    border-radius: 1.6rem;
    background:
        linear-gradient(135deg, #f7f1e8, #fff),
        var(--cream);
    border: 1px solid var(--line);
}

.rating-score {
    text-align: center;
}

.rating-score .score {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--main-color);
}

.rating-score .stars {
    margin: 0.8rem 0;
    color: var(--accent);
    font-size: 1.6rem;
}

.rating-score p {
    font-size: 1.4rem;
    color: var(--muted);
}

.theme-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.theme-list li {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 1.4rem;
    font-weight: 500;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.feedback-card {
    padding: 2.2rem;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feedback-card:hover {
    transform: translateY(-0.3rem);
    box-shadow: var(--shadow);
}

.feedback-card h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.feedback-card p {
    font-size: 1.5rem;
    color: var(--muted);
    line-height: 1.75;
}

/* CONTACT */

.contact {
    background:
        linear-gradient(180deg, #f7f1e8 0%, #fffaf4 100%);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-details {
    padding: 2.8rem;
    border-radius: 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-details h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.contact-details address {
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--muted);
}

.phone-line {
    margin: 1.6rem 0 1rem;
}

.phone-line a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color);
}

.phone-line a:hover,
.phone-line a:focus-visible {
    color: var(--accent);
}

.services-line {
    font-size: 1.35rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-map {
    border-radius: 1.6rem;
    overflow: hidden;
    min-height: 36rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 36rem;
    border: 0;
}

/* FOOTER */

.footer {
    background: #1c120e;
    color: #e8d5c4;
    padding: 4rem 9% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(247, 241, 232, 0.12);
}

.footer .box h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer .box p,
.footer .box a {
    display: block;
    font-size: 1.4rem;
    color: #d9c3b0;
    padding: 0.35rem 0;
    line-height: 1.7;
}

.footer .box a:hover,
.footer .box a:focus-visible {
    color: #fff;
}

.footer .brand-box p {
    max-width: 28rem;
}

.footer .credit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.6rem;
    font-size: 1.25rem;
    color: rgba(232, 213, 196, 0.7);
}

.footer .credit a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer .credit a:hover,
.footer .credit a:focus-visible {
    color: #fff;
    border-bottom-color: #fff;
}

/* MEDIA QUERIES */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header,
    section,
    .footer,
    .home {
        padding-left: 4%;
        padding-right: 4%;
    }

    .about .row,
    .contact-panel,
    .rating-banner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: initial;
    }

    .header .header-cta {
        display: none;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        box-shadow: 0 1rem 2rem rgba(59, 42, 34, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        display: block;
        font-size: 1.8rem;
        margin: 0;
        padding: 1.4rem 2rem;
        border-top: 1px solid var(--line);
    }

    .about .icons-container {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 28rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .home {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 5rem;
    }

    .home-content {
        text-align: left;
    }

    .home .cta-group {
        justify-content: flex-start;
    }

    .cta-group .btn {
        width: 100%;
    }

    .menu-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .footer .credit {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
