/* Web of Science Journals — Enhanced Design System */
:root {
  --ink: #12121a;
  --ink-soft: #2a2a36;
  --brand: #4b248b;
  --brand-deep: #2e1460;
  --brand-mid: #5c2ea8;
  --brand-light: #eee6f8;
  --accent: #f58220;
  --accent-deep: #d66a0c;
  --accent-soft: #fff0e0;
  --paper: #f4f5f8;
  --white: #ffffff;
  --muted: #4a4e5c;
  --muted-on-dark: rgba(255, 255, 255, 0.82);
  --line: rgba(18, 18, 26, 0.12);
  --shadow: 0 20px 50px rgba(46, 20, 96, 0.14);
  --shadow-lg: 0 28px 64px rgba(46, 20, 96, 0.22);
  --radius: 16px;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --container: 1180px;
  --header-h: 88px;
  --overlay-brand: linear-gradient(135deg, rgba(26, 13, 51, 0.92) 0%, rgba(75, 36, 139, 0.88) 55%, rgba(42, 20, 88, 0.9) 100%);
  --overlay-dark: linear-gradient(160deg, rgba(18, 10, 36, 0.88), rgba(46, 20, 96, 0.78));
  --grad-brand: linear-gradient(135deg, #1a0d33 0%, #4b248b 50%, #2a1458 100%);
  --grad-accent: linear-gradient(135deg, #f58220, #e06e10);
  --grad-section: linear-gradient(180deg, #f8f6fc 0%, #f0ebf8 50%, #f8f9fb 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Top bar ——— */
.topbar {
  background: #120a24;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--accent);
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-links i {
  color: var(--accent);
  margin-right: 0.35rem;
}

.topbar-cta {
  color: var(--accent) !important;
  font-weight: 700;
}

/* ——— Header / Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.site-header.scrolled {
  box-shadow: 0 10px 36px rgba(18, 18, 26, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: min(380px, 68vw);
  object-fit: contain;
}

.logo-footer {
  display: inline-flex;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.logo-footer img {
  height: 50px;
  max-width: 400px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav > li {
  position: relative;
}

.nav > li > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav > li > a:hover,
.nav > li > a.active,
.nav-trigger:hover,
.nav-item.open .nav-trigger,
.nav-item.is-active .nav-trigger {
  background: var(--brand-light);
  color: var(--brand-deep);
}

.nav-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}

.nav-item.open .nav-trigger svg {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-40%) translateY(8px);
  width: min(680px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}

.nav-item.open .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-40%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}

.mega a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.mega a:hover {
  background: var(--brand-light);
}

.mega-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.mega-icon i {
  display: block;
  line-height: 1;
}

.mega a > span:not(.mega-icon) {
  display: block;
  min-width: 0;
}

.mega a strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.mega a > span:not(.mega-icon) > span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.mega-foot {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.mega-foot a {
  color: var(--brand);
  font-weight: 700;
  padding: 0;
  display: inline;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-accent);
  color: white;
  box-shadow: 0 12px 30px rgba(245, 130, 32, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(245, 130, 32, 0.55);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn-outline:hover {
  background: var(--brand-light);
}

.btn-dark {
  background: var(--ink);
  color: white;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-cta-group .nav-cta {
  margin-left: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: 0.25s;
}

/* ——— Hero (full-bleed image + overlay) ——— */
.hero {
  position: relative;
  min-height: min(90vh, 720px);
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(18, 10, 36, 0.94) 0%, rgba(46, 20, 96, 0.82) 48%, rgba(75, 36, 139, 0.55) 100%),
    url("../images/hero/research-lab.jpg") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 90% 20%, rgba(245, 130, 32, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(18, 10, 36, 0.25) 0%, transparent 40%, rgba(18, 10, 36, 0.45) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 70% at 40% 45%, black, transparent);
  pointer-events: none;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 5.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.2);
  border: 1px solid rgba(245, 130, 32, 0.45);
  color: #ffc078;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: riseIn 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  animation: riseIn 0.8s ease 0.05s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.1rem;
  max-width: 32ch;
  animation: riseIn 0.8s ease 0.12s both;
}

.hero > .container > .hero-inner > p,
.hero-inner > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  margin-bottom: 2rem;
  animation: riseIn 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 0.8s ease 0.28s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Stats bar ——— */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: 0;
}

.stats-bar .container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand), var(--brand-mid));
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(75, 36, 139, 0.3);
}

.stat-item:nth-child(2) .stat-icon {
  background: var(--grad-accent);
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.35);
}

.stat-item:nth-child(3) .stat-icon {
  background: linear-gradient(145deg, #2e1460, #6b3bc4);
}

.stat-item:nth-child(4) .stat-icon {
  background: linear-gradient(145deg, #c45e0a, #f58220);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.1;
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.hero-stats div span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Page hero ——— */
.page-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  color: white;
  overflow: hidden;
  background:
    var(--overlay-brand),
    url("../images/sections/library.jpg") center / cover no-repeat;
}

.page-hero.has-bg-team {
  background:
    var(--overlay-brand),
    url("../images/sections/team.jpg") center / cover no-repeat;
}

.page-hero.has-bg-writing {
  background:
    var(--overlay-brand),
    url("../images/sections/writing.jpg") center / cover no-repeat;
}

.page-hero.has-bg-submit {
  background:
    var(--overlay-dark),
    url("../images/services/submit.jpg") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 0%, rgba(245, 130, 32, 0.3), transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-bottom: 0.75rem;
  color: #fff;
}

.page-hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

/* ——— Sections ——— */
section {
  padding: 5.25rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.section-head h2,
.block-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gradient / media sections */
.section-gradient {
  background: var(--grad-section);
}

.section-media {
  position: relative;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.section-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-brand);
  z-index: 0;
}

.section-media > .container {
  position: relative;
  z-index: 1;
}

.section-media .section-head h2,
.section-media .section-head p,
.section-media .block-title {
  color: white;
}

.section-media .section-head p {
  color: var(--muted-on-dark);
}

.section-media .eyebrow {
  color: #ffc078;
}

.section-media-library {
  background-image: url("../images/sections/library.jpg");
}

.section-media-team {
  background-image: url("../images/sections/team.jpg");
}

.section-media-university {
  background-image: url("../images/sections/university.jpg");
}

.section-media-cta {
  background-image: url("../images/sections/cta-bg.jpg");
}

/* ——— Index cards ——— */
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.index-item {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.index-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(75, 36, 139, 0.28);
}

.index-item .icon,
.index-item .fa-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand-light), #e0d4f5);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 0.78rem;
}

.index-item .fa-icon {
  font-size: 1.15rem;
  background: linear-gradient(145deg, var(--brand), var(--brand-mid));
  color: white;
}

.index-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-weight: 700;
}

.index-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— Features ——— */
.features {
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 1.85rem 1.55rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid transparent;
  border-top: 3px solid var(--brand);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature:hover {
  background: white;
  border-color: rgba(75, 36, 139, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  background: var(--grad-accent);
  color: white;
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.3);
}

.feature:nth-child(even) .feature-icon {
  background: linear-gradient(145deg, var(--brand), var(--brand-mid));
  box-shadow: 0 8px 18px rgba(75, 36, 139, 0.3);
}

.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 700;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Services ——— */
.services-strip {
  background: var(--grad-section);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-tile {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 220px;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-tile.with-media {
  padding: 0;
  min-height: 0;
}

.service-tile .tile-media {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-tile .tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 13, 51, 0.45));
}

.service-tile .tile-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-tile .tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.service-tile h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.service-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.1rem;
}

.service-tile .link {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-tile:hover .link {
  color: var(--accent-deep);
}

/* ——— Split ——— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-visual {
  position: relative;
  min-height: 400px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 130, 32, 0.35), transparent 45%),
    linear-gradient(160deg, #1a0d33, #4b248b);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-visual.has-image {
  background-size: cover;
  background-position: center;
}

.split-visual.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 13, 51, 0.55), rgba(75, 36, 139, 0.65));
}

.split-visual .orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.split-visual .orb-1 {
  width: 220px;
  height: 220px;
  top: 18%;
  left: 18%;
}

.split-visual .orb-2 {
  width: 140px;
  height: 140px;
  bottom: 18%;
  right: 16%;
  background: rgba(245, 130, 32, 0.4);
}

.split-visual .caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-weight: 500;
}

.check-list li i {
  color: var(--brand);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.check-list li:not(:has(i))::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ——— Goals / guidance grid (inspired by reference) ——— */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.goal-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s;
}

.goal-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.goal-card .goal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.goal-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 700;
}

.goal-card p {
  color: var(--muted-on-dark);
  font-size: 0.94rem;
}

/* ——— Experts ——— */
.experts {
  background: white;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: box-shadow 0.25s, transform 0.25s;
}

.expert:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--brand));
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.expert h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.expert .role {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.expert p {
  font-size: 0.9rem;
  color: var(--muted);
}

.metric-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.metric-row span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.metric-row strong {
  color: var(--brand-deep);
}

/* ——— Testimonials ——— */
.testimonials {
  position: relative;
  overflow: hidden;
  background:
    var(--overlay-brand),
    url("../images/sections/university.jpg") center / cover no-repeat;
  color: white;
}

.testimonials .section-head h2,
.testimonials .section-head p {
  color: white;
}

.testimonials .section-head p {
  color: var(--muted-on-dark);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: background 0.25s, transform 0.25s;
}

.testimonial:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.testimonial .quote-icon {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.testimonial p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.1rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: #ffc078;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18, 18, 26, 0.03);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item button i,
.faq-item button svg {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--brand);
}

.faq-item.open button i,
.faq-item.open button svg {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-body p {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  color: white;
  text-align: center;
  background:
    var(--overlay-brand),
    url("../images/sections/cta-bg.jpg") center / cover no-repeat;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(245, 130, 32, 0.35), transparent 45%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ——— Content / about ——— */
.content-block {
  display: grid;
  gap: 1.25rem;
}

.content-block p {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(46, 20, 96, 0.06);
}

.stat-box i {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brand-deep);
  font-weight: 800;
}

.stat-box span {
  font-size: 0.9rem;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.6rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value-card .value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.value-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: var(--grad-brand);
  color: white;
  border-radius: 18px;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
}

.contact-ways {
  display: grid;
  gap: 1.1rem;
}

.contact-ways a,
.contact-ways div {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.2s;
}

.contact-ways a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-ways .way-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: white;
}

.contact-ways strong {
  display: block;
  font-size: 0.82rem;
  color: #ffc078;
  margin-bottom: 0.15rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(75, 36, 139, 0.18);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--brand-light);
  color: var(--brand-deep);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.form-success.show {
  display: block;
}

/* ——— Process ——— */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.6rem 1.3rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.65rem;
}

.process-step .step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— Footer ——— */
.site-footer {
  background: #120a24;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  color: white;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 34ch;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand a {
  color: #ffc078;
  font-weight: 600;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: white;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ——— Floats / misc ——— */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 6.5rem; /* sits above Tawk.to widget */
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

.tawk-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--grad-accent);
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.45);
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 5.75rem;
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.legal {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(46, 20, 96, 0.05);
}

.legal h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}

.legal p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.nav-mobile-cta {
  display: none;
}

.freepik-credit {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  padding: 0.5rem 0 0;
}

.freepik-credit a {
  color: var(--brand);
  text-decoration: underline;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .index-grid,
  .goals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    order: 2;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 36px) 0 0 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--line);
  }

  body.nav-open .nav {
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .mega {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 0.5rem;
  }

  .nav-item.open .mega {
    display: block;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 0.75rem;
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .stats-bar {
    margin-top: -2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 3.5rem 0 4.5rem;
  }
}

@media (max-width: 640px) {
  .index-grid,
  .feature-grid,
  .service-grid,
  .testimonial-grid,
  .process,
  .goals-grid,
  .value-grid,
  .expert-grid,
  .stat-row,
  .stats-bar .container,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .logo img {
    height: 56px;
  }

  section {
    padding: 3.75rem 0;
  }

  .page-hero {
    padding: 3rem 0;
  }
}
