/*
Theme Name: Shopping Builders
Theme URI:
Author: Shopping Builders
Author URI: https://shoppingbuilders.com/
Description: Tailor-made by Shopping Builders
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* --------------------------------------------------------------------------
   FONTS
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope-Light";
  src: url(assets/fonts/Manrope-Light.ttf);
}

@font-face {
  font-family: "Manrope-Regular";
  src: url(assets/fonts/Manrope-Regular.ttf);
}

@font-face {
  font-family: "Manrope-Medium";
  src: url(assets/fonts/Manrope-Medium.ttf);
}

@font-face {
  font-family: "Manrope-SemiBold";
  src: url(assets/fonts/Manrope-SemiBold.ttf);
}

@font-face {
  font-family: "Manrope-Bold";
  src: url(assets/fonts/Manrope-Bold.ttf);
}

/* --------------------------------------------------------------------------
   CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --am-blue: #074c7b;
  --am-dark-blue: #130828;
  --am-orange: #ea5b0b;
  --am-white: #ffffff;
  --am-light-grey: #abafb1;
  --am-bg-light: #f5f7fa;

  --am-footer-padding-desktop: 40px 60px 80px 40px;
  --am-footer-padding-mobile: 40px 16px 80px;
  --am-footer-radius-desktop: 24px;
  --am-footer-radius-mobile: 24px 24px 0 0;
  --am-footer-max-width: 1300px;

  --am-hero-radius: 24px;

  --am-dark-grey: #525252;
  --am-bg-light: #f5f7fa;
  --am-dark-blue: #130828;
  --am-block-gap: 180px;
  --am-section-pad: 40px 60px;
  --am-radius-img: 32px;
  --am-radius-card: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 20px;
}

.privacy-policy::before,
.page-id-350::before,
.page-id-351::before,
.page-id-357::before,
.page-id-360::before,
.page-id-361::before,
.page-id-370::before,
.page-id-371::before {
  display: none !important;
}

/* --------------------------------------------------------------------------
   HEADER & NAV
   -------------------------------------------------------------------------- */

.page.page-id-378 .am-header,
.page.page-id-381 .am-header,
.page.page-id-382 .am-header,
.page.page-id-367 .am-header,
.page.page-id-3 .am-header,
.page.page-id-351 .am-header,
.page.page-id-350 .am-header,
.page.page-id-370 .am-header,
.page.page-id-371 .am-header,
.page.page-id-357 .am-header,
.page.page-id-360 .am-header,
.page.page-id-361 .am-header {
  position: relative !important;
  width: 100% !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  margin-left: unset !important;
  margin-right: unset !important;
}

.page.page-id-378 .am-header__inner,
.page.page-id-381 .am-header__inner,
.page.page-id-382 .am-header__inner,
.page.page-id-367 .am-header__inner,
.page.page-id-3 .am-header__inner,
.page.page-id-350 .am-header__inner,
.page.page-id-351 .am-header__inner,
.page.page-id-370 .am-header__inner,
.page.page-id-371 .am-header__inner,
.page.page-id-357 .am-header__inner,
.page.page-id-360 .am-header__inner,
.page.page-id-361 .am-header__inner {
  padding: 16px 60px;
  background: linear-gradient(180deg, #074c7b 7.63%, #1d3d61 87.18%);
  border-radius: 120px;
}

.page.page-id-378 .am-content-block,
.page.page-id-381 .am-content-block,
.page.page-id-382 .am-content-block,
.page.page-id-367 .am-content-block,
.page.page-id-370 .am-content-block,
.page.page-id-371 .am-content-block,
.page.page-id-357 .am-content-block,
.page.page-id-360 .am-content-block,
.page.page-id-361 .am-content-block {
  padding-top: 24px;
  padding-bottom: 24px;
}

.page.page-id-357 .am-content-block__text,
.page.page-id-360 .am-content-block__text,
.page.page-id-361 .am-content-block__text {
  max-width: 70% !important;
}

.page.page-id-378::before,
.page.page-id-381::before,
.page.page-id-382::before,
.page.page-id-367::before,
.page.page-id-370::before,
.page.page-id-371::before,
.page.page-id-357::before,
.page.page-id-360::before,
.page.page-id-361::before {
  display: none !important;
}

.am-header {
  position: absolute;
  z-index: 10;
  top: 40px;

  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.am-header__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  /* height: 80px; */

  padding: 0 60px;
  position: relative;
}

.am-header__logo {
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
  width: 180px;
}

.am-header__logo svg {
  width: 100px;
  height: 40px;
  display: block;
}

.am-nav--desktop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  flex: 1;
  display: flex;
  justify-content: center;
  width: auto;
}

.am-nav--mobile {
  display: none;
}

.am-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 80px;
}

.am-nav__list li {
  margin: 0;
  padding: 0;
}

.am-nav__list a {
  font-family: "Manrope-Light", sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--am-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.am-nav__list a:hover {
  opacity: 0.75;
}

.am-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-shrink: 0;
  /* width: 180px; */
}

/* --------------------------------------------------------------------------
   GLOBAL BUTTONS
   -------------------------------------------------------------------------- */
.am-btn--contact-nav,
.am-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 4px 4px 4px 18px;
  background: var(--am-bg-light);
  border-radius: 9999px;
  text-decoration: none;
  height: 32px;
  white-space: nowrap;
}

.am-btn--contact-nav span:first-child,
.am-btn--primary span:first-child {
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--am-dark-blue);
}

.am-btn--contact-nav .am-btn__arrow,
.am-btn--primary .am-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--am-orange);
  border-radius: 999px;
  color: var(--am-white);
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.am-btn--contact-nav:hover,
.am-btn--primary:hover {
  box-shadow:
    0px 4px 4px -1px rgba(12, 12, 13, 0.05),
    0px 4px 4px -1px rgba(12, 12, 13, 0.1);
}

.am-btn--contact-nav:hover .am-btn__arrow,
.am-btn--primary:hover .am-btn__arrow {
  transform: rotate(45deg);
}

.am-btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  height: 32px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--am-white);
  text-decoration: none;
  transition: background 0.2s ease;
}

.am-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  box-shadow:
    0px 4px 4px -1px rgba(12, 12, 13, 0.05),
    0px 4px 4px -1px rgba(12, 12, 13, 0.1);
}

.am-btn--contact-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 4px 18px;
  background: var(--am-dark-blue);
  border-radius: 9999px;
  text-decoration: none;
  height: 40px;
}

.am-btn--contact-mobile span:first-child {
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  color: var(--am-white);
}

.am-btn--contact-mobile .am-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--am-white);
  border-radius: 999px;
  color: var(--am-orange);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   LANGUAGE SWITCHER
   -------------------------------------------------------------------------- */
.am-lang--desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.am-lang--mobile {
  display: none;
}

.am-lang__item {
  font-family: "Manrope-Light", sans-serif;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 0 8px;
  transition: color 0.2s ease;
  text-align: center;
}

.am-lang__item.is-active {
  color: var(--am-white);
}

@media (min-width: 1025px) {
  .am-lang__item:hover:not(.is-active) {
    color: rgba(255, 255, 255, 0.8);
  }
}

.am-lang--desktop .am-lang__item + .am-lang__item {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   MOBILE MENU & HAMBURGER
   -------------------------------------------------------------------------- */
.am-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 56px;
  height: 40px;
  background: var(--am-white);
  border: none;
  border-radius: 48px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.am-hamburger__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--am-dark-blue);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.am-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}

.am-mobile-menu[aria-hidden="false"] {
  pointer-events: all;
  visibility: visible;
  transition-delay: 0s;
}

.am-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 76, 123, 0.3);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.am-mobile-menu[aria-hidden="false"] .am-mobile-menu__backdrop {
  opacity: 1;
}

.am-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100dvh;
  background: rgba(255, 255, 255, 0.92);
  /* backdrop-filter: blur(14px); */
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 40px;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.am-mobile-menu[aria-hidden="false"] .am-mobile-menu__panel {
  transform: translateY(0);
}

.am-mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  /* height: 64px; */
}

.am-header__logo--blue svg path[fill="#FFFFFF"],
.am-header__logo--blue svg path[fill="white"] {
  fill: var(--am-blue);
}

.am-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  background: var(--am-blue);
  border: none;
  border-radius: 48px;
  cursor: pointer;
  color: var(--am-white);
}

.am-nav__list--mobile {
  display: flex;
  flex-direction: column;
  align-items: start !important;
  gap: 0;
  padding: 56px 16px 16px 16px;
  gap: 16px;
}

.am-nav__list--mobile li {
  list-style: none;
  margin: 10px 0;
}

.am-nav__list--mobile li:first-child {
  margin-top: 0 !important;
}

.am-nav__list--mobile li:last-child {
  margin-bottom: 0 !important;
}

.am-nav__list--mobile a {
  font-family: "Manrope-Light", sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--am-blue);
  text-decoration: none;
  display: block;
}
.am-mobile-menu__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 40px;
}

.am-lang--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.am-lang--mobile .am-lang__item {
  color: var(--am-light-grey);
}

.am-lang--mobile .am-lang__item.is-active {
  color: var(--am-blue);
}

.am-lang__sep {
  display: block;
  width: 1px;
  height: 25px;
  background: var(--am-light-grey);
}

body.am-menu-open {
  overflow: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 670px;
  right: -20px;

  background-image: url("assets/img/group_3.svg");
  background-repeat: no-repeat;
  background-position: right top;

  width: 2420px;
  height: 2037px;
  pointer-events: none;
  z-index: 0;
}

.am-block-list > * {
  position: relative;
  z-index: 1;
}
/* --------------------------------------------------------------------------
   HERO 
   -------------------------------------------------------------------------- */
.am-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: linear-gradient(180deg, #074c7b 7.63%, #1d3d61 87.18%);
  border-radius: var(--am-hero-radius);
  padding: 40px 60px 20px 40px;
  min-height: 762px;
  overflow: hidden;
  margin-bottom: 90px !important;
  max-width: 1300px;
  margin: 0 auto;
}

.banner-slider-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.am-hero__bg,
.am-hero__swiper,
.am-hero__slide,
.am-hero__bg-img,
.am-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.am-hero__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-content-block__img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.am-content-block__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--am-radius-img);
}

.banner-image-container img,
.am-hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* .am-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #074c7b 0%,
    rgba(7, 76, 123, 0.85) 45%,
    transparent 100%
  );
  z-index: 1;
} */

.am-hero__pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.am-hero__pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.am-hero__pagination .swiper-pagination-bullet-active {
  background: var(--am-white);
  transform: scale(1.3);
}

.am-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* width: 100%; */
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 104px;
  padding-right: 40px;
  padding-left: 40px;
  /* height: 100%; */
  pointer-events: none;
}

.am-hero__notification,
.am-hero__ctas a {
  pointer-events: auto;
}

.am-hero__notification-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.am-hero__notification {
  /* background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    rgba(234, 91, 11, 0.5); */
  /* backdrop-filter: blur(2px); */
  background-color: var(--am-orange);
  border-radius: 48px;
  padding: 12px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: auto;

  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.am-hero__notification p {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--am-white);
  text-align: center;

  word-wrap: break-word;
  overflow-wrap: break-word;
}

.am-hero__body {
  display: flex;
  flex-direction: column;
  margin-top: 68px;
  margin-bottom: 40px !important;
  gap: 40px;
  width: 100%;
  max-width: 720px;
  align-self: flex-start;
  margin-bottom: auto;
}

.am-hero__title {
  margin: 0;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 68px;
  line-height: 120%;
  letter-spacing: -0.01em;
  color: var(--am-white);
	font-weight: 500;
}

.am-hero__title-hl,
.am-hero__title strong {
  color: var(--am-orange);
}

.am-hero__subtitle {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 18px;
  line-height: 148%;
  color: var(--am-white);
  max-width: 550px;
}

.am-hero__ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 8px;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.am-footer {
  font-family: "Manrope-Light", sans-serif;
  background-color: var(--am-blue);
  border-radius: var(--am-footer-radius-desktop);
  padding: var(--am-footer-padding-desktop);
  box-sizing: border-box;
}

.am-footer__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  max-width: var(--am-footer-max-width);
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}

.am-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 425px;
  flex-shrink: 0;
}

.am-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.am-footer__logo-link img,
.am-footer__logo-link .custom-logo,
.am-footer__logo-svg {
  width: 179px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  display: block;
}

.am-footer__description {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 12px;
  line-height: 150%;
  color: var(--am-white);
  max-width: 312px;
}

.am-footer__company-reg {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 8px;
  line-height: 150%;
  color: var(--am-white);
  max-width: 312px;
}

.am-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.am-footer__nav--quick {
  width: 200px;
}

.am-footer__nav--legal {
  width: 220px;
}

.am-footer__nav-title {
  margin: 0;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--am-white);
}

.am-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.am-footer__nav-list li {
  margin: 0;
  padding: 0;
}

.am-footer__nav-list a {
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--am-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.am-footer__nav-list a:hover,
.am-footer__nav-list a:focus-visible {
  opacity: 0.75;
  text-decoration: underline;
  outline: none;
}

.am-footer__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.am-footer__social-list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.am-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.am-footer__social-btn:hover,
.am-footer__social-btn:focus-visible {
  transform: translateY(-2px);
}

.am-footer__social-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: var(--am-white);
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY GLOBAL
   -------------------------------------------------------------------------- */
.am-hero a:focus-visible,
.am-mobile-menu a:focus-visible,
.am-hamburger:focus-visible,
.am-mobile-menu__close:focus-visible,
.am-footer a:focus-visible {
  outline: 2px solid var(--am-white);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Tablet (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  body {
    margin: 0;
  }
  /* Hero */
  .am-hero {
    padding: 24px 32px 20px;
    min-height: 767px;
    margin-bottom: 0 !important;
  }
  .am-hero__title {
    font-size: 52px;
  }

  /* Header / Nav */
  .am-nav--desktop,
  .am-lang--desktop {
    display: none;
  }
  .am-hamburger {
    display: flex;
  }
  .am-nav--mobile {
    display: block !important;
    width: 100%;
  }

  /* Footer */
  .am-footer {
    padding: 40px 32px 80px;
  }
  .am-footer__inner {
    flex-wrap: wrap;
    gap: 32px;
  }
  .am-footer__brand {
    width: 100%;
    max-width: 425px;
  }
  .am-footer__nav--quick,
  .am-footer__nav--legal {
    width: calc(50% - 16px);
    flex: 1 1 calc(50% - 16px);
  }
  .am-footer__social {
    width: 100%;
    flex: 1 1 100%;
  }
  .am-lang--mobile .am-lang__item {
    padding: 0 16px;
  }

  .am-contact {
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .am-footer {
    position: relative;
    z-index: auto;
  }

  .am-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: rgba(206, 71, 22, 0.8);
    z-index: -1;
    border-radius: 0;
  }

  .am-footer {
    border-radius: var(--am-footer-radius-mobile);
  }

  .page.page-id-378 .am-header,
  .page.page-id-381 .am-header,
  .page.page-id-382 .am-header,
  .page.page-id-367 .am-header,
.page.page-id-3 .am-header,
	.page.page-id-350 .am-header,
	.page.page-id-351 .am-header,
  .page.page-id-370 .am-header,
  .page.page-id-371 .am-header,
  .page.page-id-357 .am-header,
  .page.page-id-360 .am-header,
  .page.page-id-361 .am-header {
    margin-top: 16px !important;
  }

  .page.page-id-378 .am-header__inner,
  .page.page-id-381 .am-header__inner,
  .page.page-id-382 .am-header__inner,
  .page.page-id-367 .am-header__inner,
	.page.page-id-3 .am-header__inner,
	.page.page-id-350 .am-header__inner,
	.page.page-id-351 .am-header__inner,
  .page.page-id-370 .am-header__inner,
  .page.page-id-371 .am-header__inner,
  .page.page-id-357 .am-header__inner,
  .page.page-id-360 .am-header__inner,
  .page.page-id-361 .am-header__inner {
    margin: 0 8px !important;
  }

  .page.page-id-378 .am-content-block__text,
  .page.page-id-381 .am-content-block__text,
  .page.page-id-382 .am-content-block__text,
  .page.page-id-367 .am-content-block__text,
  .page.page-id-370 .am-content-block__text,
  .page.page-id-371 .am-content-block__text,
  .page.page-id-357 .am-content-block__text,
  .page.page-id-360 .am-content-block__text,
  .page.page-id-361 .am-content-block__text {
    max-width: 100% !important;
  }

  .page.page-id-378 .am-footer::before,
  .page.page-id-381 .am-footer::before,
  .page.page-id-382 .am-footer::before,
  .page.page-id-367 .am-footer::before,
  .page.page-id-370 .am-footer::before,
  .page.page-id-371 .am-footer::before,
  .page.page-id-357 .am-footer::before,
  .page.page-id-360 .am-footer::before,
  .page.page-id-361 .am-footer::before {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Header */
  .am-header__inner {
    height: 56px;
    padding: 0 16px;
  }
  .am-btn--contact-nav {
    display: none;
  }

  /* Hero */
  .am-hero {
    padding: 16px 16px 20px;
    min-height: 710px;
    border-radius: 0;
  }
  .am-hero__content {
    gap: 40px;
    padding-top: 96px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .am-hero__notification {
    padding: 12px 16px;
    background-color: var(--am-orange);
  }
  .am-hero__body {
    margin: 0 !important;
    gap: 40px;
    max-width: 100%;
  }
  .am-hero__title {
    font-size: 40px;
  }
  .am-hero__subtitle {
    font-size: 16px;
    max-width: 100%;
  }
  .am-hero__ctas {
    width: 100%;
    justify-content: space-between;
    margin-top: 16px;
  }
  .am-btn--primary,
  .am-btn--ghost {
    flex: 1;
    justify-content: space-between;
  }

  /* Footer */
  .am-footer {
    padding: var(--am-footer-padding-mobile);
    border-radius: var(--am-footer-radius-mobile);
  }
  .am-footer__inner {
    flex-direction: column;
    gap: 24px;
  }
  .am-footer__brand {
    width: 100%;
    max-width: 100%;
  }
  .am-footer__description,
  .am-footer__company-reg {
    max-width: 100%;
  }
  .am-footer__nav--quick,
  .am-footer__nav--legal,
  .am-footer__social {
    width: 100%;
    min-width: unset;
  }
  .am-footer__nav-list {
    gap: 24px;
  }
  .am-footer__nav-list a {
    font-size: 16px;
  }

  body::before {
    top: 500px;
    right: 0;
    background-image: url("assets/img/vector_2.svg");
    width: 100%;
    height: 1061px;
    background-size: contain;
    background-position: right top;
  }

  /* body::after {
    content: "";
    position: absolute;
    top: 1600px;
    right: 0;
    background-image: url("assets/img/vector_4.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    width: 100%;
    height: 1061px;
    pointer-events: none;
    z-index: -1;
  } */

  .am-service-card--featured {
    gap: 120px !important;
  }

  .page.page-id-378 .am-content-block p,
  .page.page-id-381 .am-content-block p,
  .page.page-id-382 .am-content-block p,
  .page.page-id-367 .am-content-block p,
  .page.page-id-370 .am-content-block p,
  .page.page-id-371 .am-content-block p,
  .page.page-id-357 .am-content-block p,
  .page.page-id-360 .am-content-block p,
  .page.page-id-361 .am-content-block p {
    font-size: 16px;
  }

  .page.page-id-378 .am-content-block li,
  .page.page-id-381 .am-content-block li,
  .page.page-id-382 .am-content-block li,
  .page.page-id-367 .am-content-block li,
  .page.page-id-370 .am-content-block li,
  .page.page-id-371 .am-content-block li,
  .page.page-id-357 .am-content-block li,
  .page.page-id-360 .am-content-block li,
  .page.page-id-361 .am-content-block li {
    font-size: 16px;
  }

  .page.page-id-378 .am-content-block h1,
  .page.page-id-381 .am-content-block h1,
  .page.page-id-382 .am-content-block h1,
  .page.page-id-367 .am-content-block h1,
  .page.page-id-370 .am-content-block h1,
  .page.page-id-371 .am-content-block h1,
  .page.page-id-357 .am-content-block h1,
  .page.page-id-360 .am-content-block h1,
  .page.page-id-361 .am-content-block h1 {
    font-size: 24px;
  }

  .page.page-id-378 .am-content-block h2,
  .page.page-id-381 .am-content-block h2,
  .page.page-id-382 .am-content-block h2,
  .page.page-id-367 .am-content-block h2,
  .page.page-id-370 .am-content-block h2,
  .page.page-id-371 .am-content-block h2,
  .page.page-id-357 .am-content-block h2,
  .page.page-id-360 .am-content-block h2,
  .page.page-id-361 .am-content-block h2 {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   TAG / LABEL CHIP
   -------------------------------------------------------------------------- */
.am-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--am-bg-light);
  border: 1px solid rgba(19, 8, 40, 0.04);
  border-radius: 99px;
  font-family: Manrope-Light, sans-serif;
  font-size: 14px;
  line-height: 110%;
  color: var(--am-dark-blue);
  white-space: nowrap;
  width: fit-content;
}

/* --------------------------------------------------------------------------
   BUTTON VARIANTS (dark + light)
   -------------------------------------------------------------------------- */

/* Dark — botão escuro com círculo branco */
.am-btn--dark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 4px 4px 4px 18px;
  background: var(--am-dark-blue);
  border-radius: 9999px;
  text-decoration: none;
  height: 32px;
  width: fit-content;
}
.am-btn--dark span:first-child {
  font-family: Manrope-Light, sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--am-white);
}
.am-btn--dark .am-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--am-white);
  border-radius: 999px;
  color: var(--am-orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.am-btn--dark:hover {
  box-shadow:
    0px 4px 4px -1px rgba(12, 12, 13, 0.05),
    0px 4px 4px -1px rgba(12, 12, 13, 0.1);
}
.am-btn--dark:hover .am-btn__arrow {
  transform: rotate(45deg);
}

/* Light — botão claro com círculo laranja (nos cards featured) */
.am-btn--light {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 4px 4px 4px 18px;
  background: var(--am-bg-light);
  border-radius: 9999px;
  text-decoration: none;
  height: 32px;
  width: fit-content;
}
.am-btn--light span:first-child {
  font-family: Manrope-Light, sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--am-dark-blue);
}
.am-btn--light .am-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--am-orange);
  border-radius: 999px;
  color: var(--am-white);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.am-btn--light:hover {
  box-shadow:
    0px 4px 4px -1px rgba(12, 12, 13, 0.05),
    0px 4px 4px -1px rgba(12, 12, 13, 0.1);
}
.am-btn--light:hover .am-btn__arrow {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   ABOUT / CONTENT BLOCK — base
   -------------------------------------------------------------------------- */
.am-content-block {
  padding: var(--am-section-pad);
  box-sizing: border-box;
  padding-top: 90px;
  padding-bottom: 90px;
}

.am-content-block__inner {
  display: flex;
  gap: 136px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

/* ── Orientação: Horizontal (default) ── */
.am-content-block--horizontal .am-content-block__inner {
  flex-direction: row;
}

/* Imagem à esquerda */
.am-content-block--horizontal.am-content-block--img-left
  .am-content-block__inner {
  flex-direction: row;
}
/* Imagem à direita */
.am-content-block--horizontal.am-content-block--img-right
  .am-content-block__inner {
  flex-direction: row-reverse;
}

/* ── Orientação: Vertical ── */
.am-content-block--vertical .am-content-block__inner {
  flex-direction: column;
  gap: 40px;
}

/* ── Align items ── */
.am-content-block--align-top .am-content-block__inner {
  align-items: flex-start;
}
.am-content-block--align-center .am-content-block__inner {
  align-items: center;
}
.am-content-block--align-bottom .am-content-block__inner {
  align-items: flex-end;
}

/* --------------------------------------------------------------------------
   Imagens
   -------------------------------------------------------------------------- */
.am-content-block__images {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-shrink: 0;
}

/* Uma imagem — horizontal */
.am-content-block--horizontal:not(.am-content-block--two-images)
  .am-content-block__images {
  width: 536px;
}

/* Duas imagens — horizontal */
.am-content-block--horizontal.am-content-block--two-images
  .am-content-block__images {
  width: 578px;
  align-items: flex-end;
}
.am-content-block--horizontal.am-content-block--two-images
  .am-content-block__img-wrap {
  width: 277px;
}

/* Vertical — imagem(ns) a 100% */
.am-content-block--vertical .am-content-block__images {
  width: 100%;
}
.am-content-block--vertical .am-content-block__img-wrap {
  flex: 1;
}

.am-content-block__img-wrap {
  flex: 1;
  border-radius: var(--am-radius-img);
  overflow: hidden;
}
.am-content-block__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--am-radius-img);
}

/* Altura fixa das imagens no horizontal */
.am-content-block--horizontal:not(.am-content-block--two-images)
  .am-content-block__img-wrap {
  height: 476px;
}
.am-content-block--horizontal.am-content-block--two-images
  .am-content-block__img-wrap {
  height: 392px;
}

/* --------------------------------------------------------------------------
   Texto
   -------------------------------------------------------------------------- */
.am-content-block__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* Vertical full width */
.am-content-block--vertical.am-content-block--text-full
  .am-content-block__text {
  max-width: 100%;
}
.am-content-block--vertical.am-content-block--text-half
  .am-content-block__text {
  max-width: 648px;
}

.am-content-block__title {
  font-family: Manrope-Regular, sans-serif;
  font-size: 48px;
  line-height: 120%;
  color: var(--am-blue);
  margin: 0;
}

/* Título menor para o segundo bloco */
.am-content-block--secondary .am-content-block__title {
  font-size: 48px;
}

/* Cor laranja dentro do título via <span class="highlight"> */
.am-content-block__title .highlight {
  color: var(--am-orange);
}
.am-content-block__title h2,
.am-content-block__title h3 {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Rich text — conteúdo WYSIWYG (inclui listas)
   -------------------------------------------------------------------------- */
.am-richtext {
  font-family: Manrope-Light, sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--am-blue);
font-weight: 400;
}
.am-richtext p {
  margin: 0 0 16px;
}
.am-richtext p:last-child {
  margin-bottom: 0;
}

/* Listas com bullet laranja */
.am-richtext ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.am-richtext ul li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: Manrope-Light, sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: var(--am-dark-grey);
}
.am-richtext ul li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background-image: url("assets/img/icon_container.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 50%;
}
.am-richtext ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.am-richtext ol li {
  font-family: Manrope-Light, sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--am-dark-grey);
}
.am-richtext a {
  color: var(--am-blue);
  text-decoration: underline;
}
.am-richtext strong {
  font-family: Manrope-Light, sans-serif;
}

/* --------------------------------------------------------------------------
   SERVICES GRID
   -------------------------------------------------------------------------- */
.am-services {
  padding: 80px;
  box-sizing: border-box;
}

.am-services__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.am-services__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.am-services__title {
  margin: 0;
  font-family: Manrope-Regular, sans-serif;
  font-size: 48px;
  line-height: 120%;
  color: var(--am-blue);
}
.am-services__desc {
  margin: 0;
  font-family: Manrope-Light, sans-serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--am-blue);
  max-width: 646px;
}

/* Grid */
.am-services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   SERVICE CARD — default
   -------------------------------------------------------------------------- */
.am-service-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: calc((100% - 48px) / 3); /* 3 colunas com 2 gaps de 24px */
  /* min-width: 280px; */
  background: #EDF4FF;
  border-radius: var(--am-radius-card);
  padding: 24px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.am-service-card__image {
  width: 100%;
  height: 224px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.am-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.am-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.am-service-card__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.am-service-card--featured .am-service-card__info {
  gap: 40px;
}

.am-service-card__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-service-card__name {
  margin: 0;
  font-family: Manrope-Light, sans-serif;
  font-size: 32px;
  line-height: 150%;
  color: var(--am-dark-blue);
}

.am-service-card__desc {
  margin: 0;
  font-family: Manrope-Light, sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: var(--am-dark-grey);
}

.am-service-card__secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-service-card__sec-title {
  margin: 0;
  font-family: Manrope-Regular, sans-serif;
  font-size: 18px;
  line-height: 120%;
  color: var(--am-dark-blue);
}

.am-service-card__sec-desc {
  margin: 0;
  font-family: Manrope-Light, sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: var(--am-dark-grey);
}

/* --------------------------------------------------------------------------
   SERVICE CARD — featured (azul)
   -------------------------------------------------------------------------- */
.am-service-card--featured {
  background: var(--am-blue);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  padding: 24px 24px 40px;
  justify-content: space-between;
  gap: 220px;
}

.am-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--am-orange);
  border-radius: 9999px;
  flex-shrink: 0;
}
.am-service-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.am-service-card--featured .am-service-card__name {
  font-size: 32px;
  line-height: 120%;
  color: var(--am-white);
}

.am-service-card--featured .am-service-card__desc {
  font-size: 18px;
  line-height: 150%;
  color: var(--am-white);
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Tablet (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .am-header {
    top: 24px;
  }

  .am-content-block {
    padding: 40px 32px;
  }

  .am-content-block__inner {
    flex-direction: column !important;
    gap: 40px;
  }

  .am-content-block--horizontal .am-content-block__images,
  .am-content-block--horizontal:not(.am-content-block--two-images)
    .am-content-block__images {
    width: 100%;
  }

  .am-content-block--horizontal:not(.am-content-block--two-images)
    .am-content-block__img-wrap {
    height: 320px;
  }

  .am-content-block__title {
    font-size: 40px;
  }

  .am-services {
    padding: 60px 32px;
  }

  .am-services__title {
    font-size: 40px;
  }

  .am-service-card {
    width: calc((100% - 24px) / 2); /* 2 colunas */
  }

  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__images {
    width: 100%;
  }

  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__img-wrap {
    width: 100%;
  }

  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__images
    picture {
    width: 100%;
  }

  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__images
    img {
    width: 100%;
    height: 272px;
    object-fit: cover;
  }

  .am-content-block__images {
    flex-direction: column;
  }

  .am-content-block__images img {
    height: 272px;
  }

  .am-hero {
    border-radius: 0 !important;
  }

  .am-content-block--img-right .am-content-block__inner {
    flex-direction: column-reverse !important;
  }
}

@media (max-width: 1200px) {
  .am-content-block__inner {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__images {
    width: 100% !important;
  }
  .am-content-block--horizontal:not(.am-content-block--two-images)
    .am-content-block__images {
    width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .am-content-block {
    padding: 40px 16px;
  }

  .am-content-block__inner {
    gap: 24px;
  }

  .am-content-block--horizontal:not(.am-content-block--two-images)
    .am-content-block__img-wrap,
  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__img-wrap {
    height: 272px;
  }

  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__images {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }
  .am-content-block--horizontal.am-content-block--two-images
    .am-content-block__img-wrap {
    width: 100%;
  }

  .am-content-block__title {
    font-size: 40px;
  }

  /* .am-richtext ul li {
    font-size: 18px;
  } */

  .am-content-block__inner {
    gap: 24px;
  }

  .am-services {
    padding: 80px 16px;
  }

  .am-services__title {
    font-size: 40px;
  }

  .am-services__grid {
    flex-direction: column;
  }

  .am-service-card {
    width: 100%;
    padding: 16px;
  }

  .am-service-card__name {
    /* font-size: 26px; */
  }

  .am-services__inner {
    gap: 40px;
  }
}

/* ==========================================================================
   Alliance Medical — Secção de Contacto + Formulário CF7
   ========================================================================== */

/* --------------------------------------------------------------------------
   Secção exterior (fundo laranja com padrão geométrico)
   -------------------------------------------------------------------------- */
.am-contact {
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgba(234, 91, 11, 0.6) 0%,
    rgba(206, 71, 22, 0.8) 96.5%
  );
  border-radius: 24px;
  padding: 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 767px;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 40px;
	margin-top: 140px !important;
}

/* Círculos decorativos via pseudo-elementos */
/* .am-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
} */

/* .am-contact__bg::before,
.am-contact__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.76px solid var(--am-orange);
} */

/* Círculo grande exterior */
/* .am-contact__bg::before {
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

/* Círculo médio */
/* .am-contact__bg::after {
  width: 767px;
  height: 767px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  opacity: 0.5;
} */

.am-contact__bg {
  position: absolute;
  top: 0;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image: url("assets/img/group_2.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1475px auto;
}

.am-contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 648px;
  margin: 0 auto;
  /*padding: 0 20px;*/
}

/* --------------------------------------------------------------------------
   Card do formulário (fundo claro com sombra)
   -------------------------------------------------------------------------- */
.am-contact__form-wrap {
  background: var(--am-bg-light);
  box-shadow: 4px 4px 44px 4px rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.am-contact__form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/img/vector.svg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Header do formulário
   -------------------------------------------------------------------------- */
.am-contact__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.am-contact__title {
  margin: 0;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 32px;
  line-height: 160%;
  color: var(--am-blue);
}

.am-contact__subtitle {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 160%;
  color: var(--am-blue);
}

/* --------------------------------------------------------------------------
   Formulário CF7 — reset e estrutura
   -------------------------------------------------------------------------- */
.am-form,
.wpcf7-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.am-form__section,
.am-form__checkboxes,
.am-form__submit {
  margin-top: 16px;
}

.am-form__section.first {
  margin: 0 !important;
}

.am-form__required-note {
  margin: 0;
  font-family: "Manrope-Light", sans-serif;
  font-size: 12px;
  color: var(--am-blue);
}

.am-form__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.am-form__section-title {
  margin: 0;
  font-family: "Manrope-Regular", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--am-blue);
}

/* --------------------------------------------------------------------------
   Linhas e campos
   -------------------------------------------------------------------------- */
.am-form__row {
  display: flex;
  gap: 16px;
}

.am-form__row--2col > .am-form__field {
  flex: 1;
  min-width: 0;
}

.am-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.am-form__label {
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: var(--am-blue);
}

/* --------------------------------------------------------------------------
   Inputs e Textareas
   -------------------------------------------------------------------------- */
.am-form__input,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.am-form__textarea,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  height: 42px;
  padding: 12px 8px;
  background: var(--am-white);
  border: 1px solid var(--am-bg-light);
  border-radius: 8px;
  font-family: "Manrope-Light", sans-serif;
  font-size: 14px;
  line-height: 130%;
  color: var(--am-dark-blue);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.am-form__input::placeholder,
.am-form__textarea::placeholder,
.wpcf7-form-control::placeholder {
  color: var(--am-light-grey);
}

.am-form__input:focus,
.am-form__textarea:focus,
.wpcf7-form-control:focus {
  border-color: var(--am-blue);
}

.am-form__textarea,
.wpcf7-form-control.wpcf7-textarea {
  height: 146px;
  resize: vertical;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   Selects customizados
   -------------------------------------------------------------------------- */
.am-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.am-form__select,
.wpcf7-form-control.wpcf7-select {
  width: 100%;
  height: 42px;
  padding: 12px 36px 12px 8px;
  background: var(--am-white);
  border: 1px solid var(--am-bg-light);
  border-radius: 8px;
  font-family: "Manrope-Light", sans-serif;
  font-size: 14px;
  color: var(--am-dark-blue);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.am-form__select:focus,
.wpcf7-form-control.wpcf7-select:focus {
  border-color: var(--am-blue);
}

.am-form__select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.am-form__select option[value=""] {
  color: var(--am-light-grey);
}

.am-select-arrow {
  position: absolute;
  right: 8px;
  top: 21px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--am-light-grey);
  display: flex;
  align-items: center;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Checkboxes
   -------------------------------------------------------------------------- */
.am-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.am-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "Manrope-Light", sans-serif;
  font-size: 12px;
  line-height: 150%;
  color: var(--am-dark-grey);
  cursor: pointer;
}

.am-form__checkbox-label a {
  color: var(--am-blue);
  text-decoration: underline;
}

.am-form__checkbox,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"],
.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1px solid var(--am-light-grey);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: var(--am-white);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  position: relative;
  margin: 0;
}

.am-form__checkbox:checked,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked,
.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"]:checked {
  background: var(--am-orange);
  border-color: var(--am-orange);
}

.am-form__checkbox:checked::after,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked::after,
.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--am-white);
  border-bottom: 2px solid var(--am-white);
}

/* CF7 checkbox wrapper fix */
.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wpcf7-list-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.wpcf7-list-item-label {
  font-family: "Manrope-Light", sans-serif;
  font-size: 12px;
  line-height: 150%;
  color: var(--am-dark-grey);
}

/* --------------------------------------------------------------------------
   Botão submit
   -------------------------------------------------------------------------- */
.am-form__submit {
  display: flex;
  justify-content: center;
}

.am-btn--submit,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  height: 40px;
  background: var(--am-dark-blue);
  border: none;
  border-radius: 9999px;
  font-family: "Manrope-Light", sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--am-white);
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  min-width: 160px;
}

.am-btn--submit:hover,
.wpcf7-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.am-btn--submit:disabled,
.wpcf7-submit:disabled {
  /*opacity: 0.5;*/
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   CF7 — mensagens de validação e resposta
   -------------------------------------------------------------------------- */
.wpcf7-not-valid-tip {
  font-family: "Manrope-Light", sans-serif;
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
  display: block;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #e53e3e !important;
}

.wpcf7-response-output {
  font-family: "Manrope-Light", sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 !important;
  border: none !important;
}

.wpcf7-mail-sent-ok {
  background: #f0fff4;
  color: #276749;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: #fff5f5;
  color: #c53030;
}

/* Spinner CF7 */
.wpcf7 .ajax-loader {
  display: none;
}

/* --------------------------------------------------------------------------
   Cloudflare Turnstile
   -------------------------------------------------------------------------- */
.cf-turnstile,
.wpcf7-turnstile {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .am-contact {
    border-radius: 0;
    padding: 80px 16px 160px;
    min-height: auto;
    margin-bottom: 0;
	margin-top: 0px !important;
  }

  .am-contact__form-wrap {
    padding: 24px 16px;
  }

  .am-contact__form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/img/vector_1.svg");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
  }

  /* .am-contact__title {
    font-size: 28px;
  } */
  /* .am-contact__subtitle {
    font-size: 14px;
  } */

  .am-form__row--2col {
    flex-direction: column;
    gap: 16px;
  }
  .am-contact__bg {
    position: absolute;
    top: 0;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url("assets/img/group_1.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 360px auto;
  }

  .page.page-id-378 .am-content-block p,
  .page.page-id-381 .am-content-block p,
  .page.page-id-382 .am-content-block p,
  .page.page-id-367 .am-content-block p,
  .page.page-id-370 .am-content-block p,
  .page.page-id-371 .am-content-block p,
  .page.page-id-357 .am-content-block p,
  .page.page-id-360 .am-content-block p,
  .page.page-id-361 .am-content-block p {
    font-size: 16px;
  }

  .page.page-id-378 .am-content-block li,
  .page.page-id-381 .am-content-block li,
  .page.page-id-382 .am-content-block li,
  .page.page-id-367 .am-content-block p,
  .page.page-id-370 .am-content-block p,
  .page.page-id-371 .am-content-block p,
  .page.page-id-357 .am-content-block p,
  .page.page-id-360 .am-content-block p,
  .page.page-id-361 .am-content-block p {
  }
}

/* --------------------------------------------------------------------------
   Mobile Phone Input com Indicativo
-------------------------------------------------------------------------- */

.am-form__field {
  position: relative;
}

.am-form__phone-wrap {
  display: flex;
  align-items: stretch;
  background: var(--am-white);
  border: 1px solid var(--am-bg-light);
  border-radius: 8px;
  overflow: hidden;
  height: 42px;
  transition: border-color 0.2s ease;
  /* position: relative; */
}

.am-form__phone-wrap:focus-within {
  border-color: var(--am-blue);
}

/* 1. O contentor do prefixo ajusta-se ao tamanho do conteúdo */
.am-form__phone-wrap > .wpcf7-form-control-wrap[data-name="prefixo"] {
  flex: 0 0 auto; /* 0 flex-grow, 0 flex-shrink, auto basis -> O mesmo que fit-content no flexbox */
  display: flex;
}

/* Garante que o select em si não está forçado a 100% por outras regras tuas */
.am-form__phone-wrap > .wpcf7-form-control-wrap[data-name="prefixo"] select {
  width: fit-content;
  padding-right: 28px; /* Dá espaço para a setinha do dropdown não colar no texto */
}

/* 2. O contentor do número ocupa o resto de todo o espaço disponível */
.am-form__phone-wrap > .wpcf7-form-control-wrap[data-name="movil"] {
  flex: 1; /* Estica para preencher o resto da caixa */
  display: flex;
  min-width: 0; /* Previne que o input quebre o layout em ecrãs muito pequenos */
}

/* Wrap do PREFIX não cresce */
.am-form__phone-wrap .am-prefix-wrap {
  flex: 0 0 auto;
}

/* Select de prefixo */
.am-form__prefix-select {
  width: auto !important;
  min-width: 76px;
  height: 42px;
  padding: 0 26px 0 10px;
  border: none !important;
  border-right: 1px solid var(--am-bg-light) !important;
  border-radius: 0 !important;
  background-color: var(--am-white);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ABAFB1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  font-family: "Manrope-Light", sans-serif;
  font-size: 13px;
  color: var(--am-dark-blue);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}

/* Input de tel ocupa o espaço restante */
.am-form__phone-wrap input[type="tel"] {
  flex: 1;
  width: 100%;
  border: none !important;
  height: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 12px;
  background: transparent;
  font-family: "Manrope-Light", sans-serif;
  font-size: 14px;
  color: var(--am-dark-blue);
  outline: none;
}

.am-form__phone-wrap .wpcf7-form-control.wpcf7-select {
  padding: 12px 14px 12px 8px;
  border-right: 1px solid var(--am-bg-light) !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-radius: 8px 0 0 8px !important;
}

/* Corrige mensagem de erro do CF7 para não quebrar o layout */
.am-form__phone-wrap .wpcf7-not-valid-tip {
  position: absolute;
  top: 72px;
  left: 0;
  /* margin-top: 4px; */
  /* font-size: 12px;
  color: #dc3232; */
}

/* Margem de baixo de cada campo para a mensagem de erro ter espaço */
/* .am-form__field {
  margin-bottom: 24px;
} */

/* 1. Retira o position: relative interno do CF7 para a mensagem alinhar com o contentor principal */
.am-form__phone-wrap .wpcf7-form-control-wrap {
  position: static !important;
}

/* 2. Aplica a borda vermelha ao contentor TODO se houver um erro lá dentro */
.am-form__phone-wrap:has(.wpcf7-not-valid) {
  border-color: #d93838 !important; /* Ajusta este HEX para o vermelho exato que usas nos outros campos */
}

/* --------------------------------------------------------------------------
   CENTROS — links clicáveis dentro dos service cards
   -------------------------------------------------------------------------- */
.am-service-card__centros-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.am-service-card__centros-list li {
  font-family: Manrope-Light, sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: var(--am-dark-grey);
}

.am-service-card__centros-list a {
  color: var(--am-dark-grey);
  text-decoration: none;
  transition:
    text-decoration 0.15s ease,
    color 0.15s ease;
}

.am-service-card__centros-list a:hover,
.am-service-card__centros-list a:focus-visible {
  text-decoration: underline;
  color: var(--am-dark-blue);
}

.am-footer__social-btn {
  color: var(--am-white);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  display: inline-flex;
}

.am-footer__social-btn:hover {
  transform: translateY(-2px);
}

.custom-tooltip {
  position: relative;
  display: inline-flex;    /* Changed from inline-block for better centering */
  align-items: center;     /* Centers the "?" vertically */
  justify-content: center; /* Centers the "?" horizontally */
  cursor: pointer;
  
  /* The Button Look */
  background-color: #e0e0e0;
  color: #525252;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  
  /* --- The "Anti-Stretch" Fixes --- */
  flex-shrink: 0;          /* Prevents the button from being squashed or stretched */
  aspect-ratio: 1 / 1;     /* Forces it to stay a perfect square/circle */
  box-sizing: border-box;  /* Ensures padding doesn't affect size */
  vertical-align: middle;  /* Keeps it aligned with your label text */
  margin-left: 5px;        /* Adds a little breathing room from the label */
}

.custom-tooltip .tooltip-text {
  visibility: hidden;
  width: 400px; /* Your preferred width */
  background-color: #fff; /* Your white background */
  color: #525252; /* Your gray text */
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  position: absolute;
  z-index: 100;
  bottom: 130%; /* Slightly raised to make room for the bridge */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  
  /* IMPORTANT: Allows clicking inside the tooltip */
  pointer-events: auto; 
}

/* THE BRIDGE: This invisible area keeps the tooltip open 
   while you move your mouse from the '?' to the box */
.custom-tooltip .tooltip-text::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* Adjust this to match the gap */
  background: transparent;
}

.custom-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Link Styling inside the tooltip */
.custom-tooltip .tooltip-text a {
  color: #0073aa; /* Standard WordPress Blue */
  text-decoration: underline;
  font-weight: 600;
}

.custom-tooltip .tooltip-text a:hover {
  color: #005177;
}

/* --- Mobile Center Rule --- */
@media only screen and (max-width: 768px) {
  .custom-tooltip .tooltip-text {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    
    /* --- The Fixes --- */
    height: auto;            /* Forces it to shrink-wrap the text */
    display: block;          /* Ensures it doesn't behave like a flex-item */
    box-sizing: border-box;  /* Prevents padding from bloating the height */
    max-height: 80vh;        /* Keeps it from being taller than the screen */
    overflow-y: auto;        /* Allows scrolling if the text is very long */
    /* ----------------- */

    width: 85%; 
    max-width: 320px;
    padding: 20px;
    z-index: 9999;
    
    /* Ensuring colors and shadow remain consistent */
    background-color: #fff;
    color: #525252;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    bottom: auto;            /* Important: overrides desktop positioning */
  }

  /* Hide the bridge and arrow on mobile */
  .custom-tooltip .tooltip-text::before,
  .custom-tooltip .tooltip-text::after {
    display: none;
  }
}

.wpcf7-spinner{
	display: none !important;
}