/* Rio Buffet & Bar - carnival meets grill */
:root {
  --green: #0b5d3b;
  --green-deep: #073f28;
  --sun: #ffc61a;
  --sun-soft: #ffe27a;
  --blue: #0a4f8f;
  --blue-deep: #083a6a;
  --charcoal: #1d1f22;
  --char-2: #2a2d31;
  --sand: #fbf6ea;
  --ink: #1d1f22;
  --muted: #4a4f55;
  --white: #ffffff;
  --radius: 18px;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Copacabana promenade wave motif */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 C20 0 40 0 60 20 S100 40 120 20 V40 H0Z' fill='%231d1f22'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 900; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: var(--green); }
h3 { font-size: 1.6rem; font-weight: 800; }
p { margin: 0 0 1.1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 68ch; }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--charcoal); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--green-deep); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--sun); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--sun); }
.brand-word { font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: .9; display: flex; flex-direction: column; }
.brand-word em { font-style: normal; font-size: .85rem; letter-spacing: .18em; color: var(--sun); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--sun); border-bottom-color: var(--sun); }
.nav-toggle { display: none; background: none; border: 2px solid var(--sun); border-radius: 10px; width: 46px; height: 42px; cursor: pointer; position: relative; }
.burger, .burger::before, .burger::after { position: absolute; left: 10px; width: 22px; height: 3px; background: var(--sun); border-radius: 2px; content: ""; transition: transform .2s; }
.burger { top: 18px; } .burger::before { top: -7px; left: 0; } .burger::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-deep); flex-direction: column; align-items: stretch; padding: 12px 16px 22px; border-bottom: 4px solid var(--sun); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12) !important; font-size: 1.1rem; }
  .nav-cta { margin-top: 12px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; padding: .7em 1.4em; border-radius: 999px; text-decoration: none; border: 3px solid transparent; transition: transform .15s, box-shadow .15s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.btn-sun { background: var(--sun); color: var(--charcoal); }
.btn-sun:hover { color: var(--charcoal); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { color: var(--sun); }
.btn-dark { background: var(--charcoal); color: var(--sun); }
.btn-dark:hover { color: var(--white); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { color: var(--sun); border-color: var(--sun); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5rem; }
.center-row { justify-content: center; }

.kicker { font-family: var(--display); text-transform: uppercase; font-weight: 800; letter-spacing: .2em; font-size: 1rem; color: var(--sun); margin-bottom: .6em; }
.kicker-green { color: var(--green); }
.kicker-dark { color: var(--charcoal); }
.lede { font-size: 1.2rem; max-width: 52ch; }
.text-link { font-weight: 700; color: var(--sun); }
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--white); }

/* Wave band */
.wave-band { height: 40px; background-color: var(--sun); background-image: var(--wave); background-size: 120px 40px; background-repeat: repeat-x; background-position: bottom; }

/* Home hero */
.hero { background: var(--charcoal); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 15%, rgba(255,198,26,.28), transparent 40%),
  radial-gradient(circle at 10% 90%, rgba(10,79,143,.55), transparent 45%),
  radial-gradient(circle at 50% 50%, rgba(11,93,59,.45), transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { color: var(--white); }
.hero h1 .sun { color: var(--sun); display: inline-block; transform: rotate(-3deg); }
.hero-stack { position: relative; min-height: 440px; }
.hs-main { width: 88%; margin-left: auto; border-radius: var(--radius); border: 6px solid var(--sun); transform: rotate(2deg); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.hs-small { position: absolute; width: 52%; left: 0; bottom: 0; border-radius: var(--radius); border: 6px solid var(--green); transform: rotate(-4deg); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.badge { position: absolute; top: -18px; left: 8%; width: 120px; height: 120px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-content: center; text-align: center; font-family: var(--display); text-transform: uppercase; font-weight: 800; line-height: 1; transform: rotate(-12deg); border: 4px dashed var(--sun); font-size: 1rem; margin: 0; }
.badge span { font-size: 1.8rem; color: var(--sun); }

.ticker { background: var(--sun); color: var(--charcoal); overflow: hidden; border-block: 4px solid var(--charcoal); position: relative; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; padding: 10px 26px; white-space: nowrap; }
.ticker span::after { content: "\2605"; margin-left: 52px; color: var(--green); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Inner hero */
.page-hero { background: var(--green); color: var(--white); position: relative;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,198,26,.25), transparent 45%), radial-gradient(circle at 0% 100%, rgba(10,79,143,.6), transparent 50%); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 64px 0 52px; }
.page-hero h1 { color: var(--sun); font-size: clamp(2.8rem, 8vw, 5.6rem); }
.page-hero-slim .wrap { padding: 64px 0 48px; }
.hero-frame { margin: 0; }
.hero-frame img { border-radius: var(--radius); border: 6px solid var(--sun); transform: rotate(-2deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }

/* Sections */
.section { padding: 80px 0; }
.section-charcoal { background: var(--charcoal); color: #e9e9e9; }
.section-green { background: var(--green); color: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }
.section-sun { background: var(--sun); color: var(--charcoal); }
.section-sun h2 { color: var(--charcoal); }
.h2-light { color: var(--sun); }
.section-charcoal h3, .section-green h3, .section-blue h3 { color: var(--white); }
.section-blue a:not(.btn), .section-green a:not(.btn) { color: var(--sun-soft); }

.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.two-col.reverse { grid-template-columns: 1fr 1.15fr; }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 0 var(--charcoal); border: 3px solid var(--charcoal); }
.card-green { background: var(--green-deep); color: var(--white); }
.card-green h3 { color: var(--sun); }
.card-green a { color: var(--sun-soft); }
.card-sun { background: var(--sun); }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin-bottom: .8em; }
.steps li::marker { font-family: var(--display); font-weight: 900; color: var(--sun); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 32px; }
.tiles-text { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile { background: var(--char-2); border-radius: var(--radius); overflow: hidden; border-top: 6px solid var(--sun); }
.tile:nth-child(2) { border-top-color: var(--green); }
.tile:nth-child(3) { border-top-color: #3d8de0; }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tile-body { padding: 24px; }
.tiles-text .tile-body { background: rgba(0,0,0,.18); border-radius: var(--radius); border-left: 6px solid var(--sun); }

.photo-tilt { margin: 0; }
.photo-tilt img { border-radius: var(--radius); border: 6px solid var(--white); box-shadow: 12px 12px 0 var(--blue); transform: rotate(1.5deg); }
.reverse .photo-tilt img { box-shadow: -12px 12px 0 var(--green); transform: rotate(-1.5deg); }
.photo-tilt figcaption { font-size: .9rem; color: var(--muted); margin-top: 18px; font-style: italic; }
.section-charcoal .photo-tilt figcaption { color: #c9c9c9; }

.menu-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.menu-list li { padding: 10px 0 10px 28px; border-bottom: 2px dotted rgba(0,0,0,.18); position: relative; }
.menu-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 8px; border-radius: 8px 8px 0 0; background: var(--sun); box-shadow: 0 2px 0 var(--green); }
.card-green .menu-list li, .section-green .menu-list li { border-bottom-color: rgba(255,255,255,.2); }

.skewers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.skewers div { background: var(--white); border: 3px solid var(--charcoal); border-radius: 14px; padding: 20px; position: relative; }
.skewers div::before { content: ""; display: block; height: 6px; width: 60%; background: linear-gradient(90deg, var(--charcoal) 0 20%, var(--sun) 20% 100%); border-radius: 6px; margin-bottom: 14px; }
.skewers h3 { color: var(--green); font-size: 1.5rem; margin-bottom: .3em; }
.skewers p { margin: 0; font-size: .97rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0; }
.price-grid h3 { color: var(--green); }
.see { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--blue); font-size: 1.2rem; letter-spacing: .05em; margin: 0; }
.note { font-size: .95rem; color: var(--muted); max-width: 75ch; }
.section-green .note, .section-charcoal .note { color: #d7d7d7; }

.faq { display: grid; gap: 14px; margin-top: 24px; max-width: 860px; }
.faq details { background: var(--white); border: 3px solid var(--charcoal); border-radius: 14px; padding: 16px 22px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; }
.faq details p { margin: 12px 0 0; }

/* Hours */
.hours { list-style: none; padding: 0; margin: 0 0 1em; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.hours-dark li { border-bottom-color: rgba(0,0,0,.15); }
.hours-dark li span:last-child { font-weight: 700; color: var(--green); text-align: right; }

/* Form */
.form-card p { color: #e6efe9; }
.form { display: grid; gap: 6px; }
.form label { font-weight: 600; margin-top: 10px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; border: 2px solid transparent; background: var(--sand); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sun); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form button { margin-top: 18px; justify-self: start; }


/* Footer */
.site-footer { background: var(--charcoal); color: #d9d9d9; }
.site-footer .wave-band { background-color: var(--sand); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 0 32px; }
.foot-brand { font-family: var(--display); font-weight: 900; font-size: 2.2rem; color: var(--sun); text-transform: uppercase; margin-bottom: .3em; line-height: 1; }
.foot-head { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--white); }
.site-footer a { color: var(--sun); }
.site-footer a:hover { color: var(--white); }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 6px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: .9rem; }
.foot-base p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .two-col, .two-col.reverse, .split-cta { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .skewers { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-stack { min-height: 0; padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .tiles, .skewers, .foot-grid, .form-row { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 48px; }
  .badge { width: 92px; height: 92px; font-size: .8rem; top: -24px; }
  .badge span { font-size: 1.3rem; }
  .hs-small { width: 60%; }
  .card { padding: 22px; }
  .brand-word { font-size: 1.7rem; }
}
