/* =====================================================
   STELLAR SECTIONS
   1. Shared rules (all sections)
   2. Orbit section     (.stellar-orbit)
   3. Features section  (.stellar-features)
   4. CTA section       (.stellar-cta)
   5. About page:
      5a. Shared about-page parts (container, eyebrow, star sky)
      5b. Hero + stats      (.stellar-about-hero)
      5c. History timeline  (.stellar-history)
      5d. Philosophy        (.stellar-philosophy)
      5e. Values            (.stellar-values)
   6. Service pages (.stellar-service wrapper, colour in --svc)
   7. Service filters (tab bar)
   8. Contact page (.stellar-contact wrapper)

   Fonts, sizes and weights come from your global styles.
   Language switching is handled by your global CSS (lang="el" / lang="en").
   ===================================================== */


/* =====================================================
   1. SHARED
   ===================================================== */
.stellar-orbit,
.stellar-features,
.stellar-cta,
.stellar-about-hero,
.stellar-history,
.stellar-philosophy,
.stellar-values,
.stellar-svc-hero,
.stellar-svc-services,
.stellar-svc-why,
.stellar-contact-hero,
.stellar-contact-depts{
  --st-text:#c9d0e8;    /* body text on dark */
  --st-blue:#2baae1;    /* accent */
  --st-border:rgba(140,155,230,.22);
  --st-bg:#0a0f24;      /* section background */
  --st-box:#101733;     /* background of every inner box */
  padding:80px 24px;
}

/* Widths include padding, so all boxes line up at 1100px */
.stellar-orbit *, .stellar-orbit *::before, .stellar-orbit *::after,
.stellar-features *, .stellar-features *::before, .stellar-features *::after,
.stellar-cta *, .stellar-cta *::before, .stellar-cta *::after,
.stellar-about-hero *, .stellar-about-hero *::before, .stellar-about-hero *::after,
.stellar-history *, .stellar-history *::before, .stellar-history *::after,
.stellar-philosophy *, .stellar-philosophy *::before, .stellar-philosophy *::after,
.stellar-values *, .stellar-values *::before, .stellar-values *::after,
.stellar-svc-hero *, .stellar-svc-hero *::before, .stellar-svc-hero *::after,
.stellar-svc-services *, .stellar-svc-services *::before, .stellar-svc-services *::after,
.stellar-svc-why *, .stellar-svc-why *::before, .stellar-svc-why *::after,
.stellar-contact-hero *, .stellar-contact-hero *::before, .stellar-contact-hero *::after,
.stellar-contact-depts *, .stellar-contact-depts *::before, .stellar-contact-depts *::after{
  box-sizing:border-box;
}

/* All headings in the sections are white */
.stellar-orbit :is(h1,h2,h3,h4,h5,h6),
.stellar-features :is(h1,h2,h3,h4,h5,h6),
.stellar-cta :is(h1,h2,h3,h4,h5,h6),
.stellar-about-hero :is(h1,h2,h3,h4,h5,h6),
.stellar-history :is(h1,h2,h3,h4,h5,h6),
.stellar-philosophy :is(h1,h2,h3,h4,h5,h6),
.stellar-values :is(h1,h2,h3,h4,h5,h6),
.stellar-svc-hero :is(h1,h2,h3,h4,h5,h6),
.stellar-svc-services :is(h1,h2,h3,h4,h5,h6),
.stellar-svc-why :is(h1,h2,h3,h4,h5,h6),
.stellar-contact-hero :is(h1,h2,h3,h4,h5,h6),
.stellar-contact-depts :is(h1,h2,h3,h4,h5,h6){
  color:#fff;
}


/* =====================================================
   2. ORBIT SECTION
   ===================================================== */
.stellar-orbit{
  --orb-bg:var(--st-bg);
  --orb-line:rgba(140,155,230,.35);
  --orb-text:#c9d0ea;
  --orb-accent:#6fe3bf;
  --orb-blue:#2fa8e8;
  --orb-active:#2baae1;          /* set by JS to the clicked planet's colour */

  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 72%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 12%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 88%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 30%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 76%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 60%,  #fff5 50%, transparent 51%),
    var(--orb-bg);
  color:#fff;
  overflow-x:hidden;
}

/* ---------- Section heading ---------- */
.stellar-orbit .orb-heading{
  max-width:1100px;
  margin:0 auto 48px;
  text-align:center;
}

.stellar-orbit .orb-wrap{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

/* ---------- Diagram ---------- */
.stellar-orbit .orb-diagram{
  position:relative;
  width:100%;
  max-width:460px;
  aspect-ratio:1;
  margin:0 auto 40px;            /* room for the bottom planet's label */
}

.stellar-orbit .orb-rings{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.stellar-orbit .orb-rings circle{
  fill:none;
  stroke:var(--orb-line);
  stroke-width:1.2;
  vector-effect:non-scaling-stroke;
}
.stellar-orbit .orb-rings .orb-dashed{
  stroke-dasharray:4 6;
  stroke:rgba(140,155,230,.28);
}

.stellar-orbit .orb-core{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:19%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle, #1d3a5c 0 55%, #15274a 56% 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
}
.stellar-orbit .orb-core-name{
  font-weight:800;
  letter-spacing:.14em;
  font-size:clamp(10px,2.4vw,13px);
}

/* ---------- Planets ---------- */
/* The button is reset completely so global site styles for <button>
   (padding, width, height, background…) can't make it bigger than the dot
   and cover the neighbouring planets. */
.stellar-orbit .orb-planet{
  all:unset;
  box-sizing:border-box;
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:22px;
  height:22px;
  transform:translate(-50%,-50%);
  cursor:pointer;
  color:#fff;
  font-family:inherit;
  z-index:1;
}
.stellar-orbit .orb-planet:hover,
.stellar-orbit .orb-planet:focus-visible{ z-index:2; }
.stellar-orbit .orb-dot{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  background:var(--c);
  transition:transform .25s ease, box-shadow .25s ease;
}
.stellar-orbit .orb-label{
  position:absolute;
  top:calc(100% + 6px);
  left:50%;
  transform:translateX(-50%);
  width:max-content;
  max-width:140px;
  text-align:center;
  line-height:1.3;
  font-size:12.5px;
  letter-spacing:normal;
  font-weight:500;
  padding:3px 9px;
  border-radius:8px;
  transition:background .25s ease;
}

/* Label above the dot (avoids overlapping neighbouring labels) */
.stellar-orbit .orb-planet[data-label="top"] .orb-label{
  top:auto;
  bottom:calc(100% + 6px);
}

/* Planets near the right edge: label grows to the left */
.stellar-orbit .orb-planet[data-align="end"] .orb-label{
  left:auto;
  right:-4px;
  transform:none;
  text-align:right;
}

.stellar-orbit .orb-planet:hover .orb-dot,
.stellar-orbit .orb-planet:focus-visible .orb-dot{
  transform:scale(1.18);
}
.stellar-orbit .orb-planet:focus-visible{ outline:none; }
.stellar-orbit .orb-planet:focus-visible .orb-label{
  outline:2px solid var(--c);
  outline-offset:2px;
}

.stellar-orbit .orb-planet.is-active .orb-dot{
  transform:scale(1.15);
  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--c) 22%, transparent),
    0 0 22px 6px color-mix(in srgb, var(--c) 45%, transparent);
  animation:stellar-orbit-pulse 2.4s ease-in-out infinite;
}
.stellar-orbit .orb-planet.is-active .orb-label{ background:#24324f; }

@keyframes stellar-orbit-pulse{
  50%{
    box-shadow:
      0 0 0 10px color-mix(in srgb, var(--c) 14%, transparent),
      0 0 28px 8px color-mix(in srgb, var(--c) 35%, transparent);
  }
}

/* ---------- Card ---------- */
.stellar-orbit .orb-card{
  background:var(--st-box);
  border:1px solid color-mix(in srgb, var(--orb-active) 45%, transparent);
  border-radius:22px;
  padding:44px 40px;
  text-align:left;
  transition:opacity .25s ease, transform .25s ease, border-color .35s ease;
}
/* Left-aligned, protected from site-wide rules (e.g. article/h2/p centred) */
.stellar-orbit .orb-card .orb-panel{
  display:block;
  text-align:left !important;
}
.stellar-orbit .orb-card .orb-panel > *{
  text-align:left !important;
  margin-left:0;
  margin-right:0;
}
.stellar-orbit .orb-card .orb-panel[hidden]{ display:none; }
.stellar-orbit .orb-card.is-changing{
  opacity:0;
  transform:translateY(6px);
}
.stellar-orbit .orb-title{
  margin:0 0 14px;
}
.stellar-orbit .orb-lead{
  margin:0 0 16px;
  color:var(--orb-active);
  transition:color .35s ease;
}
.stellar-orbit .orb-body{
  margin:0 0 28px;
  color:var(--orb-text);
}
.stellar-orbit .orb-cta{
  display:inline-block;
  padding:13px 24px;
  border-radius:999px;
  border:1.5px solid var(--orb-active);
  color:var(--orb-active);
  text-decoration:none;
  transition:background .2s ease, color .2s ease;
}
.stellar-orbit .orb-cta:hover,
.stellar-orbit .orb-cta:focus-visible{
  background:var(--orb-active);
  color:var(--orb-bg);
}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .stellar-orbit .orb-wrap{ grid-template-columns:1fr; gap:40px; }
  .stellar-orbit .orb-heading{ margin-bottom:32px; }
  .stellar-orbit .orb-diagram{ max-width:380px; }
  .stellar-orbit .orb-card{ padding:32px 26px; }
}
@media (max-width:420px){
  .stellar-orbit .orb-planet{ width:18px; height:18px; }
  .stellar-orbit .orb-label{ font-size:11px; }
}
@media (prefers-reduced-motion:reduce){
  .stellar-orbit .orb-planet.is-active .orb-dot{ animation:none; }
  .stellar-orbit .orb-card,
  .stellar-orbit .orb-dot{ transition:none; }
}


/* =====================================================
   3. FEATURES SECTION
   ===================================================== */
.stellar-features{
  --sf-bg:var(--st-bg);
  --sf-border:rgba(140,155,230,.22);
  --sf-text:#c9d0ea;
  --sf-icon:#2baae1;
  --sf-text-size:.9em;     /* box text size, e.g. .9em or 15px */

  background:var(--sf-bg);
  color:#fff;
}

/* ---------- Section heading ---------- */
.stellar-features .sf-heading{
  max-width:1100px;
  margin:0 auto 32px;
  text-align:left !important;
}

.stellar-features .sf-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* ---------- Card ---------- */
.stellar-features .sf-card{
  display:block;
  background:var(--st-box);
  border:1px solid var(--sf-border);
  border-radius:18px;
  padding:30px 28px 34px;
  text-align:left !important;
  transition:border-color .25s ease, transform .25s ease;
}
.stellar-features .sf-card > *{
  text-align:left !important;
  margin-left:0;
  margin-right:0;
}
.stellar-features .sf-card:hover{
  border-color:color-mix(in srgb, var(--sf-icon) 45%, transparent);
  transform:translateY(-2px);
}

.stellar-features .sf-icon{
  display:block;
  width:28px;
  height:28px;
  margin-bottom:18px;
  fill:none;
  stroke:var(--sf-icon);
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.stellar-features .sf-title{
  margin-top:0;
  margin-bottom:12px;
}

.stellar-features .sf-text{
  font-size:var(--sf-text-size);
  margin:0;
  color:var(--sf-text);
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .stellar-features .sf-grid{ grid-template-columns:1fr; max-width:560px; }
  .stellar-features .sf-heading{ max-width:560px; }
}
@media (prefers-reduced-motion:reduce){
  .stellar-features .sf-card{ transition:none; }
  .stellar-features .sf-card:hover{ transform:none; }
}


/* =====================================================
   4. CTA SECTION
   ===================================================== */
.stellar-cta{
  --sc-bg:var(--st-bg);
  --sc-border:rgba(43,170,225,.35);
  --sc-sub:#c9d0e8;
  --sc-btn:#2baae1;

  background:var(--sc-bg);
  margin-top:100px;
}
/* Variant without the extra top margin (used on the About page) */
.stellar-cta.stellar-cta--flush{
  margin-top:0;
}

.stellar-cta .sc-box{
  max-width:1100px;
  margin:0 auto;
  background:var(--st-box);
  border:1px solid var(--sc-border);
  border-radius:26px;
  padding:52px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

/* ---------- Text ---------- */
.stellar-cta .sc-text,
.stellar-cta .sc-text > *{
  text-align:left !important;
}
.stellar-cta .sc-title{
  margin:0 0 8px;
}
.stellar-cta .sc-sub{
  margin:0;
  color:var(--sc-sub);
}

/* ---------- Button ---------- */
.stellar-cta .sc-actions{
  flex-shrink:0;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.stellar-cta .sc-btn{
  display:inline-block;
  padding:14px 30px;
  border-radius:999px;
  background:var(--sc-btn);
  border:1.5px solid var(--sc-btn);
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.stellar-cta .sc-btn:hover,
.stellar-cta .sc-btn:focus-visible{
  background:transparent;
  color:#fff;
}
.stellar-cta .sc-btn:focus-visible{
  outline:2px solid var(--sc-btn);
  outline-offset:3px;
}

/* Second (outline) button */
.stellar-cta .sc-btn--outline{
  background:transparent;
}
.stellar-cta .sc-btn--outline:hover,
.stellar-cta .sc-btn--outline:focus-visible{
  background:var(--sc-btn);
}

/* ---------- Responsive ---------- */
@media (max-width:800px){
  .stellar-cta .sc-box{
    flex-direction:column;
    align-items:flex-start;
    padding:36px 28px;
    gap:24px;
  }
}
/* Mobile: smaller button so it stays inside the box */
@media (max-width:520px){
  .stellar-cta .sc-box{ padding:30px 22px; }
  .stellar-cta .sc-actions{ max-width:100%; }
  .stellar-cta .sc-btn{
    font-size:14px;
    padding:12px 20px;
    white-space:normal;      /* wraps instead of overflowing on very narrow screens */
    text-align:center;
    max-width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  .stellar-cta .sc-btn{ transition:none; }
}


/* =====================================================
   5a. ABOUT PAGE – SHARED PARTS
   ===================================================== */
.stellar-about-hero,
.stellar-history,
.stellar-philosophy,
.stellar-values,
.stellar-svc-hero,
.stellar-svc-services,
.stellar-svc-why,
.stellar-contact-hero,
.stellar-contact-depts{
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 72%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 12%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 88%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 30%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 76%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 60%,  #fff5 50%, transparent 51%),
    var(--st-bg);
  color:#fff;
}

/* Content width, lines up with the other sections */
:is(.stellar-about-hero, .stellar-history, .stellar-philosophy, .stellar-values, .stellar-svc-hero, .stellar-svc-services, .stellar-svc-why, .stellar-contact-hero, .stellar-contact-depts) .st-container{
  max-width:1100px;
  margin:0 auto;
}
:is(.stellar-about-hero, .stellar-history, .stellar-philosophy, .stellar-values, .stellar-svc-hero, .stellar-svc-services, .stellar-svc-why, .stellar-contact-hero, .stellar-contact-depts) .st-container,
:is(.stellar-about-hero, .stellar-history, .stellar-philosophy, .stellar-values, .stellar-svc-hero, .stellar-svc-services, .stellar-svc-why, .stellar-contact-hero, .stellar-contact-depts) .st-container *{
  text-align:left;
}

/* Small blue label above headings */
:is(.stellar-about-hero, .stellar-history, .stellar-philosophy, .stellar-values, .stellar-svc-hero, .stellar-svc-services, .stellar-svc-why, .stellar-contact-hero, .stellar-contact-depts) .st-eyebrow{
  margin:0 0 14px;
  color:var(--st-blue);
  font-size:.78em;
  letter-spacing:.2em;
  text-transform:uppercase;
}

:is(.stellar-history, .stellar-values, .stellar-svc-services, .stellar-svc-why, .stellar-contact-depts) .st-heading{
  margin:0 0 40px;
}


/* =====================================================
   5b. HERO + STATS
   ===================================================== */
/* Hero is centred */
.stellar-about-hero .st-container,
.stellar-about-hero .st-container *{
  text-align:center;
}
.stellar-about-hero .ah-title{
  max-width:800px;
  margin:0 auto 20px;
}
.stellar-about-hero .ah-lead{
  max-width:640px;
  margin:0 auto 44px;
  color:var(--st-text);
}

.stellar-about-hero .ah-stats{
  list-style:none;
  padding:0;
  max-width:780px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.stellar-about-hero .ah-stat{
  margin:0;
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-radius:14px;
  padding:18px 20px;
}
.stellar-about-hero .ah-num{
  display:block;
  font-size:1.8em;
  line-height:1.1;
  color:#fff;
}
.stellar-about-hero .ah-label{
  display:block;
  margin-top:4px;
  font-size:.85em;
  color:var(--st-text);
}


/* =====================================================
   5c. HISTORY TIMELINE
   ===================================================== */
.stellar-history .sh-timeline{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:0 32px;
}
.stellar-history .sh-item{
  position:relative;
  margin:0;
  padding-top:34px;
}

/* line running to the next item */
.stellar-history .sh-item::before{
  content:"";
  position:absolute;
  top:6px;
  left:0;
  right:-32px;
  height:1px;
  background:rgba(140,155,230,.35);
}
/* last item: dashed line, "still going" */
.stellar-history .sh-item--now::before{
  right:0;
  height:0;
  background:none;
  border-top:1px dashed rgba(43,170,225,.6);
}

.stellar-history .sh-dot{
  position:absolute;
  top:0;
  left:0;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--st-blue);
  box-shadow:0 0 0 4px rgba(43,170,225,.18), 0 0 14px rgba(43,170,225,.8);
  z-index:1;
}
.stellar-history .sh-dot--white{
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
}

.stellar-history .sh-year{
  margin:0 0 8px;
}
.stellar-history .sh-item--now .sh-year{
  color:var(--st-blue);
}
.stellar-history .sh-text{
  margin:0;
  font-size:.9em;
  color:var(--st-text);
}


/* =====================================================
   5d. PHILOSOPHY
   ===================================================== */
.stellar-philosophy .sp-box{
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-radius:22px;
  padding:48px 44px;
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:40px;
  align-items:start;
}
.stellar-philosophy .sp-title{
  margin:0;
}
.stellar-philosophy .sp-lead{
  margin:0 0 14px;
  color:#fff;
}
.stellar-philosophy .sp-text{
  margin:0;
  font-size:.9em;
  color:var(--st-text);
}


/* =====================================================
   5e. VALUES
   ===================================================== */

/* Constellation */
.stellar-values .sv-sky{
  position:relative;
  width:100%;
  aspect-ratio:1000 / 160;
  margin:0 0 56px;
}
.stellar-values .sv-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.stellar-values .sv-lines polyline{
  fill:none;
  stroke:rgba(43,170,225,.4);
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
.stellar-values .sv-star{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:14px;
  height:14px;
  transform:translate(-50%,-50%);
}
.stellar-values .sv-star i{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 4px rgba(43,170,225,.2), 0 0 16px 2px rgba(43,170,225,.75);
  animation:stellar-twinkle 3.2s ease-in-out infinite;
  transition:transform .25s ease;
}
.stellar-values .sv-star:nth-of-type(2) i{ animation-delay:.6s; }
.stellar-values .sv-star:nth-of-type(3) i{ animation-delay:1.2s; }
.stellar-values .sv-star:nth-of-type(4) i{ animation-delay:1.8s; }
.stellar-values .sv-star:nth-of-type(5) i{ animation-delay:2.4s; }
.stellar-values .sv-star b{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:.8em;
  letter-spacing:.06em;
  color:var(--st-blue);
}
.stellar-values .sv-star.is-lit i{ transform:scale(1.45); }

@keyframes stellar-twinkle{
  50%{ box-shadow:0 0 0 6px rgba(43,170,225,.12), 0 0 22px 4px rgba(43,170,225,.55); }
}

/* Cards */
.stellar-values .sv-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:16px;
}
.stellar-values .sv-card{
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-radius:16px;
  padding:22px 20px 26px;
  transition:border-color .25s ease, transform .25s ease;
}
.stellar-values .sv-card.is-lit{
  border-color:rgba(43,170,225,.55);
  transform:translateY(-3px);
}
.stellar-values .sv-title{
  margin:0 0 8px;
}
.stellar-values .sv-text{
  margin:0;
  font-size:.88em;
  color:var(--st-text);
}


/* =====================================================
   ABOUT PAGE – RESPONSIVE
   ===================================================== */
@media (max-width:980px){
  .stellar-values .sv-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (max-width:800px){
  .stellar-about-hero .ah-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }

  /* timeline becomes vertical */
  .stellar-history .sh-timeline{ grid-template-columns:1fr; gap:28px; }
  .stellar-history .sh-item{ padding:0 0 0 30px; }
  .stellar-history .sh-item::before{
    top:12px; bottom:-28px; left:5.5px; right:auto;
    width:1px; height:auto;
  }
  .stellar-history .sh-item--now::before{
    border-top:0;
    border-left:1px dashed rgba(43,170,225,.6);
    bottom:0;
  }
  .stellar-history .sh-dot{ top:4px; }

  .stellar-philosophy .sp-box{ grid-template-columns:1fr; gap:20px; padding:34px 28px; }

  /* constellation labels get too tight: hide it, keep the cards */
  .stellar-values .sv-sky{ display:none; }
  .stellar-values .sv-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:480px){
  .stellar-values .sv-grid{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .stellar-values .sv-star i{ animation:none; }
  .stellar-values .sv-card,
  .stellar-values .sv-star i{ transition:none; }
}


/* =====================================================
   6. SERVICE PAGES
   Wrapper: <div class="stellar-service" style="--svc:#2baae1;">
   Change --svc to recolour the whole page.
   ===================================================== */
.stellar-service{
  --svc:#2baae1;
  --svc-btn-text:#fff;     /* text on the filled buttons */
  --svc-header-offset:0px;    /* extra top space for a fixed header; 0 because the filters bar already clears it */
}

/* Service pages: 50px top & bottom on every section */
.stellar-service > section{
  padding-top:50px;
  padding-bottom:50px;
  margin-top:0 !important;      /* cancels site-wide section margins */
  margin-bottom:0 !important;
}
/* First section: leave room for the fixed header */
.stellar-service > section:first-child{
  padding-top:calc(var(--svc-header-offset) + 100px);   /* padding, so the space stays dark */
}

/* ---------- Hero ---------- */
.stellar-svc-hero .svc-hero-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:56px;
  align-items:center;
}

/* eyebrow takes the service colour on service pages */
.stellar-service .st-eyebrow{ color:var(--svc); }

.stellar-svc-hero .svc-title{ margin:0 0 16px; }
.stellar-svc-hero .svc-tagline{
  margin:0 0 18px;
  color:var(--svc);
}
.stellar-svc-hero .svc-intro{
  margin:0 0 32px;
  color:var(--st-text);
}

.stellar-svc-hero .svc-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.stellar-svc-hero .svc-btn{
  display:inline-block;
  padding:13px 26px;
  border-radius:999px;
  border:1.5px solid var(--svc);
  background:var(--svc);
  color:var(--svc-btn-text);
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.stellar-svc-hero .svc-btn:hover,
.stellar-svc-hero .svc-btn:focus-visible{
  background:transparent;
  color:#fff;
}
.stellar-svc-hero .svc-btn--outline{
  background:transparent;
  border-color:rgba(140,155,230,.4);
  color:#fff;
}
.stellar-svc-hero .svc-btn--outline:hover,
.stellar-svc-hero .svc-btn--outline:focus-visible{
  border-color:var(--svc);
}

/* Photo box */
.stellar-svc-hero .svc-media{
  position:relative;
  margin:0;
  padding:0;
  aspect-ratio:1 / 1;
  max-height:420px;
  width:100%;
  border-radius:22px;
  overflow:hidden;
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-top:2px solid var(--svc);
  display:flex;
  align-items:center;
  justify-content:center;
}
/* Photo fills the whole box (overrides global img rules like height:auto) */
.stellar-svc-hero .svc-media img{
  position:absolute;
  inset:0;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  margin:0 !important;
  object-fit:cover;
  object-position:center;
  display:block;
}
/* Hide the placeholder text once a photo is in the box */
.stellar-svc-hero .svc-media:has(img) .svc-media-placeholder{ display:none; }
.stellar-svc-hero .svc-media-placeholder{
  padding:24px;
  font-size:.85em;
  color:var(--st-text);
  text-align:center !important;
}

/* ---------- Same text sizes in "Our services" and "Why" ----------
   Lists, list items and cards inherit the section's size, so global
   rules for li / ol / article can't make the two sections differ. */
.stellar-svc-services .svc-cards,
.stellar-svc-services .svc-card,
.stellar-svc-why .svc-why,
.stellar-svc-why .svc-why-item{
  font-size:inherit !important;
  line-height:inherit;
}
.stellar-svc-services .svc-card-title,
.stellar-svc-why .svc-why-title{
  font-size:1.05em !important;
  line-height:1.3 !important;
}
.stellar-svc-services .svc-card-text,
.stellar-svc-why .svc-why-text{
  font-size:.85em !important;
}

/* ---------- Our services ---------- */
.stellar-svc-services .svc-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));   /* 4 per row, extra cards wrap */
  gap:16px;
}
.stellar-svc-services .svc-card{
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-top:2px solid var(--svc);
  border-radius:16px;
  padding:24px 22px 28px;
}
.stellar-svc-services .svc-card-title{
  margin:0 0 8px;
  font-size:1.05em;      /* smaller than the global h3 */
  line-height:1.3;
}
.stellar-svc-services .svc-card-text{
  margin:0;
  font-size:.85em;
  color:var(--st-text);
}

/* ---------- Why STELLAR TRAVELS ---------- */
.stellar-svc-why .svc-why{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:24px;
}
.stellar-svc-why .svc-why-item{
  margin:0;
  padding-top:20px;
  border-top:1px solid rgba(140,155,230,.3);
}
.stellar-svc-why .svc-why-num{
  display:block;
  margin-bottom:8px;
  font-size:.85em;
  letter-spacing:.1em;
  color:var(--svc);
}
.stellar-svc-why .svc-why-title{
  margin:0 0 8px;
  font-size:1.05em;      /* same as the service cards */
  line-height:1.3;
}
.stellar-svc-why .svc-why-text{
  margin:0;
  font-size:.85em;       /* same as the service cards */
  color:var(--st-text);
}

/* ---------- CTA in the service colour ---------- */
.stellar-service .stellar-cta{
  --sc-btn:var(--svc);
  --sc-border:color-mix(in srgb, var(--svc) 40%, transparent);
}
.stellar-service .stellar-cta .sc-btn{ color:var(--svc-btn-text); }
.stellar-service .stellar-cta .sc-btn--outline{ color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .stellar-svc-services .svc-cards{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .stellar-svc-why .svc-why{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:800px){
  .stellar-svc-hero .svc-hero-grid{ grid-template-columns:1fr; gap:36px; }
  .stellar-svc-hero .svc-media{ aspect-ratio:16 / 10; }
}
@media (max-width:520px){
  .stellar-svc-services .svc-cards,
  .stellar-svc-why .svc-why{ grid-template-columns:1fr; }
}


/* =====================================================
   7. SERVICE FILTERS (tab bar on the service pages)
   The active tab gets the class .is-active from JS
   (see the snippet for main.js) and takes its service colour.
   ===================================================== */
.filters .filter.business-travel{         --filter-c:#2baae1; }
.filters .filter.corporate-events{        --filter-c:#4f7bf0; }
.filters .filter.incentive-travel{        --filter-c:#2ec4a6; }
.filters .filter.event-design-production{ --filter-c:#9479f0; }
.filters .filter.crew-travel{             --filter-c:#e8b24a; }

.filters .filter{
  transition:background .2s ease, box-shadow .2s ease;
}

/* Cancel any old highlight rules, so only the real active tab is coloured */
.filters .filter:not(.is-active){
  background:transparent !important;
}

/* Hover: thin line in the service colour */
.filters .filter:not(.is-active):hover,
.filters .filter:not(.is-active):focus-visible{
  box-shadow:inset 0 -3px 0 var(--filter-c);
}

/* Active tab: filled with the service colour */
.filters .filter.is-active{
  background:var(--filter-c) !important;
  color:#fff !important;
}
.filters .filter.is-active *{
  color:inherit !important;
}


/* =====================================================
   8. CONTACT PAGE
   Wrapper: <div class="stellar-contact">
   ===================================================== */

/* Spacing like the service pages: 50px per section.
   The first section keeps your site's top margin (it clears the fixed header). */
.stellar-contact > section{
  padding-top:50px;
  padding-bottom:50px;
  margin-bottom:0 !important;
}
.stellar-contact > section:not(:first-child){
  margin-top:0 !important;
}
.stellar-contact > section:first-child{
  padding-top:100px;
}

/* ---------- Hero ---------- */
.stellar-contact-hero .ct-hero-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:56px;
  align-items:center;
}
.stellar-contact-hero .ct-title{ margin:0 0 16px; }
.stellar-contact-hero .ct-tagline{
  margin:0 0 16px;
  color:var(--st-blue);
}
.stellar-contact-hero .ct-intro{
  margin:0;
  max-width:560px;
  color:var(--st-text);
}

/* Contact details card */
.stellar-contact-hero .ct-card{
  font-style:normal;
  background:var(--st-box);
  border:1px solid rgba(43,170,225,.35);
  border-radius:22px;
  padding:30px 32px 32px;
}
.stellar-contact-hero .ct-label{
  margin:22px 0 4px;
  font-size:.72em;
  letter-spacing:.18em;
  color:var(--st-text);
  opacity:.75;
}
.stellar-contact-hero .ct-label:first-child{ margin-top:0; }
.stellar-contact-hero .ct-phone{
  display:inline-block;
  font-size:1.6em;
  font-weight:bold;
  line-height:1.2;
  color:#fff;
  text-decoration:none;
}
.stellar-contact-hero .ct-link{
  color:var(--st-blue);
  text-decoration:none;
}
.stellar-contact-hero .ct-address{
  margin:0 0 6px;
  font-size:.85em;
  color:#fff;
}
.stellar-contact-hero .ct-map{
  font-size:.85em;
  color:var(--st-blue);
  text-decoration:underline;
  text-underline-offset:3px;
}
.stellar-contact-hero .ct-phone:hover,
.stellar-contact-hero .ct-link:hover,
.stellar-contact-hero .ct-map:hover{ opacity:.8; }

/* ---------- Departments ---------- */
.stellar-contact-depts .ct-depts{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:16px;
}
.stellar-contact-depts .ct-dept{
  font-size:inherit !important;
  background:var(--st-box);
  border:1px solid var(--st-border);
  border-top:2px solid var(--c);
  border-radius:16px;
  padding:22px 22px 20px;
  display:flex;                 /* email sits at the bottom left */
  flex-direction:column;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  transition:border-color .25s ease, transform .25s ease;
}
.stellar-contact-depts .ct-dept:hover{
  border-color:color-mix(in srgb, var(--c) 55%, transparent);
  border-top-color:var(--c);
  transform:translateY(-2px);
}
.stellar-contact-depts .ct-dept-title{
  margin:0;
  font-size:1.05em !important;     /* same as the service cards */
  line-height:1.3 !important;
}
.stellar-contact-depts .ct-dept-mail{
  margin-top:auto;
  font-size:14px;
  color:var(--c);
  text-decoration:none;
  word-break:break-word;
}
.stellar-contact-depts .ct-dept-mail:hover{ text-decoration:underline; }

/* ---------- Careers CTA in the HR colour ---------- */
.stellar-cta.ct-careers{
  --sc-btn:#e678c8;
  --sc-border:#e678c8;
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .stellar-contact-depts .ct-depts{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:800px){
  .stellar-contact-hero .ct-hero-grid{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:480px){
  .stellar-contact-depts .ct-depts{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .stellar-contact-depts .ct-dept{ transition:none; }
}