/*
Theme Name: Check Point
Author: Meduzzen
Description: A blank WordPress theme
Version: 1.0
*/

@font-face {
  font-family: "DIN Pro Condensed";
  src: url("fonts/dinpro_condensedbold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "DIN Pro";
  src: url("fonts/dinpro_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "DIN Pro";
  src: url("fonts/dinpro_medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "DIN Pro";
  src: url("fonts/dinpro.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* standartization */

:root {
  --font-family: "DIN Pro", sans-serif;
  --second-family: "DIN Pro Condensed", sans-serif;

  --primary-brand-berry: #ee0c5d;
  --primary-gravitas-grey: #382334;
  --primary-clay: #f0f0f0;
  --primary-white: #fff;
  --secondary-dark-berry: #ab1344;
  --secondary-orange: #fa2f18;
  --secondary-purple: #671977;
  --secondary-yellow: #f9a725;
  --black: #000;
}

/* primary */

@media screen and (min-width: 1201px) {
  #primary section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  #primary section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 800px) {
  #primary section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* container */

.container {
  max-width: 1440px;
  margin: 0 auto;
}

@media screen and (min-width: 2001px) {
  .container {
    max-width: 1920px;
  }
}

@media screen and (min-width: 1601px) and (max-width: 2000px) {
  .container {
    max-width: 100%;
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .container {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (max-width: 800px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Btn */

.btn {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 128%;
  text-transform: uppercase;
  color: var(--primary-white);
  background: var(--primary-brand-berry);
  padding: 20px 30px;
  max-width: fit-content;
  max-height: fit-content;
  box-sizing: border-box;
  text-align: center;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:focus,
.btn:active {
  background: var(--secondary-orange);
}

@media screen and (min-width: 1201px) {
  .btn:hover {
    background: var(--secondary-orange);
  }

  .btn {
    font-size: 18px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
  .btn {
    font-size: 17px;
  }
}

@media screen and (max-width: 800px) {
  .btn {
    font-size: 16px;
  }
}

/* link */

.link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 128%;
  text-transform: uppercase;
  color: var(--primary-gravitas-grey);
  transition: all 0.3s;
  outline: none;
}

.link svg * {
  transition: all 0.3s;
}

.link:focus,
.link:active {
  color: var(--primary-brand-berry);
}

.link:focus svg path,
.link:active svg path {
  opacity: 1;
}

@media screen and (min-width: 1201px) {
  .link:hover {
    color: var(--primary-brand-berry);
  }

  .link:hover svg path {
    opacity: 1;
  }
}

/* body */

body {
  background: var(--primary-white);
}

body,
body p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 128%;
  color: var(--primary-gravitas-grey);
}

/* h1 */

h1,
.h1 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 117%;
}

@media screen and (min-width: 1201px) {
  h1,
  .h1 {
    font-size: 54px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  h1,
  .h1 {
    font-size: 43px;
  }
}

@media screen and (max-width: 800px) {
  h1,
  .h1 {
    font-size: 32px;
  }
}

/* h2 */

h2,
.h2 {
  font-family: var(--font-family);
  font-weight: 500;
  line-height: 100%;
}

@media screen and (min-width: 1201px) {
  h2,
  .h2 {
    font-size: 32px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  h2,
  .h2 {
    font-size: 29px;
  }
}

@media screen and (max-width: 800px) {
  h2,
  .h2 {
    font-size: 26px;
  }
}

/* h3 */

h3,
.h3 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 112%;
}

/* h4 */

h4,
.h4 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0.11em;
  color: #444;
}

/* hero */

.hero {
  padding-top: unset !important;
  padding-bottom: unset !important;
  border-top: 5px solid var(--primary-brand-berry);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 123%;
  letter-spacing: 0;
  margin-top: 40px;
  max-width: 355px;
}

.hero__top {
  display: flex;
  justify-content: flex-start;
}

.hero__info {
  padding-top: 90px;
  padding-bottom: 100px;
}

.hero__logo img {
  margin-top: 20px;
}

.hero__bg--mobile {
  display: none;
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
}

@media screen and (max-width: 800px) {
  .hero__subtitle {
    font-size: 18px;
    line-height: 127%;
    max-width: 248px;
    margin-top: 25px;
  }

  .hero__info {
    padding-top: 40px;
  }
}

@media screen and (max-width: 440px) {
  .hero__logo img {
    margin-top: 15px;
  }

  .hero__bg {
    background-position: bottom center;
  }

  .hero__bg--desktop {
    display: none;
  }

  .hero__bg--mobile {
    display: block;
  }

  .hero__info {
    padding-bottom: 182px;
  }
}

/* footer */

footer {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-block__title {
  text-align: center;
  font-family: var(--second-family);
}

.footer-block__title span {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.24em;
  vertical-align: super;
}

.footer-block__container {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  justify-content: center;
}

.footer-block__text p {
  font-size: 12px;
  line-height: 105%;
  text-align: center;
  color: #222;
}

/* demands-faster */

.demands_faster__title {
  text-align: center;
  color: var(--black);
}

.demands_faster__item-image {
  min-width: 280px;
  padding: 20px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  min-height: 252px;
}

.demands_faster__list {
  display: flex;
  margin-top: 50px;
  gap: 40px;
}

.demands_faster__item {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 50px;
  overflow: hidden;
}

.demands_faster__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--primary-gravitas-grey);
  z-index: 1;
  pointer-events: none;
}

.demands_faster__item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--primary-brand-berry);
  z-index: 2;
  pointer-events: none;
  transition: width 0.4s ease;
}

@media (max-width: 1199px) {
  .demands_faster__item.active::before,
  .demands_faster__item:focus::before {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .demands_faster__item:hover::before {
    width: 100%;
  }
}

.demands_faster__item-info {
  display: flex;
  flex-direction: column;
}

.demands_faster__category {
  font-weight: 500;
  line-height: 123%;
  color: var(--primary-brand-berry);
}

.demands_faster__item-title {
  margin-top: 30px;
  color: var(--primary-gravitas-grey);
}

.demands_faster__item-content {
  margin-top: 22px;
  color: var(--primary-gravitas-grey);
  margin-bottom: 10px;
}

.demands_faster__btn {
  margin-top: auto;
}

@media screen and (max-width: 1300px) {
  .demands_faster__list {
    flex-direction: column;
  }
}

@media screen and (max-width: 800px) {
  .demands_faster__list {
    gap: 50px;
  }

  .demands_faster__item {
    flex-direction: column;
  }

  .demands_faster__item-info {
    align-items: center;
    text-align: center;
  }

  .demands_faster__item-image {
    background: unset;
    padding: unset;
  }

  .demands_faster__btn {
    margin-top: 30px;
  }

  .demands_faster__item {
    padding-bottom: 20px;
  }
}

/* strategic-security */

#primary section.strategic-security {
  background: var(--primary-clay);
}

.strategic-security__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.strategic-security__head {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.strategic-security__title {
  color: var(--black);
}

.strategic-security__desc p {
  font-size: 18px;
  line-height: 123%;
  color: var(--black);
}

.strategic-security__list {
  display: flex;
}

.strategic-security__item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--primary-white);
}

.strategic-security__item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.strategic-security__category {
  font-weight: 500;
  line-height: 123%;
  color: var(--primary-brand-berry);
  margin-bottom: 30px;
}

.strategic-security__item-title {
  color: var(--primary-gravitas-grey);
  margin-bottom: 22px;
}

.strategic-security__item-content {
  margin-bottom: 30px;
}

.strategic-security__btn {
  margin-top: auto;
}

@media screen and (min-width: 1201px) {
  .strategic-security__list {
    gap: 40px;
  }

  .strategic-security__item {
    flex: 1 1 calc(100% / 4);
  }
}

@media screen and (max-width: 1200px) {
  .strategic-security__category,
  .strategic-security__item-title,
  .strategic-security__item-content p {
    text-align: center;
  }

  .strategic-security__btn {
    justify-content: center;
  }
}

@media screen and (min-width: 601px) and (max-width: 1300px) {
  .strategic-security__list {
    flex-wrap: wrap;
    gap: 30px;
  }

  .strategic-security__item {
    flex: 1 1 calc(100% / 2 - 60px);
  }
}

@media screen and (max-width: 600px) {
  .strategic-security__list {
    flex-direction: column;
    gap: 20px;
  }

  .strategic-security__item-image img {
    max-width: 250px;
  }
}

/* cta-banner */

#primary section.cta-banner {
  background: center / cover no-repeat
    url("/Hybrid-Cloud-Security-in-Action/wp-content/uploads/2025/07/cta-bg-scaled.webp");
}

.cta-banner__title {
  color: var(--primary-white);
  text-align: center;
}

.cta-banner__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 923px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 1201px) {
  .cta-banner__wrap {
    gap: 50px;
  }
}

@media screen and (max-width: 1200px) {
  .cta-banner__wrap {
    gap: 40px;
  }
}

/* form */
.cta-banner__form {
  max-width: 466px;
  margin: 0 auto;
}

input.wpcf7-not-valid {
  border-color: #ee0c5d;
}

.wpcf7-response-output {
  display: none;
}

.wpcf7-not-valid-tip {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: right;
  color: #ee0c5d;
  position: absolute;
  padding-right: 9px;
  top: 2px;
  right: 2px;
  height: calc(100% - 4px);
  background: var(--primary-white);
}

.wpcf7-acceptance input {
  display: none;
}

.wpcf7-list-item-label {
  display: flex;
}

.wpcf7-acceptance input + span {
  position: relative;
}

.wpcf7-list-item {
  margin-left: 0;
}

.form__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__agreement {
  display: flex;
  flex-direction: column;
}

.form__wrapper {
  display: flex;
  flex-direction: column;
}

textarea,
input {
  transition: all 0.3s;
  outline: none !important;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 128%;
  color: var(--primary-gravitas-grey);
  border: 2px solid transparent;
  box-sizing: border-box;
  padding: 26px 15px 10px;
  width: 100%;
  position: relative;
}

textarea::placeholder,
input::placeholder {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 128%;
  color: var(--primary-gravitas-grey);
}

textarea {
  max-height: 137px;
  resize: none;
}

.form__agreement {
  display: flex;
  flex-direction: column;
}

.form__agreement p {
  color: var(--primary-white);
  margin-top: 20px;
  text-align: center;
}

.form__agreement p a {
  transition: all 0.3s;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-color: var(--primary-white);
  color: inherit;
}

.form__agreement .form__one-column {
  display: flex;
}

.wpcf7-form-control-wrap {
  display: flex;
}

.response-and-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1201px) {
  .form__agreement p a:hover {
    text-decoration-color: transparent;
  }
}

.form__column {
  position: relative;
}

.form__label {
  position: absolute;
  top: 24px;
  left: 15px;
  font-size: 18px;
  color: var(--primary-gravitas-grey);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form__label span {
  color: #ee0c5d;
}

.form__label.active {
  top: 9px;
  font-size: 12px;
}

/* Full Height Page Template */
.full-height .thank-you {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1201px) {
  .full-height .thank-you {
    min-height: calc(100vh - 200px - 140px);
  }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
  .full-height .thank-you {
    min-height: calc(100vh - 160px - 140px);
  }
}

@media screen and (max-width: 800px) {
  .full-height .thank-you {
    min-height: calc(100vh - 120px - 140px);
  }
}

.thank-you {
  background: center / cover no-repeat
    url("/Hybrid-Cloud-Security-in-Action/wp-content/uploads/2025/08/cta-scaled.webp");
}

.thank-you__wrap {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 763px;
  margin: 0 auto;
}

.thank-you__title {
  color: var(--primary-white);
}

.thank-you__desc {
  display: flex;
  flex-direction: column;
  max-width: 522px;
  margin: 0 auto;
}

.thank-you__desc p {
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--primary-white);
}

.thank-you__title,
.thank-you__desc p {
  text-align: center;
}

.thank-you__desc p:not(:last-of-type) {
  margin-bottom: 25px;
}
