/* ============================================================
   GOTA — Global Organic Trade Academy
   Stylesheet
   ============================================================
   Brand tokens are defined as CSS variables below. To adjust
   the palette or type, edit the :root block only — the rest of
   the file references these variables throughout.
============================================================ */

:root {
  /* Color */
  --navy:        #0E1B33;
  --navy-2:      #17294A;
  --navy-3:      #1F3557;
  --cream:       #F6F1E6;
  --cream-2:     #EFE8D6;
  --white:       #FFFFFF;
  --ink:         #1C1E24;
  --ink-soft:    #4A4F5C;
  --line:        #DAD2BC;
  --line-on-navy: rgba(255,255,255,0.16);
  --gold:        #A9812F;
  --gold-deep:   #8A6A26;
  --gold-tint:   #D9BE7E;

  /* Type */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 2px;
}

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-head-light h2 { color: var(--white); }

.section-sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.05rem;
  margin-top: -0.3em;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-3); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--line-on-navy);
}
.btn-outline-light:hover {
  border-color: var(--gold-tint);
  color: var(--gold-tint);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.75rem 0; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 1.9rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-actions .btn-primary {
  padding: 0.65rem 1.3rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 18px;
  margin: 0 auto;
  background: var(--navy);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--navy);
  background-image:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  border-bottom: 1px solid var(--gold-deep);
}

.hero-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-tint);
  margin: 0 0 1.4rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin-bottom: 0.7rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-tint);
  font-size: 1.15rem;
  margin-bottom: 1.9rem;
}

.hero-copy { margin: 0 auto 0.5rem; }
.hero-copy p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.86);
}

.hero-actions { justify-content: center; }

.hero-subline {
  margin-top: 2.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   ABOUT / PATHWAY
============================================================ */
.about-grid { max-width: 44rem; margin-bottom: 3rem; }
.about-text p { color: var(--ink-soft); }
.about-text p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-style: italic;
}

.pathway {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  overflow-x: auto;
}

.pathway-track {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: max-content;
  justify-content: center;
}

.pathway-step {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.3rem 0.1rem;
}

.pathway-step-final { color: var(--gold-deep); }

.pathway-arrow {
  color: var(--gold);
  font-size: 1.1rem;
}

.pathway-statement {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.2rem;
  margin-top: 2.2rem;
}

/* ============================================================
   CREDIBILITY (Instructors)
============================================================ */
.credibility { background: var(--cream); }

.credibility-copy { max-width: 48rem; margin-bottom: 2.75rem; }
.credibility-copy p { color: var(--ink-soft); }

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.credibility-item {
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-right: 1px solid var(--line);
}
.credibility-item:last-child { border-right: none; padding-right: 0; }

.credibility-item dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.credibility-item dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ============================================================
   COURSE CATALOG
============================================================ */
.catalog-group-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin: 2.75rem 0 1.25rem;
}
.catalog-group-label:first-of-type { margin-top: 0; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.course-card {
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  border-left: 3px solid var(--gold);
}

.course-card-featured {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: flex-start;
}

.course-code {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-deep);
  font-size: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.course-card-featured .course-code { font-size: 1.2rem; }

.course-body h4 { margin-bottom: 0.5rem; }
.course-body p { color: var(--ink-soft); font-size: 0.95rem; }

.catalog-note {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.catalog-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.catalog-note a:hover { color: var(--gold-deep); }

/* ============================================================
   SIGNATURE PROGRAM — IOT-302
============================================================ */
.signature {
  background: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}

.signature-inner { max-width: 46rem; }

.signature-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-tint);
  margin-bottom: 1rem;
}

.signature-code {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-tint);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.signature-title {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.signature-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-tint);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.signature-copy p { color: rgba(255,255,255,0.85); }

.signature-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  margin: 1.5rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-navy);
}
.signature-capabilities li {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding-left: 1.1rem;
  position: relative;
}
.signature-capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.signature-audience {
  color: rgba(255,255,255,0.7);
  font-size: 0.93rem;
  margin-bottom: 2rem;
}

/* ============================================================
   CORPORATE TRAINING
============================================================ */
.corporate {
  background: var(--navy-2);
  color: var(--white);
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-top: 0.5rem;
}

.corporate-text p { color: rgba(255,255,255,0.85); }

.inline-list li {
  display: inline;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.inline-list li:not(:last-child)::after {
  content: " \00B7 ";
  color: var(--gold-tint);
}

.corporate-areas h3 {
  color: var(--gold-tint);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.areas-list {
  display: grid;
  gap: 0.55rem;
}
.areas-list li {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
  border-bottom: 1px solid var(--line-on-navy);
  padding-bottom: 0.55rem;
}
.areas-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

/* ============================================================
   PUBLISHED PROFESSIONAL FOUNDATION NOTE (within About section)
============================================================ */
.foundation-note {
  max-width: 44rem;
  margin-top: 2.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.foundation-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.foundation-note p:not(.foundation-label) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.foundation-note em { color: var(--navy); font-style: italic; }
.foundation-publisher {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   WHO GOTA SERVES
============================================================ */
.serves-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.serves-grid li {
  padding: 1.6rem 1.3rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  align-items: center;
}

/* ============================================================
   GOTA APPROACH
============================================================ */
.approach { background: var(--cream); }

.approach-inner { max-width: 50rem; }
.approach-text p { color: var(--ink-soft); }
.approach-text p:first-of-type {
  color: var(--navy);
  font-size: 1.05rem;
}

.approach-questions {
  counter-reset: q;
  margin: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.approach-questions li {
  counter-increment: q;
  padding: 1rem 0 1rem 2.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
}
.approach-questions li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.approach-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.approach-close p:last-child { color: var(--ink-soft); }

/* ============================================================
   WHY GOTA
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  margin: 0;
}
.why-item {
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
}
.why-item dt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.why-item dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.final-cta-inner { max-width: 40rem; margin: 0 auto; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.8); margin: 0 auto 1.75rem; }
.final-cta .btn { display: inline-flex; }

/* ============================================================
   CONTACT
============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-areas {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
}

.contact-card {
  background: var(--cream);
  padding: 2rem 2.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.contact-org {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.contact-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.contact-address strong {
  color: var(--navy);
  font-weight: 600;
}

.contact-details { margin: 0; }
.contact-detail-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
}
.contact-detail-row dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  width: 5.5rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.contact-detail-row dd {
  margin: 0;
  font-size: 0.95rem;
}
.contact-detail-row a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.contact-detail-row a:hover { color: var(--gold-deep); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gold-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}
.footer-tagline { margin: 0 0 0.3rem; font-size: 0.9rem; }
.footer-location { margin: 0 0 0.7rem; font-size: 0.85rem; color: var(--gold-tint); }
.footer-contact { margin: 0 0 0.3rem; font-size: 0.85rem; }
.footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-tint); }

.footer-nav ul { display: grid; gap: 0.6rem; }
.footer-nav a { text-decoration: none; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--gold-tint); }

.footer-legal { font-size: 0.82rem; }
.footer-legal p { margin: 0 0 0.5rem; }
.footer-legal a { text-decoration: none; color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: var(--gold-tint); }
.footer-url { color: rgba(255,255,255,0.5); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-item { border-right: none; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
  .credibility-item:nth-child(2) { border-right: none; }

  .course-grid { grid-template-columns: repeat(2, 1fr); }

  .corporate-grid { grid-template-columns: 1fr; gap: 2.25rem; }

  .serves-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-inner { grid-template-columns: 1fr; gap: 2.25rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 61px 0 0 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .header-actions .btn-primary span.label-full { display: none; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 34px; }

  .course-card-featured { flex-direction: column; }
  .course-grid { grid-template-columns: 1fr; }
  .contact-addresses { grid-template-columns: 1fr; gap: 1rem; }

  .serves-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}
