/* cebunativechicken.ph (same design system as cebupiglets.ph) — one stylesheet, no frameworks. Light, warm farm style. */
:root {
  --bg: #faf6ee;          /* cream page */
  --warm: #f2eadb;        /* alternate sections */
  --surface: #ffffff;     /* cards */
  --ink: #1d2a21;
  --muted: #5b6259;
  --line: #e4d9c6;
  --accent: #1f5b35;      /* dark farm green — the one button colour */
  --accent-hover: #17472a;
  --on-accent: #ffffff;
  --earth: #a3612a;       /* small labels only */
  --gap: 96px;            /* one section rhythm for the whole site */
  --pad: 16px;            /* side gutter */
  --radius: 24px;         /* one radius for photos and cards */
  --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (max-width: 720px) { :root { --gap: 64px; } }
@media (min-width: 721px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.site-header { background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--earth); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.lang a { font-weight: 600; }
.lang a[aria-current="true"] { color: var(--ink); }
@media (max-width: 560px) {
  .site-header .wrap { min-height: 64px; }
  .logo { font-size: 19px; }
  .nav { gap: 16px; font-size: 15px; }
}

/* Sections: same air above and below everywhere */
.section { padding: var(--gap) 0; }
.section.warm { background: var(--warm); }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Hero: text + large photo */
.hero { padding-top: 32px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.45fr; gap: 56px; } }
.hero .lead { margin-top: 20px; font-size: 20px; color: var(--muted); max-width: 520px; }
.hero .btn { margin-top: 32px; }
.hero-img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(45, 38, 20, .35); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--earth); }

/* One button style */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px; text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 91, 53, .25); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Cards with photos */
.cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.cards-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--surface); overflow: hidden;
  box-shadow: 0 1px 2px rgba(45, 38, 20, .06), 0 12px 32px -16px rgba(45, 38, 20, .18);
}
.card img { width: 100%; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.card .word { font-size: 13px; font-weight: 700; color: var(--earth); text-transform: uppercase; letter-spacing: .08em; }
.card h2 { font-size: 26px; }
.card h3 { font-size: 22px; font-family: var(--serif); font-weight: 600; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.card .more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Photo + text */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-img { width: 100%; border-radius: var(--radius); }
.split .section-head { margin-bottom: 32px; }

/* Points */
.points { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.points li::before {
  content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--accent)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
}
.points h3 { font-size: 19px; line-height: 32px; }
.points p { color: var(--muted); }

/* Sizes */
.sizes { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .sizes { grid-template-columns: repeat(3, 1fr); } }
.size { padding: 32px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(45, 38, 20, .06), 0 12px 32px -16px rgba(45, 38, 20, .18); }
.size strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.1; color: var(--accent); }
.size span { display: block; margin-top: 8px; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--earth); border-bottom: 2px solid var(--earth); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Closing CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--warm); border-top: 1px solid var(--line); padding: 56px 0; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer strong { display: block; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound p { margin: 16px 0 32px; color: var(--muted); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Two equal hero columns (text + calculator) */
@media (min-width: 900px) { .hero-grid.even { grid-template-columns: 1fr 1fr; align-items: start; } }
.hero .lead a, .sub a { color: var(--accent); }
.updated { margin-top: 16px; font-size: 14px; color: var(--muted); }
.sub { margin-top: 16px; color: var(--muted); }
.sub a { font-weight: 700; text-decoration: none; }
.sub a:hover { text-decoration: underline; text-underline-offset: 5px; }
.split-calc { align-items: center; }
.split-calc .section-head { margin-bottom: 0; }

/* Calculator */
.calc-title { font-size: 24px; margin-bottom: 16px; }
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px;
  border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 1px 2px rgba(45, 38, 20, .06), 0 12px 32px -16px rgba(45, 38, 20, .18);
}
.calc label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); min-width: 0; }
.calc input {
  width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink); font: 600 20px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.calc input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.calc-out { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-out span { font-weight: 600; color: var(--muted); }
.calc-out output { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.1; color: var(--accent); }
.calc-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.calc-note a { color: inherit; }

/* Price tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(45, 38, 20, .06), 0 12px 32px -16px rgba(45, 38, 20, .18); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-wrap th, .table-wrap td { padding: 16px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--earth); }
.table-wrap .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap td a { color: var(--accent); font-weight: 700; }
.table-wrap td:nth-child(2) { white-space: nowrap; }
@media (max-width: 560px) {
  .table-wrap table { font-size: 14px; }
  .table-wrap th, .table-wrap td { padding: 12px 10px; }
  .table-wrap td:nth-child(2) { white-space: normal; }
}
@media (min-width: 721px) { .sizes.sizes-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 721px) { .sizes.sizes-2 { grid-template-columns: repeat(2, 1fr); } }

/* Full-bleed photo with headline (hero + closing band) */
.photo-band { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, 80vh, 780px); color: #fff; }
.photo-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 20, 12, .86) 0%, rgba(10, 20, 12, .55) 42%, rgba(10, 20, 12, .08) 78%); }
.photo-band .wrap { width: 100%; padding-bottom: 72px; }
.photo-band h1, .photo-band h2 { max-width: 780px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.photo-band .lead { margin-top: 16px; max-width: 560px; font-size: 20px; color: rgba(255, 255, 255, .92); }
.photo-band .btn { margin-top: 32px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.photo-band.closing { min-height: clamp(420px, 60vh, 560px); align-items: center; text-align: center; }
.photo-band.closing::before { background: rgba(10, 20, 12, .62); }
.photo-band.closing .wrap { padding-bottom: 0; }
.photo-band.closing h2 { margin: 0 auto; }
@media (max-width: 720px) { .photo-band .wrap { padding-bottom: 48px; } .photo-band .lead { font-size: 18px; } }

/* Product cards: photo, name, one line, Reserve */
.card-actions { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.card-actions .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }
.card-actions .more { margin: 0; padding: 0; }

/* How ordering works */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 721px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 32px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(45, 38, 20, .06), 0 12px 32px -16px rgba(45, 38, 20, .18); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.steps h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.steps p { margin-top: 8px; color: var(--muted); }
.order-note { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); }
.order-note strong { color: var(--ink); }

/* sticky header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.06); }
html { scroll-padding-top: 80px; }
