/* Basreen Consultants — theme from the logo: navy #0B2554, gold #C9972B */
:root {
  --navy: #0B2554;
  --navy-900: #071A3D;
  --navy-700: #1A3A73;
  --gold: #C9972B;
  --gold-600: #B3841F;
  --gold-text: #8C6414;      /* gold that passes contrast for small text on white */
  --ink: #1F2A3D;
  --body: #3E4A5E;
  --muted: #5A6578;
  --line: #DDE2EA;
  --mist: #F2F4F8;
  --white: #FFFFFF;
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;

  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--body);
  --bs-link-color-rgb: 11, 37, 84;
  --bs-link-hover-color-rgb: 140, 100, 20;
  --bs-border-radius: 2px;
}

html { scroll-behavior: smooth; }
body { font-size: 1.0625rem; line-height: 1.65; color: var(--body); background: var(--white); }
h1, h2, h3, .display-serif { font-family: var(--serif); font-weight: 700; color: var(--navy); letter-spacing: 0; }
h4, h5, h6 { font-family: var(--sans); color: var(--navy); }
a { text-underline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: .75rem 1rem; z-index: 2000; font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; padding: .85rem 1.6rem; border-radius: 2px; letter-spacing: .01em; }
.btn-gold { background: var(--gold); color: var(--navy); border: 1.5px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-light-gold { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light-gold:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(7, 26, 61, .25); }
.site-header .navbar { padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--white); letter-spacing: .02em; }
.brand-sub { margin-top: .35rem; font-weight: 500; font-size: .62rem; letter-spacing: .42em; padding-left: .42em; color: var(--gold); }
.site-header .nav-link { color: rgba(255,255,255,.88); font-weight: 500; font-size: .95rem; padding: .5rem 1rem !important; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--white); }
.site-header .nav-link.active::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 2px; background: var(--gold); }
.site-header .btn-gold { padding: .65rem 1.25rem; font-size: .92rem; }
.navbar-toggler { border-color: rgba(255,255,255,.35); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-header .nav-link.active::after { left: 1rem; right: auto; width: 24px; }
}

/* ---------- Common ---------- */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); }
.on-navy .eyebrow { color: var(--gold); }
.section { padding: 6.5rem 0; }
.section-sm { padding: 4.5rem 0; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: #C9D2E3; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.lead-copy { font-size: 1.15rem; color: var(--body); max-width: 36rem; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; margin: 0; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #C9D2E3; position: relative; overflow: hidden; padding: 6rem 0 7rem; }
.hero::after { /* thin gold rule echoing the logo's swoosh */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold);
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.12; margin: 0; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead-copy { color: #C9D2E3; margin-top: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.hero-mark { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .07; pointer-events: none; }
.hero-card { background: var(--white); color: var(--body); padding: 2rem; border-top: 4px solid var(--gold); position: relative; z-index: 1; }
.hero-card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; align-items: start; font-size: .98rem; }
.check-list li::before { content: ''; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B2554' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.page-hero { background: var(--navy); padding: 4.5rem 0 4rem; position: relative; border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.page-hero p { color: #C9D2E3; max-width: 40rem; margin: 1.25rem 0 0; font-size: 1.1rem; }

/* ---------- Strip ---------- */
.stat-strip { border-bottom: 1px solid var(--line); }
.stat { padding: 2rem 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- Services list ---------- */
.service-list { border-top: 2px solid var(--navy); }
.service-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr) 40px; gap: 1rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: baseline; text-decoration: none; color: inherit; transition: background .2s, padding .2s; }
.service-row:hover { background: var(--mist); padding-left: 1rem; padding-right: 1rem; color: inherit; }
.service-num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-text); font-weight: 600; }
.service-row h3 { font-size: 1.45rem; line-height: 1.25; margin: 0; }
.service-row p { margin: 0; color: var(--body); }
.service-arrow { color: var(--navy); align-self: center; justify-self: end; transition: transform .2s; }
.service-row:hover .service-arrow { transform: translateX(4px); color: var(--gold-text); }
@media (max-width: 767.98px) {
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row p { grid-column: 2; }
  .service-arrow { display: none; }
}

/* ---------- Approach ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { border-top: 3px solid var(--gold); padding-top: 1.25rem; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin-bottom: .5rem; }
.bg-navy .steps strong { color: var(--white); }

/* ---------- Sectors / chips ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.chips li { border: 1.5px solid var(--navy); color: var(--navy); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: .95rem; background: var(--white); }

.quote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--navy); margin: 0; }
.quote footer { margin-top: 1rem; font-size: .95rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #C9D2E3; padding: 4.5rem 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0; }
.cta-band .gold-rule { width: 64px; height: 3px; background: var(--gold); margin-bottom: 1.5rem; }

/* ---------- Service detail (services page) ---------- */
.service-detail { padding: 4.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.service-detail .num { font-family: var(--serif); color: var(--gold-text); font-size: 1.1rem; font-weight: 600; display: block; margin-bottom: .5rem; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 2rem; }
.points li { padding: .9rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 18px 1fr; gap: .75rem; }
.points li::before { content: ''; width: 8px; height: 8px; background: var(--gold); margin-top: .6rem; transform: rotate(45deg); }

.service-index { position: sticky; top: 110px; }
.service-index a { display: block; padding: .6rem 0 .6rem 1rem; border-left: 2px solid var(--line); color: var(--body); text-decoration: none; font-size: .95rem; }
.service-index a:hover { border-color: var(--gold); color: var(--navy); }

/* ---------- About ---------- */
.value { border-top: 3px solid var(--gold); padding-top: 1.25rem; height: 100%; }
.value h3 { font-size: 1.25rem; }
.photo-placeholder { background: var(--navy); min-height: 380px; display: flex; align-items: flex-end; padding: 1.5rem; color: #B8C2D6; font-size: .9rem; position: relative; overflow: hidden; }
.photo-placeholder img { position: absolute; right: -40px; top: 40px; width: 300px; opacity: .1; }

/* ---------- Contact ---------- */
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 2.5rem; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.form-control, .form-select { border: 1px solid #8A94A6; border-radius: 2px; padding: .8rem .95rem; font-size: 1rem; color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 151, 43, .35); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.contact-list dt, .contact-list .label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.contact-list a { font-weight: 600; color: var(--navy); }
.alert-success-b { background: #EAF4EC; border-left: 4px solid #2E7D4F; color: #1E4D31; padding: 1rem 1.25rem; }
.alert-error-b { background: #FBEDEC; border-left: 4px solid #B3261E; color: #6B1712; padding: 1rem 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B8C2D6; padding: 4.5rem 0 0; font-size: .95rem; }
.footer-logo { height: auto; max-width: 180px; }
.footer-head { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #E4E9F2; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-base { margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; }

.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1FAF54; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 1040; }
.whatsapp-fab:hover { color: #fff; background: #189246; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
