/*
Theme Name: Warteg Sinari Bahari
Theme URI: https://example.com
Author: Your Studio
Author URI: https://example.com
Description: Company profile theme for Warteg Sinari Bahari, an authentic Indonesian warteg (neighborhood eatery). Built around the brand's crown-and-ribbon logo: bold rounded lettering in green and orange on a warm cream field.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sinari-bahari
Tags: food-and-drink, one-column, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   DESIGN TOKENS
   Palette pulled directly from the logo:
   - Green   #2CAF58  main brand color (SINARI BAHARI lettering)
   - Green D #1C7A3D  extrusion shadow beneath the green letters
   - Orange  #F16321  WARTEG lettering / primary call-to-action
   - Orange D#C8481A  hover / pressed state for orange
   - Gold    #D4AF37  crown emblem, dividers, small accents
   - Cream   #FDFAE9  logo background field -> page background
   - Cream D #F5EEd2  slightly deeper cream for alternating sections
   - Charcoal#2B2B22  warm near-black for body text (not pure black)
   Type system:
   - Display : 'Baloo 2'   bold, rounded, bubbly -> echoes the chunky
               extruded lettering of the logo
   - Body    : 'Lora'      warm serif -> echoes the elegant italic
               script used for "Cita Rasa Otentik Masakan Indonesia"
   - Utility : 'DM Mono'   menu-board / receipt feel for prices,
               eyebrows, hours and labels
   ========================================================= */
:root {
  --color-green: #2CAF58;
  --color-green-dark: #1C7A3D;
  --color-orange: #F16321;
  --color-orange-dark: #C8481A;
  --color-gold: #D4AF37;
  --color-cream: #FDFAE9;
  --color-cream-dark: #F5EED2;
  --color-charcoal: #2B2B22;
  --color-white: #FFFFFF;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --radius-card: 18px;
  --shadow-card: 0 10px 24px rgba(43, 43, 34, 0.12);
  --container-width: 1180px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-orange); text-decoration: none; }
a:hover { color: var(--color-orange-dark); }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-green-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-orange);
  display: inline-block;
  margin-bottom: 10px;
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 6px 0 var(--color-orange-dark);
}
.btn-primary:hover { background: var(--color-orange-dark); color: var(--color-white); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--color-orange-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
}
.btn-outline:hover { background: var(--color-green-dark); color: var(--color-white); }

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-cream);
  border-bottom: 3px solid var(--color-green);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(43, 43, 34, 0.12);
}

/* When logged in, WordPress pins #wpadminbar with position:fixed at
   top:0 (32px tall, 46px on mobile widths). Push our sticky header
   below it so the admin bar doesn't overlap/clip it while scrolling. */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Offset anchor targets so the sticky header never covers the
   top of a section when jumping to it via a nav link */
section[id] {
  scroll-margin-top: 96px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-branding img { height: 56px; width: auto; }
.site-branding .site-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-green-dark);
  margin: 0;
}
.site-branding .site-title span { color: var(--color-orange); display: block; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-mono); }

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
  column-gap: 22px;
}
.main-navigation a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-charcoal);
  padding-bottom: 4px;
}
.main-navigation a:hover { color: var(--color-orange); }

.main-navigation a.nav-cta {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
}
.main-navigation a.nav-cta:hover { background: var(--color-orange-dark); color: var(--color-white); }
.main-navigation a.nav-cta::after { display: none; }

/* Active state: set by scrollspy JS (.active) for anchor links,
   and by WordPress itself (.current-menu-item) for real Pages */
.main-navigation a.active,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--color-orange);
}
.main-navigation a.active::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-orange);
}
@media (max-width: 820px) {
  .main-navigation a.active::after,
  .main-navigation .current-menu-item > a::after,
  .main-navigation .current_page_item > a::after {
    display: none;
  }
  .main-navigation a.active,
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a {
    font-weight: 700;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-green-dark);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-navigation { width: 100%; display: none; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 4px; padding: 14px 0; }
  .main-navigation a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--color-cream-dark); }
  .site-header__inner { flex-wrap: wrap; }
}

/* =========================================================
   CROWN DIVIDER  -- signature element repeated between sections,
   echoing the small crown emblem above the logo wordmark
   ========================================================= */
.crown-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 40px;
}
.crown-divider::before,
.crown-divider::after {
  content: '';
  height: 2px;
  width: 64px;
  background: var(--color-gold);
  opacity: 0.6;
}
.crown-divider svg { width: 26px; height: 26px; }

/* Visually hidden but still readable by screen readers / SEO crawlers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(212,175,55,0.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(44,175,88,0.10), transparent 45%),
    var(--color-cream);
}

/* When a Customizer background image is set, .hero--has-bg is added
   and an inline background-image (with a dark overlay baked in) is
   applied via style="" — this class handles sizing + text legibility */
.hero--has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--has-bg .hero__kicker { color: var(--color-gold); }
.hero--has-bg .hero__title {
  color: var(--color-white);
  text-shadow: 3px 4px 0 var(--color-green-dark), 3px 4px 0 var(--color-green-dark);
}
.hero--has-bg .hero__tagline { color: var(--color-cream); }

.hero__crown { max-width: 100%; height: auto; margin: 0 auto 32px; display: block; }
.hero__kicker {
  font-family: var(--font-display);
  color: var(--color-orange);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--color-green);
  text-shadow: 3px 4px 0 var(--color-green-dark), 3px 4px 0 var(--color-green-dark);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.hero__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-orange-dark);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   SECTION LAYOUT
   ========================================================= */
.section { padding: 80px 0; }
.section--alt { background: var(--color-cream-dark); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__desc { color: #55523f; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.about-list { margin-top: 22px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-mono); font-size: 0.92rem; }
.about-list li::before { content: '✓'; color: var(--color-green); font-weight: 700; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MENU CARDS -- "torn receipt" price tag, signature detail
   ========================================================= */
.menu-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.menu-tabs button {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--color-green-dark);
  background: transparent;
  color: var(--color-green-dark);
  cursor: pointer;
}
.menu-tabs button.is-active,
.menu-tabs button:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .menu-grid { grid-template-columns: 1fr; } }

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.menu-card__img { aspect-ratio: 4/3; overflow: hidden; }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card__body { padding: 18px 20px 22px; }
.menu-card__name { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-charcoal); margin-bottom: 6px; }
.menu-card__desc { font-size: 0.92rem; color: #665f45; margin-bottom: 14px; }
.menu-card__price {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  background: var(--color-cream-dark);
  color: var(--color-orange-dark);
  padding: 6px 14px;
  border-radius: 6px;
  transform: rotate(-2deg);
  border: 1px dashed var(--color-gold);
}

/* Menu Detail page (page-templates/template-menu-detail.php) */
.menu-file-placeholder {
  width: 100%;
  max-width: 480px;
  min-height: 240px;
  margin: 0 auto;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #8a8564;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: var(--radius-card);
}
.menu-file-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.menu-file-pdf {
  text-align: center;
}
.menu-file-pdf__preview {
  margin-top: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.menu-file-pdf__preview iframe {
  width: 100%;
  height: 800px;
  border: 0;
  display: block;
}
@media (max-width: 780px) {
  .menu-file-pdf__preview iframe { height: 500px; }
}

/* Workflow -- numbered steps */
.workflow-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  counter-reset: none;
}
.workflow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  box-shadow: var(--shadow-card);
}
.workflow-step__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.workflow-step__label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
}
@media (max-width: 620px) {
  .workflow-list { flex-direction: column; align-items: stretch; }
}

/* Auto Pilot / Semi Auto Pilot tab toggle (page-templates/template-autopilot-detail.php) */
.pilot-tabs {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.pilot-tab {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid var(--color-green-dark);
  background: var(--color-white);
  color: var(--color-green-dark);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pilot-tab:hover { background: var(--color-cream-dark); }
.pilot-tab.is-active {
  background: var(--color-green-dark);
  color: var(--color-white);
}
.pilot-panel {
  max-width: 620px;
  margin: 0 auto;
}
.pilot-panel__desc {
  text-align: center;
  color: #55523f;
  margin-bottom: 22px;
}
.pilot-panel__subheading {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-orange);
  margin: 36px 0 0;
  padding: 28px 0 16px;
  border-top: 2px dashed var(--color-cream-dark);
}

/* Alur Kerja accordion -- collapsed by default, click the title to open */
.pilot-accordion summary.pilot-panel__subheading {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pilot-accordion summary.pilot-panel__subheading::-webkit-details-marker { display: none; }
.pilot-accordion summary.pilot-panel__subheading::after {
  content: '▾';
  font-size: 0.85em;
  transition: transform 0.15s ease;
}
.pilot-accordion[open] summary.pilot-panel__subheading::after { transform: rotate(180deg); }
.pilot-accordion .workflow-list { margin-top: 20px; }

/* Compact override: the full-size pill layout above makes Workflow
   too tall when nested inside the narrow Auto Pilot / Semi Auto
   Pilot panel (many steps end up one-per-row). Use a tighter,
   full-width row layout here instead. */
.pilot-accordion .workflow-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
}
.pilot-accordion .workflow-step {
  border-radius: 10px;
  padding: 8px 14px;
  justify-content: flex-start;
}
.pilot-accordion .workflow-step__num {
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
}
.pilot-accordion .workflow-step__label {
  font-size: 0.88rem;
}

.pilot-accordion--section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.pilot-accordion--section .section__head { margin-bottom: 32px; }
.pilot-panel__subheading--large {
  font-size: 1.4rem;
  margin: 0;
  padding: 0 0 4px;
  border-top: none;
}
.pilot-accordion--section[open] .pilot-panel__subheading--large {
  margin-bottom: 32px;
  border-bottom: 2px dashed var(--color-cream-dark);
  padding-bottom: 20px;
}

/* Page title background (page.php + Auto Pilot Detail template) --
   uses the page's own Featured Image, set from wp-admin. Full-width
   <img> (not a CSS background) so it always fills the width edge to
   edge with zero cropping — height simply follows the photo's own
   proportions instead of a fixed box. */
.page-title-hero {
  position: relative;
  overflow: hidden;
}
.page-title-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 10, 0.5);
  z-index: 1;
}
.page-title-hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.page-title-hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-shadow: 3px 4px 0 var(--color-green-dark);
  margin: 0;
}

/* Bisnis Anti Resesi */
.resesi-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.resesi-image--placeholder {
  width: 100%;
  max-width: 420px;
  min-height: 240px;
  margin: 0 auto;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #8a8564;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.resesi-cta {
  text-align: center;
  margin-top: 32px;
}
.resesi-included__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-green-dark);
  margin-bottom: 20px;
}
.resesi-included {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.resesi-included li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-cream-dark);
  padding: 12px 16px;
  border-radius: 10px;
}
.resesi-included li::before {
  content: '✓';
  color: var(--color-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Why choose us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.feature-card__icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-cream-dark);
  border-radius: 50%;
  color: var(--color-green);
  overflow: hidden;
}
.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.feature-card__title { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; color: var(--color-charcoal); }
.feature-card__desc { font-size: 0.9rem; color: #665f45; margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
.gallery-grid__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
}

.gallery-group__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-orange);
  text-align: center;
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
}
.gallery-group__title:first-of-type { margin-top: 8px; }

.gallery-see-all { text-align: center; margin-top: 32px; }

.gallery-pagination { text-align: center; margin-top: 40px; }
.gallery-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  margin: 0 4px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-green-dark);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}
.gallery-pagination .page-numbers.current {
  background: var(--color-green-dark);
  color: var(--color-white);
}
.gallery-pagination .page-numbers.dots { box-shadow: none; background: none; }

/* Renovation -- image + caption cards */
.reno-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .reno-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reno-grid { grid-template-columns: 1fr; } }

.reno-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.reno-card__img { aspect-ratio: 4/3; overflow: hidden; }
.reno-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* Modifier: keep the image at its original aspect ratio (no cropping),
   used by the Sistem POS section since screenshots vary in shape */
.reno-card--natural .reno-card__img { aspect-ratio: auto; }
.reno-card--natural .reno-card__img img { height: auto; object-fit: contain; }
.reno-card__caption {
  padding: 14px 18px 18px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--color-charcoal);
  margin: 0;
}

/* Renovation Excel List -- single image, centered, actual uploaded size
   (only capped down if wider than its container) */
.reno-excel-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-gold);
}
.reno-excel-image--placeholder {
  width: 100%;
  max-width: 480px;
  min-height: 240px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #8a8564;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Our Locations */
.locations-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 48px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .locations-grid { grid-template-columns: 1fr; } }

.locations-group {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.locations-group__city {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-green-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--color-cream-dark);
}
.locations-group__areas li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-charcoal);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.locations-group__areas li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}
.locations-hint {
  text-align: center;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #8a8564;
}

/* Program Mitra -- centered omset bulanan image */
.mitra-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-gold);
}
.mitra-image--placeholder {
  width: 100%;
  max-width: 480px;
  min-height: 240px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #8a8564;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* CTA strip */
.cta-strip {
  background: var(--color-green);
  background-image: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
  color: var(--color-white);
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius-card);
  margin: 0 24px;
}
.cta-strip h2 { color: var(--color-white); }
.cta-strip p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.cta-strip .btn-outline { border-color: var(--color-white); color: var(--color-white); }
.cta-strip .btn-outline:hover { background: var(--color-white); color: var(--color-green-dark); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-charcoal);
  color: #e8e5d3;
  padding: 60px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--color-gold); font-size: 1rem; }
.footer-grid a { color: #e8e5d3; }
.footer-grid a:hover { color: var(--color-gold); }
.footer-brand img { height: 48px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: #c9c5ac; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a9a58e;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  background: var(--color-green);
  color: var(--color-white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); color: var(--color-white); }
