/* :root {
  --primary-red: #e53935;
  --dark-bg: #19191b;
  --light-gray: #999;
  --medium-gray: #666;
  --light-bg: #f0f0f0;
  --white: #fff;
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 24px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
} */

.contact-page-header-bg {
    --contact-hero-image: url("../images/contact/hero-1600.webp");
    position: relative;
    min-height: min(860px, 88vh);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.24) 0%, rgba(5, 5, 5, 0.14) 52%, rgba(5, 5, 5, 0.48) 100%),
        var(--contact-hero-image) center / cover no-repeat,
        #050505;
}

@media (max-width: 700px) {
    .contact-page-header-bg {
        --contact-hero-image: url("../images/contact/hero-900.webp");
    }
}

.contact-page-header-bg.is-contact-universe-ready .contact-universe-nebula,
.contact-page-header-bg.is-contact-universe-ready .contact-universe-sphere {
    opacity: 1;
}

.contact-page-header-bg .background-pattern {
    display: none;
}

.contact-universe-bg,
.contact-universe-stars,
.contact-universe-nebula,
.contact-universe-grain,
.contact-universe-cursor-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-universe-bg {
    z-index: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.24) 100%);
    opacity: 1;
}

.contact-universe-stars {
    z-index: 1;
}

.contact-universe-stars canvas,
.contact-universe-sphere canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-page-header-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(34% 40% at 50% 38%, rgba(226, 42, 42, 0.16) 0%, rgba(226, 42, 42, 0) 70%),
        radial-gradient(26% 30% at 38% 55%, rgba(45, 212, 191, 0.10) 0%, rgba(45, 212, 191, 0) 70%),
        radial-gradient(24% 28% at 64% 30%, rgba(61, 139, 255, 0.10) 0%, rgba(61, 139, 255, 0) 70%);
    filter: blur(46px);
    animation: contact-header-nebula-breathe 13s ease-in-out infinite;
}

.contact-universe-nebula {
    z-index: 1;
    background:
        radial-gradient(34% 40% at 50% 38%, rgba(226, 42, 42, 0.16) 0%, rgba(226, 42, 42, 0) 70%),
        radial-gradient(26% 30% at 38% 55%, rgba(45, 212, 191, 0.10) 0%, rgba(45, 212, 191, 0) 70%),
        radial-gradient(24% 28% at 64% 30%, rgba(61, 139, 255, 0.10) 0%, rgba(61, 139, 255, 0) 70%);
    filter: blur(46px);
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    animation: contact-header-nebula-breathe 13s ease-in-out infinite;
}

.contact-universe-grain {
    z-index: 2;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.contact-universe-cursor-glow {
    z-index: 2;
    background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 30%), rgba(226, 42, 42, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-page-header-bg:hover .contact-universe-cursor-glow {
    opacity: 1;
}

.contact-universe-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: min(640px, 92vw);
    height: min(640px, 92vw);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-universe-sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 139, 255, 0.55) 0%, rgba(226, 42, 42, 0.32) 45%, rgba(226, 42, 42, 0) 75%);
    filter: blur(10px);
    transform: translate(-50%, -50%);
    animation: contact-header-core-pulse 5s ease-in-out infinite;
}

.contact-universe-orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
}

.contact-universe-orbit-dot--1 {
    background: #ff6a5a;
    box-shadow: 0 0 10px 2px rgba(255, 106, 90, 0.6);
    animation: contact-header-orbit-1 18s linear infinite;
}

.contact-universe-orbit-dot--2 {
    background: #2dd4bf;
    box-shadow: 0 0 10px 2px rgba(45, 212, 191, 0.55);
    animation: contact-header-orbit-2 24s linear infinite;
}

.contact-universe-orbit-dot--3 {
    width: 4px;
    height: 4px;
    background: #3d8bff;
    box-shadow: 0 0 8px 2px rgba(61, 139, 255, 0.5);
    animation: contact-header-orbit-3 31s linear infinite;
}

.contact-page-header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background:
        linear-gradient(to bottom, transparent 68%, #050505 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    opacity: 0.16;
    mix-blend-mode: overlay;
}

.contact-page-header-bg .topSection.contact {
    position: relative;
    z-index: 6;
    margin-top: 34px;
    padding: clamp(68px, 8vh, 96px) 5% clamp(36px, 5vh, 64px);
    margin-top: 0;
}

@keyframes contact-header-nebula-breathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
}

@keyframes contact-header-core-pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

@keyframes contact-header-orbit-1 {
    from {
        transform: rotate(0deg) translateX(320px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(320px) rotate(-360deg);
    }
}

@keyframes contact-header-orbit-2 {
    from {
        transform: rotate(120deg) translateX(300px) rotate(-120deg);
    }
    to {
        transform: rotate(-240deg) translateX(300px) rotate(240deg);
    }
}

@keyframes contact-header-orbit-3 {
    from {
        transform: rotate(250deg) translateX(280px) rotate(-250deg);
    }
    to {
        transform: rotate(610deg) translateX(280px) rotate(-610deg);
    }
}

@media (max-width: 768px) {
    .contact-page-header-bg {
        min-height: 64vh;
    }

    .contact-page-header-bg .topSection.contact {
        padding: 48px 5% 36px;
    }

    .contact-universe-sphere {
        width: 80vw;
        height: 80vw;
    }

    .contact-universe-orbit-dot,
    .contact-universe-cursor-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-universe-sphere,
    .contact-universe-nebula {
        transition-duration: 0.01s !important;
        opacity: 1 !important;
    }

    .contact-universe-orbit-dot,
    .contact-universe-sphere-core,
    .contact-universe-nebula {
        animation: none !important;
    }

    .contact-universe-cursor-glow {
        display: none;
    }
}

.leaflet-bottom.leaflet-right {
    display: none;
}



.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.background-pattern svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.99; /* ajuster selon le rendu souhaité */
    fill: #ff0000; /* changer la couleur du motif */
}

/* end top section */
/* hero section */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: #2c2c2c;
}
.hero-section {
    width: var(--rn-width1);
    margin: 40px auto;
    /* margin: 0 auto 60px auto; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.background-pattern {
    position: absolute;
    top: 0;
    left: -200px;
    width: 100%;
    height: 100%;
    opacity: 0.14;
    z-index: 1;
}

.background-pattern svg {
    width: 100%;
    height: 100%;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: var(--rn-width1);
    margin: auto;
    margin: 30px auto;
    position: relative;
    z-index: 2;
}

.left-content {
    flex: 1;
    max-width: 600px;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.highlight {
    color: #e53e3e;
    font-weight: 400;
}

.cta-button {
    background: #e53e3e;
    color: white;
    padding: 18px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.cta-button::after {
    content: "→";
    font-size: 1.2rem;
}

.right-content {
    flex: 1;
    /* max-width: 500px; */
    padding-left: 80px;
}

.description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e2e8f0;
    font-weight: 300;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.facebook {
    background: #e53e3e;
    color: white;
}

.linkedin {
    background: #e53e3e;
    color: white;
}

.instagram {
    background: #e53e3e;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .right-content {
        padding-left: 0;
        max-width: 600px;
    }

    .main-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .background-pattern {

    left: 0;

}
    .hero-section {
        padding: 0 30px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .description {
        font-size: 1.1rem;
    }
}
/* end hero sectin */

.main-container {
    display: flex;
    gap: 24px;
    margin: auto;
    align-items: stretch;
    width: var(--rn-width1);
    align-items: center;
}

.sidebar-card_contact {
    background: #e5e7eb;
    border-radius: 12px;
    width: 30%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* padding: 20px; */
    justify-content: center;
    align-items: center;
}

.form-container {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 75%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 12px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.3s ease;
        border:none;

}
.checkbox{
        border:none;

}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
    font-size: 15px;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    padding-right: 40px;
}

select option {
    padding: 8px;
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: "poppinsRegular";
    border:none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;

}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-container a {
    color: #4a90e2;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--red);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    font-size: 18px;
}
@media (max-width: 1300px) {
    .checkbox-container input[type="checkbox"] {
    width: 23px;

}
    .form-container {
        width: 49%;

    }
 .sidebar-card_contact {
        width: 70%;
    }
}
@media (max-width: 1000px) {
    .checkbox-container input[type="checkbox"] {
        width: 18px;
    }
    .form-container {
        width: 90%;
        padding: 15px;
    }
    .sidebar-card_contact {
        width: 90%; 
    }
    .animation-container {
        display: flex;
        align-items: center;
    }
    #animation-container {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .main-container {
        flex-direction: column;
        flex-direction: column-reverse;
    }
}
@media (max-width: 500px) {
    .topSection .underTitle {
        font-size: 14px !important;
    }
    .contact-page-header-bg.containerB.topsection {
        padding: 0 !important;
    }
    .contact-page-header-bg .topSection.contact {
        padding: 40px 5% 32px !important;
        gap: 18px !important;
        height: 516px;
    }
    .topSection .underTitle {
        font-size: 16px;
    }
    .social-icons {
        margin-top: 65px;
    }
    .sidebar-card_contact {
        width: 100%;
    }

    footer .topFooter {
        height: auto !important;
    }
}
/* section card_contact under contact */
.card_container {
    display: flex;
    gap: 20px;

    width: var(--rn-width1);
    margin: auto;
}

.card_contact {
    background-color: #e8e8e8;
    border-radius: 12px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card_contact h2 {
    font-family: "PoppinsSemiBold";

    margin: 0 0 16px 0;
    color: #000000;
}

.card_contact p {
    color: #666;
    margin: 0 0 32px 0;
}

.btn {
    background-color: #2d2d2d;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 250px;
}

.btn:hover {
    background-color: #1a1a1a;
}

.btn::after {
    margin-left: 12px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero_container {
        flex-direction: column;
        width: 90% !important;
    }

    .hero_card {
        padding: 20px 16px;
    }
}
/*  */

/* avant le contact */
.hero_container {
    display: flex;
    gap: 16px;
    width: var(--rn-width1);
    margin: auto;
}

.hero_card {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}


.hero_card:hover {
  .icon-black {
    background-color: var(--red);
  }
}

.content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.icon:hover {
    transform: scale(1.1);
    background-color: var(--primary-red);
}

.icon-red {
    background-color: var(--primary-red);
}

.icon-black {
    background-color: #2d2d2d;
}

.icon::after {
    content: "↗";
    color: white;
    font-size: 18px;
    font-weight: bold;
}
/* end avant le contaact */

/* map card */
.map_card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: white;
    width: var(--rn-width1);
    margin: auto;
}

.card-map {
    height: 400px;
}
/* end card map */

.form-container .thm-btn {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
        background: var(--red);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
        border: none;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100px !important;
}
.form-container .thm-btn.red.bgw{
    width: 100px !important}



.cls-1-li {
    fill: #fff;
}

.cls-2-li {
    fill: var(--red);
}
.cls-1-f {
    fill: #fff;
}

.cls-2-f {
    fill: var(--red);
}
.cls-1-i {
    fill: #fff;
}

.cls-2-i {
    fill: var(--red);
}



.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* permet le passage sur 2 lignes en petit écran */
    margin-top: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
      border: none;
  /* Optionnel pour enlever le style par défaut selon le navigateur */
  appearance: none;
  -webkit-appearance: none; /* pour Safari */
  -moz-appearance: none; /* pour Firefox */
  background-color: white;
  color: black;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none; /* pas de bordure */
  box-shadow: 0 0 0 1px #ccc; /* une légère ombre pour la forme */
  position: relative;
  transition: background-color 0.3s;
}

input[type="checkbox"]:checked {
  background-color: red;
  box-shadow: none;
}

/* La coche blanche */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 800px) {
.form-footer .thm-btn.red.bgw{
    width: 100px;

}
.checkbox-container input[type="checkbox"] {


    width: 25px;}
}
@media (max-width: 700px) {
.form-footer .thm-btn.red.bgw{
    width: 100px;
    /* top:-24px */

}
.checkbox-container input[type="checkbox"] {


    width: 40px;}

.contact .btn-box .thm-btn.red{
        margin-top: 0px;
        width: 150px;
    }
}

@media (max-width: 400px) {
    .footerContent .expertises a, .footerContent .contact p
 {
        font-size: 14px;
        width: 69%;
    }

}


/* -------- Contact Hero – New Centered Design -------- */
.topSection.contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 5% 120px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.contact-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 800px;
    position: relative;
    z-index: 6;
    margin-top: clamp(-24px, -3vh, -12px);
    animation: fadeInUp 0.9s ease-out both;
}

.contact-hero-eyebrow {
    display: inline-block;
    border: 1px solid rgba(105, 193, 189, 0.5);
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 999px;
    font-family: 'PoppinsSemiBold';
}

.contact-hero-title {
    font-family: 'PoppinsBold';
    font-size: clamp(42px, 7vw, 88px);
    color: #ffffff;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 5px 26px rgba(0, 0, 0, 0.62);
}

.contact-hero-accent {
    background: linear-gradient(92deg, #ffffff 0%, var(--blue) 55%, var(--red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-desc {
    font-family: 'PoppinsRegular';
    font-size: clamp(15px, 1.5vw, 19px);
    color: #eef4fb;
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.contact-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.contact-hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 360px;
    margin-top: 8px;
}

.contact-hero-divider::before,
.contact-hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-hero-divider span {
    font-family: 'PoppinsRegular';
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9df1eb;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.contact-hero-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #b0252c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9c3d3;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .topSection.contact {
        padding: 56px 5% 40px;
    }
    .contact-hero-content {
        gap: 18px;
        margin-top: -8px;
    }
    .contact-hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .contact-hero-cta .agency-hero__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-page-header-bg.containerB.topsection {
        padding: 0 !important;
    }
    .contact-page-header-bg .topSection.contact {
        padding-top: 40px;
    }
    .contact-hero-title {
        font-size: 36px;
    }
    .contact-hero-content {
        margin-top: 0;
    }
}
/* -------- End Contact Hero -------- */

/* ============================================================
   Contact Page – UI/UX Improvements
   ============================================================ */

/* --- Info cards --- */
.contact-info-section {
    padding: 40px 0 20px;
}

.hero_container {
    gap: 14px;
}

.hero_card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: auto;
}

.hero_card:hover {
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(229, 55, 64, 0.10);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero_card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
    transition: background 0.25s ease, color 0.25s ease;
}

.hero_card:hover .hero_card-icon {
    background: var(--red);
    color: #ffffff;
}

.hero_card .content {
    flex: 1;
    gap: 2px;
}

.hero_card .label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    font-family: 'PoppinsRegular';
    margin: 0;
}

.hero_card .value {
    font-size: 14px;
    color: #1a1a1a;
    font-family: 'PoppinsSemiBold';
    margin: 0;
}

.hero_card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.hero_card:hover .hero_card-arrow {
    background: var(--red);
    color: #ffffff;
}

/* hide the old ::after icon */
.icon::after { content: none; }
.icon { display: none; }

/* --- Form section header --- */
.contact-form-section {
    padding: 20px 0 80px;
}

.contact-form-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.contact-form-title {
    font-family: 'PoppinsBold';
    font-size: clamp(26px, 3vw, 42px);
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

.contact-form-sub {
    font-family: 'PoppinsRegular';
    font-size: 16px;
    color: #666;
    max-width: 440px;
    margin: 0;
    line-height: 1.6;
}

/* --- Sidebar --- */
.sidebar-card_contact {
    background: linear-gradient(160deg, #0c0f16 0%, #111827 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sidebar-card_contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--blue));
}

.sidebar-card_contact-info {
    padding: 32px 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #ffffff;
}

.sidebar-heading {
    font-family: 'PoppinsBold';
    font-size: clamp(18px, 1.6vw, 24px);
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.sidebar-promises {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-promises li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'PoppinsRegular';
    font-size: 14px;
    color: #b9c3d3;
}

.sidebar-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(105, 193, 189, 0.15);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.sidebar-lottie {
    flex: 1;
    overflow: hidden;
    min-height: 200px;
}

/* --- Form container --- */
.form-container {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* --- Inputs & fields --- */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    border: 1.5px solid #e0e5eb !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    font-family: 'PoppinsRegular';
    color: #1a1a1a;
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(105, 193, 189, 0.14) !important;
    background: #ffffff !important;
    outline: none;
}

label {
    font-family: 'PoppinsSemiBold';
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.form-group {
    margin-bottom: 4px;
}

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

/* --- Form footer --- */
.form-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-container label {
    font-family: 'PoppinsRegular';
    font-size: 12px;
    color: #666;
}

/* --- Map --- */
.contact-location-section {
    padding-bottom: 60px;
    opacity: 1;
    transform: none;
}

.map_card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    margin-bottom: 0;
    border: 1px solid #e9ecef;
    min-height: 400px;
}

.map_card::after {
    content: "";
    display: block;
    min-height: 400px;
    background: url("../images/contact/local.png") center / cover no-repeat;
}

.card-map {
    height: 100%;
    min-height: 400px;
}

/* --- Responsive --- */
@media (max-width: 1000px) {
    .sidebar-card_contact-info {
        padding: 24px 20px 16px;
    }
    .form-container {
        width: 100% !important;
        padding: 28px 20px;
    }
    .sidebar-card_contact {
        width: 100% !important;
    }
    .map_card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero_container {
        flex-direction: column;
    }
    .contact-form-header {
        margin-bottom: 32px;
    }
    .contact-form-title {
        font-size: 26px;
    }
    .sidebar-lottie {
        min-height: 160px;
    }
    .map_card,
    .map_card::after,
    .card-map {
        min-height: 320px;
    }
}
/* ============================================================
   End Contact Page Improvements
   ============================================================ */

/* ---- Globe Video – Full Hero Background ---- */
.contact-globe-fullscreen {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.18) 0%, rgba(5, 5, 5, 0.08) 48%, rgba(5, 5, 5, 0.44) 100%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.36) 0%, rgba(5, 5, 5, 0.04) 50%, rgba(5, 5, 5, 0.30) 100%),
        var(--contact-hero-image) center / cover no-repeat;
}

.contact-page-header-bg.is-contact-video-ready .contact-globe-fullscreen {
    opacity: 1;
}

.contact-globe-video {
    display: none;
}

/* Atirao red radial wash – breathes slowly */
.contact-globe-overlay-red {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 70% 60% at 50% 52%,
        rgba(229, 55, 64, 0.00) 25%,
        rgba(229, 55, 64, 0.12) 60%,
        rgba(229, 55, 64, 0.00) 80%
    );
    mix-blend-mode: overlay;
    opacity: 0.35;
    animation: globe-red-breathe 5s ease-in-out infinite;
}

/* Atirao teal counter-pulsing wash */
.contact-globe-overlay-blue {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 65% 55% at 58% 42%,
        rgba(45, 212, 191, 0.00) 20%,
        rgba(45, 212, 191, 0.10) 55%,
        rgba(45, 212, 191, 0.00) 75%
    );
    mix-blend-mode: overlay;
    opacity: 0.32;
    animation: globe-blue-breathe 7s ease-in-out infinite 1.2s;
}

/* Edge vignette – dark frame with Atirao red tint */
.contact-globe-edge-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 85% 75% at 50% 50%,
        transparent 42%,
        rgba(229, 55, 64, 0.06) 72%,
        rgba(5, 5, 5, 0.36) 100%
    );
    opacity: 0.72;
    animation: globe-edge-pulse 4.5s ease-in-out infinite;
}

@keyframes globe-red-breathe {
    0%, 100% { opacity: 0.55; transform: scale(1);    }
    50%       { opacity: 1;    transform: scale(1.06); }
}

@keyframes globe-blue-breathe {
    0%, 100% { opacity: 0.40; transform: scale(1.05); }
    50%       { opacity: 0.85; transform: scale(0.96); }
}

@keyframes globe-edge-pulse {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 1;  }
}

@media (prefers-reduced-motion: reduce) {
    .contact-globe-fullscreen {
        transition-duration: 0.01s !important;
        opacity: 1 !important;
    }
    .contact-globe-overlay-red,
    .contact-globe-overlay-blue,
    .contact-globe-edge-glow {
        animation: none !important;
    }
}
/* ---- End Globe Video ---- */

/* ============================================================
   Contact Form Section – Redesign  (cfs- prefix = scoped)
   ============================================================ */

.contact-form-section {
    padding: 88px 0 100px;
    /* background: #ffffff; */
}

/* ---- Section header ---- */
.cfs-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 60px;
    margin-top: -77px;
}

.cfs-badge {
    display: inline-block;
    font-family: 'PoppinsSemiBold';
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(229, 55, 64, 0.28);
    border-radius: 999px;
    padding: 6px 18px;
}

.cfs-title {
    font-family: 'PoppinsBold';
    font-size: clamp(28px, 3.5vw, 46px);
    color: #111111;
    line-height: 1.15;
    margin: 0;
}

.cfs-title-accent {
    color: var(--red);
}

.cfs-subtitle {
    font-family: 'PoppinsRegular';
    font-size: 16px;
    color: #888;
    max-width: 460px;
    margin: 0;
    line-height: 1.65;
}

/* ---- Two-column grid ---- */
.cfs-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- Sidebar ---- */
.cfs-sidebar {
    background: #0c0f16;
    border-radius: 20px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.cfs-sidebar--animated {
    gap: 24px;
}

.cfs-sidebar--visual-only {
    padding: 0;
    background: transparent;
}

.cfs-sidebar--visual-only::before {
    content: none;
}

.cfs-sidebar--visual-only .sidebar-card_contact {
    width: 100%;
    min-height: 520px;
    flex: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.cfs-sidebar--visual-only .sidebar-card_contact::before {
    content: none;
}

.sidebar-card_contact-animation {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.sidebar-card_contact-animation lottie-player {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.cfs-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    border-radius: 20px 20px 0 0;
}

.cfs-sidebar-title {
    font-family: 'PoppinsBold';
    font-size: clamp(24px, 2vw, 32px);
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 14px;
}

.cfs-sidebar-desc {
    font-family: 'PoppinsRegular';
    font-size: 14px;
    color: #6e7a8f;
    line-height: 1.7;
    margin: 0 0 36px;
}

.cfs-sidebar--animated .cfs-sidebar-desc {
    margin-bottom: 4px;
}

.contact-help-visual {
    position: relative;
    min-height: 230px;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 24%, rgba(105, 193, 189, 0.22), transparent 34%),
        radial-gradient(circle at 72% 70%, rgba(229, 55, 64, 0.22), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-help-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.7;
}

.contact-help-visual__ring {
    position: absolute;
    width: 148px;
    height: 148px;
    top: 42px;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(105, 193, 189, 0.42);
    transform: translateX(-50%);
    animation: contact-help-ring 9s linear infinite;
}

.contact-help-visual__ring::before,
.contact-help-visual__ring::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.contact-help-visual__ring::before {
    top: 8px;
    left: 26px;
    background: var(--blue);
    box-shadow: 0 0 18px rgba(105, 193, 189, 0.8);
}

.contact-help-visual__ring::after {
    right: 12px;
    bottom: 28px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(229, 55, 64, 0.78);
}

.contact-help-visual__card {
    position: absolute;
    z-index: 1;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-family: 'PoppinsSemiBold';
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.contact-help-visual__card--main {
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 16px 18px;
    background: rgba(12, 15, 22, 0.84);
    font-size: 15px;
    line-height: 1.35;
    animation: contact-help-card-float 5s ease-in-out infinite;
}

.contact-help-visual__card--red,
.contact-help-visual__card--blue {
    top: 28px;
    padding: 9px 13px;
    font-size: 12px;
}

.contact-help-visual__card--red {
    left: 22px;
    background: rgba(229, 55, 64, 0.78);
    animation: contact-help-pill-float 4.6s ease-in-out infinite;
}

.contact-help-visual__card--blue {
    right: 20px;
    background: rgba(105, 193, 189, 0.74);
    animation: contact-help-pill-float 4.8s ease-in-out 800ms infinite;
}

.contact-help-visual__dot {
    position: absolute;
    z-index: 1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.contact-help-visual__dot--one {
    left: 42px;
    top: 96px;
    animation: contact-help-dot 6s ease-in-out infinite;
}

.contact-help-visual__dot--two {
    right: 48px;
    top: 102px;
    animation: contact-help-dot 6.4s ease-in-out 500ms infinite;
}

.cfs-promises--visual {
    margin-top: 0;
}

@keyframes contact-help-ring {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes contact-help-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes contact-help-pill-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@keyframes contact-help-dot {
    0%, 100% { opacity: 0.42; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(1.12); }
}

.cfs-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cfs-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cfs-contact-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(229, 55, 64, 0.10);
    border: 1px solid rgba(229, 55, 64, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.cfs-contact-label {
    font-family: 'PoppinsRegular';
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #45505e;
    margin: 0 0 4px;
    line-height: 1;
}

.cfs-contact-value {
    font-family: 'PoppinsSemiBold';
    font-size: 14px;
    color: #e8eaf0;
    text-decoration: none;
    margin: 0;
    display: block;
    line-height: 1.3;
    transition: color 0.2s ease;
}

a.cfs-contact-value:hover {
    color: var(--blue);
}

.cfs-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0 0 28px;
}

.cfs-promises {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: auto;
}

.cfs-promises li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'PoppinsRegular';
    font-size: 14px;
    color: #6e7a8f;
    line-height: 1.4;
}

.cfs-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(105, 193, 189, 0.10);
    border: 1px solid rgba(105, 193, 189, 0.22);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ---- Form wrap ---- */
.cfs-form-wrap {
    background: #f7f8fa;
    border-radius: 20px;
    padding: 48px 44px;
    border: 1px solid #e8eaee;
}

.cfs-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cfs-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.cfs-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* Labels — override global contact.css label rules */
.cfs-form .cfs-label,
label.cfs-label {
    font-family: 'PoppinsSemiBold' !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1.4;
}

.cfs-req {
    color: var(--red);
    margin-left: 1px;
}

/* Inputs — override global contact.css input rules */
.cfs-form .cfs-input,
.cfs-form input.cfs-input,
.cfs-form select.cfs-input,
.cfs-form textarea.cfs-input {
    width: 100%;
    box-sizing: border-box;
    font-family: 'PoppinsRegular' !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    background: #ffffff !important;
    border: 1.5px solid #dde1e7 !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease !important;
    -webkit-appearance: none;
    appearance: none;
}

.cfs-form .cfs-input:focus {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(229, 55, 64, 0.09) !important;
    background: #ffffff !important;
}

.cfs-form .cfs-input::placeholder {
    color: #aab0bc !important;
    font-size: 14px !important;
}

.cfs-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    padding-right: 42px !important;
}

.cfs-textarea {
    min-height: 136px;
    resize: vertical;
    line-height: 1.65 !important;
}

/* ---- Form footer ---- */
.cfs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid #e8eaee;
}

.cfs-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    line-height: 1;
}

.cfs-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cfs-checkbox-box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 5px;
    border: 1.5px solid #c8cdd6;
    background: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfs-checkbox:checked + .cfs-checkbox-box {
    background: var(--red);
    border-color: var(--red);
}

.cfs-checkbox:checked + .cfs-checkbox-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.cfs-checkbox-text {
    font-family: 'PoppinsRegular';
    font-size: 12px;
    color: #777;
    line-height: 1.55;
}

.cfs-link {
    color: var(--red);
    text-decoration: none;
}

.cfs-link:hover {
    text-decoration: underline;
}

.cfs-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-family: 'PoppinsSemiBold';
    font-size: 14px;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(229, 55, 64, 0.22);
}

.cfs-submit:hover {
    background: #c9202a;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(229, 55, 64, 0.30);
}

.cfs-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cfs-message {
    font-family: 'PoppinsRegular';
    font-size: 13px;
    margin: 0;
    min-height: 1.2em;
    color: #333;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .cfs-grid {
        grid-template-columns: 1fr;
    }
    .cfs-sidebar {
        min-height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 28px;
        padding: 32px 28px;
    }
    .cfs-sidebar--animated {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .cfs-sidebar--visual-only .sidebar-card_contact {
        min-height: 360px;
    }
    .cfs-sidebar--animated .contact-help-visual {
        min-height: 210px;
    }
    .cfs-sidebar-title,
    .cfs-sidebar-desc {
        flex: 1 1 100%;
        margin-bottom: 0;
    }
    .cfs-contact-list {
        flex: 1;
        margin-bottom: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 28px;
    }
    .cfs-divider { display: none; }
    .cfs-promises {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 22px;
        margin-top: 0;
    }
    .cfs-form-wrap {
        padding: 36px 32px;
    }
}

@media (max-width: 640px) {
    .cfs-field-row {
        grid-template-columns: 1fr;
    }
    .cfs-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .cfs-submit {
        width: 100%;
        justify-content: center;
    }
    .cfs-form-wrap {
        padding: 28px 20px;
    }
    .cfs-sidebar {
        padding: 28px 20px;
    }
    .cfs-sidebar--visual-only {
        padding: 0;
    }
    .cfs-sidebar--visual-only .sidebar-card_contact {
        min-height: 300px;
    }
    .cfs-sidebar--animated .contact-help-visual {
        min-height: 190px;
    }
    .contact-help-visual__card--main {
        left: 16px;
        right: 16px;
        bottom: 18px;
        font-size: 14px;
    }
    .contact-form-section {
        padding: 60px 0 72px;
    }
    .cfs-header {
        margin-bottom: 40px;
    }
}

/* ============================================================
   End Contact Form Section Redesign
   ============================================================ */
