/**
 * Theme Name:     ASA
 * Author:         Bytetoit
 * Template:       blocksy
 * Text Domain:	   ASA
 * Description:    ASA is a fast, modern WordPress theme with full compatibility with the block editor.
 */

/* Geral */

.fit-content {
    width: fit-content !important;
}

.align-self-start {
    align-self: flex-start;
}

.align-self-end {
    align-self: flex-end;
}

.overflow-hidden {
    overflow: hidden;
}

/* buttons */

.gspb-buttonbox.icon-btn .gspb-buttonbox-textwrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gspb-buttonbox.icon-btn {
    height: 44px;
    padding: 6px 4px 6px 16px !important;
}

.gspb-buttonbox.icon-btn .gspb-buttonbox-title {
    font-size: 14px !important;
}

.gspb-buttonbox.icon-btn .gspb-buttonbox-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #11131512;
    border-radius: 999px;
    margin: 0 !important;
    overflow: hidden;
}

.gspb-buttonbox.icon-btn .gspb-buttonbox-icon img {
    width: 16px;
    height: 16px;
}

.gspb-buttonbox.icon-btn {
    border: 1px solid #11131512;
    transition: 200ms all ease;
}

.gspb-buttonbox.icon-btn:hover {
    filter: drop-shadow(0px 12px 32px #FF5A0038);
}

.gspb-buttonbox.primary-btn {
    background-color: var(--theme-palette-color-3);
    transition: 200ms all ease;
}

.gspb-buttonbox.primary-btn:hover {
    background-color: var(--theme-palette-color-1);
}

.gspb-buttonbox.secondary-btn {
    background-color: var(--theme-palette-color-7);
    color: var(--theme-palette-color-4);
}

.gspb-buttonbox.secondary-btn:hover {
    background-color: var(--theme-palette-color-1);
}

.gspb-buttonbox.secondary-alt-btn {
    background-color: var(--theme-palette-color-7);
    color: var(--theme-palette-color-4);
}

.gspb-buttonbox.secondary-alt-btn:hover {
    background-color: var(--theme-palette-color-3);
}

.gspb-buttonbox.icon-btn:hover .gspb-buttonbox-icon img {
    animation: slideIcon 0.5s forwards;
}

@keyframes slideIcon {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    49% {
        transform: translateX(150%);
        opacity: 0;
    }

    50% {
        transform: translateX(-150%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* NAV */

#header [data-column-set="2"]>div {
    border-radius: 999px !important;
}

#header-menu-2 ul {
    align-items: center;
}

.link-btn a {
    text-transform: uppercase !important;
}

/* nav-btn: same look, arrow and hovers as .gspb-buttonbox.icon-btn.primary-btn */

#header-menu-2 .nav-btn > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    padding: 6px 4px 6px 16px;
    background-color: var(--asa-nav-btn-bg, var(--theme-palette-color-3));
    border: 1px solid #11131512;
    border-radius: 999px;
    color: var(--asa-nav-btn-color, var(--theme-palette-color-9));
    font-family: MuseoModerno, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    text-transform: none;
    transition: 200ms all ease;
}

#header-menu-2 .nav-btn > a::after {
    content: "";
    position: static;
    inset: auto;
    flex: none;
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    background: #fff url("../../uploads/2026/09/arrow_right_line-1.svg") center / 16px 16px no-repeat;
    border: 1px solid #11131512;
    border-radius: 999px;
}

#header-menu-2 .nav-btn > a:hover {
    background-color: var(--theme-palette-color-1);
    color: var(--theme-palette-color-9);
    filter: drop-shadow(0px 12px 32px #FF5A0038);
}

#header-menu-2 .nav-btn > a:hover::after {
    animation: slideNavIcon 0.5s forwards;
}

@keyframes slideNavIcon {
    0% {
        background-position: center;
    }

    49% {
        background-position: calc(50% + 24px) center;
    }

    50% {
        background-position: calc(50% - 24px) center;
    }

    100% {
        background-position: center;
    }
}

.ct-sticky-container .ct-container {
    padding: 0 12px 0 24px !important;
}

/* Logo: the white version (assets/img/asa-logo-dark.svg) sits on top of the default one and
   is only revealed by the dark header below. */

#header [data-device="desktop"] .site-logo-container svg {
    transition: opacity 200ms ease;
}

#header [data-device="desktop"] .site-logo-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/asa-logo-dark.svg") left center / contain no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

/* Header - dark variant.
   Pages with a dark hero have body.asa-header-dark (checkbox "Cabeçalho escuro" on the page).
   Only on desktop (>= 1000px, the mobile header is always the light one) and only while the
   header is transparent: once it scrolls into the white sticky pill it looks like the light one. */

body.asa-header-dark #header [data-device="desktop"] [data-transparent-row="yes"] {
    --asa-nav-btn-bg: var(--theme-palette-color-7);
    --asa-nav-btn-color: var(--theme-palette-color-4);
}

/* menu links (hover / current page keep the orange) */
body.asa-header-dark #header [data-device="desktop"] [data-transparent-row="yes"] [data-id^="menu"] > ul > li > a {
    --theme-link-initial-color: var(--theme-palette-color-9);
}

body.asa-header-dark #header [data-device="desktop"] [data-transparent-row="yes"] .site-logo-container svg {
    opacity: 0;
}

body.asa-header-dark #header [data-device="desktop"] [data-transparent-row="yes"] .site-logo-container::before {
    opacity: 1;
}

/* Header - tablet / mobile (< 1000px).
   Closed: logo + dark "Menu" pill (the Blocksy trigger, "solid" style).
   Open: the Blocksy offcanvas, shown as a bottom sheet over a blurred backdrop. Everything inside
   is a Blocksy module (Customizer > Header > Offcanvas): heading + close button, an HTML element
   with the group links, the mobile menu (shown as a card), an HTML element with the contact,
   socials and a button. */

@media (max-width: 999.98px) {

    /* logo 24px from the edge while the header is transparent (inside the white pill it keeps its 24px) */
    #header [data-device="mobile"] [data-transparent-row="yes"] .ct-container {
        padding-left: 12px !important;
    }

    /* the white pill of the sticky header is as tall as on desktop, so the "Menu" pill has room around it */
    #header [data-device="mobile"] [data-sticky*="yes"] [data-row*="middle"] > div {
        --shrink-height: 68px;
    }

    /* "Menu" pill */
    #header [data-device="mobile"] .ct-header-trigger {
        height: 44px;
        padding: 0 16px;
        gap: 12px;
    }

    #header [data-device="mobile"] .ct-header-trigger .ct-label {
        font-family: MuseoModerno, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.65;
        letter-spacing: 0;
        text-transform: none;
    }

    /* the icon stays a "hamburger" while the menu is open (Blocksy morphs it into an X) */
    #header [data-device="mobile"] .ct-header-trigger[aria-expanded="true"] .ct-icon[data-type] rect {
        y: 0;
        opacity: 1;
        transform: none;
    }

    #header [data-device="mobile"] .ct-header-trigger[aria-expanded="true"] .ct-icon[data-type] rect:nth-child(2) {
        y: 6.15px;
    }

    #header [data-device="mobile"] .ct-header-trigger[aria-expanded="true"] .ct-icon[data-type] rect:nth-child(3) {
        y: 12.3px;
    }

    /* Bottom sheet */
    #offcanvas {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    #offcanvas[data-behaviour*="side"] .ct-panel-inner {
        --panel-padding: 24px;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 640px;
        height: auto;
        max-height: calc(100% - 24px);
        margin: 0 auto;
        border-radius: 24px 24px 0 0;
        box-shadow: none;
        transform: translate3d(0, 100%, 0);
    }

    body[data-panel*="in"] #offcanvas.active .ct-panel-inner {
        transform: translate3d(0, 0, 0);
    }

    #offcanvas .ct-panel-actions {
        padding: 24px var(--panel-padding) 0;
    }

    #offcanvas .ct-panel-actions .ct-panel-heading {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
    }

    /* Blocksy draws the close button's background, border and radius from these variables (!important) */
    #offcanvas .ct-panel-actions .ct-toggle-close {
        --toggle-button-radius: 999px;
        --toggle-button-border-width: 1px;
        --toggle-button-border-color: var(--theme-palette-color-8);
        width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
        margin-inline-start: auto;
    }

    #offcanvas .ct-panel-content {
        flex: 0 1 auto;
    }

    /* the spacing between modules comes from each module's own margin (Blocksy adds 20px by default) */
    #offcanvas .ct-panel-content .ct-panel-content-inner {
        --margin: 0;
        height: auto;
        padding: 0 var(--panel-padding) 24px;
    }

    /* Websites do grupo */
    #offcanvas .asa-oc-groups {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 13px;
        margin: 25px 0 12px;
        font-size: 10px;
        font-weight: 600;
        line-height: 16px;
        text-transform: uppercase;
    }

    #offcanvas .asa-oc-groups__label {
        font-weight: 500;
        color: var(--theme-palette-color-5);
    }

    #offcanvas .asa-oc-groups__link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--theme-palette-color-1);
        text-decoration: none;
    }

    #offcanvas .asa-oc-groups__link::after {
        content: "";
        flex: none;
        width: 11px;
        height: 11px;
        background: url("../../uploads/2026/09/external_link_line-1-1.svg") center / contain no-repeat;
    }

    /* Menu card */
    #offcanvas .mobile-menu {
        padding: 0 16px;
        background: var(--theme-palette-color-9);
        border: 1px solid var(--theme-palette-color-8);
        border-radius: 16px;
    }

    #offcanvas .mobile-menu > ul {
        border-top: 0;
    }

    #offcanvas .mobile-menu li:last-child {
        border-bottom: 0;
    }

    #offcanvas .mobile-menu .ct-menu-link {
        justify-content: space-between;
    }

    #offcanvas .mobile-menu .ct-menu-link::after {
        content: "";
        flex: none;
        width: 16px;
        height: 16px;
        margin-inline-start: 12px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' stroke='%238A9196' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    }

    /* Contacto geral */
    #offcanvas .asa-oc-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 16px 0 0;
    }

    #offcanvas .asa-oc-contact__title {
        margin: 0 0 6px;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        color: var(--theme-palette-color-3);
    }

    #offcanvas .asa-oc-contact__line {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 4px 0;
        font-size: 14px;
        line-height: 20px;
        color: var(--theme-palette-color-5);
        text-decoration: none;
    }

    #offcanvas .asa-oc-contact__line:hover {
        color: var(--theme-palette-color-1);
    }

    #offcanvas .asa-oc-contact__line::before {
        content: "";
        flex: none;
        width: 14px;
        height: 14px;
        background: center / 14px 14px no-repeat;
    }

    #offcanvas .asa-oc-contact__line--phone::before {
        background-image: url("../../uploads/2026/09/phone-svg.svg");
    }

    #offcanvas .asa-oc-contact__line--mail::before {
        background-image: url("../../uploads/2026/09/email-svg.svg");
    }

    /* Siga-nos */
    #offcanvas .ct-panel-content-inner .ct-header-socials {
        display: flex;
        align-items: center;
        gap: 16px;
        margin: 20px 0 0;
    }

    #offcanvas .ct-header-socials::before {
        content: "Siga-nos";
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-transform: uppercase;
        color: var(--theme-palette-color-5);
    }

    /* Outlined icons for the three networks of the design (any other network keeps Blocksy's own icon) */
    #offcanvas .ct-header-socials a[data-network="facebook"] svg,
    #offcanvas .ct-header-socials a[data-network="linkedin"] svg,
    #offcanvas .ct-header-socials a[data-network="instagram"] svg {
        display: none;
    }

    #offcanvas .ct-header-socials a[data-network="facebook"] .ct-icon-container,
    #offcanvas .ct-header-socials a[data-network="linkedin"] .ct-icon-container,
    #offcanvas .ct-header-socials a[data-network="instagram"] .ct-icon-container {
        display: block;
        width: var(--theme-icon-size, 20px);
        height: var(--theme-icon-size, 20px);
        background-color: var(--theme-icon-color, currentColor);
        -webkit-mask: var(--asa-social-icon) center / contain no-repeat;
        mask: var(--asa-social-icon) center / contain no-repeat;
        transition: background-color 0.12s ease;
    }

    #offcanvas .ct-header-socials a:hover .ct-icon-container {
        background-color: var(--theme-icon-hover-color, var(--theme-palette-color-1));
    }

    #offcanvas .ct-header-socials a[data-network="facebook"] {
        --asa-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M13.2 21.2v-7.9h2.5l.4-2.8h-2.9V8.9c0-.8.3-1.4 1.5-1.4h1.5V5.1c-.3 0-1.2-.1-2.2-.1-2.2 0-3.7 1.3-3.7 3.8v1.7H7.8v2.8h2.5v7.9'/%3E%3C/svg%3E");
    }

    #offcanvas .ct-header-socials a[data-network="linkedin"] {
        --asa-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 10.6v5.9M8 7.7v.1M11.6 16.5v-5.9M11.6 13.2c0-1.6 1-2.7 2.4-2.7s2.3 1 2.3 2.6v3.4'/%3E%3C/svg%3E");
    }

    #offcanvas .ct-header-socials a[data-network="instagram"] {
        --asa-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.1'/%3E%3Cpath d='M17.4 6.7v.1'/%3E%3C/svg%3E");
    }

    /* Contacte-nos */
    #offcanvas .ct-panel-content-inner .ct-header-cta {
        width: 100%;
        margin: 18px 0 0;
    }

    #offcanvas .ct-header-cta .ct-button {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 6px 16px;
        background-color: var(--theme-palette-color-3);
        border: 1px solid #11131512;
        border-radius: 999px;
        color: var(--theme-palette-color-9);
        font-family: MuseoModerno, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.65;
        transition: 200ms all ease;
    }

    #offcanvas .ct-header-cta .ct-button:hover {
        background-color: var(--theme-palette-color-1);
        color: var(--theme-palette-color-9);
        filter: drop-shadow(0px 12px 32px #FF5A0038);
    }
}

@media (max-width: 999.98px) and (prefers-reduced-motion: reduce) {
    #offcanvas .ct-panel-inner {
        transition: none;
    }
}

/* Page layout - tablet / mobile helpers (< 1000px), used through the "Additional CSS class" of a Greenshift block */

@media (max-width: 999.98px) {

    /* A section that overlaps the one above it as a rounded "sheet" (see the Homepage design) */
    body .asa-sheet.gspb_row {
        position: relative;
        margin-top: -24px !important;
        background-color: var(--theme-palette-color-7);
        border-radius: 24px 24px 0 0;
    }

    /* Hero with a background video / photo (Quem somos, Serviços, Formação, Segurança, Contacte-nos):
       on tablet / mobile the text goes on the white area and the media becomes a rounded card below it. */
    body .asa-hero-media {
        --asa-hero-media-h: 420px;
        position: relative;
        min-height: 0 !important;
        padding-bottom: calc(var(--asa-hero-media-h) + 32px + 88px) !important;
        border-radius: 0 !important;
        border-width: 0 !important;
        overflow: visible !important;
        background-color: transparent !important;
    }

    body .asa-hero-media > .gspb_backgroundOverlay {
        display: none;
    }

    body .asa-hero-media > .gspb_container__videoContainer {
        top: auto !important;
        bottom: 88px !important;
        left: 16px !important;
        width: calc(100% - 32px) !important;
        height: var(--asa-hero-media-h) !important;
        border-radius: 24px !important;
        overflow: hidden;
        box-shadow: 0 24px 48px rgba(16, 18, 20, 0.14);
    }

    body .asa-hero-media .gspb_heading,
    body .asa-hero-media .gspb_text {
        color: var(--theme-palette-color-3) !important;
        text-align: left !important;
    }

    /* Hide a block on tablet / mobile */
    body .asa-hide-tablet {
        display: none !important;
    }

    /* A grey "sheet" column that overlaps the white area above it (use together with asa-bleed) */
    body .asa-sheet-col[id^="gspb_col-id"] {
        position: relative;
        margin-top: -24px !important;
        background-color: var(--theme-palette-color-7);
        border-radius: 24px 24px 0 0;
    }

    /* A coloured column that runs edge to edge (the theme container keeps a 5vw margin on each side) */
    body .asa-bleed[id^="gspb_col-id"] {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
}

/* Footer - mobile (< 690px): everything centred and compact, as in the design */

@media (max-width: 689.98px) {

    #footer [data-row="middle"] .ct-container {
        gap: 32px;
    }

    #footer [data-row="bottom"] .ct-container {
        gap: 20px;
    }

    #footer [data-column^="widget-area"],
    #footer [data-column^="widget-area"] .gspb_container,
    #footer [data-column="copyright"] {
        align-items: center;
        text-align: center;
    }

    #footer [data-column^="widget-area"] .gspb_image {
        text-align: center;
    }

    #footer [data-column^="widget-area"] ul {
        padding: 0;
        text-align: center;
        list-style: none;
    }

    #footer .gspb_iconsList__item {
        justify-content: center;
    }

    #footer [data-column^="widget-area"] .gspb_container {
        gap: 12px;
    }

    #footer .ct-footer-copyright {
        text-align: center;
    }

    /* "Siga-nos" + icons on one centred row */
    #footer [data-row="bottom"] .gspb_container {
        justify-content: center;
        align-items: center;
        gap: 16px;
    }
}

/* Form */

/* =========================================================
   Contact Form 7 — "Envie-nos uma mensagem"
   Everything is scoped to .wpcf7 .cf-form so it won't touch
   other forms on the site.
   ========================================================= */

.wpcf7 .cf-form {
  --cf-bg: #121315;      /* card background (also used to mask autofill) */
  --cf-text: #ffffff;
  --cf-muted: #9aa1a7;   /* placeholders, underline, consent text */
  --cf-accent: #ff5a00;

  display: grid;
  gap: 28px;
  font-family: inherit;  /* uses the theme font (Outfit in the mockup) */
  color: var(--cf-text);
}

/* Neutralise the <p>/<br> that CF7's auto-formatting injects */
.wpcf7 .cf-form p { margin: 0; padding: 0; }
.wpcf7 .cf-form br { display: none; }

/* ---------- Layout ---------- */
.wpcf7 .cf-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.wpcf7 .cf-form .cf-field .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* ---------- Labels ---------- */
.wpcf7 .cf-form .cf-field label {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cf-text);
}

/* ---------- Inputs & textarea ---------- */
.wpcf7 .cf-form input[type="text"],
.wpcf7 .cf-form input[type="email"],
.wpcf7 .cf-form textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 11px 0 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cf-muted);
  border-radius: 0;
  box-shadow: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--cf-text);
  transition: border-color 0.2s ease;
}

.wpcf7 .cf-form textarea {
  height: 96px;
  padding-top: 7px;
  resize: none;
  overflow: auto;
}

.wpcf7 .cf-form input::placeholder,
.wpcf7 .cf-form textarea::placeholder {
  color: var(--cf-muted);
  opacity: 1; /* Firefox dims placeholders by default */
}

.wpcf7 .cf-form input[type="text"]:focus,
.wpcf7 .cf-form input[type="email"]:focus,
.wpcf7 .cf-form textarea:focus {
  border-bottom-color: var(--cf-text);
}

/* Stop Chrome/Safari autofill painting the fields white/yellow */
.wpcf7 .cf-form input:-webkit-autofill,
.wpcf7 .cf-form input:-webkit-autofill:hover,
.wpcf7 .cf-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cf-text);
  -webkit-box-shadow: 0 0 0 1000px var(--cf-bg) inset;
  caret-color: var(--cf-text);
  transition: background-color 9999s ease-out 0s;
}

/* ---------- Validation ---------- */
.wpcf7 .cf-form .wpcf7-not-valid {
  border-bottom-color: var(--cf-accent);
}

.wpcf7 .cf-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--cf-accent);
}

/* ---------- Privacy checkbox ---------- */
.wpcf7 .cf-form .cf-consent {
  margin-top: -1px;
}

.wpcf7 .cf-form .cf-consent .wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7 .cf-form .cf-consent label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  text-transform: none;
  color: var(--cf-muted);
  cursor: pointer;
}

.wpcf7 .cf-form .cf-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.wpcf7 .cf-form .cf-consent input[type="checkbox"]::before,
.wpcf7 .cf-form .cf-consent input[type="checkbox"]::after {
  content: none; /* kill custom checkbox styles some themes add */
}

.wpcf7 .cf-form .cf-consent input[type="checkbox"]:checked {
  background: var(--cf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.wpcf7 .cf-form .cf-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
}

.wpcf7 .cf-form .cf-consent a {
  color: var(--cf-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wpcf7 .cf-form .cf-consent a:hover {
  color: var(--cf-accent);
}

/* ---------- Submit button ---------- */
.wpcf7 .cf-form .cf-actions {
  margin-top: 10px;
}

.wpcf7 .cf-form .cf-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.wpcf7 .cf-form .cf-submit input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: auto;
  height: 42px;
  margin: 0;
  padding: 0 48px 0 16px;
  background: var(--cf-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 90, 0, 0.4);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

/* White circle with the arrow */
.wpcf7 .cf-form .cf-submit::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121315' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.wpcf7 .cf-form .cf-submit input[type="submit"]:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(255, 90, 0, 0.55);
}

.wpcf7 .cf-form .cf-submit:hover::after {
  transform: translateX(2px);
}

.wpcf7 .cf-form .cf-submit input[type="submit"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* CF7 disables the button until the privacy box is ticked.
   Kept visually identical to the design; only the cursor changes. */
.wpcf7 .cf-form .cf-submit input[type="submit"]:disabled {
  cursor: not-allowed;
  filter: none;
}

/* CF7's loading spinner: moved beside the button so it doesn't shift the arrow */
.wpcf7 .cf-form .cf-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 100%;
  margin: -12px 0 0 16px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Response message (sent / error) ---------- */
.wpcf7 form:has(.cf-form) .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .wpcf7 .cf-form .cf-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7 .cf-form *,
  .wpcf7 .cf-form .cf-submit::after {
    transition: none;
  }
}

/* Footer */

#footer ul.wp-block-list li {
    padding: 4px 0;
}

#footer ul.wp-block-list li a {
    font-size: 14px !important;
    color: var(--theme-palette-color-6) !important;
    transition: 200ms all ease;
}

#footer ul.wp-block-list li a:hover {
    color: var(--theme-palette-color-1) !important;
}

#footer .footer-contact .gspb_iconsList__item .gspb_iconsList__item__text {
    margin-left: 8px !important;
}