:root {
  --tile-btn-hover: #199f87;
}

.tile-categories__container {
  padding: 40px 0;
}

.tile-categories__tile-types__row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.tile-categories__tile-types__item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #1a2230;
}

.tile-categories__tile-types__item-background,
.tile-categories__tile-types__item-background-mobile {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}

.tile-categories__cta-position {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.mt-top {
  margin-top: 40px;
}

.btn_cta {
  z-index: 6;
  font-size: 1.5em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  letter-spacing: 0.15px;
  gap: 12px;
  color: var(--color-gold);
  animation-duration: 0.3s;
  animation-name: showMenu;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 44px;
  box-shadow: 0 10px 30px rgba(2, 18, 40, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.28s,
    background 0.28s, opacity 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(
    180deg,
    rgba(1, 27, 64, 0.62),
    rgba(1, 21, 56, 0.48)
  );
}

.btn_cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn_cta > * {
  position: relative;
  z-index: 1;
}

.btn_cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #17b6ad;
  stroke: currentColor;
  transition: transform 0.18s, color 0.18s;
}

.btn_cta:hover {
  background: var(--tile-btn-hover);
  color: var(--color-white);
  transform: translateX(5px);
  box-shadow: 0 22px 48px rgba(23, 182, 173, 0.12);
}
.btn_cta:hover svg {
  color: var(--color-white);
  transform: translateX(4px);
}

.tile-categories__tile-types__item:hover .btn_cta {
  background: var(--tile-btn-hover);
  color: var(--color-white);
  transform: translateX(5px);
  box-shadow: 0 22px 48px rgba(23, 182, 173, 0.12);
}

.tile-categories__tile-types__item:hover svg {
  color: var(--color-white);
  transform: translateX(4px);
}

.btn_cta:active {
  transform: translateY(-1px);
}
.btn_cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(23, 182, 173, 0.12),
    0 14px 36px rgba(2, 18, 40, 0.45);
  border-color: rgba(23, 182, 173, 0.28);
}

/* compact / responsive */
@media (max-width: 900px) {
  .btn_cta {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    min-height: 40px;
  }
  .btn_cta svg {
    width: 16px;
    height: 16px;
  }
}

/* respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn_cta,
  .btn_cta:hover,
  .btn_cta:active,
  .btn_cta:focus-visible {
    transition: none;
    transform: none;
  }
}

.tile-categories__tile-types__item:focus {
  outline: none;
}

@media (max-width: 767px) {
  .tile-categories__tile-types__item {
    width: 100%;
    height: 400px;
  }
  .tile-categories__tile-types__title {
    font-size: 20px;
    left: 14px;
    top: 14px;
  }

  .btn_cta.tile-categories__cta-position {
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 322px;
    font-size: 16px;
  }
  .btn_cta {
    right: 14px;
    bottom: 14px;
    padding: 23px 30px;
    font-size: 19px;
  }
}

/* Contact form block */
.contact-form-block {
  padding: 48px 0;
}
.contact-form-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-text {
  flex: 1 1 40%;
}
.contact-text h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.1;
}
.contact-text p {
  margin: 0;
  color: #cbd6df;
  max-width: 480px;
}

:root {
  --ww-white: #ffffff;
  --ww-turquoise: #17b6ad;
  --ww-dark: #06263a;
  --ww-muted: rgba(255, 255, 255, 0.06);
  --ww-radius: 12px;
  --ww-gap: 14px;
}

/* Modern responsive contact form */
.partner-banner__form {
  display: flex;
  align-items: stretch;
}
.contact-form {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: var(--ww-gap);
  background: linear-gradient(
    180deg,
    rgba(6, 38, 58, 0.98),
    rgba(6, 38, 58, 0.92)
  );
  padding: 24px;
  border-radius: var(--ww-radius);
  box-shadow: 0 10px 30px rgba(4, 36, 58, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(23, 182, 173, 0.08);
  min-width: 280px;
}
.contact-form .form-row {
  margin: 0;
  display: block;
}
.contact-form label {
  display: block;
  width: 100%;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form {
  max-width: 580px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.form-header h2 {
  font-size: 2.5em;
  color: var(--ww-white);
  margin-bottom: 0.5em;
  font-weight: 600;
  line-height: 1.2;
}

.form-header p {
  font-size: 1.125em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 400;
}

.contact-form input[type="tel"],
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ww-white);
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-primary);
  font-size: 17px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--ww-turquoise);
  box-shadow: 0 8px 32px rgba(23, 182, 173, 0.2);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

/* Select and Options Styling */
.contact-form select {
  cursor: pointer;
}

.contact-form select option {
  font-family: var(--font-primary);
  font-size: 16px;
  padding: 16px;
  background: rgba(1, 27, 64, 0.95);
  color: var(--ww-white);
  border: none;
  transition: background-color 0.2s ease;
}

.contact-form select option:checked {
  background: linear-gradient(180deg, var(--ww-turquoise), #0ea79b);
  color: white;
}

.contact-form select option:hover {
  background: rgba(23, 182, 173, 0.1);
}

/* Styling the select dropdown */
.contact-form select::-ms-expand {
  display: none;
}

.contact-form select:focus {
  outline: none;
}

@-moz-document url-prefix() {
  .contact-form select {
    color: var(--ww-white);
  }

  .contact-form select option {
    background-color: rgba(1, 27, 64, 0.95);
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .contact-form select {
    -webkit-appearance: none;
  }

  .contact-form select option {
    margin: 8px 0;
    background-color: rgba(1, 27, 64, 0.95);
  }
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5.5L7 9.5L11 5.5' stroke='%2317B6AD' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-wrapper:hover::after {
  transform: translateY(-50%) translateY(2px);
}

.select-wrapper select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Custom dropdown styling */
.select-wrapper select option {
  padding: 12px 16px;
  background-color: rgba(1, 27, 64, 0.98);
  color: var(--ww-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 16px;
  transition: all 0.2s ease;
}

.select-wrapper select option:first-child {
  border-radius: 8px 8px 0 0;
}

.select-wrapper select option:last-child {
  border-radius: 0 0 8px 8px;
  border-bottom: none;
}

.select-wrapper select option:hover,
.select-wrapper select option:focus {
  background: rgba(23, 182, 173, 0.1);
}

.select-wrapper select option:checked {
  background: linear-gradient(180deg, var(--ww-turquoise), #0ea79b);
  color: white;
}

/* Animated dropdown */
@keyframes selectDropdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.select-wrapper select[size] option,
.select-wrapper select option {
  animation: selectDropdown 0.2s ease-out;
  animation-fill-mode: both;
}

.select-wrapper select option:nth-child(1) {
  animation-delay: 0.03s;
}
.select-wrapper select option:nth-child(2) {
  animation-delay: 0.06s;
}
.select-wrapper select option:nth-child(3) {
  animation-delay: 0.09s;
}
.select-wrapper select option:nth-child(4) {
  animation-delay: 0.12s;
}
.select-wrapper select option:nth-child(5) {
  animation-delay: 0.15s;
}

.form-row {
  margin-bottom: 20px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  padding: 4px 0;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 22px;
}

.checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--ww-turquoise), #0ea79b);
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: 2px solid var(--ww-dark);
  border-top: 0;
  border-left: 0;
  transform: rotate(40deg);
}
.consent-open a,
.subscribe-consent-open a {
  color: var(--ww-turquoise);
  text-decoration: underline;
}

/* Button */
.contact-form .partner-banner__btn,
.contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  color: var(--ww-white);
  background: linear-gradient(90deg, var(--ww-turquoise), #0ea79b 60%);
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 22px rgba(23, 182, 173, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s;
  width: 100%;
}
.contact-form .partner-banner__btn:hover {
  transform: translateY(-3px);
}
.contact-form .partner-banner__btn:active {
  transform: translateY(-1px);
}

/* small print */
.contact-form .form-row .checkbox-label span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* Responsive */
@media (max-width: 900px) {
  .partner-banner__form {
    flex-direction: column;
    gap: 18px;
  }
  .contact-form {
    flex-basis: 100%;
    width: 100%;
    padding: 18px;
    border-radius: 10px;
  }
  .contact-form .partner-banner__btn {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .contact-form {
    padding: 14px;
    border-radius: 10px;
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ---- */

/* checkbox and consent */
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #cbd6df;
  font-size: 13px;
}
.checkbox-label input {
  margin-top: 4px;
}
.consent-open {
  text-decoration: underline;
  cursor: pointer;
  color: var(--color-primary);
}

/* modal */
.consent-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: calc(100% - 32px);
  background: #fff;
  color: #111;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(2, 8, 20, 0.6);
  z-index: 2000;
  display: none;
}
.consent-modal.show {
  display: block;
}
.consent-modal .modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* responsive */
@media (max-width: 900px) {
  .contact-form-inner {
    flex-direction: column;
  }
  .contact-text,
  .contact-form {
    flex: 1 1 100%;
  }
  .consent-modal {
    width: 92%;
  }
}

/* Subscribe block */
.subscribe-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
  color: var(--color-white);
}

.subscribe-block__left {
  padding-right: 8px;
}
.subscribe-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 600;
  color: var(--color-white);
}
.subscribe-subtitle {
  color: #cbd6df;
  font-size: 15px;
}

/* form column */
.subscribe-block__form {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(1, 21, 40, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin-left: auto;
}

.subscribe-field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.14);
  color: var(--color-white);
  font-size: 14px;
  box-sizing: border-box;
}

/* consent row */
.subscribe-consent-row {
  align-items: flex-start;
  gap: 10px;
  color: #cbd6df;
  font-size: 13px;
}
.subscribe-consent-row input {
  margin-top: 4px;
}

/* underlined clickable part that opens modal (except links) */
.subscribe-consent-open {
  text-decoration: underline;
  cursor: pointer;
  color: var(--color-primary);
}

/* actions */
.subscribe-actions {
  display: flex;
  justify-content: flex-end;
}
.subscribe-actions .btn {
  padding: 10px 18px;
  border-radius: 8px;
}

/* modal (reusable simple) */
.subscribe-consent-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: calc(100% - 32px);
  background: #fff;
  color: #111;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(2, 8, 20, 0.6);
  z-index: 3000;
  display: none;
}
.subscribe-consent-modal.show {
  display: block;
}
.subscribe-consent-modal .modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* responsive */
@media (max-width: 900px) {
  .subscribe-block {
    grid-template-columns: 1fr;
  }
  .subscribe-actions {
    justify-content: stretch;
  }
  .subscribe-actions .btn {
    width: 100%;
  }
}

/* Footer — custom layout for copyright / docs / center disclaimer */
.footer__info--custom {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .footer__info--custom {
    flex-direction: column;
    align-items: center;
  }
}

.footer__info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copyright {
  font-size: 14px;
  color: #666;
  line-height: 1;
}
.footer__documents a {
  margin-left: 16px;
  color: inherit;
  text-decoration: underline;
  font-size: 14px;
}
.footer__documents a:first-child {
  margin-left: 0;
}
.footer__disclaimer-center {
  margin-top: 12px;
  text-align: center;
  color: #777;
  font-size: 13px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
/* Responsive tweak */
@media (max-width: 560px) {
  .footer__info-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__documents {
    margin-top: 8px;
  }
  .footer__documents a {
    margin-left: 0;
    margin-right: 12px;
  }
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--ww-turquoise), #0ea79b);
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit {
  margin-top: 32px;
}

.form-submit .btn_cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.form-submit .btn_cta:hover {
  transform: translateX(5px);
  background: linear-gradient(180deg, var(--ww-turquoise), #0ea79b);
}

.form-submit .btn_cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.form-submit .btn_cta:hover svg {
  transform: translateX(4px);
}

/* Form header styles */
.form-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.form-header h2 {
  font-size: 2.5em;
  color: var(--ww-white);
  margin-bottom: 0.5em;
}

.form-header p {
  font-size: 1.125em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Form row spacing */
.form-row {
  margin-bottom: 1.25em;
}

.form-row:last-child {
  margin-bottom: 0;
}

.footer__disclaimer-center {
  font-size: 12px;
  padding: 0 12px;
}

/* subtle glossy highlight */
.btn_cta::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0)
  );
  mix-blend-mode: overlay;
  z-index: 0;
}
