/* =========================================================
   BrewWorks India - Theme (change colours/fonts here)
   ========================================================= */
:root {
  --c-primary: #8b5a2b;
  --c-primary-dark: #5e3a1a;
  --c-accent: #d4a373;
  --c-dark: #1e1612;
  --c-text: #3a302a;
  --c-muted: #7a6e66;
  --c-bg: #ffffff;
  --c-bg-alt: #faf6f1;
  --c-border: #eadfd3;
  --c-wa: #25d366;
  --f-head: "Playfair Display", Georgia, serif;
  --f-body: "Poppins", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 22, 18, 0.08);
  --shadow-lg: 0 24px 50px rgba(30, 22, 18, 0.18);
  --container: 1200px;
  --header-h: 78px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--c-text); background: var(--c-bg); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
/* clip (unlike hidden) keeps the sticky header working; Safari 16+ / modern browsers */
@supports (overflow: clip) { body { overflow-x: clip; } }
/* Scroll lock used when the menu / popups are open (works on iOS Safari) */
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, a, li, dd, strong { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-dark); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.muted { color: var(--c-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--c-dark); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 500; font-size: .95rem; transition: all .25s ease; border: 2px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--c-primary); color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary-dark); }
.btn--light:hover { background: var(--c-accent); color: var(--c-dark); }
.btn--outline-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--c-primary-dark); }
.btn--sm { padding: 9px 18px; font-size: .84rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.link-arrow { color: var(--c-primary); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== Top bar ===== */
.topbar { background: var(--c-dark); color: #d9cfc6; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: var(--c-accent); }

/* ===== Header ===== */
/* Blur lives on a pseudo element: a backdrop-filter on .header itself would trap the fixed mobile menu inside the header */
.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--c-border); transition: box-shadow .3s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.nav__backdrop { display: none; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo__mark circle { fill: var(--c-primary); }
.logo__text { font-family: var(--f-head); font-size: 1.45rem; color: var(--c-dark); line-height: 1; }
.logo__text strong { color: var(--c-primary); }
.logo__text small { display: block; font-family: var(--f-body); font-size: .62rem; letter-spacing: 5px; color: var(--c-muted); margin-top: 4px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text strong { color: var(--c-accent); }
.logo--light .logo__text small { color: #b7a99c; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { display: flex; gap: 4px; align-items: center; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font-size: .92rem; font-weight: 500; border-radius: 8px; transition: color .2s; }
.nav__link:hover { color: var(--c-primary); }
.caret { font-size: .7rem; transition: transform .2s; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .9rem; }
.dropdown a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
@media (hover: hover) and (min-width: 1101px) {
  .nav__item--dropdown:hover .dropdown, .nav__item--dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__item--dropdown:hover .caret { transform: rotate(180deg); }
}
.nav__item--dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.hamburger span { display: block; height: 2px; background: var(--c-dark); border-radius: 2px; transition: .3s; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; padding: 90px 0 120px; background-color: var(--c-dark); background-size: cover; background-position: center; color: #f3e9dd; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,13,9,.92) 0%, rgba(20,13,9,.75) 45%, rgba(20,13,9,.3) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 640px; }
.breadcrumb { font-size: .82rem; color: #c9b9aa; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { margin: 0 4px; }
.hero__pill { display: inline-block; font-size: .78rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(212,163,115,.6); color: var(--c-accent); padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--c-accent); display: block; }
.hero__lead { font-size: 1.12rem; color: #e2d6cb; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: #e2d6cb; }
.hero__scroll { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 1; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

/* ===== Stats ===== */
.stats { position: relative; z-index: 2; margin-top: -55px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--c-border); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-family: var(--f-head); font-size: 2.3rem; color: var(--c-primary); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--c-muted); }

/* ===== Brands strip ===== */
.brands { padding: 50px 0 34px; overflow: hidden; }
.brands__title { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--c-muted); margin-bottom: 18px; }
.brands__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__row { display: flex; gap: 70px; width: max-content; animation: marquee 28s linear infinite; }
.brands__row span { font-family: var(--f-head); font-size: 1.45rem; color: #b7a99c; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--c-bg-alt); }
.section--image { position: relative; background-color: var(--c-dark); background-size: cover; background-position: center; background-attachment: fixed; color: #e2d6cb; }
.section--image::before { content: ""; position: absolute; inset: 0; background: rgba(20,13,9,.86); }
.section--image > .container { position: relative; z-index: 1; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section__head p { color: var(--c-muted); }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: #d9cfc6; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-primary); background: rgba(139,90,43,.1); padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }
.section--image .eyebrow, .eyebrow--light { color: var(--c-accent); background: rgba(212,163,115,.15); }

/* ===== Cafe type cards ===== */
.cafe-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cafe-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.cafe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cafe-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.cafe-card:hover img { transform: scale(1.06); }
.cafe-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; background: #fff; position: relative; }
.cafe-card__vol { font-size: .74rem; font-weight: 600; color: var(--c-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.cafe-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.cafe-card p { font-size: .87rem; color: var(--c-muted); flex: 1; }
.compare { margin-top: 36px; }
.compare summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--c-primary); list-style: none; padding: 12px; border: 1px dashed var(--c-accent); border-radius: 50px; max-width: 320px; margin: 0 auto; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: " \25BE"; }
.compare[open] summary::after { content: " \25B4"; }
.compare .table-wrap { margin-top: 24px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 620px; }
.data-table th, .data-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--c-border); }
.data-table th { background: var(--c-primary); color: #fff; font-weight: 500; font-size: .92rem; }
.data-table tbody tr:hover { background: var(--c-bg-alt); }
.data-table td:first-child { font-weight: 500; color: var(--c-dark); }

/* ===== Toolbar ===== */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { padding: 10px 20px; border-radius: 50px; border: 1px solid var(--c-border); background: #fff; font-size: .88rem; font-weight: 500; transition: .2s; }
.tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.tab.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.search input { width: 260px; padding: 11px 18px 11px 42px; border-radius: 50px; border: 1px solid var(--c-border); font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */ -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a6e66' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center; }
.search input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(139,90,43,.15); }

/* ===== Products ===== */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 26px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; animation: fadeUp .45s ease both; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__media { position: relative; display: block; width: 100%; overflow: hidden; background: var(--c-bg-alt); }
.product__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.product:hover .product__media img { transform: scale(1.07); }
.product__tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--c-primary); font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; }
.product__quick { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 20px); opacity: 0; z-index: 2; background: var(--c-dark); color: #fff; font-size: .8rem; padding: 7px 16px; border-radius: 50px; transition: .3s; }
.product:hover .product__quick, .product__media:focus-visible .product__quick { opacity: 1; transform: translate(-50%, 0); }
.product__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product__brand { font-size: .74rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-muted); margin-bottom: 4px; }
.product__body h3 { font-size: 1.2rem; margin-bottom: 12px; }
.product__specs { font-size: .85rem; margin-bottom: 18px; flex: 1; }
.product__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--c-border); color: var(--c-dark); }
.product__specs li span { color: var(--c-muted); }
.product__footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product__price { font-weight: 600; color: var(--c-dark); font-size: .95rem; margin: 0; }
.product__price small { display: block; font-weight: 400; color: var(--c-muted); font-size: .72rem; }
.empty { text-align: center; color: var(--c-muted); padding: 40px 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== Buying guide ===== */
.guide { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.guide__media { position: relative; }
.guide__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.guide__badge { position: absolute; right: 20px; bottom: 30px; background: var(--c-primary); color: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.guide__badge strong { display: block; font-family: var(--f-head); font-size: 1.8rem; line-height: 1; }
.guide__badge span { font-size: .8rem; }
.steps { display: grid; gap: 14px; margin-top: 24px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); transition: .3s; border: 1px solid transparent; }
.step:hover { background: var(--c-bg-alt); border-color: var(--c-border); }
.step__num { font-family: var(--f-head); font-size: 1.8rem; color: var(--c-accent); line-height: 1; min-width: 44px; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--c-muted); margin: 0; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: .3s; }
.feature:hover { background: rgba(255,255,255,.07); border-color: var(--c-accent); transform: translateY(-4px); }
.feature__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,163,115,.18); font-size: 1.6rem; margin-bottom: 18px; }
.feature h3 { color: #fff; }
.feature p { font-size: .92rem; margin: 0; color: #d9cfc6; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 36px 26px 30px; text-align: center; transition: .3s; display: flex; flex-direction: column; background: #fff; }
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-card__icon { font-size: 1.8rem; margin-bottom: 10px; }
.price-card h3 { font-size: 1.12rem; }
.price-card__range { font-family: var(--f-head); font-size: 1.7rem; color: var(--c-primary); font-weight: 700; }
.price-card ul { font-size: .88rem; color: var(--c-muted); margin-bottom: 24px; flex: 1; }
.price-card li { padding: 6px 0; border-bottom: 1px dashed var(--c-border); }
.price-card li:last-child { border-bottom: none; }
.price-card .btn { align-self: center; }
.price-card--featured { background: linear-gradient(160deg, var(--c-primary), var(--c-primary-dark)); border-color: transparent; color: #f3e9dd; transform: scale(1.04); box-shadow: var(--shadow-lg); }
.price-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card--featured h3, .price-card--featured .price-card__range { color: #fff; }
.price-card--featured ul { color: #f3e9dd; }
.price-card--featured li { border-color: rgba(255,255,255,.2); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: var(--c-dark); font-size: .7rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }

/* ===== Maintenance ===== */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.split__media { position: relative; padding: 0 60px 60px 0; }
.split__img { border-radius: var(--radius); object-fit: cover; }
.split__img--main { width: 100%; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split__img--float { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.care-tabs { display: inline-flex; background: #fff; border-radius: 50px; padding: 5px; box-shadow: var(--shadow); margin: 10px 0 20px; }
.care-tab { padding: 9px 22px; border-radius: 50px; font-size: .9rem; font-weight: 500; transition: .2s; }
.care-tab.is-active { background: var(--c-primary); color: #fff; }
.care-panel { animation: fadeUp .35s ease both; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--c-border); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(139,90,43,.12); color: var(--c-primary); font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.highlight { background: #fff; border-left: 4px solid var(--c-accent); padding: 14px 18px; border-radius: 8px; margin: 24px 0; font-size: .95rem; }

/* ===== Why us ===== */
.why-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.why__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--c-bg-alt); transition: .3s; }
.why__item:hover { background: #fff; box-shadow: var(--shadow); }
.why__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.why__item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why__item p { font-size: .86rem; color: var(--c-muted); margin: 0; }
.why-wrap__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: rgba(30,22,18,.45); opacity: 0; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ===== Testimonials ===== */
.slider { max-width: 820px; margin: 0 auto; overflow: hidden; }
.slider__track { display: flex; transition: transform .5s ease; }
.testimonial { flex: 0 0 100%; margin: 0; padding: 44px; text-align: center; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stars { color: var(--c-accent); font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 16px; }
.testimonial p { font-family: var(--f-head); font-size: 1.35rem; color: #fff; font-style: italic; }
.testimonial footer { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: var(--c-dark); display: grid; place-items: center; font-weight: 600; }
.testimonial footer strong { display: block; color: #fff; }
.testimonial footer span { font-size: .85rem; color: #c9b9aa; }
.slider__controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.1rem; transition: .2s; }
.slider__btn:hover { background: var(--c-accent); color: var(--c-dark); border-color: var(--c-accent); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); transition: .25s; }
.slider__dots button.is-active { background: var(--c-accent); width: 28px; border-radius: 10px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .3s; }
.faq__item.is-open { box-shadow: var(--shadow); border-color: var(--c-accent); }
.faq__q { width: 100%; text-align: left; padding: 20px 56px 20px 24px; font-weight: 500; color: var(--c-dark); position: relative; font-size: 1rem; }
.faq__q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg-alt); display: grid; place-items: center; font-size: 1.2rem; color: var(--c-primary); transition: transform .3s; }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); background: var(--c-primary); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 24px 20px; margin: 0; color: var(--c-muted); }

/* ===== Contact CTA ===== */
.cta { position: relative; padding: 90px 0; background-color: var(--c-primary-dark); background-size: cover; background-position: center; color: #f3e9dd; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(94,58,26,.95), rgba(30,22,18,.88)); }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #e2d6cb; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); transition: .25s; }
.contact-card:hover { background: #fff; color: var(--c-dark); transform: translateX(6px); }
.contact-card > span { font-size: 1.5rem; width: 50px; height: 50px; border-radius: 50%; background: rgba(212,163,115,.25); display: grid; place-items: center; flex-shrink: 0; }
.contact-card small { display: block; font-size: .78rem; opacity: .8; }
.contact-card strong { font-weight: 600; word-break: break-word; }

/* ===== Footer ===== */
.footer { background: var(--c-dark); color: #b7a99c; padding-top: 70px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__col--brand p { margin: 18px 0; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--c-accent); }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); font-size: .75rem; font-weight: 600; transition: .2s; }
.social a:hover { background: var(--c-accent); color: var(--c-dark); border-color: var(--c-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ===== Floating buttons ===== */
.float-actions { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.25rem; box-shadow: var(--shadow-lg); transition: transform .25s, opacity .3s, visibility .3s; }
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: var(--c-wa); animation: pulse 2.4s infinite; }
.float-btn--call { background: var(--c-primary); }
.float-btn--top { background: var(--c-dark); opacity: 0; visibility: hidden; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ===== Product modal ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,13,9,.7); opacity: 0; transition: opacity .25s; }
.modal__dialog { position: relative; background: #fff; border-radius: var(--radius); max-width: 900px; width: 100%; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.98); transition: .25s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.modal__body { padding: 36px 32px; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 1.5rem; line-height: 1; }
.spec-table { margin: 18px 0 26px; }
.spec-table div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: .92rem; }
.spec-table dt { color: var(--c-muted); }
.spec-table dd { margin: 0; font-weight: 500; color: var(--c-dark); text-align: right; }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(15,10,7,.92); display: grid; place-items: center; padding: 30px; opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); cursor: default; }
.lightbox__close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 2.4rem; line-height: 1; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .cafe-cards { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile / tablet / small laptop menu */
@media (max-width: 1100px) {
  .hamburger { display: flex; flex-shrink: 0; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); right: 0; bottom: 0; z-index: 101;
    width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
    box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden;
    transition: transform .35s ease, visibility .35s; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__backdrop { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); background: rgba(20,13,9,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 99; }
  .nav__backdrop.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--c-border); border-radius: 0; font-size: 1rem; }
  .dropdown { position: static; box-shadow: none; padding: 0 0 0 12px; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none; transition: max-height .3s; min-width: 0; }
  .nav__item--dropdown.is-open .dropdown { max-height: 300px; }
  .nav__item--dropdown.is-open .caret { transform: rotate(180deg); }
  .nav__cta { width: 100%; }
}

/* Touch devices: iOS ignores fixed backgrounds, and hover effects stick after tapping */
@media (hover: none) {
  .section--image { background-attachment: scroll; }
  .product__quick { display: none; }
  .product:hover, .cafe-card:hover, .price-card:hover, .feature:hover { transform: none; }
  .product:hover .product__media img, .cafe-card:hover img, .gallery__item:hover img { transform: none; }
  .gallery__item::after { display: none; }
}

@media (max-width: 992px) {
  .guide, .split, .why-wrap, .cta__inner { grid-template-columns: 1fr; gap: 44px; }
  .guide__media img, .why-wrap__media img { aspect-ratio: 16 / 10; }
  .guide__badge { right: 16px; }
  .why-wrap__media { order: -1; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-border); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .section--image { background-attachment: scroll; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .toolbar { flex-direction: column; align-items: stretch; }
  /* min-width:0 stops the tab row from stretching to its content width (caused sideways scroll on phones) */
  .toolbar > * { min-width: 0; width: 100%; max-width: 100%; }
  .search { display: block; }
  .search input { width: 100%; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 14px; font-size: .75rem; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__text { font-size: 1.25rem; }
  .section { padding: 68px 0; }
  .hero { min-height: 560px; padding: 60px 0 110px; }
  .hero::before { background: linear-gradient(180deg, rgba(20,13,9,.85), rgba(20,13,9,.75)); }
  .hero__actions .btn { flex: 1; }
  .hero__scroll { display: none; }
  .stat strong { font-size: 1.8rem; }
  .cafe-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cafe-card__body { padding: 14px; }
  .cafe-card p { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .features, .why, .pricing, .footer__grid { grid-template-columns: 1fr; }
  .split__media { padding: 0 30px 40px 0; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .testimonial { padding: 30px 22px; }
  .testimonial p { font-size: 1.1rem; }
  .modal__body { padding: 26px 22px; }
  .float-actions { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero h1 em { display: inline; }
  .btn { white-space: normal; text-align: center; }
  .stats { margin-top: -40px; }
  .stat { padding: 20px 10px; }
  .guide__badge { right: 12px; bottom: 12px; padding: 14px 16px; }
  .guide__badge strong { font-size: 1.4rem; }
  .split__img--float { border-width: 4px; }
  .price-card { padding: 32px 22px 26px; }
  .care-tabs { display: flex; width: 100%; }
  .care-tab { flex: 1; padding: 9px 8px; }
  .why__item { padding: 16px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .slider__controls { gap: 12px; }
  .cta { padding: 70px 0; }
  .contact-card { padding: 14px 16px; }
  .contact-card:hover { transform: none; }
  .footer { padding-top: 54px; }
  .footer__bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-height: 92dvh; border-radius: var(--radius) var(--radius) 0 0; }
  .modal__body { padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .modal__actions .btn { flex: 1; }
}

/* Very small phones (iPhone SE / mini, 320–375px) */
@media (max-width: 400px) {
  .topbar__links a[href^="mailto"] { display: none; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero__lead { font-size: 1rem; }
  .hero__trust { font-size: .82rem; gap: 6px 16px; }
  .cafe-cards { grid-template-columns: 1fr; }
  .cafe-card { flex-direction: row; }
  .cafe-card img { width: 38%; aspect-ratio: auto; height: auto; object-fit: cover; }
  .product__footer { flex-direction: column; align-items: stretch; text-align: center; }
  .split__media { padding: 0 20px 30px 0; }
  .testimonial p { font-size: 1rem; }
}

/* Phones in landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 50px 0 90px; }
  .nav { padding-top: 12px; }
  .modal__dialog { max-height: 96dvh; }
}
