/* ============================================================
   El-Bafnyko Bliss Ventures — public website styles
   Deep green (trust) · warm gold (highlights) · light neutrals
   ============================================================ */

:root {
  --green-900: #0a3d28;
  --green-800: #0e5c3a;
  --green-700: #147048;
  --green-100: #e7f2ec;
  --gold-600: #b8860f;
  --gold-500: #d9a53a;
  --gold-400: #e3b750;
  --gold-100: #faf1dc;
  --ink: #14201a;
  --ink-soft: #3f4f47;
  --muted: #5d6d65;
  --line: #dfe7e2;
  --bg: #ffffff;
  --bg-cream: #faf8f3;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(10, 61, 40, 0.10);
  --shadow-sm: 0 3px 12px rgba(10, 61, 40, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--green-700); }
a:hover { color: var(--green-900); }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold-400); color: var(--ink); font-weight: 600;
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1.05rem; font-size: 0.92rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--green-900);
  box-shadow: 0 6px 18px rgba(217, 165, 58, 0.35);
}
.btn-gold:hover { color: var(--green-900); background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }

.btn-green { background: var(--green-800); color: #fff; box-shadow: 0 6px 18px rgba(14, 92, 58, 0.3); }
.btn-green:hover { background: var(--green-900); color: #fff; }

.btn-outline { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

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

.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold-500); padding-bottom: 2px; }

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.12rem; color: var(--green-800); letter-spacing: -0.01em; }
.brand-text span { font-size: 0.82rem; color: var(--gold-600); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.98rem;
  padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--green-800); }
.site-nav a.active { color: var(--green-800); border-bottom-color: var(--gold-500); }
.site-nav a.nav-cta {
  border-bottom: none; padding: 0.45rem 1.05rem; font-size: 0.92rem;
}
.site-nav a.nav-cta:hover { transform: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.55rem 0.6rem; cursor: pointer;
}
.nav-toggle-bar { display: block; width: 22px; height: 2.5px; background: var(--green-800); border-radius: 2px; margin: 4.5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10, 61, 40, 0.94) 0%, rgba(10, 61, 40, 0.82) 45%, rgba(10, 61, 40, 0.45) 100%);
}

.hero-inner { padding: clamp(4.5rem, 11vh, 7.5rem) 0 clamp(4rem, 10vh, 6.5rem); max-width: 780px; margin-left: max(calc((100% - 1140px) / 2), 1.25rem); margin-right: auto; width: min(780px, 100% - 2.5rem); }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.93); max-width: 44ch; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--gold-400); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.2rem, 7vw, 5.2rem) 0; }
.section-tint { background: var(--bg-cream); }
.section-green { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #eef7f1; }
.section-green h2 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.section-green .section-lead { color: rgba(255, 255, 255, 0.85); }
.section-foot { text-align: center; margin-top: clamp(2rem, 4vw, 2.8rem); }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1200 / 780; object-fit: cover; }
.split-body .eyebrow { margin-bottom: 0.6rem; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 1.4rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-800); margin-bottom: 1.1rem;
}
.card-icon svg { width: 28px; height: 28px; }

.card-dark { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.card-dark h3 { color: var(--gold-400); }
.card-dark p { color: rgba(255, 255, 255, 0.86); }
.card-dark:hover { background: rgba(255, 255, 255, 0.11); box-shadow: none; }

/* ---------- Steps (home) ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; position: relative; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 0.97rem; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-800); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.step:nth-child(even) .step-num { background: var(--gold-500); color: var(--green-900); }

/* ---------- Process list (how it works) ---------- */

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem; box-shadow: var(--shadow-sm);
}
.process-step p { color: var(--muted); margin-bottom: 0; }
.process-num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: #fff;
  font-weight: 700; font-size: 1.35rem; box-shadow: 0 6px 16px rgba(14, 92, 58, 0.3);
}

/* ---------- Lists, boxes, notes ---------- */

.tick-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.75rem; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 17px; height: 17px;
  background: var(--gold-500); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tick-list a { font-weight: 600; }
.tick-list.compact { margin: 1.1rem 0 1.5rem; gap: 0.55rem; }

.info-box {
  background: var(--gold-100); border: 1px solid #eddcbb; border-left: 5px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.6rem 1.7rem; margin-top: 2rem;
}
.info-box h3 { margin-bottom: 0.4em; }
.info-box p { margin-bottom: 0.8em; }
.info-box p:last-child { margin-bottom: 0; }

.note { font-size: 0.94rem; color: var(--muted); font-style: italic; margin-top: 1.4rem; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.2rem 1.4rem; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; font-weight: 650; font-size: 1.05rem; padding: 1rem 2rem 1rem 0;
  list-style: none; position: relative; color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold-600); font-weight: 400; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--green-700); }
.faq-body { padding: 0 0 1.1rem; color: var(--ink-soft); }
.faq-body p { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(10, 61, 40, 0.93), rgba(10, 92, 58, 0.8));
}
.cta-band.cta-solid { background: linear-gradient(160deg, var(--green-900), var(--green-800)); }
.cta-band.cta-solid::before { display: none; }
.cta-inner h2 { color: #fff; }
.cta-inner > p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 65%, var(--green-700) 100%);
  color: #fff; padding: clamp(2.8rem, 6vw, 4.2rem) 0;
  border-bottom: 4px solid var(--gold-500);
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-lead { color: rgba(255, 255, 255, 0.88); font-size: 1.12rem; max-width: 62ch; margin-bottom: 0; }
.page-hero-short { text-align: center; }
.page-hero-short .page-lead { margin-inline: auto; }
.page-hero-short .hero-actions { justify-content: center; }

.breadcrumbs { font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 1.1rem; }
.breadcrumbs a { color: var(--gold-400); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Services ---------- */

.service-list { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); }
.service {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.service-reverse .service-media { order: 2; }
.service-media img { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.service-body-wide { grid-column: 1 / -1; }
.service .btn { margin-top: 0.4rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.25rem; margin-bottom: 0.5em; }
.contact-card p { color: var(--muted); margin-bottom: 0; }
.contact-value { font-size: 1.35rem; font-weight: 700; color: var(--green-800); margin-bottom: 0.5rem !important; }
.contact-value a { color: var(--green-800); text-decoration: none; border-bottom: 2px solid var(--gold-500); }
.contact-value a:hover { color: var(--green-900); }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.85); margin-top: auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 2.2rem;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: var(--gold-400); }
.footer-brand p { margin-top: 1rem; font-size: 0.97rem; color: rgba(255, 255, 255, 0.78); max-width: 44ch; }

.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.98rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col p { font-size: 0.98rem; margin-bottom: 0.3rem; }
.footer-col .btn { align-self: flex-start; }
.footer-tel { font-size: 1.15rem; font-weight: 700; color: var(--gold-400) !important; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 1.1rem 0 1.4rem; font-size: 0.85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.65); }
.photo-credits { max-width: 62ch; text-align: right; }
.photo-credits a { color: rgba(255, 255, 255, 0.75); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .card:hover, .step:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 280px 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.4rem 0 1rem; border-top: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a.active { border-bottom-color: var(--gold-500); }
  .site-nav a.nav-cta { margin-top: 0.8rem; text-align: center; border-bottom: none; }

  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .photo-credits { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .card-grid.three, .steps, .contact-grid { grid-template-columns: 1fr; }
  .service, .service-reverse { grid-template-columns: 1fr; }
  .service-reverse .service-media { order: 0; }
  .service-media img { aspect-ratio: 16 / 10; }
  .process-step { grid-template-columns: 1fr; gap: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .container, .container.narrow { width: calc(100% - 2rem); }
}