/* ============================================================
   Goodlife Holdings — Enterprise Site Stylesheet
   ============================================================ */

:root {
  --green-950: #0b2e1b;
  --green-900: #104025;
  --green-800: #14532d;
  --green-700: #1a6b3a;
  --green-600: #217a44;
  --green-500: #2e9457;
  --green-50:  #f0f7f2;
  --gold-500:  #f5b921;
  --gold-600:  #e0a70f;
  --ink-900:   #14201a;
  --ink-700:   #33413a;
  --ink-500:   #5b6a62;
  --ink-300:   #9aa8a0;
  --line:      #e3eae5;
  --surface:   #f7faf8;
  --white:     #ffffff;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(11, 46, 27, .08);
  --shadow-md: 0 8px 30px rgba(11, 46, 27, .12);
  --shadow-lg: 0 24px 60px rgba(11, 46, 27, .18);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.15; font-weight: 800; }

a { color: var(--green-700); text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green-700);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--gold-500); border-radius: 2px; }

.section { padding: 96px 0; }
.section.tint { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--ink-500); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  padding: 15px 28px; border-radius: 10px; cursor: pointer;
  transition: all .22s ease; border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .22s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { border-color: var(--green-700); color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-950); color: #cfe0d5; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 13px; height: 13px; fill: var(--gold-500); flex: none; }
@media (max-width: 760px) { .topbar .tb-hide { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  color: var(--ink-700); position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--green-700); }
.nav a.active { color: var(--green-700); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--gold-500); border-radius: 2px;
}
.header .btn { padding: 12px 22px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 1020px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; background: #fff;
    flex-direction: column; gap: 0; padding: 136px 0 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s ease; z-index: 90;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 14px 24px; width: 100%; text-align: center; }
  .nav a.active::after { display: none; }
  .brand, .nav-toggle { position: relative; z-index: 96; }
  .nav-toggle { display: block; }
  .header .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,32,19,.92) 0%, rgba(8,32,19,.72) 45%, rgba(8,32,19,.25) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 90px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.hero h1 {
  color: #fff; font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -.025em; max-width: 780px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 19px; max-width: 640px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.hero-trust .t { color: rgba(255,255,255,.8); font-size: 13.5px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; fill: var(--gold-500); flex: none; }

/* ---------- Stats ---------- */
.stats { background: var(--green-900); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px; text-align: center; border-left: 1px solid rgba(255,255,255,.09); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--gold-500); line-height: 1; }
.stat .lbl { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.75); }
@media (max-width: 880px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border: 0; padding: 30px 16px; }
}

/* ---------- Partner strip ---------- */
.partners { padding: 56px 0; border-bottom: 1px solid var(--line); }
.partners .lbl {
  text-align: center; font-family: var(--font-head); font-size: 12px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-300); margin-bottom: 34px;
}
.partners .logos { display: flex; justify-content: center; align-items: center; gap: clamp(32px, 6vw, 84px); flex-wrap: wrap; }
.partners img { height: 44px; width: auto; filter: grayscale(1); opacity: .55; transition: .25s; }
.partners img:hover { filter: none; opacity: 1; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 28px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .media { height: 230px; overflow: hidden; position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .media img { transform: scale(1.06); }
.card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-500); flex: 1; }
.card .link {
  margin-top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px;
}
.card .link svg { width: 14px; height: 14px; transition: transform .2s; }
.card:hover .link svg { transform: translateX(4px); }

.chip {
  display: inline-block; font-size: 11.5px; font-weight: 700; font-family: var(--font-head);
  letter-spacing: .06em; text-transform: uppercase; color: var(--green-700);
  background: var(--green-50); border: 1px solid #d5e8db;
  padding: 4px 12px; border-radius: 999px; margin: 0 6px 8px 0;
}
.media .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(11,46,27,.85); color: #fff; backdrop-filter: blur(4px);
  font-family: var(--font-head); font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split .visual { position: relative; }
.split .visual > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.float-card {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--green-700); color: #fff; border-radius: var(--radius);
  padding: 24px 30px; box-shadow: var(--shadow-lg); max-width: 300px;
}
.float-card.gold { background: var(--gold-500); color: var(--green-950); }
.float-card .big { font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; }
.float-card .sub { font-size: 12.5px; margin-top: 6px; opacity: .85; font-weight: 600; }
@media (max-width: 920px) { .float-card { left: 16px; bottom: -20px; } }

.feature-list { list-style: none; margin-top: 30px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list .ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
}
.feature-list .ic svg { width: 22px; height: 22px; fill: var(--green-700); }
.feature-list h4 { font-size: 16px; margin-bottom: 4px; }
.feature-list p { font-size: 14px; color: var(--ink-500); }

/* ---------- Dark band ---------- */
.band { background: var(--green-950); color: #fff; position: relative; overflow: hidden; }
.band h2, .band h3, .band h4 { color: #fff; }
.band .section-head p { color: rgba(255,255,255,.65); }
.band .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.band .card h3 { color: #fff; }
.band .card p { color: rgba(255,255,255,.65); }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--gold-500);
  padding: 8px 0 8px 28px; margin: 30px 0;
  font-size: 17px; font-style: italic; color: var(--ink-700);
}
.quote footer { margin-top: 12px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink-500); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-500); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline .year { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--green-700); text-transform: uppercase; }
.timeline h4 { font-size: 17px; margin: 4px 0 6px; }
.timeline p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Project detail ---------- */
.project {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center; padding: 72px 0; border-top: 1px solid var(--line);
}
.project:first-of-type { border-top: 0; }
.project:nth-child(even) .visual { order: 2; }
@media (max-width: 920px) { .project { grid-template-columns: 1fr; } .project:nth-child(even) .visual { order: 0; } }
.project .visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 380px; object-fit: cover; }
.project .meta { display: flex; gap: 26px; margin: 18px 0 20px; flex-wrap: wrap; }
.project .meta .m { font-size: 13px; color: var(--ink-500); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.project .meta svg { width: 15px; height: 15px; fill: var(--green-700); }
.project h3 { font-size: 26px; }
.project p { font-size: 15.5px; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card {
  display: flex; gap: 18px; padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px;
}
.info-card .ic {
  flex: none; width: 50px; height: 50px; border-radius: 12px;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
}
.info-card .ic svg { width: 24px; height: 24px; fill: var(--green-700); }
.info-card h4 { font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--ink-500); }
.info-card a { display: block; }
.info-card a:hover { color: var(--green-700); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h3 { margin-bottom: 8px; }
.form-card .note { font-size: 13.5px; color: var(--ink-500); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--ink-900); display: block; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink-900);
  background: var(--surface); transition: border .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); background: #fff; }
textarea { resize: vertical; min-height: 130px; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 56px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta .bg { position: absolute; inset: 0; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,32,19,.94), rgba(13,59,36,.82)); }
.cta .container { position: relative; z-index: 2; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 720px; margin: 0 auto 18px; letter-spacing: -.02em; }
.cta p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; margin: 0 auto 38px; }
.cta .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 56px; }
@media (max-width: 920px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer .top { grid-template-columns: 1fr; } }
.footer img.flogo { height: 58px; width: auto; margin-bottom: 22px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--gold-500); }
.footer .fi { display: flex; gap: 12px; margin-bottom: 14px; }
.footer .fi svg { width: 16px; height: 16px; fill: var(--gold-500); flex: none; margin-top: 4px; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}
.footer .bottom a { color: rgba(255,255,255,.55); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8,32,19,.93) 10%, rgba(8,32,19,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.page-hero .crumb a { color: rgba(255,255,255,.85); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.02em; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 17.5px; max-width: 640px; margin-top: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.instant { transition: none; }
/* If JS is disabled, never hide content */
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Article typography ---------- */
.article-body { font-size: 17px; color: var(--ink-700); }
.article-body p { margin: 0 0 22px; line-height: 1.75; }
.article-body h2 {
  font-size: 26px; letter-spacing: -.01em;
  margin: 44px 0 16px;
}
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 12px; line-height: 1.7; }
.article-body strong { color: var(--ink-900); }
.article-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--green-700); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--ink-500); }

/* ---------- Solution detail sections ---------- */
.sol { padding: 84px 0; border-top: 1px solid var(--line); }
.sol:first-of-type { border-top: 0; }
.sol .brandnote {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px; font-size: 13.5px; color: var(--ink-500);
}
.sol .brandnote img { height: 30px; width: auto; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-700); font-weight: 500; }
.checks svg { width: 20px; height: 20px; fill: var(--green-700); flex: none; margin-top: 2px; }
