@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 5 Free";
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: block;
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --gold: #9d8163;
  --gold-icon: #b88c60;
  --light-gray: #eaeaea;
  --form-gray: #f0f0f0;
  --red: #e30613;
  --off-white: #fffaf5;
  --text: #000;
  --muted-icon: #69727d;
  --content-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20000;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.fa-solid,
.fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.fa-solid {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-brands {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

.icon-envelope::before { content: "\f0e0"; }
.icon-phone::before { content: "\f879"; }
.icon-lightbulb::before { content: "\f0eb"; }
.icon-fire::before { content: "\f06d"; }
.icon-file::before { content: "\f15c"; }
.icon-facebook::before { content: "\f39e"; }
.icon-instagram::before { content: "\f16d"; }

.float-hover,
.shrink-hover {
  transition: transform 0.3s ease-out;
}

.float-hover:hover,
.float-hover:focus-visible {
  transform: translateY(-8px);
}

.shrink-hover:hover,
.shrink-hover:focus-visible {
  transform: scale(0.9);
}

.site-header {
  position: relative;
  z-index: 100;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.16);
}

.header-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: min(100%, var(--content-width));
  min-height: 127.9px;
  margin: 0 auto;
}

.menu-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.hamburger {
  display: grid;
  flex: 0 0 30px;
  gap: 6px;
  width: 30px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
}

.site-logo {
  justify-self: center;
  width: 100px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  min-width: 213.6px;
  min-height: 39px;
  padding: 9px 24px;
  border-radius: 3px;
  color: #fff;
  background: var(--gold);
  font-family: "Titillium Web", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.header-contact .fa-solid {
  font-size: 15px;
}

.contact-label-mobile {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  background-image: url("../images/hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 720px;
  text-align: center;
}

.hero-eyebrow,
.hero-title {
  margin: 0;
  color: #fff;
  font-family: "Titillium Web", sans-serif;
  line-height: 0.3;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-eyebrow {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 5px;
}

.hero-title {
  margin-top: 24px;
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
}

.js .hero-animate {
  opacity: 0;
  transform: scale(0.3);
}

.js .hero-animate.is-visible {
  animation: zoom-in 0.8s both;
}

.js .hero-title.is-visible {
  animation-delay: 0.12s;
}

.about {
  padding: 100px 0;
  background: #fff;
}

.about-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.about-copy,
.about-visual {
  width: 50%;
}

.about-copy {
  padding-right: 5%;
}

.section-title {
  margin: 0;
  padding: 10px 10px 10px 20px;
  border-left: 5px solid var(--gold);
  color: #000;
  font-family: "Titillium Web", sans-serif;
  font-size: 47px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 2px;
}

.about-text {
  padding-top: 35px;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  text-align: justify;
}

.about-text p {
  margin: 0 0 14.4px;
}

.about-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.diagnostics {
  padding: 100px 0;
  background: var(--light-gray);
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.diagnostic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 167.4px;
  padding: 20px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: transparent;
  text-align: center;
}

.diagnostic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  color: var(--gold);
}

.diagnostic-icon img,
.service-font-icon {
  width: 65px;
  height: 65px;
}

.service-font-icon {
  font-size: 65px;
  line-height: 1;
}

.diagnostic-card h3 {
  width: 100%;
  margin: 17px 0 0;
  font-family: "Titillium Web", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-section {
  padding: 100px 0;
  background: var(--form-gray);
}

.contact-inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.contact-title {
  margin-bottom: 75px;
  font-size: 50px;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: 62.1fr 37.9fr;
  align-items: stretch;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 15px;
  padding-right: 10%;
}

.form-field {
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin: 0;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  outline: 0;
  color: #000;
  background: var(--form-gray);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 300;
}

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

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

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 75px;
}

.submit-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 177.6px;
  min-height: 45px;
  padding: 15px 45px;
  border: 0;
  border-radius: 5px;
  color: #000;
  background: var(--gold);
  font-family: "Titillium Web", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.submit-button:hover,
.submit-button:focus-visible,
.back-button:hover,
.back-button:focus-visible {
  color: #fff;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 329px;
  padding: 40px 30px;
  border-radius: 10px;
  background: var(--gold);
  text-align: center;
}

.contact-phone-icon {
  width: 35px;
  height: 35px;
  margin-bottom: 8px;
  color: #000;
  font-size: 35px;
}

.contact-card h3 {
  margin: 0 0 24px;
  font-family: "Titillium Web", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-card p {
  margin: 0 0 20px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.contact-card p:last-child {
  margin: -10px 0 0;
  font-size: 16px;
}

.form-trap,
.legal-routes {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.footer-social,
.footer-copyright {
  background: var(--gold);
}

.footer-social {
  padding: 70px 0;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  text-align: center;
}

.footer-inner h3 {
  margin: 0 0 45px;
  font-family: "Titillium Web", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #000;
  font-size: 27px;
}

.footer-icons a:hover,
.footer-icons a:focus-visible {
  color: var(--muted-icon);
}

.footer-copyright {
  position: relative;
  min-height: 32px;
  padding: 10px 20px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0s 0.5s;
}

.menu-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.3);
}

.menu-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  height: 72vh;
  min-height: 432px;
  padding: 42px 0 20px 100px;
  background: var(--gold);
  transform: translateX(-100%);
}

.menu-modal.is-open .menu-panel {
  animation: slide-in-left 0.5s both;
}

.menu-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 0;
  color: #fff;
  background: #000;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 200;
  line-height: 1;
}

.menu-close:hover,
.menu-close:focus-visible {
  color: #6c7c69;
  background: rgba(255, 250, 245, 0.9);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-nav a {
  color: var(--off-white);
  font-family: "Titillium Web", sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 0.66;
  text-transform: uppercase;
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  color: #000;
}

.menu-nav a.is-active {
  color: var(--red);
}

.menu-socials {
  display: flex;
  gap: 10px;
  margin-top: 69px;
}

.menu-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted-icon);
  background: #000;
  font-size: 16px;
}

.js .reveal {
  opacity: 0;
}

.js .reveal-right {
  transform: translateX(70px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .about-copy.is-visible {
  transition-duration: 1.6s;
}

.legal-main,
.archive-main {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 520px;
  margin: 0 auto;
  padding: 100px 0;
}

.legal-article {
  max-width: 860px;
}

.legal-article .section-title {
  margin-bottom: 50px;
  font-size: 50px;
  text-transform: uppercase;
}

.legal-article h2 {
  margin: 42px 0 12px;
  font-family: "Titillium Web", sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.legal-article p,
.legal-article li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.legal-article a,
.archive-main a {
  color: #765c42;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-article .back-button {
  margin-top: 20px;
  color: #000;
  text-decoration: none;
}

.legal-updated {
  color: #555;
}

.article-main,
.category-main {
  font-family: Arial, sans-serif;
}

.cloudways-article > h1,
.category-main > h1 {
  margin: 0 0 30px;
  font-family: "Titillium Web", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
}

.cloudways-article > p,
.archive-card p {
  font-size: 16px;
  line-height: 1.7;
}

.cloudways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 55px 0;
}

.cloudways-column h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

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

.cloudways-column li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.partner-block h4 {
  min-height: 24px;
  margin: 0 0 12px;
  font-size: 18px;
}

.partner-block img {
  width: 100%;
  height: auto;
}

.comment-section {
  margin-top: 80px;
  border-top: 1px solid #ddd;
  padding-top: 50px;
}

.comment-section h2 {
  font-family: "Titillium Web", sans-serif;
  font-size: 32px;
}

.comment-form p {
  margin: 0 0 22px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 720px;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 0;
}

.comment-form .comment-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.comment-form .comment-consent label {
  display: inline;
  margin: 0;
}

.comment-form button {
  padding: 13px 22px;
  border: 0;
  color: #fff;
  background: var(--gold);
}

.category-main {
  min-height: 547px;
}

.archive-card h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

@keyframes zoom-in {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-left {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 20px;
  }

  .header-inner {
    min-height: 107.9px;
  }

  .hero-title {
    font-size: 40px;
  }

  .about,
  .contact-section {
    padding-right: 25px;
    padding-left: 25px;
  }

  .about-inner,
  .contact-inner {
    width: 100%;
  }

  .about-inner {
    flex-wrap: wrap;
  }

  .about-copy,
  .about-visual {
    width: 100%;
  }

  .about-copy {
    padding-right: 0;
  }

  .about-visual {
    padding-top: 25px;
  }

  .contact-card {
    padding: 15px;
  }

  .contact-card h3 {
    font-size: 32px;
  }

  .cloudways-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 20px;
  }

  .header-inner {
    grid-template-columns: 20% 40% 40%;
    min-height: 133.3px;
  }

  .menu-trigger {
    gap: 0;
    padding: 0 10px;
  }

  .hamburger {
    color: #000;
  }

  .menu-label,
  .contact-label-desktop,
  .header-contact .icon-envelope {
    display: none;
  }

  .contact-label-mobile {
    display: inline;
  }

  .site-logo {
    width: 105px;
  }

  .header-contact {
    min-width: 96px;
    min-height: 36px;
    padding: 11px 22px;
    font-size: 12px;
  }

  .hero {
    min-height: 300px;
    background-position: center;
  }

  .hero-inner {
    width: 90%;
  }

  .hero-eyebrow {
    font-size: 22px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: 23px;
  }

  .about {
    padding: 50px 20px;
  }

  .about-inner {
    flex-direction: column-reverse;
    width: 100%;
  }

  .about-copy,
  .about-visual {
    width: 100%;
  }

  .about-copy {
    padding: 25px 0 0;
  }

  .about-visual {
    padding: 0;
  }

  .section-title {
    font-size: 35px;
  }

  .about-text p {
    margin-bottom: 14.4px;
  }

  .diagnostics {
    padding: 30px;
  }

  .diagnostics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .diagnostic-card {
    min-height: 167.4px;
    margin: 5px;
  }

  .diagnostic-card + .diagnostic-card {
    margin-top: -5px;
  }

  .diagnostic-card.third-mobile-group {
    margin-top: 25px;
  }

  .diagnostic-card:nth-child(6) {
    min-height: 165.4px;
  }

  .contact-section {
    padding: 50px 20px;
  }

  .contact-inner {
    width: 100%;
  }

  .contact-title {
    margin-bottom: 75px;
    font-size: 35px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 0 35px;
  }

  .form-actions {
    justify-content: center;
    padding-top: 75px;
  }

  .contact-card {
    justify-content: flex-start;
    height: 188.6px;
    min-height: 0;
    padding: 15px;
  }

  .contact-card h3 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .contact-card p,
  .contact-card p:last-child {
    font-size: 13px;
  }

  .footer-social {
    padding: 40px 20px 45px;
  }

  .footer-inner {
    width: 100%;
  }

  .footer-inner h3 {
    margin-bottom: 40px;
  }

  .footer-icons {
    gap: 16px;
  }

  .footer-icons a {
    width: 15px;
    height: 15px;
    font-size: 15px;
  }

  .footer-copyright {
    min-height: 30px;
  }

  .footer-copyright p {
    font-size: 10px;
  }

  .menu-panel {
    width: 230px;
    height: 70vh;
    min-height: 455px;
    padding: 42px 0 20px 23px;
  }

  .menu-nav {
    gap: 40px;
  }

  .menu-nav a {
    font-size: 22px;
    line-height: 0.3;
  }

  .menu-socials {
    margin-top: 65px;
  }

  .legal-main,
  .archive-main {
    width: calc(100% - 40px);
    padding: 50px 0;
  }

  .legal-article .section-title {
    margin-bottom: 35px;
    font-size: 35px;
  }

  .cloudways-article > h1,
  .category-main > h1 {
    font-size: 35px;
  }

  .cloudways-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-block h4 {
    min-height: 0;
  }

  .archive-card h2 {
    font-size: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
