/* ==========================================================================
   Inner pages – shared + page-specific styles (loaded after style.css)
   Values measured on the original Framer page at 1440 / 1024 / 768 / 375 px
   ========================================================================== */

/* ---------- Stacking: the fixed "TIMELINE" title sits behind the sections ---------- */
.page-hero, .about-intro, .timeline, .strengths, .slide-pair { position: relative; z-index: 1; }

/* ---------- Hero (80% of the screen height) ---------- */
.page-hero {
  height: 80vh; min-height: 420px;
  background: var(--dark); color: #fff; overflow: hidden;
}
.page-hero__mask {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); margin-top: 10px;
  overflow: hidden; padding: .1em 0;
  font-size: 15vw;                 /* 216px at 1440 */
}
.page-hero__title {
  font-size: inherit; line-height: .8; letter-spacing: -.03em;
  text-transform: uppercase; text-align: center;
}
.page-hero__title > span { display: block; transform: translateY(290px); transition: transform 1.1s var(--ease-out); }
.page-hero__title.is-in > span { transform: none; }

/* ---------- Origin story ---------- */
.about-intro {
  background: #fff; color: var(--dark);
  padding: 90px var(--gutter) 130px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.about-intro__text {
  width: calc(100% - 34px); max-width: 1000px; margin-top: 65px;
  display: flex; flex-direction: column; gap: 40px;
}
.about-intro__text p {
  font-size: 25px; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase;
}
/* the original sets the bold words in Inter (Black), not in Nohemi */
.about-intro__text strong { font-family: "Inter", Arial, sans-serif; font-weight: 900; }
.about-intro__gap { display: block; height: 25px; }

/* ---------- Timeline ---------- */
.timeline { padding: 120px var(--gutter) 220px; color: #fff; }   /* transparent: the fixed title shows through */
.timeline__grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(445px, auto); gap: 50px;
}
.m1 { grid-area: 1 / 1; }
.m2 { grid-area: 1 / 3; padding-top: 80px; }
.m3 { grid-area: 2 / 2; }
.m4 { grid-area: 2 / 4; padding-top: 190px; }
.m5 { grid-area: 3 / 1; --base: -280px; --from: 120px; }
.m6 { grid-area: 3 / 3; }
.m7 { grid-area: 4 / 2; }
.m8 { grid-area: 4 / 4; padding-top: 190px; }
.m9 { grid-area: 5 / 1; }

.milestone__inner {
  transform: translateY(calc(var(--base, 0px) + var(--from, 160px)));
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.milestone.is-in .milestone__inner,
.no-js .milestone__inner { transform: translateY(var(--base, 0px)); }

.milestone__media { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; }
.milestone__media img { width: 100%; height: 100%; object-fit: cover; }
.milestone__media--pattern {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='126'%3E%3Cpath d='M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z' fill='rgba(136,136,136,0.2)' fill-rule='evenodd'/%3E%3C/svg%3E") repeat left top / 64px auto;
}
.milestone__content { margin-top: 25px; text-align: center; display: flex; flex-direction: column; }
.milestone__year { color: var(--red); }
.milestone__name { color: #fff; font-weight: 400; }
.milestone__desc { margin-top: 17px; color: rgba(255, 255, 255, .55); }

/* fixed big title, visible only while the timeline is on screen */
.timeline-title {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
}
.timeline-title.is-visible { visibility: visible; }
.timeline-title__inner {
  color: #fff; text-transform: uppercase; white-space: nowrap;
  font-size: 12vw; line-height: .8; letter-spacing: -.03em;   /* 172.8px at 1440 */
  transform: translateY(55px);
}

/* ---------- Our strengths (click accordion, light) ---------- */
.strengths { background: #fff; color: var(--dark); padding: 50px 0; }
.section-title--ink { color: var(--dark); }
.section-title--ink .section-title__line { background: var(--dark); }
.strengths__body { display: flex; gap: 50px; padding: 120px var(--gutter) 130px; margin-top: -1px; }
.strengths__side { width: calc(25% - 37px); flex: none; }
.strengths__list { flex: 1; min-width: 0; }

.acc--light { border-bottom-color: var(--dark); }
.acc--light .acc__head { height: auto; padding: 0; display: block; color: var(--dark); }
.acc__btn {
  width: 100%; min-height: 128px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; text-align: left; color: inherit; cursor: pointer;
}
.acc__btn > span:first-child { padding-right: 50px; }
.acc--light .plus::before, .acc--light .plus::after { background: var(--dark); }
.acc--light.is-open .plus::before, .acc--light.is-open .plus::after { background: var(--dark); }
.acc--light .acc__body p { max-width: 540px; padding: 0 0 51px; }

.btn--blue { background: var(--red); }
.strengths__cta { margin-top: 65px; }

/* ---------- We build / We innovate ---------- */
.slide-pair {
  height: 100vh; background: var(--dark); color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.slide-pair__bg { position: absolute; inset: 0; opacity: .2; }
.slide-pair__bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-pair__text {
  position: relative; display: flex; gap: 45px; margin-top: -20px;
  font-size: 56px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
}
.slide-pair__text span { display: block; will-change: transform; }

/* ==========================================================================
   Tablet 860–1199
   ========================================================================== */
@media (min-width: 860px) and (max-width: 1199.98px) {
  .slide-pair__text { font-size: 46px; }
}

/* ==========================================================================
   Phone < 860
   ========================================================================== */
@media (max-width: 859.98px) {
  .page-hero__mask { font-size: max(65px, 15vw); }
  .page-hero__title > span { transform: translateY(120%); }

  .about-intro { padding: 50px 20px 71px; }
  .about-intro__text { width: 100%; margin-top: 59px; }
  .about-intro__text p { font-size: 18px; line-height: 1.25; }
  .about-intro__text p:not(.lg-m) strong { font-weight: 700; }
  .about-intro__gap { height: 20px; }
  /* As on the original site, these blocks keep the desktop size on phones.
     Delete these two lines to make all paragraphs 18px. */
  .about-intro__text p.lg-m { font-size: 25px; line-height: 1.15; }
  .about-intro__gap.lg-m { height: 25px; }

  .timeline { padding: 50px 20px; }
  .timeline__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
  .m1 { grid-area: 1 / 1; }
  .m2 { grid-area: 1 / 2; padding-top: 80px; }
  .m3 { grid-area: 2 / 1; }
  .m4 { grid-area: 2 / 2; padding-top: 140px; }
  .m5 { grid-area: 3 / 1; padding-top: 144px; }
  .m6 { grid-area: 3 / 2; padding-top: 190px; padding-bottom: 100px; }
  .m7 { grid-area: 4 / 1; }
  .m8 { grid-area: 4 / 2; padding-top: 140px; }
  .m9 { grid-area: 5 / 1; }
  .milestone__content { margin-top: 25px; }
  .timeline-title__inner { font-size: max(65px, 12vw); }

  .strengths { padding: 20px 0 100px; }
  .strengths__body { padding: 70px 13px 0; }
  .strengths__side { display: none; }
  .acc__btn { min-height: 101px; padding: 33px 0; align-items: flex-start; }
  .acc__btn > span:first-child { max-width: 240px; padding-right: 0; }
  .acc__btn .plus { align-self: center; margin: -16px 0; }

  .slide-pair__text { font-size: 26px; gap: 20px; }
}

/* ==========================================================================
   Shared inner-page intro with one large paragraph (Expertise, Products…)
   ========================================================================== */
.page-intro { padding-bottom: 103px; }
.page-intro .page-intro__big {
  font-size: 56px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase;
}
.page-intro .about-intro__text { margin-top: 65px; }

/* ==========================================================================
   Expertise – "Key expertise" pinned title + stacking cards
   ========================================================================== */
.kx { position: relative; z-index: 1; background: var(--dark); color: #fff; }
.kx__title {
  position: sticky; top: 0; height: 100vh; z-index: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.kx__titlebox { padding: 40px 0 94px; display: flex; flex-direction: column; align-items: center; width: 100%; }
.kx__h {
  display: flex; flex-direction: column; gap: 14px;
  font-size: 12vw; line-height: .8; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap;
}
.kx__h span { display: block; padding-top: .0em; }
.kx__text {
  width: min(1027px, calc(100% - 40px)); margin-top: 28px;
  display: flex; flex-direction: column; gap: 20px;
  font-size: 18px; line-height: 1.4; letter-spacing: .02em;
}
.kx__gap { display: block; height: 4px; }
/* background title + text get blurred while the scroll boxes come in (js: data-bg-blur) */
[data-bg-blur] { will-change: filter, opacity; }
.kx__text > * { flex-shrink: 0; }

.kx__cards { position: relative; z-index: 1; }
.kx__wrap {
  position: sticky; top: 0; height: 100vh; padding: 16px var(--gutter) 0;
  display: flex; align-items: center; justify-content: center;
}
.kx__wrap--end { position: relative; }
.kx__spacer { height: 26px; }
.kx__tile {
  position: relative; width: 756px; max-width: 100%; aspect-ratio: 756 / 470;
  border-radius: 5px; overflow: hidden; background: var(--dark);
  transform-origin: 50% 50%; will-change: transform;
}
.kx__bg { position: absolute; inset: 0; will-change: opacity; }
.kx__bg img { width: 100%; height: 100%; object-fit: cover; }
.kx__bg::before { content: ""; position: absolute; inset: 0; background: var(--ov, #252525); opacity: var(--ov-op, .5); mix-blend-mode: multiply; }
.kx__bg::after  { content: ""; position: absolute; inset: 0; background: rgba(26, 26, 26, .2); mix-blend-mode: multiply; }
.kx__bg.no-contrast::after { display: none; }
.kx__copy {
  position: absolute; inset: 0; padding: 0 20px 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  will-change: opacity;
}
.kx__copy strong {
  font-family: "Inter", Arial, sans-serif; font-weight: 700;
  font-size: 20px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase;
}
.kx__copy p {
  max-width: var(--w, 500px); margin-top: 20px;
  font-size: 20px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase;
}

/* Certifications block reused from the home page, inset by 50px */
.certs--inset { padding: 100px 50px 30px; }
.certs--inset .certs__steps > div { height: 23.45vh; }
.certs--inset .certs__steps > .certs__post { height: 70vh; }

@media (min-width: 860px) and (max-width: 1199.98px) {
  .page-intro .page-intro__big { font-size: 46px; }
  .certs--inset .certs__steps > div { height: 21.7vh; }
}

@media (max-width: 859.98px) {
  .page-intro { padding-bottom: 71px; }
  .page-intro .about-intro__text { margin-top: 59px; }
  .page-intro .page-intro__big { font-size: 26px; }
  .kx__h { font-size: max(56px, 12vw); }
  .kx__text { font-size: 15px; line-height: 1.4; }
  .page-intro > h2 { white-space: nowrap; }
  .about-intro { overflow-x: clip; }
  .kx__wrap { padding: 0 20px; }
  .kx__copy { justify-content: flex-end; padding: 20px 7px 12px; }
  .kx__copy strong, .kx__copy p { font-size: 13px; line-height: 1.25; }
  .kx__copy p { margin-top: 21px; max-width: none; }
  .certs--inset { padding: 40px 20px 60px; }
  .certs--inset .certs__steps > div { height: 23.6vh; }
}

/* ==========================================================================
   Products – "Our products" pinned (blurred) title + two horizontal carousels
   driven by vertical scroll (js: data-hrow). Each row pins while its cards slide.
   ========================================================================== */
.pr { position: relative; z-index: 1; background: var(--dark); color: #fff; }
.pr .kx__titlebox { padding: 124px 0 92px; }
.pr .kx__h { font-size: 15vw; gap: 31px; }
.page-intro--tall { padding-bottom: 130px; }

.hrow { position: relative; z-index: 1; }
.hrow__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 115px 0 30px;                        /* keeps the row header clear of the menu bar */
}
.hrow__head { padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hrow__label { font-size: 25px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.hrow__label--red { color: var(--red); }
.hrow__label--blue { color: var(--grey); }
.hrow__intro { max-width: 680px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.hrow__count { font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .6); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hrow__track {
  /* cards start on the right half of the screen and slide in, so every row moves */
  display: flex; gap: 24px; padding: 0 var(--gutter) 0 max(var(--gutter), 40vw); width: max-content;
  will-change: transform;
}
.pcard {
  flex: none; width: 400px; background: #fff; color: var(--dark); border-radius: 5px; overflow: hidden;
  display: flex; flex-direction: column;
}
.pcard__img { aspect-ratio: 3 / 2; background: #fff; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.pcard__name { font-size: 25px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.pcard--red .pcard__name { color: var(--red); }
.pcard--blue .pcard__name { color: var(--grey); }
.pcard__text { font-size: 14.5px; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; color: #3a3a3a; }

/* Second row: three fixed cards across the full width, sliding in from the right (js: data-enter) */
.hrow--static .hrow__pin { position: relative; height: auto; min-height: 100vh; overflow: hidden; }
.hrow--static .hrow__track {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  width: auto; padding: 0 var(--gutter); will-change: auto;
}
.hrow--static .pcard { width: auto; }
.hrow--static .pcard__img { aspect-ratio: 16 / 10; }
.hrow--static .hrow__head, .hrow--static .pcard {
  opacity: 0; transform: translate3d(60vw, 0, 0);
  transition: transform 1.1s var(--ease-out), opacity .8s var(--ease);
}
.hrow--static .pcard:nth-child(2) { transition-delay: .12s; }
.hrow--static .pcard:nth-child(3) { transition-delay: .24s; }
.hrow--static .hrow__head.is-in, .hrow--static .pcard.is-in { opacity: 1; transform: none; }
html:not(.js) .hrow--static .hrow__head, html:not(.js) .hrow--static .pcard { opacity: 1; transform: none; }

@media (min-width: 860px) and (max-height: 820px) {
  .hrow__pin { padding-top: 100px; gap: 20px; }
  .pcard__img { aspect-ratio: 2 / 1; }
  .pcard__body { padding: 16px 18px 18px; gap: 8px; }
  .pcard__name { font-size: 21px; }
}

/* ---------- Product families (white sticky accordion with circle grid) ---------- */
.fam { position: relative; z-index: 1; background: #fff; color: var(--dark); padding: 50px 0 79px; }
.fam__combo { position: relative; margin: -1px var(--gutter) 0; display: flex; }
.fam__sticky {
  position: sticky; top: 110px; flex: 1; min-width: 0; height: 472px; align-self: flex-start;
  display: flex; gap: 50px; padding-top: 50px;
}
.fam__side { width: calc(25% - 37px); flex: none; }
.fam__grid {
  width: 100%; max-width: 298px; aspect-ratio: 1; overflow: hidden; position: relative;
}
.fam__dots {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  transition: transform .9s var(--ease-out);
}
.fam__dots i { border-radius: 50%; background: var(--red); transition: background-color .6s var(--ease); }
.fam[data-step="1"] .fam__dots, .fam[data-step="2"] .fam__dots { transform: scale(3); }
.fam[data-step="1"] .fam__dots i, .fam[data-step="2"] .fam__dots i { background: var(--grey); }
.fam__list { flex: 1; min-width: 0; }
.fam .acc { border-bottom-color: rgba(25, 25, 25, .3); }
.fam .acc__head { color: inherit; }
.fam .acc__head h3.is-red { color: var(--red); }
.fam .acc__head h3.is-blue { color: var(--grey); }
.fam .plus::before, .fam .plus::after { background: var(--dark); }
.fam .acc.is-open .plus::before, .fam .acc.is-open .plus::after { background: var(--dark); }
.fam .acc__body p { color: var(--dark); }
.fam__steps { width: 1px; flex: none; padding: 50px 0 50px; }
.fam__steps > div { height: 31.8vh; }
.fam__steps > .fam__post { height: 45vh; }

@media (min-width: 860px) and (max-width: 1199.98px) {
  .pcard { width: 360px; }
  .hrow--static .hrow__track { gap: 16px; }
  .hrow--static .pcard__name { font-size: 21px; }
  .fam__steps > div { height: 30vh; }
}

@media (max-width: 859.98px) {
  .pr .kx__h { font-size: max(56px, 15vw); gap: 16px; }
  .page-intro--tall { padding-bottom: 70px; }
  .hrow__pin { gap: 18px; padding: 84px 0 20px; }
  .hrow__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hrow__label { font-size: 20px; }
  .hrow__intro { font-size: 11px; line-height: 1.35; margin-top: 4px; }
  .hrow__count { display: none; }
  .hrow__track { gap: 14px; padding-left: 20px; }
  .pcard { width: 78vw; max-width: 320px; }
  .pcard__body { padding: 14px 14px 16px; gap: 6px; }
  .pcard__img { aspect-ratio: 3 / 2; }
  .hrow--static .hrow__pin { min-height: 0; padding: 60px 0 80px; }
  .hrow--static .hrow__track { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 20px; }
  .hrow--static .pcard { max-width: none; }
  .hrow--static .pcard__img { aspect-ratio: 3 / 2; }
  .hrow--static .pcard:nth-child(n) { transition-delay: 0s; }
  .hrow--static .pcard:not(.is-in) { transform: translate3d(40%, 0, 0); }
  .pcard__name { font-size: 20px; }
  .pcard__text { font-size: 13px; line-height: 1.35; }
  .fam { padding: 20px 0 80px; }
  .fam__sticky { top: 50px; height: auto; flex-direction: column; gap: 20px; padding-top: 20px; }
  .fam__side { width: 100%; height: 150px; }
  .fam__grid { width: 150px; }
  .fam .acc__head { height: auto; padding: 33px 0; align-items: flex-start; }
  .fam .acc__head h3 { max-width: 224px; }
  .fam .acc__head .plus { margin: -16px 0; align-self: center; }
  .fam__steps { padding: 19px 0; }
  .fam__steps > div { height: 34.5vh; }
}

/* ==========================================================================
   Global presence – dotted globe
   ========================================================================== */
.globe {
  position: relative; z-index: 1; height: 100vh; overflow: hidden;
  background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center;
}
.globe__stage { position: relative; width: 800px; height: 800px; flex: none; opacity: 0; transition: opacity 1s var(--ease); }
.globe.is-ready .globe__stage { opacity: 1; }
.globe__canvas { position: absolute; inset: 0; }
.globe__canvas canvas { display: block; }
.globe__labels { position: absolute; inset: 0; pointer-events: none; }
.globe__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.globe__lines line { stroke: var(--red); stroke-width: 1.5; }
.globe__lines circle { fill: var(--red); }
.globe__label {
  position: absolute; left: 0; top: 0; padding: 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);   /* as rendered on the original */
  border: 1px solid var(--red); color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; line-height: 1.4;
  white-space: nowrap; will-change: transform;
}
.globe.is-fallback .globe__stage { display: none; }

/* ---------- Locations: light section, one column per site ---------- */
.sites { position: relative; z-index: 1; background: #fff; color: var(--dark); padding: 110px var(--gutter) 130px; }
.sites__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(25, 25, 25, .25);
}
.sites__title { font-size: 48px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.sites__count { color: rgba(25, 25, 25, .6); white-space: nowrap; }
.sites__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sites__item {
  display: flex; flex-direction: column; gap: 14px; padding: 32px 24px 32px 0;
}
.sites__item + .sites__item { padding-left: 24px; border-left: 1px solid rgba(25, 25, 25, .15); }
.sites__num { color: var(--red); }
.sites__name {
  font-family: "Inter", Arial, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.1; letter-spacing: -.03em;
  min-height: 2.2em;
}
.sites__addr { font-style: normal; text-transform: uppercase; color: #3a3a3a; }
.js [data-stagger-item] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.js [data-stagger-item].is-in { opacity: 1; transform: none; }

@media (min-width: 860px) and (max-width: 1199.98px) {
  .sites__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sites__item:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .sites__item { padding-bottom: 32px; }
}
@media (max-width: 859.98px) {
  .sites { padding: 70px 20px 90px; }
  .sites__head { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 20px; }
  .sites__title { font-size: 34px; }
  .sites__grid { grid-template-columns: minmax(0, 1fr); }
  .sites__item, .sites__item + .sites__item { padding: 26px 0; border-left: 0; border-bottom: 1px solid rgba(25, 25, 25, .15); }
  .sites__name { font-size: 20px; min-height: 0; }
  .globe__label { font-size: 9.5px; padding: 10px; white-space: normal; width: max-content; max-width: calc(100vw - 20px); }
}

/* ==========================================================================
   Contacts – addresses, contact form, map
   ========================================================================== */
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/satoshi-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
.contact { position: relative; z-index: 1; background: #fff; color: var(--dark); padding: 90px var(--gutter) 110px; }
.contact__addr { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 40px; border-bottom: 1px solid rgba(25, 25, 25, .2); }
.contact__addr > div { width: 443px; max-width: 100%; justify-self: center; min-height: 110px; }
.contact__addr h2, .contact__addr p {
  font-family: "Inter", Arial, sans-serif; font-weight: 600; font-size: 25px; line-height: 1.1; letter-spacing: -.04em;
  color: #000;
}
.contact__ctas { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
/* form and map side by side */
.contact__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 110px; align-items: stretch; }
.contact__box { padding: 0 0 56px; }
.contact__map { position: relative; min-height: 560px; border-radius: 8px; overflow: hidden; background: #e5e5e5; }
.contact__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.contact__intro {
  text-align: left; font-size: 25px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase;
}
.form { position: relative; margin-top: 56px; display: flex; flex-direction: column; gap: 24px; font-family: "Satoshi", Arial, sans-serif; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 18px; line-height: 1.6; color: #0f0f0f; }
.form__control {
  width: 100%; border: 0; border-radius: 8px; background: #f7f7f7; color: #0f0f0f;
  font: inherit; font-size: 18px; line-height: 1.6; padding: 8px 16px;
  outline: 1px solid transparent; transition: outline-color .2s;
}
.form__control::placeholder { color: #616161; }
.form__control:focus { outline-color: var(--red); }
select.form__control {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #f7f7f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f0f0f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
textarea.form__control { height: 120px; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 8px 16px; border-radius: 8px; background: #f7f7f7; color: var(--dark);
  font-family: "Nohemi", Arial, sans-serif; font-size: 13px; line-height: 1.25; letter-spacing: -.01em; text-transform: uppercase;
  transition: background-color .2s;
}
.form__submit:hover { background: #ececec; }
.form__submit i {
  width: 16px; height: 16px; background: #0f0f0f;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0v2h8.59L0 11.59 1.41 13 11 3.41V12h2V0z' transform='translate(5 5)'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0v2h8.59L0 11.59 1.41 13 11 3.41V12h2V0z' transform='translate(5 5)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form__submit[disabled] { opacity: .5; cursor: wait; }
.form__status { position: absolute; left: 0; top: 100%; margin-top: 16px; font-size: 16px; line-height: 1.5; }
.form__status.is-ok { color: #13803a; }
.form__status.is-error { color: var(--red); }


.slide-pair--video .slide-pair__bg { opacity: 1; }
.slide-pair--video .slide-pair__bg video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 859.98px) {
  .contact { padding: 219px 20px 50px; }
  .contact__addr { gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact__addr > div { width: auto; min-height: 143px; justify-self: stretch; }
  .contact__addr h2 { font-family: "Nohemi", Arial, sans-serif; font-weight: 300; font-size: 14px; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase; color: var(--dark); }
  .contact__addr p { font-family: "Nohemi", Arial, sans-serif; font-weight: 400; font-size: 14px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; color: var(--dark); margin-top: 8px; }
  .contact__addr { padding-bottom: 28px; }
  .contact__addr > div { min-height: 0; }
  .contact__ctas { flex-direction: column; align-items: center; margin-top: 32px; }
  .contact__split { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 80px; }
  .contact__box { padding: 0 4px 48px; }
  .contact__intro { text-align: center; }
  .form { margin-top: 48px; }
  .contact__map { min-height: 0; height: 70vh; }
}

/* ==========================================================================
   Terms
   ========================================================================== */
.page-hero--plain { background: var(--dark); }
.terms-intro {
  position: relative; z-index: 1; background: #fff; color: var(--dark);
  padding: 80px var(--gutter) 80px; display: flex; flex-direction: column; align-items: center; gap: 82px; text-align: center;
}
.terms-intro h2 { max-width: 1000px; font-size: 56px; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.terms {
  position: relative; z-index: 1; background: #fff; color: var(--dark);
  padding: 80px var(--gutter) 80px; display: flex; flex-direction: column; gap: 60px;
}
.terms__row { display: flex; gap: 50px; }
.terms__row h3 { width: calc(25% - 37px); flex: none; }
.terms__row p { max-width: 645px; }

/* Privacy / Cookie Policy: long legal text (lists, tables, links) inside the Terms layout */
.legal__subtitle { max-width: 640px; margin-top: -50px; font-size: 16px; line-height: 1.45; opacity: .7; }
.legal .terms__row { width: 100%; max-width: 1120px; margin: 0 auto; }
.legal .terms__row h3 { width: 260px; }
.legal__body { flex: 1; min-width: 0; font-size: 15px; line-height: 1.6; }
.legal__body > * + * { margin-top: 14px; }
.legal__body p { max-width: none; }
.legal__body ul { padding-left: 20px; list-style: disc; }
.legal__body li + li { margin-top: 8px; }
.legal__body strong { font-weight: 600; }
.legal__body a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal__body a:hover { color: var(--red); }
.legal__table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 24px; }
.legal__table + * { margin-top: 24px; }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.legal__table th, .legal__table td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(25, 25, 25, .15); }
.legal__table th { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; border-bottom-color: rgba(25, 25, 25, .5); }
.legal__table td:first-child { font-weight: 600; }
.cky-audit-table-element { margin-top: 24px; }

@media (max-width: 859.98px) {
  .terms-intro { padding: 50px 20px; gap: 59px; }
  .terms-intro h2 { font-size: 26px; }
  .terms { padding: 50px 13px 80px; gap: 60px; }
  .terms__row { flex-direction: column; gap: 20px; }
  .terms__row h3 { width: auto; }
  .legal__subtitle { margin-top: -35px; font-size: 14px; }
  .legal__body { font-size: 14px; }
  .legal .terms__row h3 { width: auto; }
}
