@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("./fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("./fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --font-body: "Open Sans", sans-serif;
  --font-heading: "Playfair Display", serif;
  --nav-bg: rgba(27, 27, 27, 0.56);
  --nav-text: rgba(255, 255, 255, 0.74);
  --nav-active: #fff;
  --heading: #fff;
  --body-text: #212121;
  --footer-text: #757575;
  --cookie-bg: #efefef;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 57px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  font-family: var(--font-body);
  color: var(--nav-text);
  text-decoration: none;
  font-size: 14.6667px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 120ms ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a.active {
  color: var(--nav-active);
  font-weight: 700;
}

.search-icon {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  opacity: 0.95;
  padding: 0;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 582px;
  background-image: url("./bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(145, 42, 52, 0.2), rgba(145, 42, 52, 0.2)),
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 582px;
  padding: 104px 16px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title-card {
  border: 5px solid rgba(255, 255, 255, 0.9);
  background: rgba(129, 40, 50, 0.12);
  padding: 2rem 3rem 2rem 3rem;
  max-width: 720px;
  min-width: 500px;
  width: fit-content;
}

.hero-title-card-home {
  max-width: 1000px;
  width: min(100%, 1000px);
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.04;
  letter-spacing: -0.4px;
  color: var(--heading);
  text-align: center;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
}

.hero-title-line + .hero-title-line {
  margin-top: 12px;
}

.hero-title-subtext {
  display: block;
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1.2;
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
}

.hero-title-home {
  font-family: "Playfair Display", serif !important;
  font-weight: 700;
  font-style: normal;
}

.hero-title-mainline {
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
}

.content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22.08px;
}

.content p {
  margin: 0 0 22px;
}

.content ul {
  margin: 0;
  padding-left: 20px;
}

.content li {
  margin-bottom: 8px;
}

.content h2 {
  margin: 0 0 42px;
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 79.92px;
  letter-spacing: -0.8px;
  text-align: center;
  color: #fff;
}

.content a {
  color: #1967d2;
  text-decoration: underline;
}

.contact-content {
  padding: 10px 0 52px;
}

.contact-map-wrap {
  max-width: 1024px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

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

.contact-details {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-details-label {
  margin: 0 0 14px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.2;
  color: #4b4b4b;
}

.contact-details-body {
  text-align: center;
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.4;
}

.contact-details-body p {
  margin: 0 0 8px;
}

.contact-details-body a {
  color: inherit;
}

.clients-content p:not(:first-child) {
  margin: 0 0 26px;
}

.clients-content p:first-child {
  text-align: center;
}

.clients-content p:not(:first-child) a {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  padding: 9px 14px;
  border: 2px solid rgba(175, 98, 98, 0.66);
  border-radius: 10px;
  color: #ad6363;
  background: transparent;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  transition: background-color 140ms ease, color 140ms ease;
}

.clients-content p:not(:first-child) a:hover {
  background: rgba(173, 99, 99, 0.08);
  color: #934e4e;
}

.footer-bar {
  font-family: var(--font-body);
  border-top: 1px solid #d9d9d9;
  color: var(--footer-text);
  font-size: 12px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-inner a {
  color: var(--footer-text);
  text-decoration: none;
}

.cookie-banner {
  font-family: var(--font-body);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cookie-bg);
  border-top: 1px solid #ddd;
  font-size: 13px;
  z-index: 30;
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-actions a,
.cookie-actions button {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cookie-actions button {
  border: none;
  background: transparent;
  color: #1967d2;
  cursor: pointer;
  padding: 0;
}

.cookie-actions a {
  color: #1967d2;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .header-inner {
    min-height: 57px;
  }

  .main-nav ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 14.6667px;
  }

  h1,
  .content h2 {
    font-size: 52px;
    line-height: 60px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 62px;
    padding: 0 6px;
  }

  .main-nav ul {
    gap: 14px;
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .main-nav a {
    font-size: 15px;
    font-weight: 400;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    min-height: 420px;
    padding-top: 92px;
  }

  .hero-title,
  .content h2 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.2px;
  }

  .contact-map-wrap,
  .contact-details {
    padding: 0 12px;
  }

  .contact-details-label {
    font-size: 1rem;
  }

  .clients-content p:not(:first-child) a {
    font-size: 16px;
    max-width: 360px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
