/* ==========================================================================
   Prettibako Ventures — Brand Stylesheet
   Palette: Green #173F2E | Green Dark #0E2A1F | Gold #D4AF37 | Gold Light #E8CE7A | Cream #F7F3E8
   Font: Poppins
   ========================================================================== */

:root {
  --green: #173f2e;
  --green-dark: #0e2a1f;
  --gold: #d4af37;
  --gold-light: #e8ce7a;
  --cream: #f7f3e8;
  --white: #ffffff;
  --ink: #1d2620;
  --ink-soft: #4b564e;
  --border: rgba(23, 63, 46, 0.12);
  --shadow: 0 12px 32px rgba(14, 42, 31, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; color: var(--green-dark); margin: 0 0 0.5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--ink-soft); }

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-light); background: rgba(232, 206, 122, 0.15); }

.text-gold { color: var(--gold-light); }
.text-muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--green-dark); box-shadow: var(--shadow); }
.btn-gold:hover { background: var(--gold-light); }

.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); }

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

.btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-ghost { color: var(--green-dark); font-weight: 600; padding: 10px 16px; }
.btn-ghost:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.brand-logo { height: 44px; width: auto; }

.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--green-dark); position: relative; padding: 6px 2px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-email-link { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--green-dark); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (full-bleed background image) ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.25);
  filter: blur(28px) saturate(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 42, 31, 0.95) 0%, rgba(14, 42, 31, 0.92) 50%, rgba(14, 42, 31, 0.9) 100%);
}
.hero-inner { position: relative; padding: 120px 24px 80px; max-width: 820px; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 20px; }
.hero-sub { color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- Interior page hero (compact, dark) ---------- */
.page-hero { position: relative; background: var(--green-dark); color: var(--cream); padding: 76px 24px 64px; text-align: center; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(232, 206, 122, 0.12), transparent 40%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: var(--gold-light); max-width: 60ch; margin: 0 auto; }

/* ---------- Section basics ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.75); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { font-size: 1.02rem; }
.section-sub-light { color: rgba(255, 255, 255, 0.75) !important; }
.section-head-light { max-width: 700px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 480px; object-fit: cover; object-position: left center; }
.about-media-card {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--green); color: var(--cream);
  padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
}
.about-media-card strong { font-size: 1.05rem; color: var(--gold-light); }
.about-media-card span { font-size: 0.82rem; opacity: 0.85; }

.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); font-weight: 600; }
.fact-value { font-size: 0.92rem; color: var(--ink); font-weight: 500; }

/* ---------- Products ---------- */
.flagship-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-dark); background: var(--gold-light); padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
}
.flagship-tag-secondary { background: var(--border); color: var(--ink-soft); margin-top: 64px; }

.product-grid { display: grid; gap: 32px; }
.product-grid-flagship { grid-template-columns: 1fr; }
.product-grid-secondary { grid-template-columns: repeat(2, 1fr); }

.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--border); }
.product-card-wide { flex-direction: row; align-items: flex-start; }
.product-card-media { position: relative; height: 260px; }
.product-card-wide .product-card-media { height: auto; aspect-ratio: 1 / 1; flex: 0 0 42%; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-media-sm { height: 180px; }

.product-card-media-placeholder { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); display: flex; align-items: center; justify-content: center; }
.placeholder-pattern {
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.25) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232, 206, 122, 0.2) 0, transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 18px);
}

.badge { position: absolute; top: 16px; right: 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.badge-live { background: var(--gold); color: var(--green-dark); }
.badge-soon { background: rgba(255, 255, 255, 0.85); color: var(--green-dark); border: 1px solid rgba(23, 63, 46, 0.15); }

.product-card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center; }
.product-card-body h3 { font-size: 1.4rem; margin-bottom: 4px; }
.product-desc { font-size: 0.95rem; }

.spec-table { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.spec-row span:first-child { color: var(--ink-soft); flex-shrink: 0; }
.spec-row span:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.product-advantage { background: rgba(212, 175, 55, 0.08); border-left: 3px solid var(--gold); padding: 12px 16px; font-size: 0.88rem; border-radius: 0 8px 8px 0; margin: 0; }
.product-advantage strong { color: var(--green-dark); }

.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-gallery img { border-radius: 10px; height: 110px; width: 100%; object-fit: cover; }

.notice-box { background: rgba(23, 63, 46, 0.05); border: 1px dashed var(--border); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.notice-box strong { color: var(--green-dark); font-size: 0.92rem; }
.notice-box span, .notice-box p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px 22px; }
.process-num { font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; margin: 0; }

/* ---------- Certifications accordion ---------- */
.cert-accordion { display: flex; flex-direction: column; gap: 14px; }
.cert-item { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm); overflow: hidden; }
.cert-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--white);
}
.cert-item > summary::-webkit-details-marker { display: none; }
.cert-item > summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  width: 20px;
  text-align: center;
}
.cert-item[open] > summary::after { transform: rotate(45deg); }
.cert-name { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cert-body { padding: 0 22px 20px; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.cert-status { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; flex-shrink: 0; }
.cert-status-held { background: var(--gold); color: var(--green-dark); }
.cert-status-progress { background: var(--gold-light); color: var(--green-dark); }
.cert-status-planned { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.cert-footnote { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6) !important; max-width: 700px; margin-top: 28px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; gap: 22px; box-shadow: var(--shadow); }
.team-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-light); flex-shrink: 0; }
.team-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--gold); font-size: 2rem; font-weight: 300; border-style: dashed; }
.team-info h3 { margin-bottom: 2px; font-size: 1.2rem; }
.team-role { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.team-info p { font-size: 0.9rem; margin-bottom: 10px; }
.team-contact { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; }
.team-contact a { color: var(--green); font-weight: 500; }
.team-contact a:hover { color: var(--gold); }
.team-card-placeholder { border-style: dashed; box-shadow: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(23, 63, 46, 0.06); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-list li div { display: flex; flex-direction: column; gap: 2px; }
.contact-list li strong { font-size: 0.85rem; color: var(--green-dark); }
.contact-list li span { font-size: 0.94rem; color: var(--ink-soft); }
.contact-list a { color: var(--green); font-weight: 500; }
.contact-list a:hover { color: var(--gold); }

.contact-form { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.contact-form h2, .contact-form h3 { margin-bottom: 18px; }
.contact-form label { font-size: 0.82rem; font-weight: 600; color: var(--green-dark); margin: 14px 0 6px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 0.95rem; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white); color: var(--ink); resize: vertical; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form button { margin-top: 22px; }
.form-note { font-size: 0.78rem; text-align: center; margin: 12px 0 0; color: var(--ink-soft); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f3ea; color: var(--green-dark); border: 1px solid #b9dfc4; }
.form-status.error { background: #fbe9e7; color: #8a2c1f; border: 1px solid #f0bcb2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, 0.75); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 24px 48px; }
.footer-logo { height: 40px; margin-bottom: 14px; border-radius: 8px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 0.8rem; text-align: center; color: rgba(255, 255, 255, 0.5); }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media-card { position: static; margin-top: -40px; margin-left: 20px; width: fit-content; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-card-wide { flex-direction: column; }
  .product-card-wide .product-card-media { flex: none; height: 260px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-gold { display: none; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px 28px; border-bottom: 1px solid var(--border); gap: 4px;
  }
  .site-header.nav-open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-facts { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .product-grid-secondary { grid-template-columns: 1fr; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 96px 20px 56px; }
  .process-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .mini-gallery { grid-template-columns: 1fr 1fr; }
  .header-email-link { display: none !important; }
  .footer-inner { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
