:root {
  --black: #0b0d0f;
  --dark: #111417;
  --dark2: #171b1f;
  --gray: #8f979f;
  --light: #f4f5f6;
  --white: #fff;
  --red: #e5484d;
  --blue: #3d8bfd;
  --green: #39c98a;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

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

/* =========================
   NAVBAR
   ========================= */

.navbar {
  height: 78px;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  background: rgba(9, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-placeholder img {
  width: 72px;
  height: 42px;
  /* border: 1px solid rgba(255, 255, 255, 0.45); */
  display: grid;
  place-items: center;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #bbb;
}

.navbar nav {
  display: flex;
  gap: 34px;
  margin-left: 55px;
}

.navbar nav a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c6cbd0;
  transition: 0.25s;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
  margin-left: auto;
}

/* =========================
   GENERAL
   ========================= */

.page-section {
  min-height: 100vh;
  position: relative;
}

/* =========================
   HERO
   ========================= */

.hero {
  display: grid;
  place-items: center;
  background: #20252a url("background-101.PNG") center/cover
    no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(5, 7, 9, 0.82),
    rgba(5, 7, 9, 0.55),
    rgba(5, 7, 9, 0.78)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 90px 20px 20px;
  max-width: 950px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gray);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(58px, 10vw, 150px);
  line-height: 0.95;
  margin: 22px 0 8px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.stylish-line {
  height: 12px;
  position: relative;
  width: 290px;
  margin: 0 auto 25px;
}

.stylish-line:before,
.stylish-line:after {
  content: "";
  position: absolute;
  height: 2px;
  top: 5px;
  background: var(--red);
}

.stylish-line:before {
  left: 0;
  width: 105px;
}

.stylish-line:after {
  right: 0;
  width: 105px;
}

.stylish-line span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  transform: translateX(-50%) rotate(45deg);
}

.hero-subtitle {
  color: #c4c8cc;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #aaa;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(#fff, transparent);
  margin: 0 auto 9px;
}

/* =========================
   SERVICES
   ========================= */

.services {
  background: var(--white);
  color: var(--dark);
  padding: 110px 5vw 90px;
  overflow: hidden;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
}

.section-heading .eyebrow {
  color: #697177;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 62px);
  margin: 10px 0 12px;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  color: #687078;
}

/* =========================
   SERVICE MENU
   ========================= */

.service-menu {
  position: absolute;

  width: 215px;

  background: #fff;
  color: #171b1f;

  border: 1px solid #e2e5e7;
  border-radius: 12px;

  padding: 15px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);

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

  transition:
    opacity 0.16s,
    visibility 0.16s;
}
/* =========================
   MENU TITLE
   ========================= */

.menu-title {
  display: flex;
  align-items: center;
  gap: 10px;

  border-bottom: 1px solid #eceeef;
  padding-bottom: 9px;
}

.menu-title span {
  font-size: 9px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.16em;
}

.menu-title strong {
  font-size: 14px;
}

.menu-desc {
  font-size: 10px !important;
  line-height: 1.5 !important;
  color: #747c82 !important;
  margin: 9px 0 !important;
}

.service-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 9px 7px;

  border-radius: 7px;

  color: #252a2e;

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

.menu-item > a span {
  font-size: 18px;
  color: #92999e;
}

.menu-item:hover > a {
  background: #f0f3f5;
  color: #111417;
}
/* =========================
   SUB INFORMATION
   ========================= */

.sub-info {
  position: absolute;
  left: calc(100% + 3px);
  top: -8px;
  width: 205px;
  background: #171b1f;
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);

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

  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.3s;
}

.menu-item:hover .sub-info,
.menu-item:focus-within .sub-info {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 0.25s ease,
    visibility 0s;
}

.sub-info strong {
  font-size: 12px;
}

.sub-info p {
  font-size: 10px;
  line-height: 1.5;

  color: #aeb5ba;

  margin: 6px 0 9px;
}

.sub-info > a {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #55a1ff;
}

/* =========================
   SMALL MENU RESPONSIVE
   ========================= */

@media (max-width: 700px) {
  .service-menu {
    width: 195px;
  }

  .sub-info {
    left: auto;
    right: calc(100% + 9px);
  }
}

/* =========================
   TEAM
   ========================= */

.team {
  background: var(--dark);
  padding: 110px 5vw 120px;
}

.team .section-heading h2 {
  color: #fff;
}

.team .section-heading > p:last-child {
  color: #8f979f;
}

.team-grid {
  max-width: 1200px;
  margin: 55px auto 0;

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

.team-card {
  background: #15191d;

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

  box-shadow: var(--shadow);

  overflow: hidden;

  transition: 0.3s;

  border-radius: 10px;
}

.team-card:hover {
  transform: translateY(-8px);
}

.portrait-placeholder {
  height: 390px;

  background: #252b30;

  display: grid;
  place-items: center;

  color: #777;

  font-size: 10px;
  letter-spacing: 0.25em;
}

.team-info {
  padding: 22px;
}

.team-info span {
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.2em;
}

.team-info h3 {
  margin: 8px 0 5px;
}

.team-info p {
  color: #7e878e;
  font-size: 12px;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: #080a0c;

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

  padding: 65px 5vw 25px;
}

.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;

  margin-bottom: 50px;
}

.footer-brand h2 {
  font-size: 24px;
}

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

  gap: 40px;

  max-width: 850px;
}

.footer-columns h4 {
  font-size: 11px;

  text-transform: uppercase;
  letter-spacing: 0.2em;

  color: #fff;

  margin-bottom: 17px;
}

.footer-columns a,
.footer-columns span {
  display: block;

  color: #737b82;

  font-size: 12px;

  margin: 9px 0;
}

.copyright {
  border-top: 1px solid var(--border);

  margin-top: 45px;

  padding-top: 20px;

  color: #50575d;

  font-size: 10px;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
  .navbar nav {
    gap: 18px;
    margin-left: 25px;
  }

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

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {
  .navbar {
    height: 68px;
  }

  .brand span {
    font-size: 13px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;

    top: 68px;
    left: 0;
    right: 0;

    margin: 0;

    padding: 20px 5vw;

    display: none;

    flex-direction: column;

    background: rgba(9, 11, 13, 0.98);

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

  .navbar nav.open {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }

  .services {
    padding-top: 90px;
  }

  .hover-card {
    width: 165px;
  }

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

  .portrait-placeholder {
    height: 330px;
  }

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

/* =========================
   VERY SMALL MOBILE
   ========================= */

@media (max-width: 480px) {

  .section-heading h2 {
    font-size: 38px;
  }

  .hero h1 {
    font-size: 56px;
  }
}

/* =========================================================
   101-ADVISORY - NEW TEAM + SERVICES LAYOUT
   ========================================================= */

/* Team: four landscape cards, 2 x 2 */

.team {
  background: var(--dark);
  padding: 110px 5vw 120px;
}

.team-grid {
  max-width: 1080px;

  margin: 55px auto 0;

  display: grid;

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

  gap: 26px;
}

.team-card {
  min-height: 205px;

  background: #15191d;

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

  box-shadow: var(--shadow);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;

  display: flex;
  flex-direction: row;
}

.team-card:hover {
  transform: translateY(-7px);

  border-color: rgba(255, 255, 255, 0.24);
}

.portrait-placeholder {
  width: 43%;

  height: auto;

  min-height: 205px;

  flex: 0 0 43%;

  background: linear-gradient(135deg, #252b30, #1b2024);

  display: grid;
  place-items: center;

  color: #777;

  font-size: 10px;

  letter-spacing: 0.25em;

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

.team-info {
  padding: 28px 25px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.team-info span {
  font-size: 10px;

  color: var(--red);

  letter-spacing: 0.2em;
}

.team-info h3 {
  margin: 8px 0 5px;

  font-size: 22px;
}

.team-info p {
  color: #7e878e;

  font-size: 12px;
}

/* On tablets and phones there is no room beside the circles,
   so the numbers are shown alone (the name still appears in the hover menu). */

/* =========================================================
   SERVICES - 12-SEGMENT RING
   Each segment is one box with its service name inside.
   Hover a segment -> its menu opens. Click -> service page.
   ========================================================= */

.services {
  overflow: visible;
  overflow-x: clip; /* menus may hang below/above the ring */
}

.ring-wrap {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}

.ring {
  --size: min(780px, calc(100vw - 500px));
  width: var(--size);
  height: var(--size);
  position: relative;
}

/* ---- centre logo with a 12-colour ring ---- */
.ring-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 37%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.ring-center img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* ---- one segment ---- */
.seg {
  position: absolute;
  inset: 0;
  pointer-events: none; /* only the shape / label / menu catch the mouse */
  z-index: 2;
}

.seg:hover,
.seg:focus-within {
  z-index: 60;
}

.seg-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.seg-path {
  fill: var(--c);
  fill-opacity: 0.08;
  stroke: var(--c);
  stroke-width: 3;
  stroke-linejoin: round;
  pointer-events: all;
  cursor: pointer;
  transition: fill-opacity 0.2s, stroke-width 0.2s;
}

.seg:hover .seg-path,
.seg:focus-within .seg-path {
  fill-opacity: 0.2;
  stroke-width: 5;
}

.seg-badge {
  pointer-events: all;
  cursor: pointer;
}

.seg-badge .b-out {
  fill: var(--c);
}

.seg-badge .b-in {
  fill: #fff;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.seg-badge text {
  fill: var(--tc);
  font-size: 19px;
  font-weight: 700;
  font-family: inherit;
}

/* ---- the name, inside the box ---- */
.seg-label {
  position: absolute;
  left: var(--lx);
  top: var(--ly);
  transform: translate(-50%, -50%);
  width: 14%;
  text-align: center;
  font-size: clamp(11px, calc(var(--size) * 0.0172), 14px);
  font-weight: 700;
  line-height: 1.25;
  color: #1d2328;
  pointer-events: none; /* clicks pass to the shape underneath */
}

.seg-icon {
  display: block;
  width: clamp(24px, calc(var(--size) * 0.042), 32px);
  height: clamp(24px, calc(var(--size) * 0.042), 32px);
  margin: 0 auto 6px;
  fill: none;
  stroke: var(--tc);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seg-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--c);
  margin: 7px auto 0;
}

.seg-label:focus-visible {
  outline: 2px solid var(--tc);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- hover menu (existing content, new placement) ---- */
.ring .service-menu {
  left: var(--ox);
  top: var(--oy);
  z-index: 5;
}

/* top and bottom segments open their menu in the centre of the ring */
.z-top .service-menu    { left: var(--ix); top: var(--iy); transform: translate(-50%, -8px); }
.z-bottom .service-menu { left: var(--ix); top: var(--iy); transform: translate(-50%, calc(-100% + 8px)); }
.z-right .service-menu  { transform: translate(-8px, -50%); }
.z-left .service-menu   { transform: translate(calc(-100% + 8px), -50%); }

.seg:hover .service-menu,
.seg:focus-within .service-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ring .menu-title span {
  color: var(--tc);
}

/* menus that open on the right side show their detail box to the left,
   so nothing runs off the edge of the screen */
.z-right .sub-info {
  left: auto;
  right: calc(100% + 3px);
}

/* wide screens have room for the detail box on the outside */
@media (min-width: 1480px) {
  .z-right .sub-info {
    left: calc(100% + 3px);
    right: auto;
  }
}

/* ---- tablets & phones: the same 12 boxes as a tidy grid ---- */
@media (max-width: 1100px) {
  .ring {
    width: 100%;
    height: auto;
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ring-center {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    width: 150px;
    margin: 0 auto 8px;
  }

  .seg {
    position: relative;
    inset: auto;
    pointer-events: auto;
    background: color-mix(in srgb, var(--c) 9%, #fff);
    border: 2px solid var(--c);
    border-radius: 16px;
  }

  .seg-shape,
  .ring .service-menu {
    display: none;
  }

  .seg-label {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    min-height: 76px;
    text-align: left;
    font-size: 14px;
    pointer-events: auto;
  }

  .seg-label::before {
    content: attr(data-num);
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tc);
    color: #fff;
    font-size: 13px;
  }

  .seg-label::after {
    display: none;
  }

  .seg-icon {
    width: 22px;
    height: 22px;
    margin: 0 0 4px;
  }
}

/* =========================================================
   ABOUT US - the picture rebuilt in code
   Desktop: the same composition, scaled to the screen width.
   Tablet / phone: stacked and re-flowed.
   ========================================================= */

.about {
  min-height: 0;
  padding: 78px 0 0;
  background: #fff;
  color: #111;
  font-family: Calibri, Carlito, "Segoe UI", Inter, Arial, sans-serif;
}

.about-stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 1288 / 712;
  background: linear-gradient(90deg, #f6f6f6 40%, #fff 40%);
  overflow: hidden;
}

/* ---- left panel ---- */
.about-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  padding: 9.2cqw 5cqw 3.4cqw 2.8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.about-lead {
  max-width: 25.5cqw;
  text-align: center;
  font-size: 1.43cqw;
  font-weight: 300;
  line-height: 1.45;
}

.about-lead strong {
  display: block;
  font-weight: 700;
}

.about-logo {
  width: 13.2cqw;
  height: auto;
  display: block;
}

.about-text {
  width: 100%;
  text-align: justify;
  font-size: 1.45cqw;
  line-height: 1.38;
}

.about-text strong {
  font-weight: 700;
}

/* ---- the half wheel ---- */
.about-wheel {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 20.35%;
  transform: translateY(-50%);
}

.about-wheel svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.wheel-ico,
.about-ico {
  fill: none;
  stroke: #0d0d0d;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-core {
  position: absolute;
  left: 0.76%;
  top: 50%;
  width: 73.3%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ---- the four texts with their arrows ---- */
.about-item {
  position: absolute;
  left: 69.4%;
  top: var(--t);
  width: 28.2%;
}

.about-item::before,
.about-item::after {
  content: "";
  position: absolute;
}

.about-item::before {
  top: 1cqw;
  left: calc(var(--a0) * 1cqw - 69.4cqw);
  width: calc((65 - var(--a0)) * 1cqw);
  height: 1px;
  background: #111;
}

.about-item::after {
  top: calc(1cqw - 4px);
  left: calc(65cqw - 69.4cqw - 8px);
  border-left: 9px solid #111;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.about-item h3 {
  font-size: 1.63cqw;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.5cqw;
}

.about-item p {
  font-size: max(1.05cqw, 12px);
  line-height: 1.3;
}

.about-ico {
  display: none;
}

/* ---- tablets: 2 x 2 cards under the intro and wheel ---- */
@media (max-width: 1099px) {
  .about-stage {
    aspect-ratio: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-bottom: 60px;
    background: #fff;
    container-type: normal;
  }

  .about-left {
    position: static;
    width: auto;
    grid-column: 1 / -1;
    padding: 60px 8vw 50px;
    gap: 34px;
    background: #f6f6f6;
  }

  .about-lead {
    max-width: 640px;
    font-size: 21px;
  }

  .about-logo {
    width: 190px;
  }

  .about-text {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.55;
  }

  .about-wheel {
    --R: min(300px, 62vw);
    position: relative;
    left: calc(var(--R) * 0.185);
    top: auto;
    transform: none;
    width: var(--R);
    margin: 26px auto 10px;
    grid-column: 1 / -1;
  }

  .about-item {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 0 0 0 5vw;
    padding: 20px 22px 22px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-top: 4px solid var(--accent);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 20, 25, 0.07);
  }

  .about-item:nth-of-type(even) {
    margin: 0 5vw 0 0;
  }

  .about-item::before,
  .about-item::after {
    display: none;
  }

  .about-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .about-item p {
    font-size: 15.5px;
    line-height: 1.55;
    color: #2b3136;
  }

  .about-ico {
    display: block;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: 10px;
    background: var(--accent);
    stroke: #fff;
    stroke-width: 1.4;
  }
}

/* ---- phones: single column ---- */
@media (max-width: 700px) {
  .about {
    padding-top: 68px;
  }

  .about-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-left {
    padding: 44px 24px 40px;
    gap: 28px;
  }

  .about-lead {
    font-size: 17px;
  }

  .about-logo {
    width: 150px;
  }

  .about-text {
    font-size: 16px;
    text-align: left;
  }

  .about-item,
  .about-item:nth-of-type(even) {
    margin: 0 18px;
  }
}

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */

footer {
  position: relative;
  padding: 100px 5vw 25px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(61, 139, 253, 0.1), transparent 70%),
    radial-gradient(700px 380px at 5% 0%, rgba(229, 72, 77, 0.08), transparent 70%),
    #080a0c;
}

.contact {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray);
  margin-bottom: 18px;
}

.contact-info h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  margin: 24px 0 22px;
  background: linear-gradient(
    90deg,
    var(--red) 33%,
    var(--blue) 33%,
    var(--blue) 66%,
    var(--green) 66%
  );
}

.contact-lead {
  color: #9aa2aa;
  font-size: 16px;
  line-height: 1.75;
  max-width: 440px;
}

.contact-list {
  list-style: none;
  margin-top: 38px;
  display: grid;
  gap: 22px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-list .ci {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.contact-list .ci svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list li:nth-child(2) .ci svg {
  stroke: var(--green);
}

.contact-list li:nth-child(3) .ci svg {
  stroke: var(--red);
}

.contact-list small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #66707a;
  margin-bottom: 3px;
}

.contact-list a,
.contact-list span {
  font-size: 16px;
  color: #e6e9ec;
}

.contact-list a:hover {
  color: var(--blue);
}

/* ---- form card ---- */
.contact-form {
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f979f;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5d6670;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(61, 139, 253, 0.18);
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-send {
  width: 100%;
  padding: 16px 28px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.form-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61, 139, 253, 0.3);
}

.form-send:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

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

.form-status.ok {
  color: var(--green);
}

.form-status.err {
  color: #ff7b7f;
}

.form-status a {
  text-decoration: underline;
}

/* ---- bottom part of the footer ---- */
.footer-bottom {
  max-width: 1150px;
  margin: 90px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-bottom .footer-brand {
  margin-bottom: 0;
}

.footer-bottom .footer-columns {
  grid-template-columns: repeat(2, auto);
  gap: 70px;
  max-width: none;
}

footer .copyright {
  max-width: 1150px;
  margin: 45px auto 0;
}

@media (max-width: 900px) {
  footer {
    padding-top: 80px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-lead {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .contact-form {
    padding: 24px 20px;
  }

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

  .footer-bottom {
    margin-top: 60px;
  }

  .footer-bottom .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
  }
}
