/* ==========================================================================
   GEM Strategy — main styles
   Update CSS variables below to match Figma tokens.
   ========================================================================== */

:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #1a1f2e;
  --color-text-muted: #5c6478;
  --color-primary: #1e3a5f;
  --color-primary-hover: #152a45;
  --color-brand: #1e567e;
  --color-brand-hover: #184a6b;
  --color-nav-link: #022640;
  --color-accent: #c9a227;
  --color-border: #e2e6ee;
  --color-hero-bg: #0f1c2e;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container-max: 1080px;
  --container-pad: 0;
  --header-pad: max(24px, calc((100vw - var(--container-max)) / 2));
  --layout-left-col: 400px;
  --section-gap: 96px;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(15, 28, 46, 0.08);

  --header-height: 99px;
  --header-logo-height: 68px;
  --header-offset: var(--header-height);

  /* Breakpoints (use literal values in @media; vars for reference in JS/docs) */
  --bp-tablet: 1000px;
  --bp-mobile: 768px;
  --bp-mobile-sm: 600px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  min-width: 0;
}

.section {
  padding-block: var(--section-gap);
}

.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.section-lead {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.container.site-header__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 50px;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--header-height);
  gap: 16px;
}

.site-header__start {
  justify-self: start;
  min-width: 0;
}

.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo__image {
  display: block;
  height: var(--header-logo-height);
  max-height: var(--header-logo-height);
  width: auto;
  object-fit: contain;
}

.site-logo--footer .site-logo__image {
  max-height: 34px;
  height: auto;
  max-width: 120px;
}

.site-logo__text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.site-nav__link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  color: var(--color-nav-link);
  transition: color 0.2s;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-brand);
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.site-nav-backdrop {
  display: none;
  position: fixed;
  top: var(--header-offset, var(--header-height));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(2, 38, 64, 0.45);
  cursor: pointer;
}

.site-nav-backdrop.is-visible {
  display: block;
}

body.is-nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overscroll-behavior: none;
}

.site-header__cta--mobile {
  display: none;
}

.site-header__cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--header {
  background: var(--color-brand);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}

.btn--header:hover {
  background: var(--color-brand-hover);
}

/* Hero
   ========================================================================== */

.section--hero {
  padding-top: 0;
  padding-bottom: 0;
}

.hero {
  background-color: var(--color-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-block: 80px;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-right: 9px;
}

.hero__inner {
  width: 100%;
}


.hero__title {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.05em;
  max-width: 805px;
  margin-bottom: 20px;
}

.hero__text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  max-width: 493px;
  margin-bottom: 32px;
}

.hero__text p {
  margin: 0;
}

.hero__text p + p {
  margin-top: 20px;
}

.hero__text strong {
  font-weight: 700;
  color: #fff;
}

.hero .btn--primary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  width: 225px;
  background: #fff;
  color: var(--color-nav-link);
  border-radius: 999px;
}

.hero .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-nav-link);
  
}

.section--hero-cards {
  position: relative;
  z-index: 2;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid #0226401A;
  border-radius: var(--radius);
  padding: 20px;
}

.hero-card__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #06436f;
  margin-bottom: 12px;
}

.hero-card__text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: #06436f;
  line-height: 1.55;
  text-align: justify;
}

.hero-card__text p,
.process__card-text p,
.partners__card-text p,
.section-lead p,
.services__intro-right p,
.services__row-text p {
  margin: 0;
}

.hero-card__text p + p,
.process__card-text p + p,
.partners__card-text p + p,
.section-lead p + p,
.services__intro-right p + p,
.services__row-text p + p {
  margin-top: 1em;
}

.section--image-break {
  padding-block: 0;
  margin: 0 9px 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--text-break {
  padding-block: 48px;
}

.text-break__content {
  max-width: 800px;
  margin-inline: auto;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-align: center;
  color: #022640;
}

.text-break__content p {
  margin: 0;
}

.text-break__content p + p {
  margin-top: 16px;
}

/* About
   ========================================================================== */

.section--about {
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 9px;
}

.about__layout {
  display: grid;
  grid-template-columns: var(--layout-left-col) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about__heading {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about__heading p,
.about__title-line {
  margin: 0;
}

.about__heading p:first-child,
.about__title-line:first-child {
  margin-bottom: 20px;
}

.about__title-accent {
  color: #3088c6;
}

.about__title-main {
  color: #022640;
}

.about__heading p:not(:first-child) .about__title-accent {
  display: inline-block;
  min-width: 0.62em;
  text-align: left;
}

.about__cards {
  display: grid;
  gap: 16px;
}

.about-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(247, 248, 250, 0.92);
  border-radius: 16px;
}

.about-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
}

.about-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.about-card__body {
  min-width: 0;
}

.about-card__title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #022640;
}

.about-card__text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
  text-align: justify;
}

.about-card__text p,
.about-card__text ul {
  margin: 0;
}

.about-card__text p + p,
.about-card__text ul {
  margin-top: 15px;
}

.about-card__text ul {
  padding-left: 1.1em;
  list-style: disc;
}

.about-card:last-child .about-card__text ul li::marker {
  color: #3088c6;
}

.about-card__text li + li {
  margin-top: 8px;
}

.about-card__text strong {
  color: #022640;
  font-weight: 600;
}

/* Services
   ========================================================================== */

.section--services {
  background-color: #022640;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.services__intro-right {
  align-self: end;
}

.services__label {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.services__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
}

.services__intro-right,
.services__row-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.88);
  text-align: justify;
}

.services__intro-right p + p,
.services__row-text p + p {
  margin-top: 12px;
}

.services__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 48px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.services__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.services__row-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.services__row-text ul {
  list-style: disc;
  margin: 15px 0 0;
  padding-left: 1.1em;
}

.services__row-text ul li + li {
  margin-top: 8px;
}

.services__row-text ul li::marker {
  color: #fff;
}

.services__row-text strong {
  color: #fff;
  font-weight: 500;
}

/* Process
   ========================================================================== */

.section--process {
  background-color: #022640;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.process__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.process__intro-right {
  align-self: end;
}

.process__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.process__intro-right,
.process__card-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.88);
}

.process__intro-right p {
  margin: 0;
}

.process__cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.process__card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  height: 262px;
  max-height: 262px;
  padding: 24px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.process__card:nth-child(4) {
  grid-column: 2 / span 2;
}

.process__card:nth-child(5) {
  grid-column: 4 / span 2;
}

.process__card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #3088c6;
}

.process__card-title {
  margin-top: auto;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.process__card-text p {
  margin: 0;
}

/* Geography
   ========================================================================== */

.section--geography {
  background-color: #fff;
}

.geography__container {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  overflow: hidden;
  padding: 48px 40px;
}

.geography__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 438px);
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 184px;
}


.geography__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
}

.geography__intro-right,
.geography__card-countries {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
}

.geography__card-countries {
  text-align: justify;
}

.geography__intro-right p {
  margin: 0;
}

.geography__intro-right p + p {
  margin-top: 12px;
}

.geography__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.geography__card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 15px;
  background: #ffffff4d;
  border: 1px solid #0226401a;
  backdrop-filter: blur(4.8px);
  -webkit-backdrop-filter: blur(4.8px);
  overflow: hidden;
}

.geography__card-title {
  margin-top: auto;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
}

.geography__card-countries p {
  margin: 0;
}

.geography__footer {
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
}

.geography__footer p {
  margin: 0;
}

/* Team
   ========================================================================== */

.section--team {
  position: relative;
  background-color: #022640;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}


.section--team .container {
  position: relative;
  z-index: 1;
}

.team__inner {
  max-width: 505px;
  margin-inline: auto;
  text-align: center;
}

.team__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.team__content {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.92);
}

.team__content p {
  margin: 0;
}

.team__content p + p {
  margin-top: 16px;
}

/* Partners
   ========================================================================== */

.section--partners {
  background-color: #f7f8fa;
}

.partners__title {
  margin: 0 0 25px;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
}

.partners__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.partners__card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #0226401a;
  background: #fff;
}

.partners__card-text {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #022640;
  text-align: justify;
}

/* Contact
   ========================================================================== */

.section--contact {
  position: relative;
  padding-block: 0;
  overflow-x: clip;
  background-color: #022640;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.51fr) minmax(0, 0.49fr);
  align-items: stretch;
  min-height: 100%;
}

.contact__info {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
  padding: 80px 48px 60px 48px;
}

@media (min-width: 1001px) {
  .contact__info {
    padding-left: max(48px, calc((100% - var(--container-max)) / 2));
  }

  .contact__panel {
    padding-right: max(48px, calc((100% - var(--container-max)) / 2));
  }
}

.contact__details {
  margin-top: auto;
  padding-top: 40px;
}
.contact__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.contact__lead,
.contact__form-intro {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.92);
}

.contact__lead p,
.contact__form-intro p {
  margin: 0;
}

.contact__lead p + p,
.contact__form-intro p + p {
  margin-top: 12px;
}

.contact__details-title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: #fff;
}

.contact__details-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__details-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: #fff;
}


.contact__details-item + .contact__details-item {
  margin-top: 14px;
}

.contact__details-item--multiline {
  align-items: flex-start;
}

.contact__details-text {
  display: block;
  white-space: pre-line;
}

.contact__details-text a {
  color: inherit;
  text-decoration: none;
}

.contact__details-text a:hover {
  text-decoration: underline;
}

.contact__details-icon {
  flex: 0 0 20px;
  margin-top: 1px;
  color: #fff;
}

.contact__details-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact__details-item a {
  color: inherit;
  text-decoration: none;
}

.contact__details-item a:hover {
  text-decoration: underline;
}

.contact__panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
  padding: 80px 61px 10px 61px;
  background: #FFFFFF4D;
  backdrop-filter: blur(21.1px);
  -webkit-backdrop-filter: blur(8px);
}

.contact__form-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.contact__form {
  margin-top: 24px;
}

.gem-form {
  display: grid;
  gap: 16px;
  margin-right: 24px;
}

.gem-form__field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.gem-form__field textarea,
.section--contact .wpcf7-form input[type="text"],
.section--contact .wpcf7-form input[type="email"],
.section--contact .wpcf7-form input[type="tel"],
.section--contact .wpcf7-form input[type="url"],
.section--contact .wpcf7-form input[type="number"],
.section--contact .wpcf7-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  background: rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, background 0.2s;
}

.gem-form__field input::placeholder,
.gem-form__field textarea::placeholder,
.section--contact .wpcf7-form input::placeholder,
.section--contact .wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.gem-form__field input:focus,
.gem-form__field textarea:focus,
.section--contact .wpcf7-form input:focus,
.section--contact .wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.16);
}

.gem-form__field textarea,
.section--contact .wpcf7-form textarea {
  min-height: 50px;
  height: 56px;
  resize: vertical;
  display: block;
}

.gem-form__textarea-wrap {
  position: relative;
  display: block;
}

.gem-form__textarea-field {
  position: relative;
  display: block;
}

.gem-form__textarea-wrap .wpcf7-form-control-wrap {
  display: block;
}

.gem-form__textarea-wrap .wpcf7-not-valid-tip {
  margin: 6px 0 0;
}

.gem-form__placeholder {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  text-align: left;
}

.gem-form__textarea-wrap.has-value .gem-form__placeholder,
.gem-form__textarea-wrap.is-focused .gem-form__placeholder {
  opacity: 0;
}

.section--contact .wpcf7-form .wpcf7-list-item {
  margin: 0;
}

.gem-form__field--checkbox label,
.section--contact .wpcf7-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.gem-form__field--checkbox input,
.section--contact .wpcf7-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.gem-form__field--checkbox input:checked,
.section--contact .wpcf7-form input[type="checkbox"]:checked {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.25 5.25L4.25 8.25L10.75 1.75' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.gem-form__field--checkbox input:focus-visible,
.section--contact .wpcf7-form input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.section--contact .wpcf7-form input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
  accent-color: #fff;
}

.contact__form-missing {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.gem-form__field--checkbox span p,
.gem-form__consent-text p,
.section--contact .wpcf7-form .wpcf7-list-item label p,
.section--contact .wpcf7-form .wpcf7-list-item-label {
  margin: 0;
}

.gem-form__consent-text,
.section--contact .wpcf7-form .wpcf7-list-item-label {
  white-space: pre-line;
  line-height: 1.1;
}

.btn--contact,
.section--contact .wpcf7-form input[type="submit"],
.section--contact .wpcf7-form button[type="submit"] {
  width: 100%;
  margin-top: 4px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #022640;
  background: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn--contact:hover,
.section--contact .wpcf7-form input[type="submit"]:hover,
.section--contact .wpcf7-form button[type="submit"]:hover {
  opacity: 0.92;
}

.section--contact .wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
}

.section--contact .wpcf7-form p {
  margin: 0 0 16px;
}

.section--contact .wpcf7-form p:last-child {
  margin-bottom: 0;
}

.section--contact .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  color: #ffb4b4;
}

.section--contact .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
}

/* Footer
   ========================================================================== */

.site-footer {
  background-color: #022640;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.75);
  padding-block: 64px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.site-footer__brand {
  max-width: 220px;
  margin-top: 10px;
}

.site-footer__brand-link {
  display: inline-block;
  line-height: 0;
}

.site-footer__brand-icon {
  display: block;
  width: 152px;
  height: auto;
}

.site-footer__heading {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}

.site-footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contacts-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__contacts-item--multiline {
  align-items: flex-start;
}

.site-footer__contacts-item .contact__details-text {
  color: inherit;
}

.site-footer__contacts-item:last-child {
  margin-bottom: 0;
}

.site-footer__contacts-item .contact__details-icon {
  flex: 0 0 20px;
  margin-top: 1px;
}

.site-footer__contacts-item .contact__details-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-footer__contacts-text {
  color: inherit;
  text-decoration: none;
}

.site-footer__contacts-text--address {
  display: block;
}

.site-footer__contacts-text:hover {
  color: #fff;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__link:hover {
  color: #fff;
}

.site-footer__credits {
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive
   Breakpoints: 1000px tablet · 768px mobile · 600px small mobile
   ========================================================================== */

@media (max-width: 1000px) {
  :root {
    --section-gap: 72px;
    --header-logo-height: 48px;
    --header-height: 72px;
    --container-pad: 24px;
    --header-pad: 24px;
    --layout-left-col: minmax(0, 1fr);
  }

  /* Header — mobile navigation */
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header__start {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__end {
    flex: 0 0 auto;
    position: relative;
    z-index: 201;
  }

  body.is-nav-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
  }

  .site-logo__image {
    max-width: min(160px, 42vw);
  }

  .site-logo__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .site-nav__toggle {
    display: flex;
    position: relative;
    z-index: 202;
  }

  .site-nav {
    position: fixed;
    top: var(--header-offset, var(--header-height));
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - var(--header-offset, var(--header-height)));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    justify-self: auto;
    gap: 0;
    margin: 0;
    padding: 8px var(--header-pad) 20px;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 32px rgba(15, 28, 46, 0.12);
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 160;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav__link {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    white-space: normal;
  }

  .site-header__cta--desktop {
    display: none;
  }

  .site-header__cta--mobile {
    display: inline-flex;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Layout — single column grids */
  .hero__inner,
  .about__layout,
  .services__intro,
  .services__row,
  .process__intro,
  .geography__intro,
  .geography__cards,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section--about,
  .section--image-break {
    margin-right: 0;
  }

  .hero {
    padding-block: 56px;
    min-height: 0;
  }

  .hero__title {
    font-size: clamp(2rem, 5vw, 2.625rem);
    max-width: none;
  }

  .hero__text {
    max-width: none;
  }

  .hero .btn--primary {
    width: auto;
    min-width: 200px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .about__heading,
  .services__title,
  .process__title,
  .geography__title,
  .team__title,
  .partners__title,
  .contact__title {
    font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  }

  .geography__intro {
    margin-bottom: 48px;
    gap: 24px;
  }

  .geography__container {
    padding: 40px var(--container-pad);
  }

  .geography__intro-right {
    align-self: start;
    text-align: left;
    max-width: none;
  }

  .geography__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__intro-right,
  .process__intro-right {
    align-self: start;
  }

  .process__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__card,
  .process__card:nth-child(4),
  .process__card:nth-child(5) {
    grid-column: auto;
    height: auto;
    max-height: none;
    min-height: 220px;
  }

  .partners__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .text-break__content {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    text-align: left;
  }

  /* Contact */
  .contact__info {
    padding: var(--section-gap) var(--container-pad);
  }

  .contact__panel {
    padding: var(--section-gap) var(--container-pad);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .gem-form {
    margin-right: 0;
  }

  /* Footer */
  .site-footer {
    padding-block: 56px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
    --container-pad: 20px;
    --header-pad: 20px;
    --header-height: 64px;
    --header-logo-height: 40px;
  }

  .hero {
    padding-block: 40px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin-bottom: 16px;
  }

  .hero-card__title,
  .about-card__title,
  .services__row-title,
  .process__card-title,
  .geography__card-title {
    font-size: 20px;
  }

  .about__heading,
  .services__title,
  .process__title,
  .geography__title,
  .team__title,
  .partners__title,
  .contact__title {
    font-size: clamp(1.625rem, 6vw, 2rem);
  }

  .about-card {
    flex-direction: column;
    gap: 12px;
  }

  .about-card__icon {
    width: 36px;
    height: 36px;
  }

  .about-card__icon img {
    width: 36px;
    height: 36px;
  }

  .process__cards,
  .geography__cards {
    grid-template-columns: 1fr;
  }

  .process__card {
    padding: 20px;
  }

  .geography__intro {
    margin-bottom: 32px;
  }

  .geography__container {
    padding: 32px var(--container-pad);
  }

  .geography__footer {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .team__inner {
    max-width: none;
  }

  .partners__card {
    padding: 16px;
  }

  .contact__details {
    padding-top: 24px;
  }

  .contact__form-title {
    font-size: 20px;
  }

  .contact__panel {
    padding-block: 40px;
  }

  .section--text-break {
    padding-block: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-gap: 48px;
    --container-pad: 16px;
    --header-pad: 16px;
  }

  .hero .btn--primary {
    width: 100%;
    min-width: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand-icon {
    width: 96px;
  }

  .site-footer__heading {
    margin-bottom: 14px;
  }

  .contact__title {
    font-size: 1.75rem;
  }

  .contact__form-title {
    font-size: 1.125rem;
  }

  .btn--header,
  .site-header__cta--mobile {
    font-size: 13px;
    padding: 10px 16px;
  }
}
