:root {
    --charcoal: #16120f;
    --coffee: #4a2d1f;
    --coffee-2: #7a5236;
    --cream: #fff7eb;
    --white: #ffffff;
    --gold: #c99a45;
    --muted: #6f6259;
    --line: rgba(74, 45, 31, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--charcoal);
    background: #fffaf3;
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

a:hover {
    color: var(--gold);
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0 0 18px;
    color: var(--charcoal);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    line-height: 1.05;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 2000;
    padding: 10px 14px;
    color: var(--charcoal);
    background: var(--gold);
    border-radius: 4px;
}

.skip-link:focus {
    top: 12px;
}

.loader_bg {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    background: var(--charcoal);
}

.loader {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255, 247, 235, 0.25);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader_bg.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.navbar {
    padding: 6px 0;
    background: rgba(22, 18, 15, 0.58);
    backdrop-filter: blur(14px);
    transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.navbar > .container {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 74px;
}

.navbar.is-scrolled,
.compact-header .navbar {
    padding: 4px 0;
    background: rgba(22, 18, 15, 0.94);
    box-shadow: 0 12px 30px rgba(22, 18, 15, 0.18);
}

.brand-mark {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(132px, 13vw, 180px);
    height: 74px;
    overflow: hidden;
    color: var(--cream) !important;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.brand-mark img {
    width: 100%;
    max-width: none;
    height: auto;
    transform: translateY(-27%);
}

.navbar-collapse {
    align-items: center;
    min-width: 0;
}

.navbar-dark .navbar-nav .nav-link {
    margin: 0 3px;
    padding: 10px 14px;
    color: rgba(255, 247, 235, 0.86);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold);
}

.nav-cta,
.btn {
    min-height: 46px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    margin-left: 14px;
    padding: 10px 18px;
    color: var(--charcoal);
    background: var(--gold);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(22, 18, 15, 0.9), rgba(74, 45, 31, 0.72)), url("../images/banner-bg.png") center/cover no-repeat;
}

.hero-title {
    max-width: 760px;
    color: var(--cream);
    font-size: clamp(48px, 8vw, 96px);
}

.hero-copy {
    max-width: 620px;
    color: rgba(255, 247, 235, 0.82);
    font-size: 18px;
}

.hero-actions,
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image {
    animation: floatCup 5.5s ease-in-out infinite;
}

@keyframes floatCup {
    50% {
        transform: translateY(-16px);
    }
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--coffee-2);
}

.btn-primary-gold {
    padding: 12px 22px;
    color: var(--charcoal);
    background: var(--gold);
    border: 1px solid var(--gold);
}

.btn-primary-gold:hover,
.btn-primary-gold:focus {
    color: var(--charcoal);
    background: #e2b760;
    border-color: #e2b760;
}

.btn-outline-cream {
    padding: 12px 22px;
    color: var(--cream);
    border: 1px solid rgba(255, 247, 235, 0.6);
}

.btn-outline-cream:hover,
.btn-outline-cream:focus {
    color: var(--charcoal);
    background: var(--cream);
}

.section-pad {
    padding: 95px 0;
}

.section-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(74, 45, 31, 0.16);
}

.about-preview h2,
.section-heading h2,
.reservation-band h2,
.contact-layout h2 {
    font-size: clamp(34px, 5vw, 56px);
}

.feature-list {
    margin: 24px 0;
}

.feature-list span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--coffee);
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.text-link {
    color: var(--coffee);
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
}

.philosophy-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 620px;
    background: var(--white);
}

.philosophy-image {
    min-height: 6px;
}

.philosophy-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    margin-top: 50px
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    min-height: 620px;
    margin: 0 auto;
    padding: 80px 56px;
    text-align: center;
}

.philosophy-content h2 {
    color: #062637;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
}

.philosophy-content p {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-quote {
    color: #5c5550;
    font-weight: 500;
}

.menu-preview,
.values-section,
.contact-layout {
    background: var(--cream);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.menu-card {
    height: calc(100% - 30px);
    margin-bottom: 30px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(74, 45, 31, 0.08);
}

.menu-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.menu-card h2,
.menu-card h3,
.menu-card p,
.menu-card strong {
    margin-left: 20px;
    margin-right: 20px;
}

.menu-card h2,
.menu-card h3 {
    margin-top: 20px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.25;
}

.menu-card strong {
    display: block;
    margin-bottom: 22px;
    color: var(--coffee);
    font-size: 18px;
}

.reservation-band {
    color: var(--cream);
    background: linear-gradient(135deg, var(--charcoal), var(--coffee));
}

.reservation-band h2,
.reservation-band p {
    color: var(--cream);
}

.espresso-form {
    padding: 28px;
    background: rgba(255, 247, 235, 0.08);
    border: 1px solid rgba(255, 247, 235, 0.2);
    border-radius: 8px;
}

.light-form {
    background: var(--white);
    border-color: var(--line);
}

.espresso-form label {
    display: block;
    margin: 0 0 7px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.espresso-form input,
.espresso-form textarea {
    width: 100%;
    min-height: 48px;
    margin-bottom: 16px;
    padding: 11px 13px;
    color: var(--charcoal);
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 4px;
}

.espresso-form textarea {
    resize: vertical;
}

.espresso-form input:focus,
.espresso-form textarea:focus {
    outline: 3px solid rgba(201, 154, 69, 0.32);
    border-color: var(--gold);
}

.espresso-form .is-invalid {
    border-color: #b42318;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: inherit;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
}

.page-hero {
    padding: 180px 0 85px;
    background: linear-gradient(90deg, rgba(22, 18, 15, 0.9), rgba(74, 45, 31, 0.72)), url("../images/flying-roasted-coffee-beans-white.jpg") center/cover no-repeat;
}

.page-hero h1 {
    max-width: 900px;
    color: var(--cream);
    font-size: clamp(42px, 7vw, 74px);
}

.value-card {
    height: 100%;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.value-card h2 {
    font-size: 30px;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
    padding: 30px;
    background: var(--charcoal);
    border-radius: 8px;
}

.menu-list h2,
.menu-list p {
    color: var(--cream);
}

.menu-list h2 {
    font-size: 28px;
}

.menu-list p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 247, 235, 0.15);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
}

.site-footer {
    padding: 60px 0 24px;
    color: rgba(255, 247, 235, 0.8);
    background: var(--charcoal);
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
    color: inherit;
}

.site-footer h2,
.site-footer h3 {
    color: var(--cream);
}

.social-links {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
}

.social-links a,
.whatsapp-float,
.back-to-top {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
}

.social-links a {
    width: 38px;
    height: 38px;
    color: var(--charcoal);
    background: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.copyright {
    margin: 34px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 247, 235, 0.12);
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 86px;
    z-index: 1000;
    width: 54px;
    height: 54px;
    color: var(--white);
    background: #128c7e;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.28);
    font-size: 13px;
    font-weight: 800;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    color: var(--charcoal);
    background: var(--gold);
    border: 0;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991px) {
    .navbar > .container {
        min-height: 62px;
    }

    .brand-mark {
        width: 130px;
        height: 62px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: rgba(22, 18, 15, 0.96);
        border-radius: 8px;
    }

    .nav-cta {
        margin: 10px 0 0;
        justify-content: center;
    }

    .hero-section {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-image {
        max-width: 420px;
        margin: 40px auto 0;
    }

    .section-pad {
        padding: 72px 0;
    }

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

    .philosophy-image,
    .philosophy-content {
        min-height: auto;
    }

    .philosophy-image {
        height: 420px;
    }

    .philosophy-content {
        max-width: 760px;
        padding: 64px 24px;
    }

    .menu-list,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .brand-mark {
        font-size: 23px;
        width: 118px;
        height: 58px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .espresso-form {
        padding: 20px;
    }

    .page-hero {
        padding-top: 135px;
    }

    .philosophy-image {
        height: 320px;
    }

    .philosophy-content {
        padding: 52px 18px;
    }
}
