/* ==========================================================
   Gbollyma Home Support — layout based on the Senora template
   ========================================================== */

:root {
  --blue: #123F78;
  --blue-dark: #0d2f5a;
  --gold: #D99B12;
  --gold-dark: #b98309;
  --teal: #18A5AA;
  --ink: #263746;
  --muted: #6b7a88;
  --mist: #EFF6F7;
  --white: #FFFFFF;
  --line: #e4eaee;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(18, 63, 120, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--blue); line-height: 1.2; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }

/* ---------- Shared pieces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  font: 500 14px/1 "Roboto", sans-serif;
  border: 0; border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.btn--accent { background: var(--gold); color: var(--white); }
.btn--accent:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--block { width: 100%; }

.accent-title {
  position: relative;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}
.accent-title--light { color: var(--white); }

.eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 14px; font-weight: 500;
  color: var(--gold);
}
.eyebrow--light { color: var(--gold); }

.text-link { color: var(--gold); font-weight: 500; font-size: 14px; }
.text-link span { display: inline-block; transition: transform .25s; }
.text-link:hover span { transform: translateX(4px); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   SECTION 1 — Top bar
   ========================================================== */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.topbar__logo img { height: 66px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 36px; }

/* ==========================================================
   SECTION 2 — Navbar
   ========================================================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.navbar.is-scrolled { box-shadow: 0 6px 24px rgba(18, 63, 120, 0.10); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.navbar__links { display: flex; gap: 34px; }
.navbar__links a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--blue);
  padding: 19px 0;
  transition: color .2s;
}
.navbar__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s;
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--gold); }
.navbar__links a.active::after,
.navbar__links a:hover::after { transform: scaleX(1); }

.navbar__social {
  display: flex; align-items: center; gap: 14px;
  height: 100%;
  padding-left: 30px;
  border-left: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.navbar__social a { display: flex; }
.navbar__social svg { width: 15px; height: 15px; fill: var(--gold); transition: fill .2s; }
.navbar__social a:hover svg { fill: var(--blue); }

.navbar__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navbar__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--blue); transition: .3s; }

/* ==========================================================
   SECTION 3 — Hero
   ========================================================== */
.hero { position: relative; padding-top: 110px; }
.hero__bg { position: absolute; inset: 0 0 60px 0; background: #f7f6f3; overflow: hidden; }
.hero__bg::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  background:
    linear-gradient(90deg, #f7f6f3 0%, rgba(247,246,243,.6) 14%, rgba(247,246,243,0) 32%),
    url("https://images.pexels.com/photos/7551593/pexels-photo-7551593.jpeg?auto=compress&cs=tinysrgb&w=1600") center 30% / cover no-repeat;
}
.hero__content { position: relative; z-index: 1; }
.hero__title { max-width: 520px; font-size: 44px; line-height: 1.2; }
.hero__text { max-width: 440px; margin: 22px 0 32px; color: var(--ink); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.play-link { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 500; font-size: 14px; }
.play-link__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(217,155,18,.2);
  transition: transform .25s;
}
.play-link__icon svg { width: 18px; height: 18px; fill: var(--white); margin-left: 2px; }
.play-link:hover .play-link__icon { transform: scale(1.08); }

/* ==========================================================
   SECTION 4 — Feature strip
   ========================================================== */
.features {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 110px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.feature { display: flex; align-items: center; gap: 18px; padding: 30px 32px; }
.feature + .feature { border-left: 2px solid var(--gold); }
.feature__icon svg,
.stat__icon svg,
.service-card__icon svg {
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature__icon svg { width: 42px; height: 42px; stroke: var(--gold); }
.feature h3 { font-size: 18px; margin-bottom: 2px; }
.feature p { font-size: 13px; color: var(--gold); line-height: 1.5; }

/* ==========================================================
   SECTION 5 — About
   ========================================================== */
.about { padding: 110px 0 90px; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about__text h2 { font-size: 30px; margin-bottom: 20px; }
.about__text p { color: var(--muted); max-width: 470px; }

.checklist {
  list-style: none; padding: 0; margin: 24px 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
  font-size: 14px; color: var(--muted);
}
.checklist li { position: relative; padding-left: 24px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.about__media { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { height: 380px; }
.about__side { padding-top: 40px; }
.about__img--small { height: 250px; margin-bottom: 18px; }
.about__side .text-link { display: block; text-align: center; }

/* ==========================================================
   SECTION 6 — Stats
   ========================================================== */
.stats-wrap { padding-bottom: 90px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 56px 30px;
  background: var(--mist);
  text-align: center;
}
.stat__icon svg { width: 44px; height: 44px; stroke: var(--blue); stroke-width: 1.6; margin: 0 auto 14px; }
.stat__num { font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.stat__num sup { font-size: 18px; top: -.7em; margin-left: 2px; }
.stat p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ==========================================================
   SECTION 7 — Dark video section
   ========================================================== */
.video { position: relative; padding: 110px 0 210px; text-align: center; color: var(--white); }
.video__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(18,63,120,.75), rgba(18,63,120,.75)),
    url("https://images.pexels.com/photos/3875141/pexels-photo-3875141.jpeg?auto=compress&cs=tinysrgb&w=1920") center / cover no-repeat;
}
.video__content { position: relative; }
.video__play {
  display: grid; place-items: center;
  width: 72px; height: 72px; margin: 0 auto 30px;
  border: 0; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  animation: pulse 2.2s infinite;
}
.video__play svg { width: 26px; height: 26px; fill: var(--white); margin-left: 3px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217,155,18,.55); }
  70% { box-shadow: 0 0 0 22px rgba(217,155,18,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,155,18,0); }
}
.video h2 { color: var(--white); font-size: 32px; margin-bottom: 14px; }
.video p { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.85); }

/* ==========================================================
   SECTION 8 — Split "Who we are" / Services
   ========================================================== */
.split { position: relative; margin-top: -130px; padding-bottom: 100px; }
.split__box { display: grid; grid-template-columns: 1fr 1.25fr; box-shadow: var(--shadow); }
.split__left { background: var(--blue); color: rgba(255,255,255,.85); padding: 56px 44px; }
.split__left h2 { font-size: 30px; margin-bottom: 20px; }
.split__left p { margin-bottom: 30px; }
.split__right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
}
.service-card { background: var(--mist); padding: 34px 30px; transition: background .25s; }
.service-card:hover { background: var(--white); }
.service-card__icon svg { width: 40px; height: 40px; stroke: var(--gold); margin-bottom: 14px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* ==========================================================
   SECTION 9 — CTA + contact form
   ========================================================== */
.cta { background: var(--blue); padding: 90px 0; color: rgba(255,255,255,.85); }
.cta__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.cta__head h2 { color: var(--white); font-size: 36px; margin-bottom: 16px; }
.cta__head p { margin-bottom: 30px; max-width: 420px; }

.contact-form { background: var(--white); padding: 36px; display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--blue); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  font: 400 14px "Roboto", sans-serif; color: var(--ink);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.contact-form textarea { resize: vertical; }
.form-note { color: var(--teal); font-size: 14px; font-weight: 500; text-align: center; }

/* ==========================================================
   SECTION 10 — Footer
   ========================================================== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.7); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer__logo { display: inline-block; background: var(--white); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 14px; }
.footer__logo img { height: 70px; width: auto; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { transition: color .2s; word-break: break-word; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }
.footer__bottom nav { display: flex; gap: 20px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .navbar__links { gap: 22px; }
  .navbar__social span { display: none; }
  .hero__title { font-size: 38px; }
  .feature { padding: 26px 22px; }
  .split__box { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .navbar__toggle { display: block; }
  .navbar__links {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(18,63,120,.12);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .navbar__links.is-open { max-height: 480px; }
  .navbar__links a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .navbar__links a::after { display: none; }
  .navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 70px; }
  .hero__bg::after { width: 100%; }
  .hero__bg::after {
    background:
      linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.8)),
      url("https://images.pexels.com/photos/7551593/pexels-photo-7551593.jpeg?auto=compress&cs=tinysrgb&w=1200") 70% center / cover no-repeat;
  }
  .features { grid-template-columns: 1fr; margin-top: 70px; }
  .feature + .feature { border-left: 0; border-top: 2px solid var(--gold); }

  .about { padding: 80px 0 70px; }
  .about__grid, .cta__inner { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .topbar__inner { height: 72px; }
  .topbar__logo img { height: 54px; }
  .topbar .btn { padding: 11px 14px; font-size: 13px; }
  .navbar__social { padding-left: 16px; }
  .hero__title { font-size: 30px; }
  .about__text h2, .split__left h2, .video h2 { font-size: 25px; }
  .cta__head h2 { font-size: 28px; }
  .checklist { grid-template-columns: 1fr; }
  .about__img--main { height: 280px; }
  .about__img--small { height: 190px; }
  .about__side { padding-top: 30px; }
  .split__right { grid-template-columns: 1fr; }
  .split__left { padding: 44px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .video__play { animation: none; }
}
