:root {
  --ink: #20242a;
  --muted: #5d6673;
  --line: #20242a;
  --page: #ffffff;
  --surface: #f7f8fa;
  --link: #005fcc;
  --green: #92d050;
  --blue: #00a8d8;
  --peach: #f4b183;
  --yellow: #ffd966;
  --gray: #c9c9c9;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(32, 36, 42, .08);
  --font: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: var(--link);
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--red);
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
/*.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--red);
  font-weight: 700;
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

a.back-link:hover,
a.back-link:focus{color: var(--reddark-effect);}
.back-link:focus-visible {
  outline: 3px solid var(--reddark-effect);
  outline-offset: 4px;
  border-radius: 4px;
}*/

.pretitle {
    font-family: var(--text-bold);
    color: var(--red);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0;
}

.page-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(28px, 4vw, 46px);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-family: var(--text-bold);
}

main {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.table-section {
  --section-color: var(--gray);
  border-top: 5px solid var(--section-color);
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: clip;
}

.table-section.green { --section-color: var(--green); }
.table-section.blue { --section-color: var(--blue); }
.table-section.peach { --section-color: var(--peach); }
.table-section.yellow { --section-color: var(--yellow); }
.table-section.gray { --section-color: var(--gray); }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}

caption {
  padding: 16px 18px 14px;
  text-align: left;
  color: var(--ink);
  font-size: 1.25rem;
  font-family: var(--text-bold);
  caption-side: top;
}

th,
td {
  border: 2px solid var(--line);
  padding: .42rem .65rem;
  vertical-align: middle;
  font-size: clamp(.95rem, 1vw, 1rem);
}

thead th {
  background: var(--section-color);
  color: #000;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

tbody th {
  font-weight: 800;
  text-align: center;
}

td {
  text-align: center;
  font-weight: 500;
}

.desktop-table .col-name { width: 20%; }
.desktop-table .col-phone { width: 14%; }
.desktop-table .col-mail { width: 32%; }
.desktop-table .col-area { width: 34%; }

.contact-cell {
  display: grid;
  gap: .12rem;
  text-align: left;
}

.contact-name {
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line {
color: var(--muted);
  font-size: .94em;
  font-weight: 600;
}

.mobile-table {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 719px) {
  .page-shell {
    width: min(100% - 22px, 100%);
    padding-top: 28px;
  }

  .page-header {
    padding-right: 58px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  main {
    gap: 18px;
  }

  .desktop-table {
    display: none;
  }

  .mobile-table {
    display: table;
  }

  caption {
    padding: 14px 14px 12px;
    font-size: 1rem;
  }

  th,
  td {
    padding: .7rem .72rem;
    font-size: .92rem;
  }

  thead th {
    text-align: left;
  }

  tbody th {
    width: 38%;
    text-align: left;
  }

  td {
    text-align: left;
  }

  .contact-cell {
    gap: .2rem;
  }

  .contact-line {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  th,
  td {
    padding: .58rem .52rem;
    font-size: .86rem;
  }

  tbody th {
    width: 34%;
  }
}