@import './css/global/animations.css';
@import './css/global/tokens.css';
@import './css/global/typography.css';
@import './css/global/spacing.css';
@import './css/global/layout.css';
@import './css/modules/hero-soltrium.css';
@import './css/modules/who-we-help-carousel.css';

/* ----------------------------------------
   SECTION: Theme Tokens
   PURPOSE: Define global design variables for colors, typography, and layout spacing.
------------------------------------------ */

/* ----------------------------------------
   SECTION: Global Base Styles
   PURPOSE: Establish foundational layout, typography, and accessibility defaults.
------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--focus-ring-radius);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------
   SECTION: Section Layout Utilities
   PURPOSE: Provide shared spacing and alternate backgrounds for page sections.
------------------------------------------ */
.section--alt {
  background-color: var(--color-white);
}

.contact {
  background-color: var(--color-bg);
}
/* ----------------------------------------
   SECTION: Section Typography
   PURPOSE: Standardize eyebrow, title, and subtitle styles for repeated section headers.
------------------------------------------ */
.section__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-grey-700);
  text-align: center;
  margin: 0 0 var(--space-sm);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-navy);
  margin: 0 0 var(--space-md);
  text-align: center;
}

.section__subtitle {
  text-align: center;
  margin: 0 auto var(--space-xl);
  max-width: 600px;
  color: var(--brand-grey-700);
}

.section__header {
  display: grid;
  gap: var(--space-sm);
  text-align: center;
  justify-items: center;
  margin: 0 auto var(--space-xl);
  max-width: 780px;
}

/* ----------------------------------------
   SECTION: Button Styles
   PURPOSE: Define primary and accent button treatments shared across the site.
------------------------------------------ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: transform var(--anim-duration-medium) var(--anim-ease-default),
              box-shadow var(--anim-duration-medium) var(--anim-ease-default);
  border: none;
  cursor: pointer;
}

.button--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-2px);
}

.button--accent {
  background-color: var(--color-red);
  color: var(--color-white);
  width: fit-content;
  padding-inline: 32px;
  box-shadow: var(--shadow-soft);
}

.button--accent:hover,
.button--accent:focus {
  transform: translateY(-2px);
}

/* ----------------------------------------
   SECTION: Grid & Card Layouts
   PURPOSE: Configure flexible grid systems and card shells for feature content.
------------------------------------------ */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--help {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background-color: var(--color-white);
  padding: 28px;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.card--icon {
  text-align: left;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background-color: rgba(10, 53, 81, 0.08);
  color: var(--color-navy);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-navy);
}

.card__text {
  margin: 0;
  color: #4f5a63;
}

.card--service {
  background-color: var(--color-white);
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.office-gallery__item {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.office-gallery__image {
  width: 100%;
  display: block;
}

.list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) auto 0;
  max-width: 620px;
  color: #4f5a63;
}

.list--check li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.list--check li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-red);
}

/* ----------------------------------------
   SECTION: Site Header & Navigation
   PURPOSE: Style the sticky navigation bar, brand mark, and responsive menu controls.
------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  transition: background-color var(--anim-duration-medium) var(--anim-ease-default), box-shadow var(--anim-duration-medium) var(--anim-ease-default), padding var(--anim-duration-medium) var(--anim-ease-default);
}

body.has-open-menu {
  overflow: hidden;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  flex-wrap: nowrap;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-navy);
}

.site-header__brand:hover,
.site-header__brand:focus {
  text-decoration: none;
  opacity: 0.9;
}

.site-header__brand-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(10, 53, 81, 0.14));
  border-radius: 25px;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.site-nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--color-navy);
  padding-bottom: 6px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--anim-duration-fast) var(--anim-ease-default), border-color var(--anim-duration-fast) var(--anim-ease-default);
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--color-red);
  text-decoration: none;
}

.site-nav__link.is-active {
  /* font-weight: 600;
  color: var(--color-navy);
  border-bottom-color: var(--color-red); */
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.site-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--anim-duration-fast) var(--anim-ease-default);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__button--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 8px 16px rgba(10, 53, 81, 0.16);
}

.site-header__button--primary:hover,
.site-header__button--primary:focus {
  transform: translateY(-1px);
}

.site-header__button--secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  gap: 8px;
}

.site-header__button--secondary:hover,
.site-header__button--secondary:focus {
  background-color: rgba(10, 53, 81, 0.08);
}

.site-header__whatsapp-icon {
  display: inline-flex;
  margin-right: 6px;
}

.site-header__button-text {
  display: inline-flex;
  align-items: center;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 53, 81, 0.25);
  background-color: var(--color-white);
  cursor: pointer;
  transition: all var(--anim-duration-fast) var(--anim-ease-default);
}

.site-header__toggle:hover,
.site-header__toggle:focus {
  background-color: rgba(10, 53, 81, 0.08);
}

.site-header__toggle-bar {
  width: 18px;
  height: 2px;
  background-color: var(--color-navy);
  transition: transform var(--anim-duration-fast) var(--anim-ease-default), opacity var(--anim-duration-fast) var(--anim-ease-default);
}

.site-header__mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 20px rgba(10, 53, 81, 0.12);
  border-radius: 0 0 20px 20px;
  padding: 24px 20px 20px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header__mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.site-header__mobile-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-navy);
  transition: color var(--anim-duration-fast) var(--anim-ease-default);
}

.site-header__mobile-link:hover,
.site-header__mobile-link:focus {
  color: var(--color-red);
}

.site-header__mobile-actions {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.site-header__mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--anim-duration-fast) var(--anim-ease-default);
}

.site-header__mobile-button--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 8px 16px rgba(10, 53, 81, 0.12);
}

.site-header__mobile-button--primary:hover,
.site-header__mobile-button--primary:focus {
  transform: translateY(-1px);
}

.site-header__mobile-button--secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.site-header__mobile-button--secondary:hover,
.site-header__mobile-button--secondary:focus {
  background-color: rgba(10, 53, 81, 0.08);
}

.site-header--scrolled {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.site-header--scrolled .site-header__inner {
  padding: 14px 0;
}

.site-header--menu-open {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header--menu-open .site-header__mobile-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header--menu-open .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header--menu-open .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Services Section */
.services {
  background-color: var(--color-white);
  padding: clamp(calc(var(--space-xl) + var(--space-lg)), 12vw, calc(var(--space-3xl) + var(--space-lg))) 0;
}

.services__inner {
  max-width: 980px;
  margin: 0 auto;
  padding-inline: clamp(18px, 3vw, 32px);
}

.services__title {
  color: var(--color-primary);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
  text-align: center;
}

.services__subtitle {
  color: #4a5d6c;
  font-size: var(--fs-body);
  margin: 0;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.services-item {
  position: relative;
}

.services-item:not(:last-child) {
  border-bottom: 1px solid #e0e6ef;
}

.services-item__trigger {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  text-align: left;
  cursor: pointer;
}

.services-item__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(12, 48, 72, 0.2);
  border-radius: 999px;
}

/* Icon style currently sourced from emoji in services data; standardize with SVG set in Phase 3. */
.services-item__icon {
  width: clamp(52px, 12vw, 64px);
  height: clamp(52px, 12vw, 64px);
  font-size: clamp(1.6rem, 5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}

.services-item__icon {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-item__icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15,23,42,0.18);
}


.services-item__title {
  color: var(--color-primary);
  font-size: var(--fs-h4);
  font-weight: 600;
}

.services-item__chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  position: relative;
}

.services-item__chevron::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(12, 48, 72, 0.6);
  border-bottom: 2px solid rgba(12, 48, 72, 0.6);
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.25s ease;
}

.services-item.is-open .services-item__chevron::before {
  transform: translate(-50%, -40%) rotate(-135deg);
}

.services-item__content {
  padding: 0;
  color: #1f2a33;
  font-size: 16px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.services-item__content p {
  margin: 0;
}

.services-item.is-open .services-item__content {
  opacity: 1;
  padding-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .services {
    padding: 96px 32px;
  }

  .services-container {
    max-width: 1040px;
  }

  .services-title {
    font-size: 38px;
  }

  .services-subtitle {
    font-size: 20px;
    margin-bottom: 48px;
  }

  .services-item__title {
    font-size: var(--fs-h3);
  }

  /* .services-item__content {
    padding-bottom: 24px;
  } */
}

/* ----------------------------------------
   SECTION: Programs Carousel
   PURPOSE: Style the program cards, carousel track, and navigation controls.
------------------------------------------ */
/* Programs carousel */
.programs {
  background-color: var(--color-bg);
  padding: clamp(calc(var(--space-xl) + var(--space-lg)), 12vw, calc(var(--space-3xl) + var(--space-xl))) 0;
}

.programs__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 32px);
}

.programs__heading {
  text-align: center;
  margin-bottom: clamp(var(--space-xl), 5vw, var(--space-2xl));
}

.programs__eyebrow {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.programs__title {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.programs__subtitle {
  margin: 0 auto;
  color: rgba(26, 43, 60, 0.8);
  max-width: 520px;
  text-align: center;
}

.programs__carousel {
  position: relative;
  margin-top: var(--space-lg);
}

.programs__carousel::before,
.programs__carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 6vw, 70px);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--anim-duration-medium) var(--anim-ease-default);
}

.programs__carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg), rgba(244, 247, 251, 0));
}

.programs__carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg), rgba(244, 247, 251, 0));
}

.programs__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-sm) clamp(var(--space-sm), 4vw, var(--space-lg)) calc(var(--space-xl) + var(--space-sm));
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 clamp(var(--space-sm), 4vw, var(--space-lg));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.programs__track::-webkit-scrollbar {
  display: none;
}

.programs__track:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
}

.programs__card {
  position: relative;
  flex: 0 0 calc(88% - var(--space-sm));
  min-width: 260px;
  max-width: 360px;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: center;
  transform: scale(0.95);
  opacity: 0.9;
  transition: transform 0.45s ease, box-shadow 0.45s ease, opacity var(--anim-duration-medium) var(--anim-ease-default);
  box-shadow: 0 12px 24px rgba(12, 48, 72, 0.15);
}

.programs__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    var(--program-gradient, linear-gradient(135deg, #d9eafc 0%, var(--color-grey-200) 100%)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.35), transparent 45%);
  background-size: 120% 120%, 140% 140%, 120% 120%;
  background-repeat: no-repeat;
  transition: background-size var(--anim-duration-slow) var(--anim-ease-default);
}

.programs__card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.88);
}

.programs__card:hover::before,
.programs__card:focus-within::before,
.programs__card.is-active::before {
  background-size: 140% 140%, 150% 150%, 140% 140%;
}

.programs__card-body {
  position: relative;
  z-index: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.programs__card-head {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.programs__head {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 4–6px visually */
}

.programs__category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.programs__title-card {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--color-text);
}

.programs__meta {
  margin: 0;
  font-weight: 600;
  color: rgba(26, 43, 60, 0.75);
}

.programs__careers {
  margin: 0;
  padding-left: 20px;
  color: rgba(26, 43, 60, 0.85);
  font-size: 0.95rem;
}

.programs__careers li {
  margin-bottom: 6px;
}

.programs__careers li:last-child {
  margin-bottom: 0;
}

.programs__intake {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(12, 48, 72, 0.08);
  color: var(--color-primary);
}

.programs__cta {
  margin-top: auto;
}

.programs__cta-button {
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 12px 20px rgba(12, 48, 72, 0.2);
}

.programs__cta-button:hover,
.programs__cta-button:focus-visible {
  background-color: #0a2436;
}

.programs__card.is-active {
  transform: scale(1);
  opacity: 1;
}

.programs__card.is-active .programs__cta-button {
  box-shadow: 0 12px 20px rgba(12, 48, 72, 0.2);
}

.programs__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.programs__dot {
  width: 30px;
  height: 8px;
  border-radius: 999px;
  background: rgba(12, 48, 72, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--anim-duration-medium) var(--anim-ease-default), transform var(--anim-duration-medium) var(--anim-ease-default);
}

.programs__dot.is-active {
  background-color: var(--color-accent);
  transform: scaleX(1.2);
}

.programs__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  border-radius: 50%;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(15, 49, 72, 0.15);
  cursor: pointer;
  z-index: 3;
  transition: transform var(--anim-duration-fast) var(--anim-ease-default), opacity var(--anim-duration-fast) var(--anim-ease-default);
}

.programs__arrow[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.programs__arrow[data-programs-arrow="prev"] {
  left: calc(-1 * var(--space-sm));
}

.programs__arrow[data-programs-arrow="next"] {
  right: calc(-1 * var(--space-sm));
}

.programs__arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .programs__track {
    margin: 0;
    padding: var(--space-sm) clamp(var(--space-md), 3vw, var(--space-lg)) var(--space-xl);
  }

  .programs__card {
    flex: 0 0 calc(50% - var(--space-md));
    max-width: none;
    transform: translateY(0);
    scroll-snap-align: start;
  }

  .programs__card.is-active {
    transform: translateY(-2px) scale(1.01);
  }

  .programs__card:hover,
  .programs__card:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 48px rgba(9, 40, 70, 0.22);
  }

  .programs__dots {
    display: none;
  }
}

@media (min-width: 769px) {
  .programs__carousel::before,
  .programs__carousel::after {
    opacity: 1;
  }

  .programs__arrow {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .programs__card {
    flex: 0 0 calc(33.333% - var(--space-md));
  }

  .programs__track {
    gap: var(--space-md);
    padding-inline: clamp(var(--space-md), 2.5vw, var(--space-xl));
    margin-left: 2vw;
  }

  .programs__arrow[data-programs-arrow="prev"] {
    left: calc(-1 * var(--space-sm));
  }

  .programs__arrow[data-programs-arrow="next"] {
    right: calc(-1 * var(--space-sm));
  }
}

/* ----------------------------------------
   SECTION: Why Soltrium Overview
   PURPOSE: Present the headline, eyebrow, and supporting copy for the differentiator section.
------------------------------------------ */
.why-soltrium {
  text-align: center;
  background-color: var(--color-bg);
}

.why-soltrium__header {
  max-width: 780px;
}

/* ----------------------------------------
   SECTION: Why Wheel Visualization
   PURPOSE: Style the circular value wheel with spokes, center content, and responsive spacing.
------------------------------------------ */
.why-wheel {
  display: flex;
  justify-content: center;
  margin: var(--space-xl) auto var(--space-xxl);
  margin-top: 10vw;
  margin-bottom: 5vw;
}

.why-wheel__visual {
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-inline: auto;
  background: radial-gradient(circle, #ffffff 0%, #f4f7fb 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  --orbit-radius: clamp(210px, 42vw, 290px);
  --line-length: calc(var(--orbit-radius) - 72px);
}

.why-wheel__visual::after {
  content: "";
  position: absolute;
  inset: clamp(14px, 2vw, 20px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(244, 247, 251, 0.9) 50%, rgba(236, 241, 247, 0.7) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.why-wheel__spokes {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.why-wheel__line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--line-length);
  height: 0;
  border-top: 2px solid rgba(0, 0, 0, 0.06);
  transform-origin: 0% 50%;
  transition: border-color var(--anim-duration-medium) var(--anim-ease-default);
}

.why-wheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 30vw, 230px);
  height: clamp(200px, 30vw, 230px);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #f3f6fa 52%, #e9eef5 100%);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertically center the pair */
  align-items: center;        /* horizontally center */
  gap: 0.5rem;                /* space between eyebrow + motto */
  place-items: center;
  padding: clamp(22px, 4vw, 28px);
  z-index: 3;
  text-align: center;
  backdrop-filter: blur(4px);
}

.why-wheel__center::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0) 65%);
  z-index: -2;
  opacity: 0.85;
  animation: why-wheel-pulse 6s ease-in-out infinite;
}

.why-wheel__center-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

@media (max-width: 767px) {
  .why-wheel__center-eyebrow {
    font-size: 0.72rem;
  }
}

.why-wheel__center-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  line-height: 1.35;
  color: var(--color-navy);
}

.why-wheel__item {
  --item-angle: 0deg;
  position: absolute;
  transform: rotate(var(--item-angle)) translateY(calc(-1 * var(--orbit-radius))) rotate(calc(-1 * var(--item-angle)));
  width: clamp(190px, 24vw, 240px);
  z-index: 2;
  text-align: left;
  transition: transform var(--anim-duration-medium) var(--anim-ease-default);
}

.why-wheel__item-inner {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  transition: transform var(--anim-duration-medium) var(--anim-ease-default), box-shadow var(--anim-duration-medium) var(--anim-ease-default), background var(--anim-duration-medium) var(--anim-ease-default);
  transform-origin: center;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.why-wheel__item-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(239, 68, 68, 0.14);
  opacity: 0;
  transition: opacity var(--anim-duration-medium) var(--anim-ease-default);
}

.why-wheel__item:hover .why-wheel__item-inner,
.why-wheel__item:focus-within .why-wheel__item-inner {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
}

.why-wheel__item:hover .why-wheel__item-inner::after,
.why-wheel__item:focus-within .why-wheel__item-inner::after {
  opacity: 1;
}

/* Icon set here uses emojis; align with SVG icon system during Phase 3 standardization. */
.why-wheel__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  padding: 8px;
  font-size: 1.5rem;
  color: var(--color-navy);
}

.why-wheel__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-navy);
}

.why-wheel__description {
  margin: 0;
  font-size: 0.92rem;
  color: #4f5a63;
  line-height: 1.5;
}

.why-wheel__item--pos-12 {
  --item-angle: 0deg;
}

.why-wheel__item--pos-2 {
  --item-angle: 60deg;
}

.why-wheel__item--pos-4 {
  --item-angle: 120deg;
}

.why-wheel__item--pos-6 {
  --item-angle: 180deg;
}

.why-wheel__item--pos-8 {
  --item-angle: 240deg;
}

.why-wheel__item--pos-10 {
  --item-angle: 300deg;
}

.why-wheel__line:nth-child(1) {
  transform: rotate(0deg) translateX(0);
}

.why-wheel__line:nth-child(2) {
  transform: rotate(60deg) translateX(0);
}

.why-wheel__line:nth-child(3) {
  transform: rotate(120deg) translateX(0);
}

.why-wheel__line:nth-child(4) {
  transform: rotate(180deg) translateX(0);
}

.why-wheel__line:nth-child(5) {
  transform: rotate(240deg) translateX(0);
}

.why-wheel__line:nth-child(6) {
  transform: rotate(300deg) translateX(0);
}

@media (max-width: 1023px) {
  .why-wheel__visual {
    padding: clamp(18px, 4vw, 26px);
    --orbit-radius: clamp(180px, 42vw, 300px);
    --line-length: calc(var(--orbit-radius) - 66px);
  }

  .why-wheel__item {
    width: clamp(180px, 30vw, 220px);
  }
}

@media (max-width: 767px) {
  .why-soltrium__header {
    margin-bottom: 32px;
    gap: 10px;
  }

  .why-wheel {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
  }

  .why-wheel__visual {
    max-width: none;
    width: 100%;
    aspect-ratio: auto;
    padding: 0;
    display: grid;
    gap: 18px;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .why-wheel__visual::after,
  .why-wheel__spokes {
    display: none;
  }

  .why-wheel__center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: 220px;
    height: 220px;
  }

  .why-wheel__center::before {
    inset: -10px;
  }

  .why-wheel__item {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
  }

  .why-wheel__item-inner {
    padding: 18px 20px 20px;
  }
}
.about {
  display: grid;
  gap: clamp(var(--space-lg), 6vw, var(--space-2xl));
  align-items: center;
}

.about__text {
  display: grid;
  gap: var(--space-md);
  align-content: start;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(10, 53, 81, 0.18), rgba(230, 57, 70, 0.25));
  box-shadow: var(--shadow-soft);
}

.about__caption {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--brand-grey-700);
}

.form {
  background-color: var(--color-white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-navy);
}

.form__group input,
.form__group textarea,
.form__group select {
  border: 1px solid rgba(10, 53, 81, 0.18);
  border-radius: var(--radius-small);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--anim-duration-fast) var(--anim-ease-default), box-shadow var(--anim-duration-fast) var(--anim-ease-default);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 4px rgba(10, 53, 81, 0.12);
}

.form__group textarea {
  resize: vertical;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form-confirmation {
  text-align: center;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  animation: fade-in 0.4s ease-out;
}

.form-confirmation--visible {
  display: block !important;
}

/* ----------------------------------------
   SECTION: Site Footer
   PURPOSE: Layout the footer navigation, contact details, and layered background styling.
------------------------------------------ */
/* Footer: premium layered design */
.site-footer {
  color: var(--color-white);
}

.site-footer__top {
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(230, 57, 70, 0.14), transparent 30%),
    linear-gradient(rgba(7, 38, 59, 0.94), rgba(7, 38, 59, 0.92));
  background-repeat: no-repeat;
  background-size: 420px 420px, 360px 360px, cover;
  padding: clamp(calc(var(--space-xl) + var(--space-lg)), 12vw, calc(var(--space-3xl) + var(--space-lg))) 0;
}

.site-footer__top::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 58%);
  opacity: 0.18;
  pointer-events: none;
  transform: none;
}

.site-footer__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(var(--space-lg), 10vw, var(--space-2xl));
  grid-template-columns: 1fr;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__column--brand {
  gap: 18px;
  max-width: 420px;
}

.site-footer__logo {
  width: clamp(160px, 22vw, 220px);
  filter: drop-shadow(0 4px 8px rgba(42, 113, 158, 0.445));
  border-radius: 25px;

}

.site-footer__blurb {
  margin: 0;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: border-color var(--anim-duration-fast) var(--anim-ease-default), transform var(--anim-duration-fast) var(--anim-ease-default);
}

.site-footer__social-link img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.site-footer__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__nav,
.site-footer__contact-list,
.site-footer__values {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav {
  gap: 8px;
}

.site-footer__values {
  gap: 12px;
}

/* Contact column adopts a media-object pattern for icons + text rows */
.site-footer__column--contact {
  --site-footer-contact-icon-size: 24px;
  --site-footer-contact-gap: 12px;
}

.site-footer__contact-list {
  gap: 18px;
}

.site-footer__nav a {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--anim-duration-fast) var(--anim-ease-default), text-decoration-color var(--anim-duration-fast) var(--anim-ease-default);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.site-footer__contact-list li {
  display: grid;
  grid-template-columns: var(--site-footer-contact-icon-size) 1fr;
  align-items: center;
  column-gap: var(--site-footer-contact-gap);
  font-size: 0.95rem;
}

.site-footer__contact-icon {
  width: var(--site-footer-contact-icon-size);
  height: var(--site-footer-contact-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__contact-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.site-footer__contact-link {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus {
  text-decoration: underline;
}

.site-footer__contact-address {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__contact-text {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__values li {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__bottom {
  background-color: var(--color-navy-deep);
  border-top: 1px solid rgba(242, 197, 114, 0.48);
  padding: 20px 0;
}

.site-footer__bottom .container {
  display: flex;
  justify-content: center;
}

.site-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------
   SECTION: Thank You Page
   PURPOSE: Style the confirmation layout for the post-submission experience.
------------------------------------------ */
.thankyou {
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.thankyou__main {
  text-align: center;
  max-width: 520px;
  background-color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.thankyou__logo {
  width: 150px;
  margin: 0 auto 24px;
}

.thankyou__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--color-navy);
  margin: 0 0 16px;
}

.thankyou__text {
  margin: 0 0 28px;
  color: #4f5a63;
}

/* ----------------------------------------
   SECTION: Responsive Adjustments
   PURPOSE: Refine layout and components across common breakpoint ranges.
------------------------------------------ */
@media (max-width: 1439px) {
  .site-header__inner {
    gap: 18px;
    padding: 14px 0;
  }

  .site-header__brand-logo {
    height: 52px;
  }

  .site-nav__list {
    gap: 14px;
  }

  .site-nav__link {
    font-size: 0.9rem;
  }

  .site-header__actions {
    gap: 12px;
  }

  .site-header__button {
    padding: 9px 18px;
    font-size: 0.9rem;
  }

  .site-header__button--secondary {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    min-width: 44px;
    gap: 0;
  }

  .site-header__whatsapp-icon {
    margin-right: 0;
  }

  .site-header__button-text--whatsapp {
    display: none;
  }

  .site-header__button--secondary svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1200px) {
  .site-header__inner {
    gap: 16px;
  }

  .site-header__brand-logo {
    height: 36px;
  }

  .site-nav__list {
    gap: 12px;
  }

  .site-nav__link {
    font-size: 0.86rem;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-header__button {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1023px) {
  .site-header__inner {
    padding: 14px 0;
    gap: 16px;
  }

  .site-header__brand-logo {
    height: 46px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    margin-left: auto;
    gap: 16px;
  }

  .site-header__button {
    padding: 8px 18px;
    font-size: 0.88rem;
  }

  .site-header__button--secondary {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__mobile-panel {
    margin: 0 24px;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    gap: 14px;
    padding: 14px 0;
  }

  .site-header__brand-logo {
    height: 46px;
  }

  .site-header__actions {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
  }

  .site-header__mobile-panel {
    margin: 0 16px;
  }
}

@media (min-width: 768px) {
  .hero--immersive {
    padding: clamp(132px, 16vh, 168px) 0 clamp(104px, 12vh, 152px);
    align-items: center;
  }

  .hero__text {
    text-align: left;
    margin: 0;
    align-self: flex-start;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-md);
  }

  .about {
    grid-template-columns: 1.1fr 0.9fr;
  }

  /* Footer grid adjustments for tablet view */
  .site-footer__top {
    padding: clamp(calc(var(--space-2xl) + var(--space-lg)), 10vw, calc(var(--space-3xl) + var(--space-xl))) 0;
  }

  .site-footer__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(var(--space-lg), 5vw, var(--space-2xl));
  }
}

@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .form {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .site-footer__layout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: clamp(var(--space-lg), 4vw, var(--space-2xl));
    grid-template-columns: 1.4fr 1fr 2fr 1fr;
  }
}

@media (min-width: 1440px) {
  /* Footer breathing room on very large screens */
  .site-footer__top {
    padding: 88px 0;
  }

  .site-footer__layout {
    gap: 48px 64px;
  }
}

@media (max-width: 767px) {
  /* Center watermark on small screens */
  .site-footer__top::after {
    left: 50%;
    right: auto;
    bottom: 18px;
    transform: translateX(-50%);
    width: clamp(140px, 48vw, 200px);
  }
}

/* Tablet range where the wheel is still circular */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Base shrink: 20% smaller */
  .why-wheel__item-inner {
    transform: scale(0.8);
    transform-origin: center center;
  }

  /* Keep hover looking nice (scale relative to the smaller base) */
  .why-wheel__item:hover .why-wheel__item-inner,
  .why-wheel__item:focus-within .why-wheel__item-inner {
    transform: scale(0.84) rotate(0deg);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {

  /* Base shrink: 20% smaller */
  .why-wheel__item-inner {
    transform: scale(0.9);
    transform-origin: center center;
  }

  /* Keep hover looking nice (scale relative to the smaller base) */
  .why-wheel__item:hover .why-wheel__item-inner,
  .why-wheel__item:focus-within .why-wheel__item-inner {
    transform: scale(0.9) rotate(-1deg);
  }
}

@media (min-width: 1440px) {

  /* Base shrink: 20% smaller */
  .why-wheel__item-inner {
    transform: scale(0.9);
    transform-origin: center center;
  }

  /* Keep hover looking nice (scale relative to the smaller base) */
  .why-wheel__item:hover .why-wheel__item-inner,
  .why-wheel__item:focus-within .why-wheel__item-inner {
    transform: scale(0.9) rotate(-1deg);
  }
}

