/* ACLAS Global — static website design system */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;900&display=swap');

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f5f8f9;
  --ink: #263236;
  --ink-light: #5c6b70;
  --primary: #004b5e;
  --primary-dark: #0d4655;
  --primary-light: #06718b;
  --accent: #b7791f;
  --accent-soft: #fff4df;
  --accent-dim: #e6f2f5;
  --border: #dce6e9;
  --border-light: #edf3f5;
  --white: #ffffff;
  --light: var(--surface-muted);
  --mid: var(--ink-light);
  --shadow-sm: 0 6px 18px rgba(13, 70, 85, 0.08);
  --shadow-md: 0 18px 50px rgba(13, 70, 85, 0.14);
  --radius: 7px;
  --radius-lg: 8px;
  --header-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
p { margin-bottom: 16px; }
address { font-style: normal; color: var(--ink-light); line-height: 1.7; }

h1, h2, h3, h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.18;
}
h1 { font-size: 48px; margin-bottom: 20px; max-width: 820px; }
h2 { font-size: 34px; margin-bottom: 14px; }
h3 { font-size: 23px; margin: 0 0 10px; }
h4 { font-size: 18px; margin-bottom: 8px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--primary);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.banner {
  background: var(--accent-soft);
  color: #68430f;
  text-align: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
}

header {
  background: rgba(13, 70, 85, 0.98);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
header .container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 700;
  padding: 8px 0;
}
nav a:hover,
nav a.is-active { color: var(--white); }
.nav-btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}
.nav-btn:hover { background: #c98b2b; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--accent-dim);
  color: var(--primary);
}
.btn-outline,
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}
.btn-outline:hover,
.btn-ghost:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 18px; }

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(9, 45, 56, 0.95) 0%, rgba(9, 45, 56, 0.84) 43%, rgba(9, 45, 56, 0.34) 100%),
    url('assets/hero-online-learning.png') center right / cover no-repeat,
    var(--primary-dark);
}
.hero .container { max-width: 1180px; }
.hero h1 {
  color: var(--white);
  font-size: 50px;
  line-height: 1.16;
  margin-bottom: 18px;
}
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 680px;
  margin-bottom: 18px;
}
.hero-sub { max-width: 760px; }
.hero .eyebrow {
  display: inline-block;
  color: var(--accent-soft);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero .btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.hero .btn-primary:hover { background: #c98b2b; }
.breadcrumb {
  font-size: 14px;
  opacity: 0.78;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
}
.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section,
main > section:not(.hero):not(.section):not(.cta):not(.cta-section) {
  padding: 82px 0;
}
.section-alt,
.bg-light {
  background: var(--surface-muted);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.content { max-width: 880px; }
.content h2 + p,
.intro {
  font-size: 19px;
  color: var(--ink-light);
  max-width: 760px;
  margin-bottom: 32px;
}
.content ul { margin: 16px 0 0 22px; color: var(--ink-light); }
.content li { margin-bottom: 10px; }

.feat {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 30px 0;
}
.feat + .feat { border-top: 1px solid var(--border-light); }
.feat-num {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  background: var(--accent-dim);
  border-radius: var(--radius);
}
.feat-text p { color: var(--ink-light); margin: 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.bento .wide-8 { grid-column: span 8; }
.bento .wide-6 { grid-column: span 6; }
.bento .wide-4 { grid-column: span 4; }
.bento .full { grid-column: span 12; }

.grid2,
.deliver-grid,
.values-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card,
.deliver-item,
.value-card,
.team-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h4,
.deliver-item h4,
.value-card h4,
.team-card h4,
.faq-item h4 {
  color: var(--primary);
}
.card p,
.deliver-item p,
.value-card p,
.team-card p,
.faq-item p {
  color: var(--ink-light);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 0;
}
.card-outer {
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 75, 94, 0.22), rgba(183, 121, 31, 0.18));
  padding: 1px;
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-outer:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-inner {
  min-height: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.card-label {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.card-inner p { color: var(--ink-light); font-size: 17px; margin-bottom: 0; }
.card-inner a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.card-inner a:hover { text-decoration-color: currentColor; }

.mission {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.accred-benefits,
.qa-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
}
.accred-benefits div,
.qa-list div {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-light);
}
.accred-benefits strong,
.qa-list strong { color: var(--primary); }

.team-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 244, 223, 0.9), transparent 38%),
    linear-gradient(135deg, var(--primary), var(--accent));
}

.quote {
  border-left: 4px solid var(--accent);
  padding: 18px 0 18px 28px;
  margin: 22px 0;
}
.quote blockquote {
  font-style: italic;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 10px;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}
.quote cite span {
  display: block;
  color: var(--ink-light);
  font-size: 15px;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
th, td {
  vertical-align: top;
  color: inherit;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: start;
}
form {
  display: grid;
  gap: 18px;
}
.form-group { display: grid; gap: 7px; }
label {
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 13px 14px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 75, 94, 0.1);
  outline: none;
}
.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #b9dfca;
  background: #eefaf3;
  color: #245d38;
  font-size: 16px;
}
.form-message.is-visible { display: block; }
.map-placeholder {
  margin-top: 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-dim), var(--white));
  color: var(--primary);
  font-weight: 800;
}

.cta,
.cta-section {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 78px 0;
}
.cta h2,
.cta-section h2 { color: var(--white); }
.cta p,
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 20px;
}
.cta .btn-primary,
.cta-section .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.cta-section .btn + .btn { margin-left: 12px; }

footer {
  background: var(--surface-muted);
  color: var(--ink-light);
  padding: 72px 0 36px;
  border-top: 1px solid var(--border);
}
footer h4 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}
footer a {
  color: var(--ink-light);
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}
footer a:hover { color: var(--primary); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 42px;
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-light);
  font-size: 15px;
}
.footer-bottom a { display: inline; margin: 0 0 0 22px; }

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  nav { gap: 18px; }
  nav a { font-size: 15px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 17px; }
  h1, .hero h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  header .container { min-height: 72px; }
  .banner { font-size: 14px; }
  
  
  .menu-toggle { display: inline-flex; flex: 0 0 auto; }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  nav.open { display: flex; }
  nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-btn {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0;
  }
  .hero {
    min-height: 520px;
    padding: 70px 0;
    background:
      linear-gradient(90deg, rgba(9, 45, 56, 0.96) 0%, rgba(9, 45, 56, 0.88) 58%, rgba(9, 45, 56, 0.52) 100%),
      url('assets/hero-online-learning.png') center right / cover no-repeat,
      var(--primary-dark);
  }
  .section,
  main > section:not(.hero):not(.section):not(.cta):not(.cta-section) {
    padding: 58px 0;
  }
  .feat { flex-direction: column; gap: 14px; }
  .bento,
  .bento .wide-8,
  .bento .wide-6,
  .bento .wide-4,
  .bento .full { grid-column: span 12; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom a { margin: 0 10px; }
  .cta-section .btn + .btn { margin-left: 0; margin-top: 12px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  h1, .hero h1 { font-size: 32px; }
  .hero p { font-size: 18px; }
  .hero .btn-group { width: 100%; }
  .hero .btn-group .btn,
  .cta .btn,
  .cta-section .btn { width: 100%; }
  .grid2,
  .grid3,
  .deliver-grid,
  .values-grid,
  .team-grid { grid-template-columns: 1fr; }
  .card,
  .deliver-item,
  .value-card,
  .team-card,
  .faq-item,
  .card-inner { padding: 24px 20px; }
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Policy cards */
.policy-card {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.policy-card:hover {
  border-color: var(--primary);
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.policy-card strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 4px;
}
.policy-card span {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
}
.policy-card .arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.policy-card:hover .arrow {
  opacity: 1;
}
