/* Atlantis Business Consulting – styles
   Brand colours sampled from the logo artwork:
   royal blue #264293, golden yellow #FAB100 */
:root {
  --blue: #264293;
  --blue-600: #1E3678;
  --navy: #0E1B48;
  --navy-900: #0A1435;
  --yellow: #FAB100;
  --yellow-600: #E09E00;
  --ink: #16213F;
  --muted: #4A5573;
  --line: #E1E5EF;
  --tint: #F4F6FB;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,27,72,.06), 0 8px 24px rgba(14,27,72,.08);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; border-radius: 999px; padding: .8em 1.5em; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.04rem; padding: 1em 1.8em; }
.btn-sm { font-size: .9rem; padding: .6em 1.15em; }
.btn-accent { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 18px rgba(250,177,0,.28); }
.btn-accent:hover { background: #FFC233; color: var(--navy); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }

/* Eyebrows */
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--yellow); }
.eyebrow-on-dark { color: var(--yellow); }
.eyebrow-tagline { color: var(--yellow); font-size: .9rem; letter-spacing: .22em; gap: .55em; flex-wrap: wrap; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: block; position: relative; z-index: 2; }
.brand img { height: 36px; width: auto; }
.brand-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.brand-light { transition: opacity .25s; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(14,27,72,.06); backdrop-filter: saturate(140%) blur(8px); }
.site-header.is-scrolled .brand-dark { opacity: 1; }
.site-header.is-scrolled .brand-light { opacity: 0; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; font-size: .96rem; opacity: .92; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--yellow); }
.site-header.is-scrolled .site-nav a:not(.btn) { color: var(--ink); }
.site-header.is-scrolled .site-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.is-scrolled .nav-toggle .bar { background: var(--navy); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1200px 600px at 85% 10%, rgba(38,66,147,.95), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 55%, #12286B 100%); padding: 160px 0 110px; }
.hero-bg { position: absolute; inset: 0; color: rgba(255,255,255,.06); }
.hero-grid { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { font-size: 1.18rem; color: rgba(255,255,255,.84); max-width: 58ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
.hero-proof { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; color: rgba(255,255,255,.92); margin: 0; padding: .55em 1.1em; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.05); font-size: .95rem; }
.proof-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(250,177,0,.22); }
.hero-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 40px 36px; box-shadow: 0 30px 60px rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.hero-mark { width: 120px; height: 120px; margin: 0 0 22px -8px; filter: drop-shadow(0 8px 24px rgba(250,177,0,.35)); }
.hero-steps { list-style: none; margin: 0; padding: 0; }
.hero-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.hero-steps span { color: var(--yellow); font-size: .85rem; letter-spacing: .1em; }

/* Trust bar */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 24px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--blue); line-height: 1.25; }
.trust-item span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 110px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lead { font-size: 1.12rem; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(14,27,72,.12); }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(38,66,147,.08); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, rgba(38,66,147,.35) 0 8px, transparent 8px 14px); }
.step { position: relative; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--tint); }
.step:nth-child(5) .step-num { background: var(--yellow); color: var(--navy); }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.8rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-list li { padding: 28px; border-radius: var(--radius); background: var(--tint); border-left: 4px solid var(--yellow); }
.why-list li p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Sectors */
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, #142A70 100%); color: var(--white); }
.section-dark h2 { color: var(--white); }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sectors li { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; line-height: 1.3; transition: background .25s, border-color .25s; }
.sectors li:hover { background: rgba(255,255,255,.08); border-color: rgba(250,177,0,.6); }
.sectors svg { width: 34px; height: 34px; fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-email { font-weight: 600; color: var(--ink) !important; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .92rem; color: var(--navy); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: .8em .95em; border: 1.5px solid #CBD2E1; border-radius: 10px; background: var(--white); transition: border-color .2s, box-shadow .2s; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(38,66,147,.15); }
textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { margin: 0; color: var(--muted); font-size: .92rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 260px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; margin: 0; }
.footer-nav { display: flex; gap: 12px 28px; flex-wrap: wrap; padding-top: 10px; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-legal p { margin: 0; }

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

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav ul { flex-direction: column; gap: 26px; }
  .site-nav a:not(.btn), .site-header.is-scrolled .site-nav a:not(.btn) { color: var(--white); font-size: 1.3rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .bar { background: var(--white); }
  .nav-open .nav-toggle .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
  .nav-open .nav-toggle .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
  .hero { padding: 130px 0 80px; }
  .hero-inner, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; }
  .why-intro { position: static; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 22px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(odd) { padding-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .cards, .why-list, .process { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sectors li { padding: 20px 16px; gap: 12px; font-size: .98rem; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { font-size: .88rem; }
  .hero-card { padding: 28px 24px; }
  .hero-mark { width: 88px; height: 88px; }
  .section-head { margin-bottom: 40px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-num { margin: 0; grid-row: span 2; }
  .step h3 { align-self: center; margin-bottom: .2em; }
  .footer-legal { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .eyebrow-tagline { font-size: .74rem; letter-spacing: .14em; }
  .eyebrow-tagline::before { width: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
