:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7faf7;
  --surface-green: #f1f8f2;

  --text: #111827;
  --muted: #667085;
  --border: #e6ebe7;

  --green: #27a842;
  --green-dark: #16832f;
  --green-soft: #eaf7ed;

  --shadow:
    0 18px 50px rgba(17, 24, 39, .06);

  --radius: 20px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background:
    radial-gradient(
      circle at 70% 15%,
      rgba(70, 190, 105, .035),
      transparent 25%
    ),
    #fff;

  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Inter,
    Helvetica,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}


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


svg {
  display: block;
}


.container {
  width: min(1420px, calc(100% - 96px));
  margin: 0 auto;
}



/* HEADER */

.site-header {
  padding: 24px 0 0;
}


.header-inner {
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: #172033;

  flex-shrink: 0;
}


.brand-mark {
  width: 110px;
  height: 39px;

  color: #162033;
}


.mark-accent,
.svg-green {
  fill: var(--green);
}


.brand-word {
  font-size: 30px;
  font-weight: 660;
  line-height: 1;
  letter-spacing: -.055em;
}


.brand-dot {
  color: var(--green);
}


.desktop-nav {
  display: flex;
  align-items: center;
  gap: 56px;

  margin-left: auto;
  margin-right: 38px;
}


.desktop-nav a {
  font-size: 14px;
  font-weight: 550;

  transition:
    color .18s ease,
    transform .18s ease;
}


.desktop-nav a:hover {
  color: var(--green-dark);
}


.header-cta {
  min-height: 48px;

  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  gap: 18px;

  border-radius: 14px;

  background: var(--green-soft);
  color: var(--green-dark);

  font-size: 14px;
  font-weight: 650;

  transition:
    background .18s ease,
    transform .18s ease;
}


.header-cta:hover {
  background: #dff2e3;
  transform: translateY(-1px);
}



/* HERO */

.hero {
  padding: 74px 0 38px;
}


.hero-grid {
  min-height: 540px;

  display: grid;
  grid-template-columns:
    minmax(0, .92fr)
    minmax(520px, 1.08fr);

  align-items: center;
  gap: 32px;
}


.hero-copy {
  position: relative;
  z-index: 2;
}


.eyebrow {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 8px 13px;

  border-radius: 999px;

  background: var(--green-soft);
  color: var(--green-dark);

  font-size: 13px;
  font-weight: 650;
}


.eyebrow span {
  width: 5px;
  height: 5px;

  display: inline-block;

  border-radius: 50%;
  background: var(--green);
}


h1 {
  margin: 30px 0 20px;

  max-width: 760px;

  font-size: clamp(46px, 4vw, 66px);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 520;
}


h1 strong {
  color: #39a954;
  font-weight: 520;
}


.hero-lead {
  max-width: 620px;

  margin: 0;

  color: #5f687a;

  font-size: 17px;
  line-height: 1.65;
}


.hero-actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  gap: 16px;
}


.button {
  height: 54px;

  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  border-radius: 14px;

  font-size: 15px;
  font-weight: 650;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}


.button:hover {
  transform: translateY(-2px);
}


.button-primary {
  min-width: 205px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #2eb14b,
      #259f3f
    );

  box-shadow:
    0 12px 30px rgba(37, 159, 63, .18);
}


.button-secondary {
  min-width: 202px;

  border: 1px solid #dce2dd;

  background: white;
}


.button-secondary:hover {
  border-color: #bfcac1;
}


.stack-line {
  margin-top: 32px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

  color: #5f687a;

  font-size: 13px;
}


.stack-line i {
  width: 4px;
  height: 4px;

  display: inline-block;

  border-radius: 50%;

  background: var(--green);
}



/* HERO VISUAL */

.hero-visual {
  min-height: 530px;

  position: relative;
}


.network-lines {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;

  opacity: .65;
}


.network-lines path {
  fill: none;

  stroke: #83c894;
  stroke-width: 1.2;

  stroke-dasharray: 5 7;
}


.network-lines circle {
  fill: #24a441;
}


.visual-core {
  width: 290px;
  height: 255px;

  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


.core-layer,
.core-main {
  position: absolute;

  left: 50%;

  width: 255px;
  height: 200px;

  transform:
    translateX(-50%)
    rotate(0deg);

  border-radius: 46px;

  background: white;
}


.layer-three {
  top: 53px;

  box-shadow:
    0 22px 45px rgba(40, 137, 67, .12);

  border-bottom: 2px solid rgba(73, 182, 104, .25);
}


.layer-two {
  top: 30px;

  border-bottom: 2px solid rgba(73, 182, 104, .35);

  box-shadow:
    0 14px 30px rgba(31, 41, 55, .06);
}


.core-main {
  top: 0;

  display: grid;
  place-items: center;

  box-shadow:
    0 22px 48px rgba(17, 24, 39, .08);
}


.core-main svg {
  width: 132px;
  color: #172033;
}


.visual-node {
  width: 80px;
  height: 80px;

  position: absolute;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(230, 235, 231, .95);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, .95);

  color: var(--green);

  box-shadow:
    0 16px 38px rgba(17, 24, 39, .08);

  backdrop-filter: blur(8px);
}


.visual-node svg {
  width: 44px;
  height: 44px;

  fill: none;

  stroke: currentColor;
  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.svg-fill {
  fill: currentColor;
  stroke: none;
}


.node-cloud {
  top: 28px;
  left: 53%;
}


.node-code {
  top: 170px;
  left: 9%;

  font-size: 30px;
  font-weight: 650;
}


.node-server {
  bottom: 72px;
  left: 17%;
}


.node-shield {
  top: 125px;
  right: 4%;
}


.node-chart {
  right: 10%;
  bottom: 70px;
}



/* SERVICES */

.services {
  padding: 4px 0 20px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}


.service-card {
  min-height: 270px;

  padding: 28px 24px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      #fff,
      #fefefe
    );

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}


.service-card:hover {
  transform: translateY(-3px);

  border-color: #d5dfd7;

  box-shadow:
    0 18px 38px rgba(17, 24, 39, .05);
}


.service-icon {
  min-height: 50px;

  display: flex;
  align-items: center;

  color: var(--green);
}


.service-icon svg {
  width: 44px;
  height: 44px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.code-icon {
  font-size: 28px;
}


.sparkle-icon {
  font-size: 38px;
}


.service-card h2 {
  margin: 16px 0 14px;

  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.02em;
}


.service-card p {
  margin: 0;

  color: #596273;

  font-size: 13px;
  line-height: 1.7;
}



/* INFO */

.info-section {
  padding: 0 0 22px;
}


.info-grid {
  display: grid;
  grid-template-columns:
    1.6fr
    .78fr
    1.2fr;

  gap: 16px;
}


.panel {
  min-height: 174px;

  padding: 24px 26px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: #fff;
}


.panel h2 {
  margin: 0;

  font-size: 14px;
  line-height: 1.35;
}


.steps {
  margin-top: 27px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
}


.step {
  position: relative;
}


.step:not(:last-child)::after {
  content: "";

  width: calc(100% - 54px);
  height: 1px;

  position: absolute;

  left: 43px;
  top: 14px;

  background:
    linear-gradient(
      90deg,
      #c9e4ce,
      #e7efe8
    );
}


.step-number {
  position: relative;
  z-index: 2;

  color: var(--green);

  font-size: 21px;
  font-weight: 520;
}


.step p {
  margin: 16px 0 0;

  color: #596273;

  font-size: 12px;
  line-height: 1.6;
}


.approach-list {
  margin: 26px 0 0;
  padding: 0;

  list-style: none;

  display: grid;
  gap: 16px;
}


.approach-list li {
  display: flex;
  align-items: center;
  gap: 11px;

  color: #394150;

  font-size: 13px;
}


.approach-list span {
  width: 19px;
  height: 19px;

  display: inline-grid;
  place-items: center;

  flex-shrink: 0;

  border: 1.5px solid var(--green);
  border-radius: 50%;

  color: var(--green);

  font-size: 11px;
}


.support-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;

  background:
    linear-gradient(
      135deg,
      #fff,
      #f1f9f2
    );
}


.support-panel p {
  max-width: 440px;

  margin: 19px 0 0;

  color: #394150;

  font-size: 13px;
  line-height: 1.7;
}


.clock-icon {
  width: 68px;
  height: 68px;

  align-self: center;

  position: relative;

  border: 2px solid var(--green);
  border-radius: 50%;
}


.clock-icon::before,
.clock-icon::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 2px;

  background: var(--green);

  transform-origin: bottom center;
}


.clock-icon::before {
  height: 19px;

  transform:
    translate(-50%, -100%)
    rotate(0deg);
}


.clock-icon::after {
  height: 16px;

  transform:
    translate(-50%, -100%)
    rotate(118deg);
}



/* CONTACT */

.contact-section {
  padding-bottom: 18px;
}


.contact-bar {
  min-height: 92px;

  padding: 17px 22px;

  display: grid;
  grid-template-columns:
    minmax(270px, 1.25fr)
    auto
    auto
    auto;

  align-items: center;
  gap: 26px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: #fff;
}


.contact-intro h2 {
  margin: 0;

  font-size: 15px;
}


.contact-intro p {
  margin: 6px 0 0;

  color: var(--muted);

  font-size: 12px;
}


.contact-item {
  min-height: 42px;

  padding-left: 24px;

  display: flex;
  align-items: center;
  gap: 14px;

  border-left: 1px solid var(--border);
}


.contact-item strong {
  white-space: nowrap;

  font-size: 15px;
  font-weight: 560;
}


.contact-symbol {
  color: var(--green);

  font-size: 25px;
}


.messengers {
  padding-left: 20px;

  display: flex;
  align-items: center;
  gap: 27px;

  border-left: 1px solid var(--border);
}


.messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  white-space: nowrap;

  font-size: 13px;
  font-weight: 520;
}


.messenger b {
  color: var(--green);

  font-size: 17px;
}



/* FOOTER */

footer {
  padding: 14px 0 30px;
}


.footer-inner {
  display: flex;
  justify-content: space-between;

  color: #9aa1ab;

  font-size: 11px;
}



/* RESPONSIVE */

@media (max-width: 1240px) {

  .container {
    width: min(1120px, calc(100% - 56px));
  }

  .desktop-nav {
    gap: 28px;
    margin-right: 10px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-bar {
    grid-template-columns: 1fr 1fr;
  }

  .contact-item,
  .messengers {
    border-left: 0;
    padding-left: 0;
  }

}


@media (max-width: 900px) {

  .container {
    width: min(100% - 36px, 760px);
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-top: 11px;
  }

  .header-inner {
    height: 64px;
  }

  .brand-mark {
    width: 72px;
  }

  .brand-word {
    font-size: 24px;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 12px;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    margin-top: 22px;

    font-size: 42px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 375px;
  }

  .visual-core {
    transform:
      translate(-50%, -50%)
      scale(.82);
  }

  .visual-node {
    transform: scale(.78);
  }

  .node-code {
    left: 0;
  }

  .node-shield {
    right: -4%;
  }

  .node-chart {
    right: 2%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .step::after {
    display: none;
  }

  .contact-bar {
    grid-template-columns: 1fr;
  }

  .contact-item {
    padding-top: 12px;

    border-top: 1px solid var(--border);
  }

  .messengers {
    padding-top: 16px;

    flex-wrap: wrap;

    border-top: 1px solid var(--border);
  }

  .footer-inner {
    flex-direction: column;
    gap: 7px;
  }

}

/* ANDMOOK corrected brand mark */

.brand-mark {
  width: 112px;
  height: auto;
  flex-shrink: 0;
}

.core-logo {
  display: block;
  width: 148px;
  height: auto;
}

@media (max-width: 600px) {
  .brand-mark {
    width: 82px;
  }

  .core-logo {
    width: 140px;
  }
}


/* =========================================================
   ANDMOOK HERO VISUAL V2
   Responsive composition matching approved visual direction
   ========================================================= */


/*
 * The hero illustration is now one proportional canvas.
 * No fixed min-height and no desktop coordinates reused
 * blindly on mobile.
 */

.hero-visual {
  position: relative;

  width: 100%;
  min-height: 0;

  aspect-ratio: 720 / 500;

  isolation: isolate;
}


/* background circuit / network */

.network-lines {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;

  opacity: .52;

  pointer-events: none;
}


.network-lines path {
  fill: none;

  stroke: #86c995;
  stroke-width: 1.15;

  stroke-dasharray: 5 7;

  vector-effect: non-scaling-stroke;
}


.network-lines circle {
  fill: #29a947;
}


/* central stack */

.visual-core {
  position: absolute;

  left: 51%;
  top: 50%;

  width: 39%;
  height: auto;

  aspect-ratio: 1.34 / 1;

  transform: translate(-50%, -50%);

  z-index: 3;
}


.core-layer,
.core-main {
  position: absolute;

  left: 0;

  width: 100%;
  height: 76%;

  transform: none;

  border-radius:
    clamp(24px, 3vw, 44px);

  background: #fff;
}


.core-main {
  top: 0;

  display: grid;
  place-items: center;

  z-index: 3;

  box-shadow:
    0 22px 50px rgba(17, 24, 39, .075);
}


.layer-two {
  top: 11%;

  z-index: 2;

  border-bottom:
    1.5px solid rgba(71, 184, 104, .34);

  box-shadow:
    0 15px 34px rgba(31, 41, 55, .055);
}


.layer-three {
  top: 22%;

  z-index: 1;

  border-bottom:
    1.5px solid rgba(71, 184, 104, .25);

  box-shadow:
    0 24px 50px rgba(40, 137, 67, .12);
}


.core-logo {
  display: block;

  width: 54%;
  max-width: none;
  height: auto;

  object-fit: contain;
}


/* surrounding cards */

.visual-node {
  position: absolute;

  width:
    clamp(64px, 10.5%, 82px);

  height: auto;
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  transform: none;

  border:
    1px solid rgba(226, 233, 228, .92);

  border-radius:
    clamp(17px, 2.2vw, 22px);

  background:
    rgba(255, 255, 255, .96);

  color: var(--green);

  box-shadow:
    0 16px 36px rgba(17, 24, 39, .075);

  backdrop-filter: blur(8px);

  z-index: 4;
}


.visual-node svg {
  width: 52%;
  height: 52%;
}


.node-cloud {
  top: 3.5%;
  left: 51%;

  transform: translateX(-50%);
}


.node-code {
  top: 33%;
  left: 4.5%;

  font-size:
    clamp(24px, 3vw, 31px);

  font-weight: 650;
}


.node-server {
  left: 13%;
  bottom: 7%;
}


.node-shield {
  top: 23%;
  right: 3.5%;
}


.node-chart {
  right: 10%;
  bottom: 7%;
}


/*
 * Desktop glow behind central object.
 * Pure CSS; no additional asset.
 */

.hero-visual::before {
  content: "";

  position: absolute;

  left: 51%;
  top: 53%;

  width: 55%;
  aspect-ratio: 1;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(85, 201, 116, .12) 0%,
      rgba(85, 201, 116, .045) 43%,
      rgba(85, 201, 116, 0) 72%
    );

  filter: blur(3px);

  z-index: 0;

  pointer-events: none;
}


/* tablet */

@media (max-width: 900px) {

  .hero-visual {
    width: min(100%, 680px);

    margin:
      14px auto 4px;

    aspect-ratio: 720 / 500;
  }

}


/* phone: independent composition */

@media (max-width: 600px) {

  .hero-visual {
    width: 100%;

    margin:
      18px auto 8px;

    min-height: 0;

    aspect-ratio: 1.16 / 1;
  }


  .visual-core {
    left: 50%;
    top: 50%;

    width: 59%;

    transform:
      translate(-50%, -50%);
  }


  .core-layer,
  .core-main {
    height: 76%;

    border-radius: 27px;
  }


  .core-logo {
    width: 57%;
  }


  .visual-node {
    width: 18%;

    max-width: 68px;

    transform: none;

    border-radius: 18px;

    box-shadow:
      0 12px 28px rgba(17, 24, 39, .075);
  }


  .visual-node svg {
    width: 50%;
    height: 50%;
  }


  .node-cloud {
    top: 0;
    left: 50%;

    transform: translateX(-50%);
  }


  .node-code {
    top: 35%;
    left: 0;

    font-size: 25px;
  }


  .node-server {
    left: 14%;
    bottom: 2%;
  }


  .node-shield {
    top: 33%;
    right: 0;
  }


  .node-chart {
    right: 12%;
    bottom: 2%;
  }


  .hero-visual::before {
    left: 50%;
    top: 54%;

    width: 86%;
  }

}

/* =========================================================
   ANDMOOK NETWORK V3
   Dedicated desktop and mobile network geometry
   ========================================================= */

.network-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.network-stage .network-lines {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;

  opacity: .48;
}

.network-stage .network-lines path {
  fill: none;

  stroke: #83c894;
  stroke-width: 1.15;

  stroke-dasharray: 5 7;

  stroke-linecap: round;
  stroke-linejoin: round;

  vector-effect: non-scaling-stroke;
}

.network-stage .network-lines circle {
  fill: #2cab4a;
}

.network-lines-mobile {
  display: none;
}


/*
 * Nodes and main core stay visually above the network.
 */

.hero-visual .visual-core {
  z-index: 3;
}

.hero-visual .visual-node {
  z-index: 4;
}


@media (max-width: 600px) {

  /*
   * Mobile uses its own canvas proportions instead
   * of stretching desktop routing.
   */

  .hero-visual {
    aspect-ratio: 360 / 320;
  }

  .network-lines-desktop {
    display: none;
  }

  .network-lines-mobile {
    display: block;
  }

  .network-stage .network-lines {
    opacity: .46;
  }
}

/* =========================================================
   ANDMOOK SERVICES PAGE V1
   ========================================================= */

.services-page-hero {
  padding: 110px 0 70px;
}

.services-page-hero h1 {
  max-width: 940px;
  margin-bottom: 32px;
}

.services-page-intro {
  max-width: 1050px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.services-page-intro p {
  margin: 0;

  color: #5f687a;

  font-size: 16px;
  line-height: 1.7;
}

.services-page-intro .price-note {
  padding-left: 24px;

  border-left: 2px solid #d9eedc;

  color: #4e5b51;
}


.service-catalog {
  padding: 10px 0 80px;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-card {
  min-height: 390px;

  padding: 34px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: #fff;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.price-card:hover {
  transform: translateY(-3px);

  border-color: #d1ddd3;

  box-shadow:
    0 20px 45px rgba(17, 24, 39, .055);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.price-number {
  color: #a2aaa4;

  font-size: 13px;
  font-weight: 600;
}

.price {
  padding: 8px 12px;

  border-radius: 999px;

  background: var(--green-soft);
  color: var(--green-dark);

  font-size: 13px;
  font-weight: 700;
}

.price-card h2 {
  margin: 34px 0 13px;

  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.price-card > p {
  max-width: 580px;

  margin: 0;

  color: #626b79;

  font-size: 14px;
  line-height: 1.7;
}

.price-card ul {
  margin: 25px 0 0;
  padding: 0;

  list-style: none;

  display: grid;
  gap: 10px;
}

.price-card li {
  position: relative;

  padding-left: 21px;

  color: #394150;

  font-size: 13px;
  line-height: 1.45;
}

.price-card li::before {
  content: "";

  width: 5px;
  height: 5px;

  position: absolute;

  left: 0;
  top: .55em;

  border-radius: 50%;

  background: var(--green);
}

.price-card-special {
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f1f9f2
    );
}

.special-action {
  margin-top: auto;
  padding-top: 30px;
}


.services-principle {
  padding: 20px 0 80px;
}

.services-principle-inner {
  padding: 52px;

  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      #fff,
      #f5faf6
    );
}

.section-kicker {
  color: var(--green-dark);

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .06em;
}

.services-principle h2 {
  margin: 20px 0 0;

  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.principle-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.principle-copy p {
  max-width: 600px;

  margin: 0;

  color: #586170;

  font-size: 15px;
  line-height: 1.75;
}


@media (max-width: 900px) {

  .services-page-hero {
    padding-top: 70px;
  }

  .services-page-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-catalog-grid {
    grid-template-columns: 1fr;
  }

  .services-principle-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}


@media (max-width: 600px) {

  .services-page-hero {
    padding: 45px 0 46px;
  }

  .services-page-hero h1 {
    font-size: 40px;
  }

  .services-page-intro .price-note {
    padding-left: 18px;
  }

  .service-catalog {
    padding-bottom: 55px;
  }

  .price-card {
    min-height: 0;
    padding: 26px 23px;
  }

  .price-card h2 {
    margin-top: 27px;
    font-size: 22px;
  }

  .services-principle {
    padding-bottom: 55px;
  }

  .services-principle-inner {
    padding: 30px 24px;
  }

  .services-principle h2 {
    font-size: 31px;
  }

}

/* =========================================================
   ANDMOOK ABOUT PAGE V1
   ========================================================= */

.about-hero {
  padding: 108px 0 72px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .96fr)
    minmax(380px, .78fr);

  align-items: center;
  gap: 90px;
}

.about-copy h1 {
  max-width: 780px;
}

.about-lead {
  max-width: 690px;

  margin: 0 0 15px;

  color: #5f687a;

  font-size: 16px;
  line-height: 1.75;
}

.about-photo-card {
  margin: 0;

  position: relative;

  overflow: hidden;

  aspect-ratio: 4 / 5;

  border: 1px solid var(--border);
  border-radius: 30px;

  background: #f6f8f6;

  box-shadow:
    0 26px 70px rgba(17, 24, 39, .08);
}

.about-photo-card::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 65%,
      rgba(25, 41, 30, .08)
    );
}

.about-photo-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: 52% center;
}


.about-values {
  padding: 18px 0 80px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-value {
  min-height: 245px;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 19px;

  background: #fff;
}

.about-value > span {
  color: var(--green);

  font-size: 13px;
  font-weight: 700;
}

.about-value h2 {
  margin: 31px 0 14px;

  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.about-value p {
  margin: 0;

  color: #626b79;

  font-size: 14px;
  line-height: 1.7;
}


.about-work,
.about-speed,
.about-boundaries {
  padding: 0 0 22px;
}

.about-work-panel,
.about-speed-panel,
.about-boundaries-grid {
  padding: 52px;

  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;

  border: 1px solid var(--border);
  border-radius: 22px;
}

.about-work-panel {
  background:
    linear-gradient(
      135deg,
      #fff,
      #f6faf7
    );
}

.about-work-title h2,
.about-speed-panel h2,
.about-boundaries-grid h2 {
  margin: 20px 0 0;

  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.about-work-copy,
.about-speed-copy,
.about-boundaries-grid > div:last-child {
  display: grid;
  align-content: center;
  gap: 17px;
}

.about-work-copy p,
.about-speed-copy p,
.about-boundaries-grid p {
  margin: 0;

  color: #596273;

  font-size: 15px;
  line-height: 1.75;
}


.about-speed {
  padding-top: 0;
}

.about-speed-panel {
  background:
    radial-gradient(
      circle at 92% 15%,
      rgba(63, 180, 86, .12),
      transparent 33%
    ),
    linear-gradient(
      135deg,
      #fbfefb,
      #f0f8f1
    );
}

.about-speed-strong {
  color: #26372b !important;
  font-weight: 650;
}


.about-boundaries {
  padding-bottom: 78px;
}

.about-boundaries-grid {
  background: #fff;
}


@media (max-width: 900px) {

  .about-hero {
    padding-top: 70px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-photo-card {
    width: min(520px, 100%);
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-work-panel,
  .about-speed-panel,
  .about-boundaries-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}


@media (max-width: 600px) {

  .about-hero {
    padding: 44px 0 52px;
  }

  .about-copy h1 {
    font-size: 40px;
  }

  .about-photo-card {
    border-radius: 22px;
  }

  .about-values {
    padding-bottom: 55px;
  }

  .about-value {
    min-height: 0;
    padding: 25px 23px;
  }

  .about-work-panel,
  .about-speed-panel,
  .about-boundaries-grid {
    padding: 30px 24px;
  }

  .about-work-title h2,
  .about-speed-panel h2,
  .about-boundaries-grid h2 {
    font-size: 31px;
  }

  .about-boundaries {
    padding-bottom: 55px;
  }

}

/* =========================================================
   ANDMOOK ABOUT PHOTO V2
   ========================================================= */

.about-hero-grid {
  align-items: center;
}

.about-photo-card {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.about-photo-card img {
  object-fit: cover;
  object-position: center 42%;
}

@media (max-width: 900px) {
  .about-photo-card {
    width: min(100%, 440px);
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .about-photo-card {
    width: 100%;
    max-width: 390px;
  }
}

/* =========================================================
   ANDMOOK ABOUT HERO V3
   Production composition
   ========================================================= */

.about-hero {
  padding: 78px 0 66px;
}

.about-hero-grid {
  grid-template-columns:
    minmax(0, 1fr)
    410px;

  align-items: start;
  gap: 68px;
}

.about-copy {
  padding-top: 10px;
}

.about-copy h1 {
  max-width: 760px;
  margin-top: 28px;
  margin-bottom: 24px;
}

.about-lead {
  max-width: 700px;
}


/*
 * Photo deliberately has almost the same
 * visual height as the complete copy block.
 */
.about-photo-card {
  width: 390px;
  height: 480px;

  justify-self: end;
  align-self: start;

  aspect-ratio: auto;

  border-radius: 28px;

  box-shadow:
    0 20px 55px rgba(17, 24, 39, .07);
}

.about-photo-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  /*
   * Keep face and upper body comfortably
   * inside the crop.
   */
  object-position: 50% 40%;
}


/*
 * A very subtle visual connection between
 * portrait and the rest of the ANDMOOK design.
 */
.about-photo-card::before {
  content: "";

  position: absolute;

  width: 310px;
  height: 310px;

  left: -90px;
  top: 75px;

  z-index: -1;

  border-radius: 50%;

  background:
    rgba(54, 174, 82, .075);

  filter: blur(65px);

  pointer-events: none;
}


@media (max-width: 1100px) {

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      360px;

    gap: 48px;
  }

  .about-photo-card {
    width: 350px;
    height: 440px;
  }

}


@media (max-width: 900px) {

  .about-hero {
    padding: 58px 0 58px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-photo-card {
    width: min(100%, 430px);
    height: auto;

    aspect-ratio: 4 / 5;

    justify-self: start;
  }

}


@media (max-width: 600px) {

  .about-hero {
    padding: 38px 0 48px;
  }

  .about-copy h1 {
    margin-top: 22px;
    margin-bottom: 20px;
  }

  .about-photo-card {
    width: 100%;
    max-width: none;

    aspect-ratio: 4 / 5;

    border-radius: 22px;
  }

  .about-photo-card img {
    object-position: 50% 40%;
  }

}


/* =========================================================
   ANDMOOK ABOUT HERO V4
   Tighter editorial composition
   ========================================================= */

@media (min-width: 1101px) {

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 760px)
      390px;

    justify-content: start;
    align-items: start;

    gap: 44px;
  }

  .about-photo-card {
    width: 390px;
    height: 480px;

    justify-self: start;
    align-self: start;
  }

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

  .about-copy h1 {
    max-width: 730px;
  }

  .about-lead {
    max-width: 690px;
  }

}


@media (min-width: 901px) and (max-width: 1100px) {

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      340px;

    gap: 38px;
  }

  .about-photo-card {
    width: 340px;
    height: 425px;

    justify-self: start;
  }

}


/* =========================================================
   ANDMOOK ABOUT HERO V5
   Balanced editorial composition
   ========================================================= */

@media (min-width: 1101px) {

  .about-hero .container {
    width: min(1280px, calc(100% - 80px));
  }

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 700px)
      420px;

    justify-content: center;
    align-items: start;

    gap: 64px;
  }

  .about-copy {
    width: 100%;
    max-width: 700px;

    padding-top: 8px;
  }

  .about-copy h1 {
    max-width: 700px;
  }

  .about-lead {
    max-width: 670px;
  }

  .about-photo-card {
    width: 420px;
    height: 490px;

    justify-self: start;
    align-self: start;
  }

}


/* Medium desktop / small notebook */
@media (min-width: 901px) and (max-width: 1100px) {

  .about-hero .container {
    width: min(100% - 56px, 980px);
  }

  .about-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      350px;

    justify-content: center;
    gap: 44px;
  }

  .about-photo-card {
    width: 350px;
    height: 430px;
  }

}


/* =========================================================
   ANDMOOK TYPOGRAPHY V1
   Onest visual test
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;450;500;550;600;650&display=swap');

html,
body,
button,
input,
textarea,
select {
  font-family:
    "Onest",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


/* Brand wordmark */

.brand-word {
  font-family: "Onest", sans-serif;

  font-weight: 600;

  letter-spacing: -.052em;

  line-height: .96;
}

.brand-dot {
  font-weight: 600;
}


/* Main display typography */

h1,
.about-copy h1,
.services-page-hero h1 {
  font-family: "Onest", sans-serif;

  font-weight: 500;

  letter-spacing: -.052em;

  text-wrap: balance;
}

h1 strong {
  font-weight: 500;
}


/* Navigation and buttons stay precise,
   but slightly less heavy than before */

.desktop-nav a,
.header-cta,
.button,
.contact-item,
.messenger {
  font-family: "Onest", sans-serif;
}


/* Body copy */

.hero-lead,
.about-lead,
.services-page-intro,
.service-card p,
.about-copy p {
  font-family: "Onest", sans-serif;
  letter-spacing: -.01em;
}


/* =========================================================
   ANDMOOK BRAND WORDMARK V2
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&display=swap');

.brand {
  gap: 13px;
}

.brand-word {
  font-family:
    "Jost",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  font-size: 31px;
  font-weight: 500;

  line-height: 1;

  /*
   * The original render has a much calmer,
   * more open wordmark than the previous version.
   */
  letter-spacing: -.018em;

  transform: translateY(-1px);
}

.brand-dot {
  color: var(--green);

  font-family: "Jost", sans-serif;
  font-weight: 500;

  margin-left: 1px;
}


/* Mobile keeps the same visual character */

@media (max-width: 600px) {

  .brand {
    gap: 9px;
  }

  .brand-word {
    font-size: 25px;
    letter-spacing: -.018em;
  }

}


/* =========================================================
   ANDMOOK PNG WORDMARK V1
   ========================================================= */

.brand {
  gap: 14px;
}

.brand-wordmark {
  display: block;
  width: 150px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-word,
.brand-dot {
  display: none;
}

@media (max-width: 600px) {

  .brand {
    gap: 10px;
  }

  .brand-wordmark {
    width: 116px;
  }

}


/* =========================================================
   ANDMOOK HERO SPACING V1
   Reduce excessive whitespace below header
   Desktop only
   ========================================================= */

@media (min-width: 901px) {

  .hero {
    padding-top: 38px;
  }

  .hero-grid {
    min-height: 500px;
  }

}


/* =========================================================
   ANDMOOK CONTENT PAGES V1
   Approach / Process / Contacts
   ========================================================= */

.desktop-nav a[aria-current="page"] {
  color: var(--green-dark);
}


/* PAGE HERO */

.content-page-hero {
  padding: 92px 0 64px;
}

.content-page-hero-inner {
  max-width: 1180px;
}

.content-page-hero h1 {
  max-width: 930px;
  margin-bottom: 30px;
}

.content-page-intro {
  max-width: 1030px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.content-page-intro p {
  margin: 0;

  color: #5f687a;

  font-size: 16px;
  line-height: 1.75;
}


/* PRINCIPLES */

.content-cards-section {
  padding: 8px 0 76px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.principle-card {
  min-height: 270px;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: #fff;
}

.principle-card > span,
.process-page-card > span,
.contacts-info-card > span {
  color: var(--green);

  font-size: 13px;
  font-weight: 700;
}

.principle-card h2,
.process-page-card h2,
.contacts-info-card h2 {
  margin: 31px 0 14px;

  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.principle-card p,
.process-page-card p,
.contacts-info-card p {
  margin: 0;

  color: #626b79;

  font-size: 14px;
  line-height: 1.7;
}


/* STATEMENT */

.statement-section {
  padding: 0 0 76px;
}

.statement-panel {
  padding: 42px 48px;

  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background:
    linear-gradient(
      115deg,
      #fff 0%,
      #fbfdfb 55%,
      #f2f9f3 100%
    );
}

.statement-label {
  color: var(--green-dark);

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .05em;
}

.statement-panel h2 {
  max-width: 480px;

  margin: 20px 0 0;

  font-size: 34px;
  line-height: 1.14;
  letter-spacing: -.045em;
}

.statement-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.statement-copy p {
  margin: 0;

  color: #5f687a;

  font-size: 15px;
  line-height: 1.75;
}


/* PROCESS */

.process-page-section {
  padding: 8px 0 76px;
}

.process-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.process-page-card {
  min-height: 285px;

  padding: 31px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: #fff;
}

.urgency-panel {
  background:
    linear-gradient(
      115deg,
      #fff,
      #f1f9f3
    );
}


/* PAGE CTA */

.page-cta-section {
  padding: 0 0 22px;
}

.page-cta-panel {
  min-height: 120px;

  padding: 27px 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: #fff;
}

.page-cta-panel h2 {
  margin: 0;

  font-size: 20px;
  letter-spacing: -.025em;
}

.page-cta-panel p {
  margin: 7px 0 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.55;
}


/* CONTACT PAGE */

.contacts-page-section {
  padding: 8px 0 54px;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 14px;
}

.contact-channel-card {
  min-height: 180px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);
  border-radius: 19px;

  background: #fff;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

a.contact-channel-card:hover {
  transform: translateY(-3px);

  border-color: #d1ddd3;

  box-shadow:
    0 18px 40px rgba(17, 24, 39, .05);
}

.contact-channel-type {
  color: var(--green-dark);

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-channel-card strong {
  margin-top: 32px;

  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.contact-channel-card small {
  margin-top: auto;

  color: var(--muted);

  font-size: 12px;
}


.contacts-info-section {
  padding: 0 0 76px;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.contacts-info-card {
  min-height: 260px;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: #fff;
}

.official-card {
  background:
    linear-gradient(
      135deg,
      #fff,
      #f2f9f3
    );
}


/* RESPONSIVE */

@media (max-width: 1100px) {

  .principles-grid,
  .process-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (max-width: 900px) {

  .content-page-hero {
    padding: 58px 0 50px;
  }

  .content-page-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .statement-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-info-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .content-page-hero {
    padding: 38px 0 42px;
  }

  .content-page-hero h1 {
    font-size: 40px;
  }

  .principles-grid,
  .process-page-grid,
  .contacts-page-grid {
    grid-template-columns: 1fr;
  }

  .principle-card,
  .process-page-card,
  .contacts-info-card {
    min-height: auto;
  }

  .statement-panel {
    padding: 30px 25px;
  }

  .statement-panel h2 {
    font-size: 28px;
  }

  .page-cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .page-cta-panel .button {
    width: 100%;
  }

  .contact-channel-card {
    min-height: 150px;
  }

}


/* =========================================================
   ANDMOOK MESSENGER ICONS V1
   Official Telegram / WhatsApp / MAX marks
   ========================================================= */

.messenger-icon {
  width: 18px;
  height: 18px;

  display: block;
  flex: 0 0 18px;

  object-fit: contain;
}

/*
 * Previous text-symbol icons are no longer used.
 */
.messenger > b {
  display: none;
}


/* =========================================================
   ANDMOOK MESSENGER LAYOUT V2
   Equal geometry for MAX / Telegram / WhatsApp
   ========================================================= */

/*
 * Desktop:
 * three equal cells instead of three unequal text widths.
 */
@media (min-width: 1241px) {

  .messengers {
    width: 330px;

    padding-left: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;

    gap: 0;
  }

  .messenger {
    width: 100%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    white-space: nowrap;
  }

}


/*
 * Tablet:
 * keep the three items balanced,
 * but allow the contact bar to breathe.
 */
@media (min-width: 601px) and (max-width: 1240px) {

  .messengers {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;
  }

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

}


/*
 * Mobile:
 * same geometry, slightly tighter icon/text spacing.
 */
@media (max-width: 600px) {

  .messengers {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 4px;
  }

  .messenger {
    width: 100%;

    justify-content: center;

    gap: 6px;

    font-size: 12px;
  }

  .messenger-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

}



/* =========================================================
   ANDMOOK CONTACT ICONS V2
   Unified channel-card + footer geometry
   ========================================================= */


/* Footer / bottom contact bar */

.contact-icon {
  width: 18px;
  height: 18px;

  display: block;
  flex: 0 0 18px;

  object-fit: contain;
}


/*
 * Official MAX PNG is intentionally used here.
 * The official colored SVG is extremely complex and loses
 * visual clarity when rasterised at 17–18 CSS pixels.
 */

.messenger-icon[src$="/max.png"] {
  image-rendering: auto;
}


/* Main contacts page cards */

.contact-channel-card {
  position: relative;
}


/*
 * Every channel gets exactly the same icon box.
 * This preserves the existing card typography and baseline
 * while giving all five cards the same visual geometry.
 */

.contact-channel-icon {
  width: 28px;
  height: 28px;

  position: absolute;

  top: 22px;
  right: 22px;

  display: block;

  object-fit: contain;
}


/*
 * Phone and email are our own simple line icons;
 * Telegram / WhatsApp / MAX retain their official colors.
 */

.contact-channel-card strong {
  padding-right: 4px;
}


/* Slightly tighter on narrow cards */

@media (max-width: 1240px) {

  .contact-channel-icon {
    width: 26px;
    height: 26px;

    top: 21px;
    right: 21px;
  }

}


@media (max-width: 600px) {

  .contact-channel-icon {
    width: 25px;
    height: 25px;

    top: 20px;
    right: 20px;
  }

}

/* =========================================================
   ANDMOOK CONTACT CARDS V2
   More compact and visually unified channel cards
   ========================================================= */

.contact-channel-card {
  min-height: 164px;
  padding: 22px 24px;
}


/*
 * Small category label stays in the upper-left corner.
 */

.contact-channel-type {
  line-height: 36px;
}


/*
 * All channel icons use the same visual container,
 * regardless of the original logo proportions.
 */

.contact-channel-icon {
  position: absolute;
  top: 18px;
  right: 20px;

  width: 36px;
  height: 36px;

  padding: 8px;

  display: block;

  object-fit: contain;

  border: 1px solid #e8eee9;
  border-radius: 50%;

  background: #f8fbf8;
}


/*
 * MAX artwork is visually denser than the others,
 * so give it slightly more breathing room.
 */

.contact-channel-icon[src="/icons/max.png"] {
  padding: 7px;
}


/*
 * Main channel name moves closer to the header.
 */

.contact-channel-card strong {
  margin-top: 19px;
}


/*
 * Keep the action aligned to the bottom,
 * but reduce excessive vertical distance.
 */

.contact-channel-card small {
  margin-top: auto;
  padding-top: 16px;
}


/*
 * Required for absolutely positioned icon.
 */

.contact-channel-card {
  position: relative;
}


/* Tablet */

@media (max-width: 1100px) {

  .contact-channel-card {
    min-height: 158px;
  }

}


/* Mobile */

@media (max-width: 600px) {

  .contact-channel-card {
    min-height: 142px;
    padding: 20px 22px;
  }

  .contact-channel-icon {
    top: 17px;
    right: 18px;

    width: 34px;
    height: 34px;

    padding: 7px;
  }

  .contact-channel-card strong {
    margin-top: 16px;
  }

}



/* =========================================================
   ANDMOOK CONTACTS HERO PHOTO V1
   Personal two-column contacts introduction
   ========================================================= */

@media (min-width: 1101px) {

  .contacts-hero {
    padding: 72px 0 58px;
  }

  .contacts-hero .content-page-hero-inner {
    max-width: none;
  }

  .contacts-hero-grid {
    display: grid;
    grid-template-columns:
      minmax(0, 720px)
      390px;

    justify-content: center;
    align-items: start;

    gap: 76px;
  }

  .contacts-hero-copy {
    width: 100%;
    padding-top: 8px;
  }

  .contacts-hero h1 {
    max-width: 720px;

    margin-top: 30px;
    margin-bottom: 30px;
  }

  .contacts-hero-intro {
    max-width: 680px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 42px;
  }

  .contacts-hero-intro p {
    margin: 0;

    color: #5f687a;

    font-size: 16px;
    line-height: 1.75;
  }

  .contacts-photo-card {
    width: 390px;
    height: 460px;

    margin: 0;

    position: relative;
    overflow: hidden;

    justify-self: start;
    align-self: start;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: #f6f8f6;

    box-shadow:
      0 20px 55px rgba(17, 24, 39, .07);
  }

  .contacts-photo-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 50% 40%;
  }

  .contacts-photo-card::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
      linear-gradient(
        180deg,
        transparent 70%,
        rgba(20, 35, 26, .055)
      );
  }

}


/* Medium desktop / notebook */

@media (min-width: 901px) and (max-width: 1100px) {

  .contacts-hero {
    padding: 64px 0 54px;
  }

  .contacts-hero-grid {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      330px;

    align-items: start;

    gap: 42px;
  }

  .contacts-hero-intro {
    display: grid;
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .contacts-photo-card {
    width: 330px;
    height: 410px;

    margin: 0;

    position: relative;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 25px;

    box-shadow:
      0 18px 46px rgba(17, 24, 39, .065);
  }

  .contacts-photo-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 50% 40%;
  }

}


/* Tablet and mobile:
   copy first, portrait below it */

@media (max-width: 900px) {

  .contacts-hero-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 36px;
  }

  .contacts-hero-intro {
    display: grid;
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .contacts-hero-intro p {
    margin: 0;

    color: #5f687a;

    font-size: 16px;
    line-height: 1.75;
  }

  .contacts-photo-card {
    width: min(440px, 100%);
    aspect-ratio: 4 / 5;

    margin: 0;

    position: relative;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: #f6f8f6;

    box-shadow:
      0 18px 45px rgba(17, 24, 39, .065);
  }

  .contacts-photo-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 50% 40%;
  }

}


/* Mobile */

@media (max-width: 600px) {

  .contacts-hero {
    padding-top: 38px;
  }

  .contacts-hero-grid {
    gap: 28px;
  }

  .contacts-photo-card {
    width: 100%;
    max-width: 390px;

    border-radius: 22px;
  }

}


/* Extra paragraph in "Где работаю" */

.contacts-info-card p + p {
  margin-top: 13px;
}



/* =========================================================
   ANDMOOK CONTACTS HERO PHOTO V2
   Tighter, more personal editorial crop
   ========================================================= */

@media (min-width: 1101px) {

  .contacts-hero-grid {
    grid-template-columns:
      minmax(0, 720px)
      370px;

    gap: 68px;
  }

  .contacts-photo-card {
    width: 370px;
    height: 435px;
  }

  .contacts-photo-card img {
    /*
     * The original conference photo contains a lot of environment.
     * A restrained zoom makes Андрей the primary subject while
     * preserving the event context.
     */
    transform: scale(1.105);

    object-position: 50% 53%;
  }

}


/* Medium desktop / notebook */

@media (min-width: 901px) and (max-width: 1100px) {

  .contacts-hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      320px;

    gap: 38px;
  }

  .contacts-photo-card {
    width: 320px;
    height: 390px;
  }

  .contacts-photo-card img {
    transform: scale(1.08);
    object-position: 50% 52%;
  }

}


/* No aggressive zoom on tablet/mobile */

@media (max-width: 900px) {

  .contacts-photo-card img {
    transform: none;
    object-position: 50% 40%;
  }

}


/* =========================================================
   ANDMOOK CONTACTS HERO PHOTO V3
   Final micro-adjustment
   ========================================================= */

@media (min-width: 1101px) {

  .contacts-photo-card {
    height: 420px;
  }

  .contacts-photo-card img {
    object-position: 50% 50%;
  }

}

/* =========================================================
   ANDMOOK HEADER CTA FINAL
   Identical natural geometry on all pages
   ========================================================= */

.header-cta {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.header-cta > span {
  flex: 0 0 auto;
}



/* ===== ANDMOOK global task modal ===== */

html.task-modal-open,
html.task-modal-open body {
  overflow: hidden;
}

.task-modal[hidden] {
  display: none;
}

.task-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 32px;
  opacity: 0;
  transition: opacity .18s ease;
}

.task-modal.is-open {
  opacity: 1;
}

.task-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 24, .52);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.task-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  max-height: calc(100vh - 64px);
  margin: 0 auto;
  overflow: auto;
  background: #f7f7f5;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .20);
  transform: translateY(10px) scale(.99);
  transition: transform .18s ease;
}

.task-modal.is-open .task-modal-dialog {
  transform: translateY(0) scale(1);
}

.task-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .07);
  color: #111827;
  font: inherit;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
}

.task-modal-close:hover {
  background: rgba(15, 23, 42, .12);
}

.task-modal-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .72fr)
    minmax(0, 1.28fr);
  gap: 72px;
  padding: 68px;
}

.task-modal-label {
  display: block;
  margin-bottom: 22px;
  color: #278c43;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.task-modal-copy h2 {
  margin: 0 0 28px;
  color: #111827;
  font-size: clamp(38px, 4vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
}

.task-modal-copy p {
  max-width: 520px;
  margin: 0 0 34px;
  color: #5d6268;
  font-size: 18px;
  line-height: 1.55;
}

.task-modal-copy small {
  display: block;
  max-width: 500px;
  color: #8b8e92;
  font-size: 15px;
  line-height: 1.5;
}

.task-form {
  min-width: 0;
}

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

.task-field {
  margin-bottom: 18px;
}

.task-field label {
  display: block;
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.task-field input,
.task-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(20, 24, 28, .16);
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: #14181c;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.task-field input {
  height: 54px;
  padding: 0 16px;
}

.task-field textarea {
  display: block;
  min-height: 170px;
  padding: 15px 16px;
  resize: vertical;
}

.task-field input::placeholder,
.task-field textarea::placeholder {
  color: rgba(20, 24, 28, .36);
}

.task-field input:focus,
.task-field textarea:focus {
  border-color: rgba(20, 24, 28, .52);
  box-shadow:
    0 0 0 3px rgba(20, 24, 28, .06);
}

.task-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.task-form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}

.task-form-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #14181c;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    opacity .18s ease;
}

.task-form-submit:hover {
  transform: translateY(-1px);
}

.task-form-submit:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.task-form-privacy {
  max-width: 310px;
  margin: 0;
  color: rgba(20, 24, 28, .46);
  font-size: 12px;
  line-height: 1.45;
}

.task-form-status {
  min-height: 24px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.task-form-status.is-success {
  color: #267346;
}

.task-form-status.is-error {
  color: #a33232;
}

@media (max-width: 900px) {
  .task-modal {
    padding: 12px;
  }

  .task-modal-dialog {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .task-modal-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 24px 28px;
  }

  .task-modal-copy h2 {
    font-size: 42px;
  }

  .task-modal-copy p {
    margin-bottom: 16px;
  }

  .task-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 640px) {
  .task-modal {
    padding: 0;
  }

  .task-modal-dialog {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .task-modal-grid {
    gap: 28px;
    padding:
      64px
      20px
      calc(28px + env(safe-area-inset-bottom));
  }

  .task-modal-copy h2 {
    font-size: 36px;
  }

  .task-modal-copy small {
    display: none;
  }

  .task-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .task-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .task-form-submit {
    width: 100%;
  }

  .task-form-privacy {
    max-width: none;
  }
}


/* =========================================================
   ANDMOOK MOBILE NAVIGATION
   Desktop layout intentionally unchanged.
   ========================================================= */

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}


@media (max-width: 900px) {

  .header-inner {
    position: relative;
    z-index: 1002;
  }

  .header-cta {
    display: none;
  }


  .mobile-menu-toggle {
    width: 46px;
    height: 46px;

    margin-left: auto;
    padding: 0;

    display: flex;
    flex: 0 0 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    position: relative;
    z-index: 1003;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: #fff;
    color: #172033;

    cursor: pointer;
  }


  .mobile-menu-toggle span {
    width: 18px;
    height: 1.5px;

    display: block;

    background: currentColor;

    transition:
      transform .22s ease,
      opacity .18s ease;
  }


  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }


  .mobile-menu {
    box-sizing: border-box;

    padding:
      118px
      max(18px, calc((100vw - 760px) / 2))
      24px;

    display: flex;
    flex-direction: column;

    position: fixed;
    inset: 0;
    z-index: 1001;

    background: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity .20s ease,
      visibility .20s ease,
      transform .20s ease;
  }


  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
  }


  .mobile-nav {
    display: flex;
    flex-direction: column;
  }


  .mobile-nav a {
    padding: 17px 0;

    display: block;

    border-bottom: 1px solid var(--border);

    color: #172033;

    font-family: "Onest", sans-serif;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;

    text-decoration: none;
  }


  .mobile-nav a:first-child {
    border-top: 1px solid var(--border);
  }


  .mobile-menu-cta {
    min-height: 58px;

    margin-top: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 16px;

    background: var(--green-soft);
    color: var(--green-dark);

    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 650;

    text-decoration: none;
  }


  .mobile-menu-cta span {
    font-size: 18px;
  }


  body.mobile-menu-open {
    overflow: hidden;
  }
}


@media (max-width: 600px) {

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }


  .mobile-menu {
    padding:
      94px
      14px
      18px;
  }


  .mobile-nav a {
    padding: 15px 0;

    font-size: 27px;
  }
}
