:root {
  --navy: #0f2a52;
  --navy-deep: #0b1f3d;
  --navy-mid: #1b3f75;
  --red: #c8102e;
  --red-soft: #ff5a6e;
  --ink: #1d2433;
  --muted: #45506a;
  --line: #e1e7f0;
  --paper: #f4f7fb;
  --white: #fff;
  --shadow: 0 12px 32px rgba(15, 42, 82, 0.08);
  --display: "Montserrat", sans-serif;
  --body: "Poppins", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.preview {
  background: #fff6e8;
  color: #6a4b12;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}
.topbar {
  background: var(--navy);
  color: #d7e2f2;
  font-size: 13px;
}
.topbar .wrap, .header .wrap, .wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar strong { color: white; font-weight: 600; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 10px;
  border-bottom: 3px solid transparent;
}
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--red); color: var(--red); }

.hero {
  background: linear-gradient(180deg, var(--paper), #fff 78%);
  padding: 72px 0 36px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
  margin: 0 0 14px;
}
h1, h2, h3, .display { font-family: var(--display); color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: white; box-shadow: 0 10px 24px rgba(200, 16, 46, 0.25); }
.btn-primary:hover { background: #a50d26; }
.btn-secondary { background: white; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--paper); }
.btn-light { background: white; color: var(--red); }
.hero-panel {
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 18px;
  min-height: 420px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: linear-gradient(180deg, rgba(15,42,82,.15), rgba(11,31,61,.82)), url("https://gmb.ph/wp-content/uploads/2026/11/mang-inasal-franchise-story-cover.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.hero-panel h2 { color: white; margin: 0; text-decoration: none; }
.hero-panel p { margin: 8px 0 0; color: #e7eef8; }
.hero-panel:hover h2 { text-decoration: underline; text-underline-offset: 4px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  color: white;
  border-radius: 14px;
  margin-top: 28px;
  overflow: hidden;
}
.stats div { padding: 28px 16px; text-align: center; }
.stats div + div { border-left: 1px solid rgba(255,255,255,.16); }
.stats b { display: block; font-family: var(--display); font-size: 34px; font-weight: 800; }
.stats b span { color: var(--red-soft); }
.stats small { display: block; opacity: .86; margin-top: 4px; }

.section { padding: 72px 0; }
.section.alt { background: var(--paper); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.rule { width: 70px; height: 5px; background: var(--red); border: 0; margin: 14px 0 22px; }
.kicker { text-align: center; color: var(--muted); font-weight: 700; letter-spacing: 0.14em; font-size: 13px; margin-bottom: 22px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 28px; align-items: center; }
.logos img { height: 64px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(0.2); }

.split { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 48px; align-items: start; }
.muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: white;
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
}
.card h3 { margin: 8px 0 10px; font-size: 22px; }
.card p, .card li { color: var(--muted); }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 24px;
  background: var(--red);
  color: white;
  font-family: var(--display);
  font-weight: 800;
}

.quotes { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote {
  margin: 0;
  background: white;
  border-left: 5px solid var(--red);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.quote p { margin: 0 0 12px; }
.quote footer { color: var(--navy); font-weight: 700; font-size: 14px; }
.pull {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
  text-align: center;
}
.pull span { display: block; margin-top: 12px; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--red); letter-spacing: 0; }

.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: white; padding: 72px 0 64px; }
.page-hero h1, .page-hero .eyebrow { color: white; }
.page-hero .eyebrow { color: var(--red-soft); }
.page-hero .lede { color: #d7e0ee; }
.page-hero .btn-secondary { color: white; border-color: white; background: transparent; }

.service { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.service + .service, .block + .block { margin-top: 28px; }
.ico { color: var(--red); font-weight: 700; letter-spacing: 0.12em; font-size: 13px; margin-bottom: 8px; }
ol.steps, ul.clean { margin: 0; padding-left: 18px; }
ol.steps li, ul.clean li { margin: 8px 0; color: var(--muted); }
.faq details { background: white; border-radius: 10px; padding: 14px 18px; margin: 10px 0; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
form.stack { display: grid; gap: 12px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid #c9d3e2;
  border-radius: 8px;
  padding: 14px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.note { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.success { background: #eefaf1; border: 1px solid #b7e4c4; border-radius: 12px; padding: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  min-height: 100%;
  color: inherit;
}
.story .thumb { aspect-ratio: 16/10; background: var(--navy); color: white; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 32px; }
.story .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story .body { padding: 18px 18px 22px; }
.story h3 { margin: 8px 0; font-size: 20px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 13px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chips a, .chip {
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}
.chips a[aria-current="page"], .chips a:hover { background: var(--navy); color: white; }

.pager { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 28px; }
.pager a { font-weight: 700; color: var(--navy); }

.search { display: flex; gap: 8px; margin: 8px 0 18px; }
.search input { flex: 1; }
.results { display: grid; gap: 10px; }
.results a { text-decoration: none; background: white; border-radius: 10px; padding: 14px 16px; border: 1px solid var(--line); }
.results a strong { display: block; color: var(--navy); }
.results a span { color: var(--muted); font-size: 14px; }

.article-hero { padding: 48px 0 10px; }
.article-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.figure { margin: 8px 0 28px; }
.figure img { width: 100%; border-radius: 16px; max-height: 520px; object-fit: cover; }
.prose { font-size: 17.5px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--red); }
.prose img, .prose video { border-radius: 10px; }
.prose iframe { width: 100%; max-width: 100%; aspect-ratio: 16/9; border: 0; }
.prose blockquote { border-left: 4px solid var(--red); margin-left: 0; padding-left: 16px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }

.cta {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 56px 16px;
}
.cta h2 { color: white; margin: 0 0 8px; }
.cta p { margin: 0 0 18px; font-size: 18px; }

.yt {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 64px;
  background: var(--navy);
  color: white;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.yt a.btn { background: var(--red); color: white; }

footer.site {
  background: var(--navy-deep);
  color: #b7c3d6;
  padding: 36px 0 28px;
  font-size: 14px;
}
footer.site a { color: white; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer.site h3 { color: white; margin: 0 0 8px; font-size: 16px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 6px 0; }
.copy { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }

.empty { background: white; border-radius: 12px; padding: 28px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .split, .service, .contact-grid, .grid-3, .cards, .foot-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .yt { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 40px; }
  .hero-panel { min-height: 280px; }
}
