/* Vocalex — Oikeustulkkauspalvelut
   Valko-punainen tyyli brändin logon mukaan: valkoinen tausta läpi sivuston,
   punainen (kuten logon "Lex") ainoana aksenttivärinä. */

:root {
  --navy: #1b2a45;
  --navy-dark: #10192b;
  --gold: #c8102e;
  --gold-light: #e0435c;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --white: #ffffff;
  --text: #2a2a2a;
  --text-muted: #5a5f68;
  --border: #e5e5e5;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav.main-nav a {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  padding: 90px 24px 100px;
  text-align: left;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.15;
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin-top: 20px;
}

/* The home video hero uses no decorative line below its heading. */
.home-page .hero-video h1::after,
.video-page .hero-video h1::after {
  content: none;
  display: none;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 24px auto 36px;
}

/* Hero background video — full-bleed, content bottom-left (oikeus.pro-tyyliin) */
.hero-video {
  position: relative;
  overflow: hidden;
  z-index: 0;
  min-height: 640px;
  height: 86vh;
  display: flex;
  align-items: flex-end;
  text-align: left;
  padding: 0 0 72px;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, calc(-50% + var(--hero-parallax, 0px))) scale(1.12);
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

.hero-image {
  position: relative;
  overflow: hidden;
  z-index: 0;
  min-height: 590px;
  height: 76vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-image-bg {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(var(--hero-parallax, 0px)) scale(1.04);
  z-index: -2;
  will-change: transform;
}

.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content-centered .hero-lede {
  max-width: 760px;
  margin: 0 auto;
}

/* Home hero: header overlays the video and becomes a compact sticky bar on scroll. */
.home-page header.site-header,
.video-page header.site-header,
.image-page header.site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: linear-gradient(180deg, rgba(6, 14, 26, 0.76), rgba(6, 14, 26, 0));
  border-bottom: 0;
  box-shadow: none;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.home-page header.site-header:not(.is-scrolled) nav.main-nav a,
.home-page header.site-header:not(.is-scrolled) .nav-toggle,
.video-page header.site-header:not(.is-scrolled) nav.main-nav a,
.video-page header.site-header:not(.is-scrolled) .nav-toggle,
.image-page header.site-header:not(.is-scrolled) nav.main-nav a,
.image-page header.site-header:not(.is-scrolled) .nav-toggle {
  color: var(--white);
}

.home-page header.site-header.is-scrolled,
.video-page header.site-header.is-scrolled,
.image-page header.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, .97);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(6, 14, 26, .12);
  animation: header-slide-in .25s ease both;
  backdrop-filter: blur(12px);
}

.home-page header.site-header.is-scrolled .header-inner,
.video-page header.site-header.is-scrolled .header-inner,
.image-page header.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

@keyframes header-slide-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { transform: translate(-50%, -50%) scale(1.06); }
  .hero-image-bg { transform: scale(1.04); }
  .home-page header.site-header, .video-page header.site-header, .image-page header.site-header { transition: none; }
  .home-page header.site-header.is-scrolled, .video-page header.site-header.is-scrolled, .image-page header.site-header.is-scrolled { animation: none; }
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}

.about-feature-reverse .about-feature-copy { order: 2; }
.about-feature-reverse .about-feature-image { order: 1; }

.about-feature-copy h2,
.about-feature-copy h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.about-feature-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-feature-image {
  min-height: 410px;
  overflow: hidden;
}

.about-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  display: block;
}

.about-value-card { overflow: hidden; padding-top: 0; }
.about-value-card img {
  width: calc(100% + 48px);
  height: 190px;
  margin: 0 -24px 24px;
  object-fit: cover;
  display: block;
}

/* Meistä hero: keep the video treatment, but center its message. */
.about-page .hero-video {
  align-items: center;
  padding-bottom: 0;
}

.about-page .hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-page .hero .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

/* The two legal-aid cards fill the available row instead of using a four-card grid. */
.service-grid.legal-aid-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-aid-grid .service-card-body > h3:not(.legal-examples-title) {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.calculator-panel .calculator-notice {
  margin-top: 18px;
  padding: 15px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(181, 141, 75, 0.08);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.calculator-panel .calculator-notice strong {
  color: var(--navy);
}

@media (max-width: 760px) {
  .about-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-feature-reverse .about-feature-copy,
  .about-feature-reverse .about-feature-image {
    order: initial;
  }

  .about-feature-image,
  .about-feature-image img {
    min-height: 280px;
  }

  .service-grid.legal-aid-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-aid-grid .service-card {
    min-width: 0;
    width: 100%;
  }

  .legal-aid-grid .service-card-media {
    height: 205px;
  }

  .legal-aid-grid .service-card-body {
    padding: 22px 18px;
  }

  .legal-aid-grid .service-card-body > h3:not(.legal-examples-title) {
    font-size: 1.5rem;
    line-height: 1.18;
  }

  .legal-aid-grid .service-more-content,
  .legal-aid-grid .service-more-content ul {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .legal-aid-grid .service-more-content ul {
    padding-left: 20px;
  }

  .hero-image {
    height: auto;
    min-height: 500px;
    padding: 92px 0 52px;
  }

  .hero-image-bg {
    inset: 0;
    height: 100%;
    transform: none;
  }

  .hero-content-centered h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .hero-content-centered .hero-lede {
    font-size: 1rem;
    line-height: 1.55;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 14, 26, 0.92) 0%, rgba(10, 22, 38, 0.55) 55%, rgba(10, 22, 38, 0.35) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin: 0 0 14px;
  font-weight: 600;
}

.hero-wordmark {
  display: block;
  height: 90px;
  width: auto;
  margin: 0 0 22px;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}

.legal-copy ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--text-muted);
}

.legal-copy li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.legal-examples-title {
  font-family: inherit;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  margin-bottom: 22px;
}

/* Compact subheading inside the expandable legal-aid card. */
.service-card-body h3.legal-examples-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
  font-variant: normal;
  letter-spacing: 0;
  color: var(--navy);
  margin: 0 0 12px;
  text-transform: none;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  line-height: 1.05;
  color: var(--white);
}

.hero-content h1 span {
  color: var(--gold-light);
}

.hero .hero-lede {
  font-size: 1.15rem;
  color: var(--white);
  max-width: 560px;
  margin: 0 0 32px;
}

/* Centered full-bleed hero video variant (Meistä-sivu) */
.hero-video-center {
  align-items: center;
  min-height: 620px;
  padding: 0;
}

.hero-video-center .hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-video-center h1 {
  font-family: var(--serif);
  font-size: 6.5rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 1px;
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1;
}

.hero-video-center h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: var(--gold-light);
  margin: 24px auto 0;
}

.hero-video-center p {
  font-size: 1.3rem;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.96;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  margin: 0 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-light);
  display: inline-block;
}

.hero-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  margin: 0 0 28px;
  border: 1px solid rgba(27, 42, 69, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(200, 16, 46, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hero-badge-light::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.hero-actions .btn-outline {
  margin-left: 14px;
}

/* Video card — interaktiivinen video-osio (oikeus.pro-tyyliin) */
.video-card {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-dark);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 10, 18, 0.75) 0%, rgba(6, 10, 18, 0) 42%);
  pointer-events: none;
}

.video-card-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  max-width: 60%;
}

.video-card-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.video-card:hover .video-card-badge {
  background: rgba(10, 18, 30, 0.85);
}

.video-card-badge .play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--gold-light);
}

.video-card.is-paused .video-card-badge .play-icon {
  border-left: 9px solid var(--gold-light);
}

.video-card.is-playing .video-card-badge .play-icon {
  width: 9px;
  height: 12px;
  border: none;
  border-left: 3px solid var(--gold-light);
  border-right: 3px solid var(--gold-light);
}

/* Feature bar */
.feature-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.feature-bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}

.feature-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  font-weight: bold;
}

.feature-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Language cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.lang-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 24px;
  text-align: center;
}

.lang-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.lang-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 10px;
}

.lang-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Palvelualueet — isot kuva+teksti-rivit */
.area-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.area-row-reverse .area-media {
  order: 2;
}

.area-row-reverse .area-content {
  order: 1;
}

.area-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
}

.area-content h3 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 16px;
}

.area-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.area-toggles {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.area-toggle-item + .area-toggle-item {
  padding-top: 4px;
}

.area-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.area-toggle:hover {
  background: var(--gold);
  color: var(--white);
}

.area-toggle::after {
  content: "+";
  font-size: 1.15rem;
  line-height: 1;
}

.area-toggle[aria-expanded="true"]::after {
  content: "\2013";
}

.area-expand {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.area-expand p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Näin toimimme -osio (kuva + askelnumero + otsikko) */
.howwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.howwork-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}

.howwork-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.howwork-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.howwork-step {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howwork-body {
  padding: 26px 24px;
  flex: 1;
}

.howwork-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 10px;
}

.howwork-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.howwork-highlight {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Palvelut-sivun korttiruudukko (kuva + otsikko + Lue lisää) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}

.service-card-media {
  height: 170px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-more {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.service-more:hover {
  color: var(--gold-light);
}

.service-more::after {
  content: "+";
  font-size: 1rem;
}

.service-more[aria-expanded="true"]::after {
  content: "\2013";
}

.service-more-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-more-content ul {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-more-content li {
  margin-bottom: 6px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
  margin-left: 14px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Section generic */
section {
  padding: 80px 24px;
}

.section-title {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  text-align: left;
  margin-bottom: 0;
  color: var(--navy);
  max-width: 700px;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin-top: 18px;
  margin-bottom: 28px;
}

.section-subtitle {
  text-align: left;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 48px;
  font-size: 1.1rem;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 34px 28px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col h2 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 8px;
}

.two-col h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 18px 0 24px;
}

.two-col p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  color: var(--text);
  padding: 44px;
}

.panel h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  font-variant: small-caps;
  margin-bottom: 16px;
  color: var(--gold);
}

.panel ul {
  list-style: none;
}

.panel li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-muted);
}

.panel li:last-child {
  border-bottom: none;
}

.panel p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 26px;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.panel-link::after {
  content: "\2192";
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.panel-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.panel-link:hover::after {
  transform: translateX(3px);
}

html.is-rtl .panel-link::after {
  content: "\2190";
}

/* Alt section background */
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Services page list */
.service-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: bold;
}

.service-block h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-block p {
  color: var(--text-muted);
}

.service-block ul {
  margin-top: 12px;
  padding-left: 20px;
  color: var(--text-muted);
}

.service-block li {
  margin-bottom: 6px;
}

/* Calendly embed */
.calendly-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}

.calendly-wrap .booking-note {
  text-align: center;
  margin-top: 8px;
}

.calendly-wrap .booking-note a {
  color: var(--gold);
}

/* Booking calendar */
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.calendar-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-header h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--navy);
}

.calendar-nav-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--navy);
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  padding-bottom: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  background: var(--bg-soft);
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.disabled {
  color: var(--text-muted);
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--bg-soft);
}

.calendar-day:not(.disabled):not(.empty):hover {
  border-color: var(--gold);
}

.calendar-day.selected {
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
}

.time-slots-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 12px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-slot {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.time-slot:hover {
  border-color: var(--gold);
}

.time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  font-weight: 700;
}

.booking-selection {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  color: var(--navy);
  min-height: 20px;
}

.booking-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* Contact page */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}

.contact-info h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.2rem;
  margin: 24px 0 8px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  color: var(--text-muted);
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--bg-soft);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* File drop zone */
.file-drop {
  border: 2px dashed var(--border);
  border-radius: 2px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  color: var(--text-muted);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--gold);
  background: rgba(200, 16, 46, 0.04);
}

.file-drop:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.file-drop-text {
  font-size: 0.92rem;
}

.file-drop-list {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  word-break: break-word;
}

.file-drop input[type="file"] {
  display: none;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent-check input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.consent-check span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.consent-check a {
  color: var(--gold);
  text-decoration: underline;
}

.consent-check a:hover {
  color: var(--gold-light);
}

/* CTA band */
.cta-band {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 60px 24px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
footer.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 44px 24px 28px;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-col h4 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  font-variant: small-caps;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .howwork-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .area-row,
  .area-row-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .area-row-reverse .area-media,
  .area-row-reverse .area-content {
    order: initial;
  }
  .area-media img {
    height: 260px;
  }
  .area-content h3 {
    font-size: 1.7rem;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .booking-wrap {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .hero-wordmark {
    height: 52px;
  }
  .hero-video {
    height: auto;
    min-height: 520px;
    padding: 0 0 48px;
  }
  .hero-video-center {
    min-height: 480px;
    padding: 0;
  }
  .hero-video-center h1 {
    font-size: 3rem;
  }
  .hero-video-center p {
    font-size: 1.05rem;
  }
  .video-card-caption {
    font-size: 1.2rem;
    max-width: 75%;
  }
  .video-card-badge {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    display: block;
    margin: 0 0 12px;
  }
  .hero-actions .btn-outline {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  }
  nav.main-nav.open {
    display: block;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  nav.main-nav li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: block;
  }
  header.site-header {
    position: sticky;
    top: 0;
  }
  .home-page header.site-header,
  .home-page header.site-header.is-scrolled {
    position: sticky;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: none;
    animation: none;
  }
  .home-page header.site-header:not(.is-scrolled) nav.main-nav a,
  .home-page header.site-header:not(.is-scrolled) .nav-toggle {
    color: var(--navy);
  }
  .service-block {
    grid-template-columns: 1fr;
  }
  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }
}

/* Language switcher — styled like btn-primary */
.lang-switcher-wrap {
  display: flex;
  align-items: center;
}

.lang-switcher {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 9px 30px 9px 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  transition: background-color 0.2s ease;
}

.lang-switcher:hover {
  background-color: var(--gold-light);
}

.lang-switcher option {
  color: var(--text);
  background: var(--white);
}

.lang-switcher:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

html.is-rtl .lang-switcher {
  padding: 9px 14px 9px 30px;
  background-position: left 12px center;
}

@media (max-width: 700px) {
  .lang-switcher-wrap {
    margin-top: 4px;
    width: 100%;
  }
  .lang-switcher {
    width: 100%;
  }
}

/* RTL support (Arabic, Persian) — best-effort mirroring */
html.is-rtl body {
  direction: rtl;
}

html.is-rtl .hero,
html.is-rtl .hero-video,
html.is-rtl .hero-content,
html.is-rtl .section-title,
html.is-rtl .section-subtitle,
html.is-rtl .two-col,
html.is-rtl .service-block {
  text-align: right;
}

html.is-rtl .lang-switcher-wrap {
  margin-left: 0;
  margin-right: 20px;
}

html.is-rtl .btn-outline {
  margin-left: 0;
  margin-right: 14px;
}

html.is-rtl .service-number {
  margin-left: 14px;
  margin-right: 0;
}

html.is-rtl .panel,
html.is-rtl .cta-band {
  border-left: none;
}

html.is-rtl .panel {
  border-right: 9px solid var(--gold-light);
}

html.is-rtl ul {
  padding-left: 0;
  padding-right: 20px;
}

/* Vocahelp AI guided assistant */
.vh-chat-launcher{position:fixed;right:22px;bottom:22px;z-index:9998;border:0;border-radius:999px;background:var(--navy,#132b45);color:#fff;padding:14px 19px;font:600 15px/1.2 Arial,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.24);cursor:pointer}.vh-chat-launcher:hover{transform:translateY(-1px)}
.vh-chat{position:fixed;right:22px;bottom:82px;z-index:9999;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 115px));background:#fff;border:1px solid #d7dce2;border-radius:17px;box-shadow:0 20px 55px rgba(0,0,0,.28);display:none;overflow:hidden;font-family:Arial,sans-serif}.vh-chat.is-open{display:flex;flex-direction:column}.vh-chat__head{background:var(--navy,#132b45);color:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between}.vh-chat__head strong{display:block}.vh-chat__head small{display:block;opacity:.78;margin-top:2px}.vh-chat__close{border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer}.vh-chat__messages{flex:1;overflow:auto;padding:16px;background:#f5f7f9}.vh-msg{max-width:88%;margin:0 0 11px;padding:11px 13px;border-radius:13px;white-space:pre-line;font-size:14px;line-height:1.45}.vh-msg--bot{background:#fff;border:1px solid #e0e3e7}.vh-msg--user{background:var(--navy,#132b45);color:#fff;margin-left:auto}.vh-chat__choices{padding:11px 13px;border-top:1px solid #e1e4e8;display:flex;flex-wrap:wrap;gap:8px;background:#fff}.vh-choice{border:1px solid var(--navy,#132b45);background:#fff;color:var(--navy,#132b45);border-radius:999px;padding:8px 11px;font-size:13px;cursor:pointer}.vh-choice:hover,.vh-choice:focus{background:var(--navy,#132b45);color:#fff}.vh-chat__notice{font-size:11px;line-height:1.35;color:#5f6670;padding:8px 14px 11px;background:#fff}.vh-chat a{color:inherit;font-weight:700}
html.is-rtl .vh-chat,html.is-rtl .vh-chat-launcher{right:auto;left:22px}.vh-chat__head,.vh-chat__messages,.vh-chat__choices,.vh-chat__notice{direction:ltr;text-align:left}html.is-rtl .vh-chat__head,html.is-rtl .vh-chat__messages,html.is-rtl .vh-chat__choices,html.is-rtl .vh-chat__notice{direction:rtl;text-align:right}html.is-rtl .vh-msg--user{margin-left:0;margin-right:auto}
@media(max-width:520px){.vh-chat{right:10px;bottom:74px;width:calc(100vw - 20px);height:calc(100vh - 90px)}.vh-chat-launcher{right:12px;bottom:12px}html.is-rtl .vh-chat{left:10px;right:auto}html.is-rtl .vh-chat-launcher{left:12px;right:auto}}

@media (max-width: 700px) {
  html.is-rtl .lang-switcher-wrap {
    margin-right: 0;
  }
}
