/* AA Business and Employment Solutions Ltd. | TA AA Business Solutions */
:root {
  --navy: #0f2a44;
  --navy-deep: #081b2e;
  --teal: #0f8b8d;
  --teal-light: #e6f4f4;
  --gold: #e0a526;
  --ink: #1d2b3a;
  --muted: #5b6878;
  --cloud: #f5f8fb;
  --line: #dde5ed;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p + p { margin-top: 1rem; }

.container { width: min(1140px, 92%); margin: 0 auto; }
section { padding: 5rem 0; }
.section-alt { background: var(--cloud); }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: .75rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #f0b73a; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: block; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.1; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .93rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); text-decoration: none; }
.nav-cta { padding: .6rem 1.2rem !important; background: var(--navy); color: #fff !important; border-radius: 999px; }
.nav-cta:hover { background: var(--teal) !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, rgba(15,139,141,.35), transparent 45%), linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #14496e 100%); color: #fff; padding: 6rem 0 6.5rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #c9d8e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--gold); }
.stat span { font-size: .9rem; color: #c9d8e6; }

/* Page hero */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 4.5rem 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: #c9d8e6; }
.breadcrumb { font-size: .85rem; color: #9fb5c9; margin-bottom: .8rem; }
.breadcrumb a { color: #9fb5c9; }

/* Cards and grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,68,.12); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { list-style: none; margin-top: 1rem; }
.card li { padding: .3rem 0 .3rem 1.5rem; position: relative; font-size: .95rem; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Feature band */
.feature-band { background: var(--navy); color: #fff; border-radius: 20px; padding: 3.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.feature-band h2 { color: #fff; }
.feature-band p { color: #c9d8e6; }
.feature-band ul { list-style: none; }
.feature-band li { padding: .5rem 0 .5rem 2rem; position: relative; color: #e7eef6; }
.feature-band li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.chip { background: var(--teal-light); color: var(--navy); padding: .5rem 1.1rem; border-radius: 999px; font-size: .92rem; font-weight: 500; border: 1px solid #c7e4e5; }

/* Steps */
.steps { counter-reset: step; }
.step { padding: 1.8rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 100%); color: #fff; border-radius: 20px; padding: 3.5rem; text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #e4f1f1; max-width: 640px; margin: 0 auto 1.5rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { background: linear-gradient(160deg, var(--teal-light), #d4ebec); border-radius: 20px; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.kpi { background: #fff; border-radius: 12px; padding: 1.2rem 1.4rem; box-shadow: var(--shadow); }
.kpi strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); display: block; }
.kpi span { color: var(--muted); font-size: .9rem; }

/* Service rows */
.service-row { display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row .num { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); font-weight: 700; line-height: 1; }
.service-row h3 { font-size: 1.5rem; margin-top: .4rem; }
.service-row p { color: var(--muted); }
.service-row ul { list-style: none; margin-top: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 2rem; }
.service-row li { position: relative; padding-left: 1.2rem; font-size: .95rem; }
.service-row li::before { content: "•"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info .item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info .item .icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info strong { color: var(--navy); display: block; }
.contact-info span, .contact-info a { color: var(--muted); }
form.enquiry { background: var(--cloud); padding: 2.2rem; border-radius: 16px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid #c9d4df; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.form-success { display: none; margin-top: 1rem; padding: 1rem; border-radius: 10px; background: #e3f6ea; color: #1d6b3a; font-weight: 500; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: .8rem; background: #fff; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
details.faq summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: .7rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b8c8d8; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; font-size: .92rem; }
.site-footer a { color: #b8c8d8; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .split, .feature-band, .contact-grid { grid-template-columns: 1fr; }
  .feature-band { padding: 2.5rem; }
  .service-row { grid-template-columns: 1fr; gap: 1rem; }
  .service-row ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: none; gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .cta-banner, .feature-band { padding: 2.5rem 1.5rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
}
