/* Tap&Eat — public site. Plain CSS + a little JS, no build step. */
@font-face { font-family: "Onest"; src: url("fonts/Onest-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --red: #f0301a; --mustard: #ffe12a; --ink: #1f1e1d; --night: #130a09;
  --bun: #f6f4f1; --muted: #6b6965; --line: #e9e7e4;
  --peach: #ffe6d3; --mint: #e3f6e5; --lav: #ece6fb; --sky: #e3ecff;
  --r: 28px; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 "Onest", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
h1 { font-size: clamp(40px, 5.6vw, 78px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 520px; }
.sec { padding: 96px 0; }
@media (max-width: 700px) { .sec { padding: 64px 0; } }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }

/* Nav: the floating glass pill (kept) */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 20; width: min(1100px, 100% - 32px);
  display: flex; align-items: center; gap: 20px; padding: 10px 12px 10px 24px; color: #fff;
  background: rgba(31,30,29,.8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; transition: background .3s, color .3s; }
.nav.solid { background: rgba(255,255,255,.86); color: var(--ink); border-color: rgba(0,0,0,.08); }
.logo { font: 700 28px/1 "Barlow Condensed", sans-serif; display: inline-flex; align-items: center; gap: 3px; }
.logo i { width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); color: var(--red); display: grid; place-items: center; font-style: normal; font-size: 19px; }
.nav nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav nav a { font: 400 14.5px/1 "Onest"; padding: 12px 14px; border-radius: 999px; opacity: .9; }
.nav nav a:hover { background: rgba(255,255,255,.14); opacity: 1; }
.nav.solid nav a:hover { background: rgba(0,0,0,.06); }
.nav .go { background: var(--mustard); color: var(--ink); opacity: 1; font-weight: 500; }
.nav.solid .go { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .nav nav a:not(.go) { display: none; } }

/* Buttons + stores */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn.yellow { background: var(--mustard); color: var(--ink); }
.btn.red { background: var(--red); }
.btn.line { background: transparent; border: 2px solid currentColor; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.15; }
.store i { font-size: 28px; } .store b { display: block; font-size: 16px; font-weight: 500; }
.store:hover { transform: translateY(-2px); }

/* Hero: a full-bleed red-to-amber gradient, the promise in white, a dark
   address pill, a big round photo bleeding off the right edge. */
.hero { background: linear-gradient(135deg, #f0301a 0%, #f2521b 55%, #ffa51f 100%); color: #fff; padding: 150px 0 0; overflow: hidden; min-height: 760px; position: relative; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 560px; }
.hero h1 { font-weight: 700; font-size: clamp(42px, 5.6vw, 80px); }
.hero h1 span { color: var(--mustard); display: block; font-size: .56em; margin-top: 18px; font-weight: 600; letter-spacing: -.02em; }
.hero .lead { color: rgba(255,255,255,.92); margin: 22px 0 30px; }
.finder { display: flex; gap: 6px; background: rgba(31,30,29,.92); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px; max-width: 560px; }
.finder .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px; color: rgba(255,255,255,.62); }
.finder .field i { color: var(--mustard); font-size: 22px; }
.finder .btn { background: var(--mustard); color: var(--ink); }
.hero small { display: block; margin-top: 16px; color: rgba(255,255,255,.85); font-size: 15px; }
.hero .art { position: relative; height: 600px; }
.hero .photo { position: absolute; right: -140px; top: 10px; width: 640px; height: 640px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 40px 80px rgba(80,10,0,.35); }
.hero .photo.s { width: 180px; height: 180px; right: 420px; top: 440px; right: auto; left: 10px; border: 8px solid #fff2; }
.hero .phone { position: absolute; left: 30px; bottom: -80px; transform: rotate(-4deg); }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 20px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.2); font-weight: 500; font-size: 15px; }
.float i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #0b7a3e; font-size: 22px; }
.float small { display: block; margin: 0; font-weight: 400; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .hero .grid { grid-template-columns: 1fr; } .hero .art { height: 420px; } .hero .photo { width: 420px; height: 420px; right: -80px; } .hero .photo.s { display: none; } }

.phone { width: 250px; border: 9px solid #111; border-radius: 42px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.28); flex: none; }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* Dark "how it works": three big icons */
.dark { background: #1f1e1d; color: #fff; }
.dark .kick { text-align: center; font-size: 22px; opacity: .9; }
.dark h2 { text-align: center; font-size: clamp(36px, 5vw, 64px); font-weight: 700; color: var(--mustard); margin-top: 6px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; text-align: center; }
.how i { font-size: 84px; color: var(--mustard); display: block; margin-bottom: 22px; }
.how h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.how p { color: rgba(255,255,255,.72); max-width: 300px; margin-inline: auto; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; gap: 44px; } }

/* App band: pale blue, title left, phone bleeding off the bottom */
.appband { background: #dbe8f5; overflow: hidden; }
.appband .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.appband h2 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 700; }
.appband .sub { font-size: 24px; font-weight: 600; margin: 18px 0 30px; }
.appband .art { display: flex; justify-content: center; align-self: end; height: 480px; overflow: hidden; }
.appband .art .phone { margin-top: 40px; }
@media (max-width: 900px) { .appband .grid { grid-template-columns: 1fr; } }

/* "Best place": three white cards */
.best h2 { text-align: center; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; }
.best h2 span { color: var(--red); }
.best .eyebrow { text-align: center; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.c3 { background: #fff; border-radius: var(--r); padding: 34px 30px 38px; text-align: center; }
.c3 > i { font-size: 44px; color: var(--red); }
.c3 h3 { margin: 14px 0 18px; font-weight: 700; }
.c3 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; text-align: left; }
.c3 li { display: flex; gap: 10px; color: #3d3b38; } .c3 li i { color: var(--red); margin-top: 3px; flex: none; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* Categories rail */
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 132px; text-align: center; scroll-snap-align: start; font-weight: 500; font-size: 16px; }
.cat span { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--bun); font-size: 46px; margin-bottom: 12px; transition: transform .3s; }
.cat:hover span { transform: scale(1.05); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 34px; margin-bottom: 22px; }
.step:nth-child(1) i { background: var(--peach); color: #c2410c; } .step:nth-child(2) i { background: var(--lav); color: #5b21b6; } .step:nth-child(3) i { background: var(--mint); color: #0b7a3e; }
.step p { margin-top: 10px; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Offer banners */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; background: var(--bun); transition: transform .3s; }
.offer:hover { transform: translateY(-4px); }
.offer .im { aspect-ratio: 4/3; background-size: cover; background-position: center; position: relative; }
.offer .tag { position: absolute; left: 16px; top: 16px; background: var(--red); color: #fff; border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 500; }
.offer .tag.y { background: var(--mustard); color: var(--ink); }
.offer .tx { padding: 22px 24px 26px; } .offer .tx p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; } }

/* Feature splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; border-radius: 40px; padding: 64px; }
.split.peach { background: var(--peach); } .split.lav { background: var(--lav); }
.split.flip .art { order: -1; }
.split .art { display: flex; justify-content: center; }
.split ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; } .split li i { font-size: 24px; color: var(--red); flex: none; margin-top: 2px; }
.split + .split { margin-top: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; padding: 32px 24px; gap: 36px; } .split.flip .art { order: 0; } }

/* Partner cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.partner { border-radius: 36px; padding: 44px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; overflow: hidden; }
.partner.a { background: var(--mint); } .partner.b { background: var(--sky); }
.partner p { max-width: 340px; color: #3d4b43; }
.partner .btn { margin-top: auto; }
.partner .pic { position: absolute; right: -30px; bottom: -30px; width: 52%; aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .partner { min-height: 360px; padding: 30px; } }

/* App band */
.app { background: var(--bun); border-radius: 40px; padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.app .stores { margin-top: 26px; } .app .lead { margin-top: 16px; }
.app .art { display: flex; justify-content: center; gap: 16px; align-items: flex-end; height: 380px; }
.app .art .phone { transform: translateY(80px); }
.app .art .phone + .phone { transform: translateY(30px) rotate(3deg); }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; padding: 32px 24px; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; font-size: 26px; line-height: 1; color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 12px; max-width: 640px; }

/* Pricing (restaurants page) */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { background: var(--bun); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; }
.plan.pop { background: var(--ink); color: #fff; }
.plan h3 { font-size: 26px; } .plan .price { font-weight: 300; font-size: 50px; letter-spacing: -.04em; line-height: 1; margin-top: 16px; } .plan .price small { font-size: 15px; letter-spacing: 0; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; } .plan li i { color: var(--red); margin-top: 3px; } .plan.pop li i { color: var(--mustard); }
.tagline { font-size: 15px; opacity: .7; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 720px; }
.points li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.points i { font-size: 28px; color: var(--red); flex: none; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--bun); padding: 72px 0 40px; font-size: 15px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { margin: 0 0 14px; color: var(--ink); font-size: 15px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .logo { color: var(--ink); margin-bottom: 14px; }
footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

.faqdark { background: #1f1e1d; color: #fff; }
.faqdark h2 { text-align: center; font-weight: 700; margin-bottom: 36px; }
.faqdark .faq details { border-color: rgba(255,255,255,.14); } .faqdark .faq p { color: rgba(255,255,255,.7); } .faqdark .faq summary::after { color: var(--mustard); }
.best { background: var(--bun); }
.appband .art { height: 520px; align-items: flex-start; } .appband .art .phone { margin-top: 70px; }

/* Phone: real iPhone frame (transparent PNG) over the screenshot */
.phone { position: relative; width: 270px; aspect-ratio: 601 / 1219; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; filter: drop-shadow(0 28px 36px rgba(0,0,0,.28)); }
.phone img { position: absolute; left: 5.3%; top: 2.2%; width: 89.7%; height: 95.5%; aspect-ratio: auto; object-fit: cover; object-position: top; border-radius: 9% / 4.5%; }
.phone::after { content: ""; position: absolute; inset: 0; background: url(iphone.png) center / 100% 100% no-repeat; pointer-events: none; }
.hero .photo { display: none; }
.hero .art { display: flex; justify-content: center; align-items: flex-end; }
.hero .phone { position: relative; left: auto; bottom: -70px; width: 330px; transform: rotate(-4deg); }
.hero .float { right: 4%; top: 60px; }
.appband .art .phone { margin-top: 60px; width: 290px; }
.hero { min-height: 0; } .hero .grid { grid-template-columns: 1fr; min-height: 0; }
.hero .grid { grid-template-columns: 1.05fr 1fr; }
.hero .dish { width: 640px; max-width: none; justify-self: end; margin: 0 -60px -90px 0; filter: drop-shadow(0 30px 40px rgba(60,10,0,.35)); transform: rotate(-6deg); }
@media (max-width: 960px) { .hero .grid { grid-template-columns: 1fr; } .hero .dish { width: 380px; justify-self: center; margin: 0 0 -60px; } }
.hero .grid { grid-template-columns: 1.25fr 1fr; }
.hero .dish { width: 560px; margin: 0 -70px -70px 0; }
.hero .grid > div { max-width: none !important; }

/* Cutout dishes */
.hero .dishes { position: relative; height: 520px; }
.hero .dish { position: absolute; right: -30px; top: 0; width: 470px; margin: 0; transform: rotate(-6deg); }
.hero .d2 { position: absolute; left: 0; bottom: 10px; width: 270px; filter: drop-shadow(0 22px 28px rgba(60,10,0,.35)); transform: rotate(5deg); }
.hero .d3 { position: absolute; right: 120px; bottom: -40px; width: 200px; filter: drop-shadow(0 20px 26px rgba(60,10,0,.35)); transform: rotate(14deg); }
@media (max-width: 960px) { .hero .dishes { height: 380px; } .hero .dish { width: 320px; right: 0; } .hero .d2 { width: 180px; } .hero .d3 { width: 130px; right: 60px; } }
.cat span { background-image: none !important; width: 112px; height: 112px; font-size: 42px; color: var(--ink); }
.cat { width: 112px; }
.offer { position: relative; background: var(--bun); padding-top: 20px; }
.offer.peach { background: var(--peach); } .offer.mint { background: var(--mint); } .offer.lav { background: var(--lav); }
.offer > img { width: 78%; margin: 24px auto 4px; display: block; aspect-ratio: 1.2; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.2)); transition: transform .4s; }
.offer:hover > img { transform: scale(1.06) rotate(-3deg); }
.offer .tx { background: none; }
.partner .pic { aspect-ratio: auto; border-radius: 0; width: 56%; right: -40px; bottom: -20px; filter: drop-shadow(0 18px 22px rgba(0,0,0,.2)); transform: rotate(-8deg); }

/* ===== Deliveroo-like layout ===== */
.dhero { background: #f3f3f1; position: relative; overflow: hidden; padding: 150px 0 110px; min-height: 640px; display: grid; place-items: center; }
.dhero-shape { position: absolute; inset: 0; background: linear-gradient(135deg, #f0301a, #f2521b 60%, #ffa51f); clip-path: polygon(0 0, 58% 0, 30% 100%, 0 100%); }
.dh-in { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.dh-in h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; color: var(--ink); max-width: 640px; margin: 0 auto 30px; letter-spacing: -.02em; line-height: 1.1; }
.dh-card { background: #fff; border-radius: 20px; padding: 26px 28px 20px; width: min(560px, 100%); margin: 0 auto; text-align: left; box-shadow: 0 18px 50px rgba(0,0,0,.12); }
.dh-card label { font-weight: 500; font-size: 15px; display: block; margin-bottom: 12px; }
.dh-search { display: flex; align-items: center; gap: 12px; border: 1px solid #e3e1dd; border-radius: 999px; padding: 6px 6px 6px 18px; color: var(--muted); text-decoration: none; }
.dh-search i { font-size: 20px; color: var(--ink); } .dh-search span { flex: 1; }
.dh-search b { background: var(--red); color: #fff; font-weight: 500; border-radius: 999px; padding: 12px 26px; }
.dh-card small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }
.dh-l, .dh-r { position: absolute; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0,0,0,.25)); }
.dh-l { width: 400px; left: -130px; bottom: -70px; transform: rotate(-12deg); }
.dh-r { width: 420px; right: -150px; top: 130px; transform: rotate(8deg); }
@media (max-width: 1000px) { .dh-l, .dh-r { width: 240px; opacity: .9; } .dh-l { left: -90px; } .dh-r { right: -90px; } .dhero-shape { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 70%); } }

.dsec { padding: 64px 0; }
.dapp { background: #fff; border-radius: 24px; box-shadow: 0 8px 40px rgba(0,0,0,.07); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; align-items: center; }
.dapp > div:first-child { padding: 44px; }
.dapp h2 { font-size: 30px; font-weight: 600; margin-bottom: 12px; } .dapp p { color: #55524e; margin-bottom: 24px; max-width: 420px; }
.dmap { height: 100%; min-height: 260px; overflow: hidden; background: #e9eef2; } .dmap img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 800px) { .dapp { grid-template-columns: 1fr; } }

.dband { background: linear-gradient(160deg, #f0301a, #f2521b 70%, #ff8a1f); color: #fff; text-align: center; padding: 90px 24px 0; overflow: hidden; position: relative; }
.dband h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 600; line-height: 1.05; }
.dband p { max-width: 520px; margin: 22px auto 10px; font-size: 18px; opacity: .95; }
.dband small { display: block; opacity: .8; font-size: 13px; }
.dstrip { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-top: 40px; height: 210px; overflow: hidden; }
.dstrip img { width: 250px; flex: none; margin-bottom: -50px; filter: drop-shadow(0 18px 22px rgba(0,0,0,.28)); }
.dstrip img:nth-child(even) { transform: rotate(8deg) translateY(10px); } .dstrip img:nth-child(odd) { transform: rotate(-6deg); }

.dh2 { text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin-bottom: 44px; }
.how2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.how2 i { font-size: 56px; color: var(--red); display: block; margin-bottom: 14px; }
.how2 h3 { font-weight: 600; font-size: 21px; margin-bottom: 8px; } .how2 p { color: #55524e; max-width: 300px; margin: 0 auto; }
@media (max-width: 800px) { .how2 { grid-template-columns: 1fr; } }

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tri article { display: flex; flex-direction: column; }
.ph3 { border-radius: 18px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; margin-bottom: 20px; }
.ph3 img { width: 74%; filter: drop-shadow(0 16px 20px rgba(0,0,0,.22)); transition: transform .4s; } .tri article:hover .ph3 img { transform: scale(1.07) rotate(-3deg); }
.tri h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; } .tri p { color: #55524e; margin-bottom: 18px; flex: 1; }
.dbtn { align-self: flex-start; background: var(--red); color: #fff; padding: 11px 24px; border-radius: 10px; font-weight: 500; text-decoration: none; }
@media (max-width: 800px) { .tri { grid-template-columns: 1fr; } }
.dmap { height: 280px; min-height: 0; position: relative; } .dmap img { position: absolute; inset: 0; }
.dapp > div:first-child { align-self: center; }
