/* === Local font declarations === */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.woff2') format('woff2'),
       url('../fonts/inter/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Medium.woff2') format('woff2'),
       url('../fonts/inter/Inter-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Semibold.woff2') format('woff2'),
       url('../fonts/inter/Inter-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* === Base variables & typography === */

:root {
  --font-display: "Playfair Display", Georgia, serif;
  --font-ui: "Inter", sans-serif;

  --font-h1: 'Inter', sans-serif;
  --font-size-h1: 60px;
  --font-h2: 'Inter', sans-serif;
  --font-size-h2: 48px;
  --font-h3: 'Inter', sans-serif;
  --font-size-h3: 32px;
  --font-h4: 'Inter', sans-serif;
  --font-size-h4: 32px;
  --font-h5: 'Inter', sans-serif;
  --font-size-h5: 28px;
  --font-h6: 'Inter', sans-serif;
  --font-size-h6: 24px;
  --font-regular: 'Inter', sans-serif;
  --font-size-regular: 20px;
  --part-margin: 10rem;

  --color-text: #1a1a1a;
}

body {
  font-family: var(--font-ui);
  font-size: var(--font-size-regular);
  line-height: 1.6;
  color: var(--color-text);
}

h1 {
  font-family: var(--font-display) !important;
  font-size: var(--font-size-h1) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: var(--color-text);
}

h2 {
  font-family: var(--font-ui) !important;
  font-size: var(--font-size-h2) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: var(--color-text);
}

h3 {
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: var(--color-text);
}

h4,
h5,
h6 {
  font-family: var(--font-ui) !important;
  font-weight: 500 !important;
  color: var(--color-text);
}

p,
li,
td,
blockquote {
  font-family: var(--font-ui);
  font-size: var(--font-size-regular);
  /* line-height: 1.6; */
}

/* Key statements / claims */
.claim,
.key-statement,
blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}

/* Buttons & navigation */
button,
.button,
nav,
nav a,
.nav-link,
input[type="submit"] {
  font-family: var(--font-ui) !important;
  font-weight: 500;
}

/* === Icon content values === */

section .icon-icon40::before {
  content: "\e922";
}

section .icon-icon39::before {
  content: "\e915";
}

/* === Sticky contact widget === */

#sticky-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  font-family: inherit;
}

#sticky-contact .contact-toggle {
  background: #1e63b5;
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

#sticky-contact .contact-toggle:hover {
  background: #164f8e;
}

#sticky-contact .contact-panel {
  width: 340px;
  max-width: 90vw;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 15px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

#sticky-contact.open .contact-panel {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#sticky-contact h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
}

#sticky-contact input,
#sticky-contact textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 15px;
  box-sizing: border-box;
}

#sticky-contact textarea {
  height: 110px;
  resize: vertical;
}

#sticky-contact .privacy {
  font-size: 12px;
  color: #555;
  margin: 5px 0 12px 0;
}

#sticky-contact .privacy a {
  color: #1e63b5;
  text-decoration: underline;
}

#sticky-contact .send-btn {
  background: #1e63b5;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

#sticky-contact .send-btn:hover {
  background: #164f8e;
}

@media (max-width: 480px) {
  #sticky-contact {
    bottom: 15px;
    right: 15px;
  }
}

/* === CTS contact panel === */

#cts-contact-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999999;
  background: #1e63b5;
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

#cts-contact-toggle:hover {
  background: #164f8e;
}

#cts-contact-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 360px;
  max-width: 95vw;
  height: 100%;
  max-height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.22);
  padding: 20px;
  border-radius: 12px 0 0 12px;
  z-index: 999998;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

#cts-contact-panel.open {
  transform: translateX(0);
}

#cts-contact-panel .cts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#cts-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #444;
}

#cts-contact-panel input,
#cts-contact-panel textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 15px;
}

#cts-contact-panel textarea {
  height: 110px;
}

#cts-contact-panel .send-btn {
  background: #1e63b5;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

#cts-contact-panel .send-btn:hover {
  background: #164f8e;
}

#cts-contact-panel .privacy {
  font-size: 12px;
  margin: 6px 0 12px;
}

@media (max-width: 700px) {
  #cts-contact-panel {
    width: 100%;
    height: 78%;
    bottom: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%);
  }

  #cts-contact-panel.open {
    transform: translateY(0);
  }
}

/* === Hero section === */

h1 + p {
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  text-shadow: #000 0 0 10px;
  color: inherit;
}