/* ============================================================
   MASSAIE SERVICES — Design System
   Palette: Navy · Gold · Ivory · Charcoal
   ============================================================ */

:root {
  --navy:     #0A1628;
  --navy-mid: #0F2040;
  --navy-lt:  #162B50;
  --gold:     #C9A84C;
  --gold-lt:  #E2C97A;
  --ivory:    #F9F6F0;
  --white:    #FFFFFF;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-400: #A1A1AA;
  --gray-600: #52525B;
  --gray-800: #27272A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.18);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc { margin: 0 auto; }

.section-header--light .section-title,
.section-header--light .section-eyebrow { color: var(--gold); }

.section-header--light .section-title { color: var(--white); }

.section-header--light .section-desc { color: rgba(255,255,255,.65); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.nav__logo-text em {
  display: block;
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
  background: var(--gold-lt) !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 32px 24px;
  background: rgba(10,22,40,.98);
  border-top: 1px solid rgba(255,255,255,.06);
  gap: 4px;
}

.nav__mobile a {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}

.nav__mobile a:last-child {
  border-bottom: none;
  color: var(--gold);
  font-weight: 600;
}

.nav__mobile.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(201,168,76,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(22,43,80,.9) 0%, transparent 70%);
}

/* geometric grid pattern overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

/* decorative gold arc */
.hero__bg::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.12);
  box-shadow: 0 0 0 60px rgba(201,168,76,.04), 0 0 0 120px rgba(201,168,76,.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 32px 80px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s forwards;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 1s forwards;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,.25);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.4);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}

.hero__scroll:hover { color: var(--gold); }

/* ── Services ────────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--ivory);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition-slow);
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201,168,76,.35);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition-slow), -webkit-text-stroke var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,168,76,.3);
}

.service-card:hover::before { color: rgba(201,168,76,.08); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
  transition: color var(--transition);
}

.service-card:hover .service-card__icon svg { color: var(--navy); }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card__list li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Process ─────────────────────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,168,76,.06) 0%, transparent 70%);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.process__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s, transform 0.6s;
}

.process__step.visible {
  opacity: 1;
  transform: none;
}

.process__step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 56px;
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
}

.process__step-content {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
  transition: var(--transition);
}

.process__step:hover .process__step-content {
  background: rgba(201,168,76,.06);
  border-color: rgba(201,168,76,.2);
}

.process__step-content h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.process__step-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

.process__connector {
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(201,168,76,.3), rgba(201,168,76,.1));
  margin-left: calc(56px + 11px);
}

/* ── About ───────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  height: 480px;
}

.about__card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.about__card--main {
  top: 0; left: 0; right: 0;
  background: var(--navy);
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about__card--main .about__card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about__card--main .about__card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.about__card-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 10px;
}

.about__card-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}

.about__card--stat {
  bottom: 0; left: 0;
  width: 48%;
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 28px;
}

.about__big-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.about__big-num sup {
  font-size: 1.8rem;
  vertical-align: super;
}

.about__card--stat span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.about__card--badge {
  bottom: 0; right: 0;
  width: 48%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.about__card--badge svg {
  width: 36px;
  height: 36px;
  color: var(--navy);
}

.about__card--badge span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.about__text .section-title { color: var(--navy); }

.about__text > p {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 36px;
}

.about__why-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about__why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: var(--radius-sm);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}

.about__why-icon svg {
  width: 24px;
  height: 24px;
}

.about__why-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--ivory);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info .section-title { color: var(--navy); }

.contact__info > p {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.contact__detail a {
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}

.contact__detail a:hover { color: var(--gold); }

/* Contact Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 12px;
}

.service-card__photo {
  width: calc(100% + 48px);
  margin: -28px -24px 20px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

.form-label-hint {
  font-weight: 400;
  font-size: 11px;
  color: var(--gray-400);
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}

/* Service checkbox grid */
.service-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.service-check {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 13px;
  color: var(--gray-700);
  user-select: none;
  line-height: 1.3;
}

.service-check:hover { border-color: var(--gold); background: var(--white); }

.service-check input[type="checkbox"] {
  width: 15px; height: 15px;
  border: 1.5px solid var(--gray-300);
  border-radius: 3px;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--white);
  position: relative;
  transition: all var(--transition);
}

.service-check input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}

.service-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 8px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.service-check:has(input:checked) {
  border-color: var(--navy);
  background: rgba(10,22,40,.05);
  color: var(--navy);
  font-weight: 500;
}

/* ── Step 2 container ─────────────────────────────────────────── */
.contact__step2 { margin-top: 20px; }

.step2-invite {
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.step2-invite h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.step2-invite p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.step2-invite-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.step2-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.step2-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.step2-form > p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.6;
}

.step2-section {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  margin-top: 24px;
}

.step2-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.step2-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.step2-subtypes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.step2-subtype-btn {
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-sans);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.step2-subtype-btn:hover { border-color: var(--gold); }

.step2-subtype-btn.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.step2-subfields { display: none; }
.step2-subfields.active { display: block; }

.checkgroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.checkgroup-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  transition: all var(--transition);
  user-select: none;
}

.checkgroup-item:hover { border-color: var(--gold); }
.checkgroup-item:has(input:checked) { border-color: var(--navy); background: rgba(10,22,40,.04); color: var(--navy); }
.checkgroup-item input { width: 14px; height: 14px; flex-shrink: 0; }

.step2-submitted {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid #16a34a;
  box-shadow: var(--shadow-md);
}

.step2-submitted h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.step2-submitted p { font-size: 0.9rem; color: var(--gray-600); }

/* ── Why Choose Massaie ─────────────────────────────────────── */
.why-choose {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-choose .section-title { color: var(--white); text-align: center; }
.why-choose .section-header { margin-bottom: 56px; }

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-choose__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.why-choose__icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: var(--radius);
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
  background: rgba(201,168,76,.06);
}

.why-choose__icon-wrap svg {
  width: 28px;
  height: 28px;
}

.why-choose__item:hover .why-choose__icon-wrap {
  background: rgba(201,168,76,.14);
  border-color: var(--gold);
}

.why-choose__item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin: 0;
}

/* About staff photo */
.about__staff-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .why-choose__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ── Floating Contact Button ─────────────────────────────────── */
.floating-contact {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 900;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 22px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25), 0 1px 4px rgba(0,0,0,.12);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.floating-contact:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

.floating-contact--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h5,
.footer__contact h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer__links a,
.footer__contact a,
.footer__contact span {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  display: block;
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { height: 340px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 0 20px; }

  .hero__content { padding: 100px 20px 60px; }

  .services { padding: 64px 0; }
  .services__grid { grid-template-columns: 1fr; }

  .process { padding: 64px 0; }

  .about { padding: 64px 0; }
  .about__visual { display: none; }

  .contact { padding: 64px 0; }
  .contact__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 48px; }
}

/* ── Articles List Page ──────────────────────────────────────── */
.articles-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
  padding: 120px 0 64px;
  text-align: center;
}

.articles-hero .section-eyebrow { color: var(--gold); }

.articles-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.articles-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.articles-body { padding: 64px 24px 100px; }

.articles-loading {
  text-align: center;
  color: var(--gray-400);
  padding: 48px;
  font-size: 0.95rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201,168,76,.25);
}

.article-card__img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__img-placeholder {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(201,168,76,.3);
  font-weight: 700;
}

.article-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

.article-card__desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: gap var(--transition), color var(--transition);
}

.article-card:hover .article-card__link {
  gap: 10px;
  color: var(--gold);
}

/* ── Single Article Page ─────────────────────────────────────── */
.article-single-hero {
  background: var(--navy);
  padding: 100px 0 48px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: color var(--transition);
}

.article-back:hover { color: var(--gold); }

.article-single-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.article-single-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: 20px;
}

.article-single-info {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-single-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
  padding: 64px 24px 100px;
}

/* Markdown rendered content */
.article-content {
  min-width: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--gray-800);
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.5em 0 0.6em;
  line-height: 1.2;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2em 0 0.5em;
}

.article-content p { margin-bottom: 1.4em; }

.article-content ul,
.article-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.article-content li { margin-bottom: 0.5em; }

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--ivory);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
}

.article-content strong { color: var(--navy); font-weight: 600; }

.article-content a { color: var(--gold); text-decoration: underline; }

.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5em 0;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.5em 0;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.article-sidebar__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.article-sidebar__card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.article-sidebar__card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.article-sidebar__card--nav { background: var(--ivory); }

.related-link {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.4;
  transition: color var(--transition);
}

.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--gold); }

/* Responsive for articles */
@media (max-width: 900px) {
  .article-single-body { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ── End articles styles ─────────────────────────────────────── */

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 16px; }
  .hero__stat-divider { width: 40px; height: 1px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .section-title { font-size: 1.8rem; }
}
