:root {
  --navy: #001d3b;
  --navy-deep: #00162e;
  --blue: #062d55;
  --orange: #f47a19;
  --ink: #06172f;
  --paper: #fbfbfa;
  --line: #d1d8df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  background: linear-gradient(105deg, #00182f, #00264a 55%, #00182f);
  color: #fff;
}

.header-inner {
  width: min(1420px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  flex: 0 1 auto;
}

.site-logo {
  height: 56px;
  width: auto;
  max-width: min(390px, 100%);
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: clamp(24px, 4vw, 58px);
}

.main-nav a {
  position: relative;
  padding: 18px 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--orange);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
}

.content-container {
  width: min(1420px, calc(100% - 104px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  height: 475px;
  overflow: hidden;
  color: #fff;
}

.hero-photo,
.page-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .67), rgba(0, 0, 0, .1) 62%, rgba(0, 0, 0, 0));
}

.home-hero-content {
  position: absolute;
  top: 50%;
  left: max(64px, calc((100vw - 1420px) / 2));
  width: min(760px, calc(100% - 80px));
  transform: translateY(-47%);
}

.home-hero h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.1vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.orange-rule {
  display: block;
  width: 72px;
  height: 3px;
  background: var(--orange);
}

.home-intro {
  padding: 48px 0 42px;
  background: radial-gradient(circle at 50% 10%, #fff, #f8f7f4);
}

.intro-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  max-width: 1300px;
}

.emblem-wrap {
  width: 218px;
  height: 218px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.home-emblem {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.intro-copy {
  max-width: 980px;
}

.intro-copy p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.52;
}

.site-footer {
  padding: 25px 0;
  background: linear-gradient(105deg, #00182f, #00264a);
  color: #eaf2fa;
  border-top: 2px solid var(--orange);
}

.footer-inner {
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ff9b4a;
}

.calmyx-credit {
  display: inline-flex;
  align-items: center;
}

.page-photo {
  position: relative;
  height: 305px;
  overflow: hidden;
}

.services-photo {
  height: 325px;
}

.services-section {
  position: relative;
  padding: 22px 0 35px;
  background: radial-gradient(circle, #fff, #f8f8f7);
  border-top: 2px solid var(--orange);
}

.services-list {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 34px;
  min-height: 112px;
}

.icon-badge,
.faq-icon,
.contact-icon {
  overflow: hidden;
  border-radius: 50%;
}

.icon-badge {
  width: 98px;
  height: 98px;
}

.icon-badge img,
.faq-icon img,
.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-3 { background-color: {{ICON_BG_COLOR_3}}; }
.badge-4 { background-color: {{ICON_BG_COLOR_4}}; }
.badge-5 { background-color: {{ICON_BG_COLOR_5}}; }
.badge-6 { background-color: {{ICON_BG_COLOR_6}}; }
.badge-7 { background-color: {{ICON_BG_COLOR_7}}; }
.badge-8 { background-color: {{ICON_BG_COLOR_8}}; }
.badge-9 { background-color: {{ICON_BG_COLOR_9}}; }
.badge-10 { background-color: {{ICON_BG_COLOR_10}}; }
.badge-11 { background-color: {{ICON_BG_COLOR_11}}; }
.badge-12 { background-color: {{ICON_BG_COLOR_12}}; }
.badge-13 { background-color: {{ICON_BG_COLOR_13}}; }
.badge-14 { background-color: {{ICON_BG_COLOR_14}}; }
.badge-15 { background-color: {{ICON_BG_COLOR_15}}; }
.badge-16 { background-color: {{ICON_BG_COLOR_16}}; }
.badge-17 { background-color: {{ICON_BG_COLOR_17}}; }
.badge-18 { background-color: {{ICON_BG_COLOR_18}}; }
.badge-23 { background-color: {{ICON_BG_COLOR_23}}; }
.badge-24 { background-color: {{ICON_BG_COLOR_24}}; }
.badge-25 { background-color: {{ICON_BG_COLOR_25}}; }

.service-copy {
  padding-left: 45px;
  border-left: 2px solid var(--orange);
}

.service-copy h2 {
  margin-bottom: 1px;
  font-size: 24px;
  line-height: 1.2;
}

.service-copy p {
  max-width: 730px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.42;
}

.page-photo-title,
.faq-hero-title {
  position: absolute;
  left: max(60px, calc((100vw - 1420px) / 2));
  bottom: 56px;
  color: #fff;
}

.page-photo-title h1 {
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.pricing-section {
  padding: 18px 0 48px;
  background: radial-gradient(circle, #fff, #f3f7fa);
}

.pricing-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 0 12px;
  border-bottom: 1px solid #bdc8d1;
}

.pricing-intro .icon-badge {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
}

.pricing-intro p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.pricing-column {
  padding: 0 50px 0 18px;
}

.pricing-column + .pricing-column {
  padding-right: 18px;
  padding-left: 50px;
  border-left: 1px solid #d5dde4;
}

.price-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 30px;
  min-height: 145px;
  padding: 16px 0;
  border-bottom: 1px solid var(--orange);
}

.price-item:last-child {
  border-bottom: 0;
}

.price-item .icon-badge {
  width: 102px;
  height: 102px;
}

.price-item h2 {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.price-item p,
.plain-price-list {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.4;
}

.plain-price-list {
  padding: 0;
  list-style: none;
}

.plain-price-list li::before {
  content: "- ";
}

.faq-hero {
  height: 335px;
}

.faq-hero-title {
  bottom: 90px;
}

.faq-hero-title h1 {
  margin-bottom: 9px;
  font-size: 48px;
  line-height: 1;
}

.faq-hero-title .orange-rule {
  width: 240px;
}

.faq-section {
  padding: 32px 0 42px;
  background: #fff;
}

.faq-container {
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
}

.faq-container > h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.25;
}

.faq-container > .orange-rule {
  margin: 5px 0 20px;
  width: 92px;
}

.faq-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #d3d3d3;
}

.faq-row:last-child {
  border-bottom: 0;
}

.faq-icon {
  width: 78px;
  height: 78px;
}

.faq-row > div:last-child {
  padding-left: 26px;
  border-left: 2px solid var(--orange);
}

.faq-row h3 {
  margin-bottom: 2px;
  font-size: 21px;
  line-height: 1.3;
}

.faq-row p {
  margin-bottom: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.42;
}

.about-photo {
  height: 380px;
}

.about-section {
  padding: 30px 0 38px;
  background: #fff;
  border-bottom: 2px solid var(--orange);
}

.about-container {
  width: min(1100px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 28px;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(#bbb, #bbb) center / 1px calc(100% - 36px) no-repeat;
}

.about-timeline img {
  position: relative;
  width: 56px;
  height: 56px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}

.about-copy h1 {
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 1.2;
}

.about-copy p {
  margin-bottom: 13px;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
}

.contact-photo {
  height: 350px;
}

.contact-section {
  padding: 36px 0 46px;
  background: radial-gradient(circle, #fff, #f7f7f6);
}

.contact-container {
  width: min(1410px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: start;
  gap: 70px;
}

.contact-details h1 {
  margin-bottom: 4px;
  font-size: 46px;
  line-height: 1.2;
}

.contact-details > p {
  font-size: 17px;
}

.contact-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  margin: 12px 0;
}

.contact-icon {
  width: 46px;
  height: 46px;
}

.contact-line p {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.contact-note {
  max-width: 560px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 2px solid var(--orange);
}

.contact-note p {
  margin-bottom: 12px;
  font-size: 17px;
}

.contact-form {
  padding: 25px 30px 22px;
  background: linear-gradient(135deg, #062b51, #07365f 60%, #05284a);
  color: #fff;
  border-radius: 19px;
  box-shadow: 0 8px 18px rgba(0, 20, 40, .18);
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  color: #101820;
  background: #fafafa;
  border: 0;
  border-radius: 8px;
  outline: 0;
}

.form-field input {
  height: 50px;
}

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

.form-field input:focus,
.form-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(244, 122, 25, .55);
}

.cf-turnstile {
  margin: 14px 0;
  max-width: 100%;
  overflow: hidden;
}

.submit-button {
  min-width: 190px;
  padding: 12px 24px;
  color: #fff;
  font-weight: 700;
  background: var(--orange);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.submit-button:hover {
  background: #ff8c2e;
}

.submit-button:disabled {
  opacity: .7;
  cursor: wait;
}

.form-privacy {
  margin: 12px 0 0;
  color: #dbe8f4;
  font-size: 13px;
}

.form-privacy a {
  color: #fff;
}

.form-status {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.success {
  color: #b9f4cf;
}

.form-status.error {
  color: #ffd0c9;
}

.privacy-main {
  padding: 55px 24px 70px;
  background: #f7f8f9;
}

.privacy-document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 45px 52px;
  background: #fff;
  border-top: 4px solid var(--orange);
  box-shadow: 0 8px 28px rgba(0, 28, 55, .08);
}

.privacy-document h1 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 40px;
}

.last-updated {
  margin-bottom: 38px;
  color: #59636e;
}

.privacy-document section {
  margin-top: 30px;
}

.privacy-document h2 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 24px;
}

.privacy-document p,
.privacy-document li {
  color: #27313b;
}

.privacy-document a {
  color: #075d9c;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: min(440px, calc(100% - 40px));
  padding: 18px;
  color: #fff;
  background: #042747;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #ffad6a;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
}

.cookie-decline {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
}

.cookie-accept {
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
}

@media (max-width: 950px) {
  .header-inner {
    width: min(100% - 36px, 760px);
    padding: 17px 0 10px;
    flex-direction: column;
    gap: 10px;
  }

  .site-logo {
    height: 52px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 24px;
  }

  .main-nav a {
    padding: 9px 0 14px;
    font-size: 15px;
  }

  .intro-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }

  .emblem-wrap {
    width: 180px;
    height: 180px;
  }

  .home-emblem {
    width: 140px;
    height: 140px;
  }

  .pricing-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .pricing-column,
  .pricing-column + .pricing-column {
    padding: 0;
    border-left: 0;
  }

  .contact-container {
    gap: 34px;
  }

  .contact-note {
    max-width: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .site-logo {
    height: 50px;
    max-width: 290px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 18px;
    text-align: center;
  }

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

  .main-nav a.active::after {
    right: 20%;
    left: 20%;
  }

  .home-hero {
    height: 410px;
  }

  .home-hero-content {
    left: 24px;
    width: calc(100% - 48px);
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .content-container,
  .faq-container,
  .contact-container {
    width: calc(100% - 36px);
  }

  .home-intro {
    padding: 36px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .intro-copy p {
    font-size: 16px;
  }

  .footer-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .page-photo,
  .services-photo,
  .faq-hero,
  .about-photo,
  .contact-photo {
    height: 260px;
  }

  .page-photo-title,
  .faq-hero-title {
    left: 24px;
    bottom: 34px;
  }

  .page-photo-title h1,
  .faq-hero-title h1 {
    font-size: 40px;
  }

  .services-list {
    width: calc(100% - 32px);
  }

  .service-row {
    grid-template-columns: 74px 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .service-row .icon-badge {
    width: 70px;
    height: 70px;
  }

  .service-copy {
    padding-left: 16px;
  }

  .service-copy h2 {
    font-size: 20px;
  }

  .pricing-intro {
    align-items: flex-start;
  }

  .pricing-intro .icon-badge {
    width: 62px;
    height: 62px;
  }

  .pricing-intro p {
    font-size: 18px;
  }

  .price-item {
    grid-template-columns: 74px 1fr;
    gap: 14px;
  }

  .price-item .icon-badge {
    width: 72px;
    height: 72px;
  }

  .price-item h2 {
    font-size: 22px;
  }

  .faq-container > h2 {
    font-size: 30px;
  }

  .faq-row {
    grid-template-columns: 62px 1fr;
    gap: 10px;
    align-items: start;
    padding: 15px 0;
  }

  .faq-icon {
    width: 60px;
    height: 60px;
  }

  .faq-row > div:last-child {
    padding-left: 12px;
  }

  .faq-row h3 {
    font-size: 18px;
  }

  .about-container {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }

  .about-timeline {
    display: none;
  }

  .about-copy h1,
  .contact-details h1 {
    font-size: 36px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .privacy-main {
    padding: 30px 14px 45px;
  }

  .privacy-document {
    padding: 30px 22px;
  }

  .privacy-document h1 {
    font-size: 34px;
  }

  .privacy-document h2 {
    font-size: 21px;
  }
}