/* Corporate Events in Boston
   Static rebuild of the live TheGem site.
   Images stay at wp-content/uploads on the server. */

:root {
  --blue: #3157b0;
  --blue-deep: #1d5084;
  --navy: #3c3950;
  --ink: #5f727f;
  --muted: #99a9b5;
  --line: #dfe5e8;
  --page: #c3c9d2;
  --white: #ffffff;
  --footer: #212331;
  --footer-bar: #181828;
  --cyan: #00bcd4;
  --btn-hover: #000b24;
  --link-hover: #384554;
  --color-dark: #3c3950;
  --color-primary: #3157b0;
  --color-white: #ffffff;
  --header-h: 120px;
  --container: 1212px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ======================================== */
/* SECTION: BASE */
/* ======================================== */

body {
  margin: 0;
  background-color: var(--page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-repeat: repeat;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--ink);
}

/* Boxed frame. The white site sits in the center.
   The body color shows on both sides, with a light shadow on the box. */
#page.layout-boxed {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  background: var(--white);
  box-shadow:
    -1px 0 0 rgba(60, 57, 80, 0.04),
    1px 0 0 rgba(60, 57, 80, 0.04),
    -4px 0 10px rgba(33, 35, 49, 0.07),
    4px 0 10px rgba(33, 35, 49, 0.07);
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--ink);
  margin: 0 0 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 59px;
  color: var(--navy);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 53px;
  color: var(--navy);
}

h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 42px;
  color: var(--navy);
}

h4 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 38px;
  color: var(--navy);
}

h5 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 30px;
  color: var(--navy);
}

h6 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 25px;
  color: var(--navy);
}

.light {
  font-family: Montserrat, sans-serif;
  font-size: inherit;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: inherit;
  color: var(--navy);
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  width: 100%;
  background: var(--white);
}

.section-pad {
  padding: 70px 0;
}

.center {
  text-align: center;
}

/* ======================================== */
/* HEADER SECTION */
/* ======================================== */

.topbar {
  width: 100%;
  background: var(--white);
  border-top: 5px solid var(--blue);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.topbar-contacts span,
.topbar-contacts a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 20px;
  color: var(--ink);
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.topbar-contacts span:first-child,
.topbar-contacts a:first-child {
  padding-left: 0;
}

.topbar-contacts a:hover {
  color: var(--blue);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--navy);
  line-height: 1;
}

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

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  border-radius: 3px;
  padding: 10px 14px;
  border: 2px solid transparent;
}

.btn-solid {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-solid:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  border-radius: 0;
  font-size: 14px;
  padding: 14px 22px;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.site-header {
  width: 100%;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(33, 35, 49, 0.12);
}

.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.nav-list a {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 25px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 12px 18px;
  display: inline-block;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--blue);
}

.nav-logo {
  padding: 0 28px;
}

.nav-logo a {
  padding: 0;
  line-height: 0;
}

.nav-logo img {
  width: 219px;
  height: auto;
}

.mobile-logo {
  display: none;
  line-height: 0;
}

.mobile-logo img {
  height: 50px;
  width: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  width: 100%;
  background: var(--white);
  padding: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 1148 / 480;
  overflow: hidden;
  background: #d7dde2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bar {
  position: relative;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, #1d5084 0%, #3157b0 42%, #3c3950 100%);
  box-shadow: 0 3px 8px rgba(29, 80, 132, 0.45);
}

.page-hero {
  width: 100%;
  background-color: #6c7cd0;
  background-image: url("https://www.corporateeventsinboston.com/wp-content/uploads/2019/07/titlebar.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
  padding: 48px 20px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 59px;
  color: var(--white);
  margin: 0;
}

.page-hero .ruled-title,
.page-hero .ruled-title span {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 44px;
  color: var(--white);
  text-transform: uppercase;
}

.page-hero .ruled-title::before,
.page-hero .ruled-title::after {
  border-top-color: rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ======================================== */
/* SECTION 1: INTRO */
/* ======================================== */

.intro-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.intro-figure {
  margin: 0;
  max-width: none;
  text-align: center;
}

.intro-figure img {
  width: 100%;
  box-shadow: 0 12px 30px rgba(60, 57, 80, 0.18);
}

.intro-figure figcaption {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 22px;
  color: var(--muted);
  margin-top: 12px;
}

.title-stack {
  text-align: center;
  margin-bottom: 18px;
}

.title-stack h2 {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 0.05em;
  line-height: 44px;
  color: var(--navy);
  margin: 0;
}

.title-stack h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 48px;
  color: var(--navy);
  margin: 4px 0;
}

.intro-copy {
  max-width: none;
  margin: 0;
}

.intro-copy .btn {
  margin-top: 8px;
}

/* ======================================== */
/* SECTION 2: TEAM */
/* ======================================== */

.team-grid,
.city-grid,
.split,
.footer-grid {
  display: grid;
  gap: 30px;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.ruled-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 0.12em;
  line-height: 42px;
  color: var(--navy);
  text-transform: uppercase;
}

.ruled-title span {
  flex: 0 0 auto;
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 0.12em;
  line-height: 42px;
  color: var(--navy);
}

.ruled-title::before,
.ruled-title::after {
  content: "";
  flex: 1;
  height: 7px;
  border-top: 1px solid #d5dce1;
  border-bottom: 1px solid #d5dce1;
}

.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 24px;
  color: var(--blue);
  margin: 0 0 6px;
}

.team-card .team-role {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 22px;
  color: var(--muted);
  margin: 0 0 14px;
}

.team-card p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--ink);
}

.team-card .socials {
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.team-card .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: #2c2f36;
  color: var(--white);
  line-height: 1;
}

.team-card .socials a:hover {
  background: var(--blue);
  color: var(--white);
}

.team-card .socials svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* ======================================== */
/* SECTION 3: CITIES */
/* ======================================== */

.city-grid {
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  width: 100%;
  margin: 36px auto 0;
  column-gap: 72px;
  row-gap: 12px;
}

.city-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.city-grid li {
  position: relative;
  padding-left: 16px;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 32px;
  color: #ff6600;
}

.city-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #ff6600;
}

/* ======================================== */
/* SECTION 4: VIDEO */
/* ======================================== */

.video-section {
  padding: 32px 0 48px;
}

.video-frame {
  width: 100%;
  padding: 20px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 1px 27px 1px rgba(44, 46, 61, 0.25);
}

.video-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======================================== */
/* SECTION 5: TESTIMONIALS */
/* ======================================== */

.testimonials {
  position: relative;
  width: 100%;
  overflow: clip;
  background-color: #f4f1ea;
  background-image: url("https://www.corporateeventsinboston.com/wp-content/uploads/2019/07/testi_back.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
}

.testimonials .ruled-title {
  margin-bottom: 8px;
}

.quote-slider {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 860px;
  margin: 22px auto 0;
  min-height: 180px;
  overflow: clip;
}

.quote {
  grid-area: 1 / 1;
  width: 100%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: none;
}

.quote.is-active,
.quote.is-leaving {
  visibility: visible;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}

.quote.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.quote.is-leaving {
  opacity: 0;
  transform: translateX(-100%);
}

.quote .quote-name {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 22px;
  color: #1d5084;
  text-transform: uppercase;
  margin: 16px 0 2px;
}

.quote .quote-role {
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 22px;
  color: #8d9aa3;
  margin: 0 0 16px;
}

.quote .quote-text {
  max-width: 820px;
  margin: 0 auto;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 32px;
  color: #4a5560;
}

.quote-mark {
  display: block;
  width: 78px;
  height: 52px;
  margin: 18px auto 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 70'%3E%3Cpath fill='%231d5084' d='M22 6c-8 6-14 16-14 26 0 9 6 16 15 16 8 0 14-6 14-14 0-7-5-12-11-13 1-7 6-12 12-14V6zm46 0c-8 6-14 16-14 26 0 9 6 16 15 16 8 0 14-6 14-14 0-7-5-12-11-13 1-7 6-12 12-14V6z'/%3E%3C/svg%3E");
}

.quote-arrow {
  position: absolute;
  top: 54%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #3157b0;
  color: var(--white);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  cursor: pointer;
}

.quote-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

.quote-prev {
  left: 0;
}

.quote-next {
  right: 0;
}

.quote-arrow:hover {
  background: #2fc5b0;
}

/* ======================================== */
/* INNER PAGES */
/* ======================================== */

.intro-lead {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 32px;
  color: var(--navy);
  text-transform: none;
  margin: 0 0 12px;
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.stack-photos {
  display: grid;
  gap: 24px;
}

.stack-photos img,
.faq-photo img {
  width: 100%;
  box-shadow: 0 12px 30px rgba(60, 57, 80, 0.18);
}

.faq-intro {
  max-width: none;
  margin: 0 0 36px;
}

.faq-intro p {
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: normal;
  line-height: 28px;
  color: var(--navy);
  text-transform: none;
  margin: 0;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 16px 36px 16px 0;
  position: relative;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--navy);
}

.accordion-item button::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

.accordion-item.is-open button::after {
  content: "\2212";
}

.accordion-panel {
  display: none;
  padding: 0 8px 16px 0;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

/* ======================================== */
/* SECTION 1: MAP */
/* ======================================== */

.contact-map {
  width: 100%;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.contact-kicker {
  font-size: 19px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  margin: 0 0 40px;
}

.address-block h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 25px;
  color: var(--navy);
  text-transform: none;
  margin: 0 0 8px;
}

.address-block p,
.address-block a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--navy);
}

/* ======================================== */
/* CONTACT FORM */
/* ======================================== */

.form-card {
  background: var(--white);
  border: 1px solid #e3e8ec;
  border-radius: 6px;
  box-shadow: 0 1px 27px 1px rgba(44, 46, 61, 0.18);
  padding: 28px 28px 32px;
}

.form-card h5 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 28px;
  color: var(--navy);
  margin: 0 0 8px;
}

.form-note {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--ink);
  margin: 0 0 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--navy);
  border: 1px solid #d5dce1;
  border-radius: 2px;
  background: #f7f9fb;
  padding: 12px 14px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(49, 87, 176, 0.35);
  border-color: var(--blue);
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: #b42318;
}

.field-error,
.form-status {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 20px;
  color: #b42318;
  margin: 0;
}

.form-status {
  background: #fdecec;
  padding: 10px 12px;
}

.form-success {
  background: #eef6ea;
  border: 1px solid #c5dfb8;
  padding: 22px;
}

.form-success h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 30px;
  color: var(--navy);
  text-transform: none;
  margin: 0 0 8px;
}

.form-success p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 25px;
  color: var(--ink);
  margin: 0;
}

.contact-form button[type="submit"] {
  justify-self: start;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: 0;
  padding: 14px 28px;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: var(--btn-hover);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* ======================================== */
/* FAT FOOTER SECTION */
/* ======================================== */

.fat-footer {
  width: 100%;
  background: var(--footer);
  padding: 55px 0 40px;
}

.footer-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.fat-footer h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 30px;
  color: #feffff;
  margin: 0 0 16px;
}

.fat-footer p,
.fat-footer li,
.fat-footer a {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 26px;
  color: var(--muted);
}

.fat-footer a:hover {
  color: var(--blue);
}

.fat-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.award {
  width: 200px;
  height: auto;
}

.footer-socials {
  gap: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  line-height: 1;
}

.footer-socials svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* ======================================== */
/* COPYRIGHT FOOTER BAR */
/* ======================================== */

.copyright {
  width: 100%;
  background: var(--footer-bar);
  padding: 18px 0;
}

.copyright p,
.copyright a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 22px;
  color: var(--muted);
  margin: 0;
}

.copyright a {
  color: var(--cyan);
}

/* ======================================== */
/* SCROLL TOP */
/* ======================================== */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-primary);
}

.mobile-call {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 997;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--blue);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}

.mobile-call:hover {
  background: var(--btn-hover);
  color: var(--white);
}

/* ======================================== */
/* ENTRANCE ANIMATION */
/* ======================================== */

html.js .fade-in-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.15s;
}

html.js .fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .delay-1 { transition-delay: 0.15s; }
html.js .delay-2 { transition-delay: 0.3s; }
html.js .delay-3 { transition-delay: 0.45s; }

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media (max-width: 900px) {
  .team-grid,
  .footer-grid,
  .split,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: repeat(2, max-content);
    column-gap: 48px;
  }

  .title-stack h1,
  h1,
  .page-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .title-stack h2,
  h2 {
    font-size: 26px;
    line-height: 34px;
  }
}

@media (max-width: 768px) {
  #page.layout-boxed {
    overflow-x: clip;
  }

  .topbar {
    overflow: clip;
  }

  .topbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .ruled-title {
    max-width: 100%;
    gap: 10px;
  }

  .ruled-title span {
    flex: 0 1 auto;
    min-width: 0;
  }

  .ruled-title,
  .ruled-title span,
  .page-hero .ruled-title,
  .page-hero .ruled-title span {
    font-size: 18px;
    font-weight: 200;
    letter-spacing: 0.06em;
    line-height: 26px;
  }

  .page-hero .ruled-title,
  .page-hero .ruled-title span {
    font-weight: 700;
    color: var(--white);
  }

  .topbar-contacts {
    display: none;
  }

  .topbar-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .topbar-actions .socials {
    gap: 6px;
  }

  .topbar-actions .btn {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1;
    padding: 5px 7px;
    white-space: nowrap;
  }

  .mobile-call {
    display: flex;
  }

  body {
    padding-bottom: 48px;
  }

  .scroll-top {
    bottom: 62px;
  }

  .quote-arrow {
    width: 36px;
    height: 48px;
  }

  .quote-slider {
    padding: 0 32px;
  }

  .quote .quote-text {
    font-size: 18px;
    line-height: 28px;
  }

  .site-header {
    min-height: 74px;
  }

  .header-inner {
    min-height: 74px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(33, 35, 49, 0.12);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  .nav-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

  .nav-list a {
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .quote,
  html.js .fade-in-up {
    transition: none;
  }

  html.js .fade-in-up {
    opacity: 1;
    transform: none;
  }
}
