/* ============================================================
   Akeru Commercial Management FZCO
   Modern teal / ocean theme — shared stylesheet
   ============================================================ */

:root {
  --teal-900: #062b33;
  --teal-800: #0a3d47;
  --teal-700: #0e5563;
  --teal-600: #12717f;
  --teal-500: #14919b;
  --teal-400: #1cb5c4;
  --teal-300: #4fd1de;
  --aqua-100: #e6f7f9;
  --ink: #0c1f24;
  --slate: #4a5c62;
  --muted: #6b7d83;
  --line: #e2ebed;
  --paper: #ffffff;
  --mist: #f4f9fa;
  --gold: #e0a458;
  --ok: #1f9d6b;
  --err: #d1495b;

  --shadow-sm: 0 1px 3px rgba(6, 43, 51, .08);
  --shadow-md: 0 10px 30px rgba(6, 43, 51, .10);
  --shadow-lg: 0 24px 60px rgba(6, 43, 51, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-400); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1rem; color: var(--slate); }

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

.section { padding: 90px 0; }
.section--mist { background: var(--mist); }
.section--deep {
  background: radial-gradient(120% 120% at 80% 0%, var(--teal-700) 0%, var(--teal-900) 60%);
  color: #dff2f4;
}
.section--deep h2, .section--deep h3 { color: #ffffff; }
.section--deep p { color: #b8dde2; }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.section--deep .eyebrow { color: var(--teal-300); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-400));
  color: #fff; box-shadow: 0 10px 24px rgba(20, 145, 155, .30);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px rgba(20, 145, 155, .38); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--teal-700); }
.btn--outline:hover { border-color: var(--teal-400); color: var(--teal-600); }
.btn .arw { transition: transform .22s ease; }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  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: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--teal-900); letter-spacing: -.01em; }
.brand:hover { color: var(--teal-900); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--teal-500), var(--teal-700));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(14, 85, 99, .35);
}
.brand .mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-500); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 15px; border-radius: 9px;
  font-size: .95rem; font-weight: 500; color: var(--teal-800);
}
.nav-links a:hover { background: var(--aqua-100); color: var(--teal-700); }
.nav-links a.active { color: var(--teal-500); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.brand-logo { height: 60px; width: auto; display: block; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 66px; width: auto; display: block; }

/* team headshot avatars */
.member__avatar { overflow: hidden; padding: 0; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* capability image trio */
.cap-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-imgs img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }

/* full-width infographic band */
.info-band { width: 100%; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
@media (max-width: 760px) { .cap-imgs { grid-template-columns: 1fr; } .brand-logo { height: 50px; } }

/* figure that shows the FULL image (no crop) — for square infographics */
/* full-image figure (no crop) — compound selector beats base .media-figure regardless of source order */
.media-figure.media-figure--fit { aspect-ratio: auto; background: #fff; }
.media-figure.media-figure--fit img { position: static; width: 100%; height: auto; object-fit: contain; display: block; padding: 6px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-800); margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eafafb; overflow: hidden;
  background: linear-gradient(180deg, rgba(6,43,51,.78), rgba(6,43,51,.86)),
              radial-gradient(140% 120% at 75% -10%, #14919b 0%, #0a3d47 55%, #062b33 100%);
}
.hero__wrap { padding: 118px 0 128px; position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { color: #bfe3e8; font-size: 1.22rem; max-width: 620px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; }
.hero--sub .hero__wrap { padding: 92px 0 96px; }

/* hero with real photo background (layered under dark teal overlay) */
.hero--photo {
  background-image:
    linear-gradient(180deg, rgba(6,43,51,.80) 0%, rgba(6,43,51,.88) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__crumb { font-size: .9rem; color: #8fcbd3; margin-bottom: 16px; }
.hero__crumb a { color: #bfe3e8; }

/* decorative rings */
.hero__ring { position: absolute; border: 1px solid rgba(79,209,222,.18); border-radius: 50%; z-index: 1; }
.hero__ring.r1 { width: 520px; height: 520px; right: -120px; top: -140px; }
.hero__ring.r2 { width: 340px; height: 340px; right: -40px; top: -40px; border-color: rgba(79,209,222,.12); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--teal-600);
  background: var(--aqua-100);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: .98rem; }

.card--num { position: relative; }
.card--num .num { font-family: var(--serif); font-size: 2.6rem; color: var(--teal-300); line-height: 1; margin-bottom: 12px; display:block; }

/* value list */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.value { display: flex; gap: 16px; }
.value .dot { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--aqua-100); color: var(--teal-600); display: grid; place-items: center; }
.value .dot svg { width: 22px; height: 22px; }
.value h4 { margin: 2px 0 4px; font-family: var(--font); font-weight: 700; font-size: 1.02rem; color: var(--teal-900); }
.value p { margin: 0; font-size: .95rem; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3rem); color: #fff; line-height: 1; }
.stat .l { color: #9fd3da; font-size: .92rem; margin-top: 8px; letter-spacing: .02em; }

/* media object */
.media-figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; background: linear-gradient(140deg, var(--teal-600), var(--teal-900));
  position: relative;
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
.media-figure .badge {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.92);
  color: var(--teal-800); font-weight: 600; font-size: .85rem; padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm); display:flex; align-items:center; gap:8px;
}

.tick { list-style: none; padding: 0; margin: 0; }
.tick li { position: relative; padding: 9px 0 9px 34px; color: var(--slate); border-bottom: 1px solid var(--line); }
.tick li:last-child { border-bottom: 0; }
.tick li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--aqua-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312717f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.member { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__top { padding: 30px 28px 22px; display:flex; align-items:center; gap:16px; background: linear-gradient(160deg, var(--mist), #fff); border-bottom:1px solid var(--line); }
.member__avatar { width:96px; height:96px; border-radius:50%; flex:none; display:grid; place-items:center; font-family:var(--serif); font-weight:600; font-size:1.9rem; color:#fff; background:linear-gradient(140deg,var(--teal-400),var(--teal-700)); }
.member__name { font-family:var(--serif); font-weight:600; font-size:1.18rem; color:var(--teal-900); }
.member__role { font-size:.82rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--teal-500); }
.member__body { padding: 22px 28px 30px; }
.member__body p { margin:0; font-size:.96rem; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items:start; }
.contact-info .info-row { display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.contact-info .info-row:last-child { border-bottom:0; }
.contact-info .ico { flex:none; width:46px; height:46px; border-radius:12px; background:var(--aqua-100); color:var(--teal-600); display:grid; place-items:center; }
.contact-info .ico svg { width:22px; height:22px; }
.contact-info .k { font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.contact-info .v { color:var(--teal-900); font-weight:500; }
.contact-info .v a { color:var(--teal-900); }
.contact-info .v a:hover { color: var(--teal-500); }

.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display:block; font-size:.9rem; font-weight:600; color:var(--teal-900); margin-bottom:8px; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  width:100%; font-family:var(--font); font-size:1rem; color:var(--ink);
  padding:13px 15px; border:1.5px solid var(--line); border-radius: var(--radius-sm);
  background:#fdffff; transition:border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(28,181,196,.14);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--err); box-shadow: 0 0 0 4px rgba(209,73,91,.12); }
.field .err-msg { display:none; color: var(--err); font-size:.82rem; margin-top:6px; }
.field .err-msg.show { display:block; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-note { font-size:.85rem; color:var(--muted); margin: 4px 0 0; }
.form-status { display:none; padding:14px 18px; border-radius:var(--radius-sm); margin-bottom:22px; font-size:.95rem; font-weight:500; }
.form-status.ok { display:block; background:#e7f6ef; color:var(--ok); border:1px solid #bfe6d3; }
.form-status.bad { display:block; background:#fbe9ec; color:var(--err); border:1px solid #f3c4cc; }

/* radio segmented control */
.radio-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pills label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--slate); background: #fdffff;
  transition: all .18s ease; margin: 0;
}
.radio-pills label:hover { border-color: var(--teal-300); }
.radio-pills input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pills input:checked + span { color: var(--teal-700); }
.radio-pills label:has(input:checked) {
  border-color: var(--teal-400); background: var(--aqua-100); color: var(--teal-700); font-weight: 600;
  box-shadow: 0 0 0 3px rgba(28,181,196,.12);
}
.radio-pills input:focus-visible + span { outline: 2px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }

/* file upload */
.file-upload { position: relative; }
.file-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px dashed var(--teal-300); border-radius: var(--radius-sm);
  background: var(--mist); transition: border-color .2s ease, background .2s ease;
}
.file-upload:hover .file-drop { border-color: var(--teal-400); background: var(--aqua-100); }
.file-upload input.invalid ~ .file-drop { border-color: var(--err); background: #fbeef0; }
.file-drop .fi {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; color: var(--teal-600); box-shadow: var(--shadow-sm);
}
.file-drop .fi svg { width: 20px; height: 20px; }
.file-drop .ft { font-weight: 600; color: var(--teal-900); font-size: .95rem; }
.file-drop .fn { font-size: .82rem; color: var(--muted); word-break: break-all; }
.field.group-invalid > .radio-pills label { border-color: transparent; }

/* form tabs */
.form-tabs {
  display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 28px;
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
}
.form-tabs button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font);
  font-weight: 600; font-size: .95rem; color: var(--slate);
  padding: 11px 22px; border-radius: 999px; transition: all .2s ease;
}
.form-tabs button:hover { color: var(--teal-700); }
.form-tabs button.active {
  background: #fff; color: var(--teal-700);
  box-shadow: var(--shadow-sm);
}
[data-tab-panel][hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#bfe3e8; max-width:560px; margin:0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color:#a9cfd5; padding: 70px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h5 { font-family:var(--font); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:#5f9aa3; margin:0 0 18px; font-weight:700; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer ul li { margin-bottom:11px; }
.site-footer a { color:#a9cfd5; font-size:.96rem; }
.site-footer a:hover { color:#fff; }
.footer-brand .brand { color:#fff; margin-bottom:16px; }
.footer-brand .brand small { color: var(--teal-300); }
.footer-brand p { color:#84b3bb; font-size:.95rem; max-width: 300px; }
.footer-bottom { margin-top:50px; padding-top:24px; border-top:1px solid rgba(255,255,255,.10); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.88rem; color:#6fa2ab; }

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

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .team-grid { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .section { padding: 66px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background:#fff; border-bottom:1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 14px 18px 22px; display:none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content:center; }
  .grid-2, .grid-3, .team-grid, .values, .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}
