/* ===========================================================
   Reem Solutions Care — styles
   Palette drawn from the logo: royal blue + brand gold
   Display: Bricolage Grotesque · Body: Inter
   =========================================================== */

:root {
  --navy: #0B2A47;
  --blue: #1C61B0;
  --blue-700: #16569E;
  --blue-900: #0B2A47;
  --gold: #F6B71C;
  --gold-700: #E0A40C;
  --gold-soft: #FDEFC6;
  --sky: #EAF2FB;
  --sky-2: #F4F8FD;
  --ink: #1A2733;
  --muted: #5C6B7A;
  --white: #FFFFFF;
  --line: #E2EAF2;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(11, 42, 71, .35);
  --shadow-soft: 0 10px 30px -18px rgba(11, 42, 71, .28);
  --maxw: 1140px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

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

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

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

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--navy); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(246,183,28,.7); }
.btn--gold:hover { background: var(--gold-700); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(28,97,176,.7); }
.btn--blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--navy); }
.brand__tag { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 1.55rem; }
.nav__links a { font-weight: 500; font-size: .96rem; color: var(--navy); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__cta { color: var(--navy) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Shared section ---------- */
.section { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.eyebrow--light { color: var(--gold); }
.section__head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section__sub { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-2), #fff 78%); padding: 70px 0 90px; }
.hero__arc {
  position: absolute; top: -40%; right: -18%;
  width: 70vw; height: 130%;
  background: radial-gradient(closest-side, rgba(246,183,28,.14), transparent 70%);
  z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
.hero__title .rise {
  position: relative; color: var(--blue); white-space: nowrap;
}
.hero__title .rise::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .34em;
  background: var(--gold); border-radius: 6px; z-index: -1; opacity: .55;
  transform: skewX(-12deg);
}
.hero__lead { margin: 1.4rem 0 2rem; font-size: 1.18rem; color: var(--muted); max-width: 33ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.hero__trust svg { width: 20px; height: 20px; fill: var(--blue); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  padding: 30px; box-shadow: var(--shadow);
}
.hero__ring { background: linear-gradient(160deg, var(--sky), #fff); border-radius: 22px; padding: 18px; }
.hero__ring svg { width: 100%; height: auto; display: block; }
.ring-blue { fill: none; stroke: var(--blue); stroke-width: 9; opacity: .9; }
.swoosh { fill: none; stroke: var(--gold); stroke-width: 16; stroke-linecap: round; }
.fig-gold { fill: var(--gold); }
.fig-blue { fill: var(--blue); }
.hero__card-cap { margin-top: 16px; text-align: center; color: var(--muted); font-size: .95rem; }

.chip {
  position: absolute; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .7rem 1rem; box-shadow: var(--shadow-soft);
  animation: float 5s ease-in-out infinite;
}
.chip strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); line-height: 1; }
.chip span { font-size: .76rem; color: var(--muted); }
.chip--1 { top: 6%; left: -8%; }
.chip--2 { top: 44%; right: -7%; animation-delay: .8s; }
.chip--3 { bottom: 4%; left: 2%; color: var(--gold-700); animation-delay: 1.6s; }
.chip--3 strong { color: var(--gold-700); letter-spacing: -1px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Value strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.strip__item { padding: 30px 26px; display: flex; flex-direction: column; gap: .35rem; position: relative; }
.strip__item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(255,255,255,.12); }
.strip__k { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold); }
.strip__v { font-size: .92rem; color: rgba(255,255,255,.78); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--sky); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- About ---------- */
.section--about { background: var(--sky-2); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__visual { position: relative; }
.about__blob {
  background: linear-gradient(150deg, var(--blue), var(--blue-900));
  border-radius: 34px; padding: 46px 40px; min-height: 330px;
  display: flex; align-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about__blob::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; background: radial-gradient(closest-side, rgba(246,183,28,.4), transparent); }
.about__quote { position: relative; z-index: 1; }
.about__mark { font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: .4; display: block; margin-bottom: .8rem; }
.about__quote p { color: #fff; font-size: 1.4rem; font-family: var(--font-display); font-weight: 500; line-height: 1.35; }
.about__badge {
  position: absolute; bottom: -18px; right: 24px;
  background: var(--gold); color: var(--navy); font-weight: 700; font-family: var(--font-display);
  padding: .7rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow-soft); font-size: .95rem;
}
.about__copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.about__list { list-style: none; margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.about__list li { padding-left: 2rem; position: relative; color: var(--muted); }
.about__list li strong { color: var(--navy); }
.about__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--gold-soft); color: var(--gold-700);
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.step__no {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Why us ---------- */
.section--why { background: var(--navy); }
.section--why .section__title { color: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px 28px; transition: background .3s, transform .3s var(--ease);
}
.why__item:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.why__item h3 { color: #fff; font-size: 1.2rem; margin-bottom: .55rem; }
.why__item h3::before { content: ""; display: block; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 14px; }
.why__item p { color: rgba(255,255,255,.74); font-size: .97rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-soft); }
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 1rem; }
.review blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--navy); line-height: 1.45; margin-bottom: 1.3rem; }
.review figcaption { display: flex; flex-direction: column; }
.review figcaption strong { color: var(--navy); }
.review figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.section--faq { background: var(--sky-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__intro .btn { margin-top: 1.4rem; }
.faq__list { display: grid; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; transition: box-shadow .25s var(--ease), border-color .25s;
}
.faq[open] { box-shadow: var(--shadow-soft); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sky); color: var(--blue); display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease), background .25s;
}
.faq[open] summary::after { content: "−"; background: var(--gold); color: var(--navy); transform: rotate(180deg); }
.faq__a { padding: 0 0 20px; }
.faq__a p { color: var(--muted); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta { padding: 20px 0 0; }
.cta__inner {
  background: linear-gradient(135deg, var(--blue), var(--blue-900));
  border-radius: 32px; padding: 56px; margin-bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; top: -40%; right: -5%; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(246,183,28,.3), transparent); }
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta__inner p { color: rgba(255,255,255,.82); margin-top: .6rem; max-width: 46ch; }
.cta__inner > div { position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__lead { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }
.contact__list { list-style: none; display: grid; gap: 1.2rem; margin-bottom: 1.6rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; }
.contact__ic svg { width: 22px; height: 22px; fill: var(--blue); }
.contact__list span { display: flex; flex-direction: column; }
.contact__list strong { color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.contact__list a:hover { color: var(--blue); }
.contact__hours { color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }

.contact__form { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28,97,176,.12);
}
.form__note { margin-top: .9rem; font-size: .92rem; font-weight: 600; color: var(--blue); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__logo { width: 52px; height: 52px; object-fit: contain; margin-bottom: 12px; }
.footer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.footer__blurb { font-size: .94rem; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col a, .footer__abn { display: block; font-size: .94rem; margin-bottom: .6rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.6); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__lead { max-width: none; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  .about__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .reviews, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .8rem; }
  .nav__cta.btn { border-bottom: 2px solid transparent; }
  .nav__toggle { display: flex; }
  .section { padding: 70px 0; }
  .cards, .reviews, .why__grid, .steps, .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta__inner { padding: 38px 28px; }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }
}

@media (max-width: 420px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item::after { display: none; }
}

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