/* ==========================================================================
   NoeCee Global — main stylesheet
   Hand-built clean rebuild of the WordPress/Elementor site.
   Colors, fonts and animations mirror the original design.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (pulled from the original Elementor theme) */
  --blue:        #377BBE;   /* primary accent */
  --blue-dark:   #2E4B96;   /* footer / deep accent */
  --blue-deeper: #4054B2;
  --blue-light:  #DCECFB;   /* nav hover / soft panels */
  --cream:       #FAF5DB;
  --pink:        #F0DDD8;
  --gray-bg:     #F6F6F6;   /* section bands / decorative blocks */
  --green:       #23A455;
  --red:         #B22E26;

  --heading:     #1d2733;   /* near-black headings */
  --text:        #7a7a7a;   /* body copy */
  --white:       #ffffff;
  --black:       #000000;

  /* Typography */
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1670px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-soft: 5px 6px 15px rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1.2em; }

ul { margin: 0; padding: 0; }

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

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--gray { background: var(--gray-bg); }
.section--cream { background: var(--cream); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--blue-dark); color: #fff;
  padding: 10px 18px; z-index: 2000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Modern heading (Elementor "aux_modern_heading" equivalent) ---------- */
.mhead { margin-bottom: 34px; }
/* eyebrow (small line, sits above the title) — original: 30px */
.mhead .mhead__sub {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 0 0 .2em;
}
/* title (large emphasised line) — original: 70px */
.mhead .mhead__primary {
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 700;
  color: var(--red);
  margin: 0;
  line-height: 1.05;
}
.mhead .mhead__accent { color: var(--red); }
.mhead--center { text-align: center; }
.mhead h4 { color: var(--heading); font-size: 19px; font-weight: 700; margin: 1.4em 0 .5em; }

.lead { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: all .3s var(--ease);
  line-height: 1;
}
.btn--dark { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.btn--dark:hover { background: #24397a; border-color: #24397a; color: #fff; }
.btn--outline { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--outline:hover { background: var(--blue-dark); color: #fff; }
.btn--blue { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--blue:hover { background: #24397a; border-color: #24397a; color: #fff; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: #8f231d; border-color: #8f231d; color: #fff; }
.btn .btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(6px);
  transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 58px; height: auto; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--heading);
  margin: 0;
  line-height: 1;
}

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--heading);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Overlay menu — full-screen white panel, left-aligned dark links */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  z-index: 1100;
  overflow-y: auto;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-overlay__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 35px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-overlay__bar .brand__logo { width: 58px; }
.nav-overlay__close {
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
  color: var(--heading); font-size: 38px; line-height: 1;
}
.nav-overlay .container { padding-top: 34px; padding-bottom: 60px; }
.nav-menu {
  list-style: none;
  text-align: left;
  padding: 0; margin: 0;
}
.nav-menu li { margin: 2px 0; opacity: 0; transform: translateY(14px); }
.nav-overlay.is-open .nav-menu li { animation: navItemIn .5s var(--ease) forwards; }
.nav-overlay.is-open .nav-menu li:nth-child(1) { animation-delay: .06s; }
.nav-overlay.is-open .nav-menu li:nth-child(2) { animation-delay: .10s; }
.nav-overlay.is-open .nav-menu li:nth-child(3) { animation-delay: .14s; }
.nav-overlay.is-open .nav-menu li:nth-child(4) { animation-delay: .18s; }
.nav-overlay.is-open .nav-menu li:nth-child(5) { animation-delay: .22s; }
.nav-overlay.is-open .nav-menu li:nth-child(6) { animation-delay: .26s; }
.nav-overlay.is-open .nav-menu li:nth-child(7) { animation-delay: .30s; }
.nav-overlay.is-open .nav-menu li:nth-child(8) { animation-delay: .34s; }
.nav-overlay.is-open .nav-menu li:nth-child(9) { animation-delay: .38s; }
.nav-overlay.is-open .nav-menu li:nth-child(10){ animation-delay: .42s; }
@keyframes navItemIn { to { opacity: 1; transform: translateY(0); } }
.nav-menu a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--heading);
  padding: 12px 44px 12px 30px;
  display: inline-block;
  border-radius: 4px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { background: #f2f2f2; color: var(--heading); }

body.nav-open { overflow: hidden; }

/* ==========================================================================
   PAGE SHELL
   ========================================================================== */
main { padding-top: var(--header-h); }

.page-hero {
  background: var(--gray-bg);
  padding: 60px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--text-first { direction: ltr; }

/* Decorative offset block behind an image */
.framed { position: relative; }
.framed__block {
  position: absolute;
  z-index: 0;
  border-radius: var(--radius);
}
.framed img { position: relative; z-index: 1; border-radius: var(--radius); }
.block--gray  { background: var(--gray-bg); }
.block--pink  { background: var(--pink); }
.block--blue  { background: var(--blue-light); }
.block--cream { background: var(--cream); }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--gray-bg);
  color: var(--heading);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 620px;
}
.hero__content { padding: 90px 50px 90px 0; align-self: center; position: relative; z-index: 2; }
.hero h1 {
  color: var(--red);
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.0;
  font-weight: 700;
  margin-bottom: .3em;
}
.hero h1 .accent { color: var(--red); font-weight: 300; display: block; }
.hero__content p { color: #555; font-size: 16px; max-width: 44ch; }
.hero__media { position: relative; min-height: 420px; }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ---------- Home: service feature cards ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.feature-card img { width: 100%; height: 100%; object-fit: cover; }
.feature-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.08) 100%);
}
.feature-card__label {
  position: absolute;
  left: 16px; bottom: 22px;
  z-index: 2;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-family: var(--font-head);
  line-height: 1.2;
}
.feature-card__label .cat { font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: 1px; }
.feature-card__label .svc { font-weight: 300; font-size: 15px; opacity: .9; }

/* full-width event photo band */
.event-band {
  height: 380px;
  background: url("../images/nc_1_copy_270_with_bgc.png") center center / cover no-repeat;
}

/* ---------- Home: 3 icon columns (What/Where/Why) ---------- */
.icon-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.icon-col { text-align: center; padding: 10px; }
.icon-badge {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 22px;
  transition: transform .3s var(--ease);
}
.icon-col:hover .icon-badge { transform: translateY(-6px); }
.icon-col h2 { font-size: 24px; }
.icon-col p { font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--gray-bg); }
.slider { position: relative; }
.slider__track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}
.slide {
  min-width: 100%;
  padding: 10px;
}
@media (min-width: 768px) {
  .slide { min-width: 50%; }
}
.quote-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 34px;
  height: 100%;
}
.quote-card__mark { color: var(--blue); font-size: 46px; line-height: .2; font-family: Georgia, serif; }
.quote-card p { font-style: italic; color: #555; }
.quote-card cite {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: normal;
  color: var(--heading);
  display: block;
  margin-top: 12px;
}
.slider__controls { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.slider__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff; color: var(--blue);
  font-size: 20px; cursor: pointer;
  transition: all .25s var(--ease);
}
.slider__btn:hover { background: var(--blue); color: #fff; }

/* ---------- Blog / news cards ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.post-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.post-card__media { overflow: hidden; aspect-ratio: 1 / 1; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 13px; color: #9a9a9a; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.post-card__meta a { color: var(--blue); }
.post-card h3, .post-card h4 { font-size: 19px; margin-bottom: 12px; }
.post-card h3 a, .post-card h4 a { color: var(--heading); }
.post-card h3 a:hover, .post-card h4 a:hover { color: var(--blue); }
.post-card__excerpt { font-size: 14.5px; flex: 1; }
.post-card__more { font-family: var(--font-head); font-weight: 600; font-size: 14px; align-self: flex-start; }

/* ---------- Accordion (careers) ---------- */
.accordion { border-top: 1px solid #e5e5e5; }
.accordion__item { border-bottom: 1px solid #e5e5e5; }
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none; border: 0;
  padding: 20px 40px 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
  cursor: pointer;
  position: relative;
}
.accordion__trigger::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; color: var(--blue);
  transition: transform .3s var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.accordion__panel p { padding: 0 0 20px; margin: 0; font-size: 15px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form { display: grid; gap: 18px; }
.form--grid2 { grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--heading);
  padding: 15px 16px;
  border: 1px solid #e2e2e2;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(55, 123, 190, 0.15);
}
.form__note { font-size: 13px; color: #9a9a9a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkbox label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--text); }
.checkbox input { width: auto; min-height: 0; margin-top: 4px; box-shadow: none; }
.field small { display: block; margin-top: 6px; font-size: 12.5px; color: #9a9a9a; }
.form__status { font-size: 15px; font-weight: 600; }
.form__status.ok { color: var(--green); }
.form__status.err { color: var(--red); }
.req { color: var(--red); }

/* Contact info cards */
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { }
.info-card img { width: 52px; height: 52px; margin-bottom: 16px; }
.info-card h4 { font-size: 24px; color: var(--red); margin-bottom: 8px; }

/* Video CTA band (How to Work?) */
.video-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: #222 center center / cover no-repeat;
}
.video-band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.video-band .video-band__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  padding: 18px 30px;
  margin-left: max(35px, calc((100% - var(--maxw)) / 2 + 35px));
}
.video-band .video-band__btn:hover { background: var(--red); color: #fff; }
.video-band .play { width: 20px; height: 20px; }

.map-embed {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
}

/* ==========================================================================
   BOOKS gallery
   ========================================================================== */
.book-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.book-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.book-grid a:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.book-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 15, 30, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 0; cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 24px; right: 28px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.staff-card { position: relative; max-width: 360px; margin: 0 0 30px; }
.staff-card img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.staff-card__info { position: relative; z-index: 3; margin-top: 40px; }
.staff-card__info h3 { font-size: 26px; color: var(--heading); margin: 0 0 4px; }
.staff-card__info .role { color: var(--text); font-family: var(--font-head); font-weight: 600; margin: 0; }

.culture-carousel .slide { min-width: 33.333%; }
@media (max-width: 900px) { .culture-carousel .slide { min-width: 50%; } }
@media (max-width: 600px) { .culture-carousel .slide { min-width: 100%; } }
.culture-carousel img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ==========================================================================
   SERVICES page rows
   ========================================================================== */
.svc-row { align-items: center; }
.svc-icon {
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 4px solid var(--red);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 74px;
  margin: 0 auto;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.svc-row:hover .svc-icon { background: var(--red); color: #fff; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.post-article { max-width: 820px; margin: 0 auto; }
.post-article__hero { border-radius: var(--radius); margin-bottom: 30px; width: 100%; max-height: fit-content; object-fit: cover; }
.post-article h1 { font-size: clamp(30px, 4.4vw, 44px); }
.post-article__meta { color: #9a9a9a; font-size: 14px; margin-bottom: 26px; }
.post-article__meta a { color: var(--blue); }
.back-link { display: inline-block; margin-top: 34px; font-family: var(--font-head); font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #fff; color: var(--text); }
.site-footer__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
}
.site-footer .brand__logo { width: 58px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-nav a { color: var(--heading); font-family: var(--font-head); font-size: 15px; font-weight: 500; }
.footer-nav a:hover { color: var(--red); }
.social { list-style: none; display: flex; gap: 14px; }
.social a {
  width: 34px; height: 34px;
  background: transparent;
  color: #b7b7b7;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { color: var(--blue-dark); transform: translateY(-3px); }
.site-footer__bar {
  background: var(--blue-dark);
  padding: 16px 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
}
.site-footer__bar small { color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal__links a { color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
.footer-legal__links a:hover { color: #fff; }
@media (max-width: 700px) { .footer-legal { justify-content: center; text-align: center; } }

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff; border: 0; cursor: pointer;
  font-size: 20px;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 900;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); }

/* ==========================================================================
   SCROLL ANIMATIONS (mirrors Elementor "aux-appear" entrance effects)
   ========================================================================== */
.anim { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.anim.fade-up      { transform: translateY(40px); }
.anim.fade-left    { transform: translateX(-50px); }
.anim.fade-right   { transform: translateX(50px); }
.anim.scale-up     { transform: scale(.9); }
.anim.slide-top    { transform: translateY(-40px); }
.anim.is-visible   { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 60px 0 30px; }
  .hero__media { min-height: 320px; height: 340px; }
  .icon-cols, .info-cols { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .form--grid2 { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { aspect-ratio: 16 / 9; }
  .post-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-nav { justify-content: center; }
}
