.elementor-39 .elementor-element.elementor-element-b9c3b5c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-2e8a40c *//* =========================================================
   COSTACIFRA
   HOME MASTER CSS — FINAL REVISED
   Brand Kit + 15px minimum text
========================================================= */

:root {
    --cc-navy: #18394B;
    --cc-navy-dark: #102B39;
    --cc-teal: #16837F;
    --cc-teal-dark: #106D69;
    --cc-slate: #38616C;
    --cc-mist: #B8C6C8;
    --cc-pale: #F5F8F8;
    --cc-aqua: #6ED0C4;
    --cc-white: #FFFFFF;

    --cc-text: #233C47;
    --cc-muted: #657A82;

    --cc-serif: Georgia, "Times New Roman", serif;
    --cc-sans: Arial, Helvetica, sans-serif;

    --cc-container: 1240px;
}


/* =========================================================
   RESET / BASE
========================================================= */

.cc-home,
.cc-home *,
.cc-home *::before,
.cc-home *::after {
    box-sizing: border-box;
}

.cc-home {
    width: 100%;
    margin: 0;
    padding: 0;

    color: var(--cc-text);
    background: var(--cc-white);

    font-family: var(--cc-sans) !important;
    font-size: 17px;
    line-height: 1.65;
}

.cc-home img {
    display: block;
    max-width: 100%;
}

.cc-home svg {
    max-width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cc-home a {
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.cc-container {
    width: min(
        calc(100% - 48px),
        var(--cc-container)
    );

    margin-inline: auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.cc-home h1,
.cc-home h2,
.cc-home h3 {
    margin-top: 0;

    color: var(--cc-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-weight: 400 !important;
}

.cc-home p {
    margin-top: 0;
}

.cc-kicker {
    display: block;

    margin-bottom: 18px;

    color: var(--cc-teal);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.4px;
}

.cc-kicker-light {
    color: var(--cc-aqua);
}


/* =========================================================
   BUTTONS
========================================================= */

.cc-btn {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 14px 23px;

    border: 1px solid transparent;
    border-radius: 3px;

    font-family: var(--cc-sans);

    font-size: 15px;
    line-height: 1.25;

    font-weight: 700;

    text-decoration: none;
}

.cc-btn > span {
    font-size: 20px;

    transition:
        transform .25s ease;
}

.cc-btn:hover > span {
    transform:
        translateX(4px);
}

.cc-btn-primary {
    color: #fff;

    background:
        var(--cc-navy);

    border-color:
        var(--cc-navy);
}

.cc-btn-primary:hover {
    color: #fff;

    background:
        var(--cc-teal);

    border-color:
        var(--cc-teal);
}

.cc-btn-white {
    color:
        var(--cc-navy);

    background: #fff;

    border-color: #fff;
}

.cc-btn-white:hover {
    color: #fff;

    background:
        var(--cc-teal);

    border-color:
        var(--cc-teal);
}

.cc-text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color:
        var(--cc-teal);

    font-size: 15px;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 5px;
}

.cc-text-link:hover {
    color:
        var(--cc-navy);
}


/* =========================================================
   HERO
========================================================= */

.cc-hero {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding:
        105px 0 110px;

    background:
        radial-gradient(
            circle at 14% 18%,
            rgba(22,131,127,.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(110,208,196,.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #102B39 0%,
            #18394B 48%,
            #102B39 100%
        );
}

.cc-hero::before {
    content: "";

    position: absolute;
    z-index: -2;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 15%,
            #000 82%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 15%,
            #000 82%,
            transparent
        );

    pointer-events: none;
}

.cc-hero::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 560px;
    height: 560px;

    right: -170px;
    top: -220px;

    border-radius: 50%;

    background:
        rgba(110,208,196,.11);

    filter:
        blur(110px);

    pointer-events: none;
}

.cc-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(390px,.95fr);

    gap: 80px;

    align-items: center;
}

.cc-hero-content {
    grid-column: 1;
    grid-row: 1;
}

.cc-hero-visual {
    grid-column: 2;
    grid-row: 1;

    position: relative;

    padding:
        0 0 40px 25px;
}

.cc-eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 27px;

    color:
        rgba(255,255,255,.74);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.2px;
}

.cc-eyebrow > span {
    flex: 0 0 38px;

    width: 38px;
    height: 2px;

    background:
        var(--cc-aqua);
}

.cc-home .cc-hero h1 {
    max-width: 750px;

    margin-bottom: 28px;

    color: #fff !important;

    font-size:
        clamp(52px,5vw,74px);

    line-height: 1.02;

    letter-spacing:
        -2.8px;
}

.cc-home .cc-hero h1 em {
    display: block;

    color:
        var(--cc-aqua) !important;

    font-style: normal;
}

.cc-hero-lead {
    max-width: 650px;

    margin-bottom: 34px;

    color:
        rgba(255,255,255,.74);

    font-size: 18px;
    line-height: 1.65;
}

.cc-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 26px;

    margin-bottom: 44px;
}

.cc-btn-hero {
    color:
        var(--cc-navy);

    background: #fff;

    border-color: #fff;
}

.cc-btn-hero:hover {
    color: #fff;

    background:
        var(--cc-teal);

    border-color:
        var(--cc-teal);
}

.cc-hero-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color:
        var(--cc-aqua);

    font-size: 15px;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 5px;
}

.cc-hero-link:hover {
    color: #fff;
}

.cc-hero-location {
    max-width: 660px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(255,255,255,.15);
}

.cc-hero-location svg {
    flex: 0 0 21px;

    width: 21px;
    height: 21px;

    margin-top: 2px;

    color:
        var(--cc-aqua);

    stroke-width: 1.7;
}

.cc-hero-location p {
    margin: 0;

    color:
        rgba(255,255,255,.66);

    font-size: 15px;
    line-height: 1.6;
}

.cc-hero-location strong {
    color: #fff;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.cc-hero-frame {
    position: relative;

    min-height: 565px;

    padding: 11px;

    border:
        1px solid
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.055);

    backdrop-filter:
        blur(8px);
}

.cc-hero-image {
    position: relative;

    min-height: 540px;

    overflow: hidden;

    background:
        var(--cc-navy-dark);
}

.cc-hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(16,43,57,.01) 45%,
            rgba(16,43,57,.24) 100%
        );

    pointer-events: none;
}

.cc-home .cc-hero-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 75% center;

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1);
}

.cc-hero-frame:hover
.cc-hero-image img {
    transform:
        scale(1.025);
}


/* =========================================================
   HERO APPROACH CARD
========================================================= */

.cc-home .cc-hero-card {
    position: absolute;
    z-index: 4;

    width: 300px;

    left: -31px;
    bottom: -33px;

    padding: 28px;

    color: #fff !important;

    background:
        rgba(16,43,57,.96);

    border:
        1px solid
        rgba(110,208,196,.20);

    backdrop-filter:
        blur(12px);
}

.cc-home .cc-hero-card > span {
    display: block;

    margin-bottom: 13px;

    color:
        var(--cc-aqua) !important;

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.2px;
}

.cc-home .cc-hero-card strong {
    display: block;

    margin-bottom: 12px;

    color: #fff !important;

    font-family:
        var(--cc-serif);

    font-size: 24px;
    line-height: 1.22;

    font-weight: 400;
}

.cc-home .cc-hero-card p {
    margin: 0;

    color:
        rgba(255,255,255,.72) !important;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   HERO LEDGER ACCENTS
========================================================= */

.cc-ledger-lines {
    position: absolute;

    right: -25px;
    top: 40px;

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.cc-ledger-lines i {
    display: block;

    height: 2px;

    background:
        var(--cc-aqua);
}

.cc-ledger-lines i:nth-child(1) {
    width: 55px;
}

.cc-ledger-lines i:nth-child(2) {
    width: 37px;
}

.cc-ledger-lines i:nth-child(3) {
    width: 22px;
}


/* =========================================================
   TRUST BAR
========================================================= */

.cc-trust {
    padding: 32px 0;

    color: #fff;

    background:
        var(--cc-navy);
}

.cc-trust-grid {
    display: grid;

    grid-template-columns:
        1.25fr repeat(3,1fr);

    align-items: center;
}

.cc-trust-intro,
.cc-trust-item {
    min-height: 76px;

    padding:
        0 28px;
}

.cc-trust-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: 0;
}

.cc-trust-intro small {
    margin-bottom: 6px;

    color:
        var(--cc-aqua);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.2px;
}

.cc-trust-intro strong {
    color: #fff;

    font-family:
        var(--cc-serif);

    font-size: 20px;
    line-height: 1.4;

    font-weight: 400;
}

.cc-trust-item {
    display: flex;
    align-items: center;

    gap: 14px;

    border-left:
        1px solid
        rgba(255,255,255,.14);
}

.cc-trust-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color:
        var(--cc-aqua);

    border:
        1px solid
        rgba(110,208,196,.35);

    border-radius: 50%;
}

.cc-trust-icon svg {
    width: 21px;
    height: 21px;

    stroke-width: 1.5;
}

.cc-trust-item strong,
.cc-trust-item small {
    display: block;
}

.cc-trust-item strong {
    margin-bottom: 3px;

    color: #fff;

    font-size: 15px;
}

.cc-trust-item small {
    color:
        rgba(255,255,255,.64);

    font-size: 15px;
    line-height: 1.45;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.cc-section {
    padding:
        110px 0;
}

.cc-section-heading {
    margin-bottom: 62px;
}

.cc-heading-split {
    display: grid;

    grid-template-columns:
        1.05fr .75fr;

    gap: 100px;

    align-items: end;
}

.cc-section-heading h2 {
    margin-bottom: 0;

    font-size:
        clamp(39px,4.3vw,59px);

    line-height: 1.08;

    letter-spacing:
        -1.8px;
}

.cc-heading-split > p {
    margin:
        0 0 5px;

    color:
        var(--cc-muted);

    font-size: 17px;
    line-height: 1.7;
}

.cc-heading-centered {
    max-width: 780px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.cc-heading-centered p {
    max-width: 620px;

    margin:
        22px auto 0;

    color:
        var(--cc-muted);

    font-size: 17px;
}


/* =========================================================
   SERVICES
========================================================= */

.cc-services {
    background: #fff;
}

.cc-services-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    border-top:
        1px solid
        var(--cc-mist);

    border-left:
        1px solid
        var(--cc-mist);
}

.cc-service-card {
    min-height: 385px;

    display: flex;
    flex-direction: column;

    padding:
        34px 29px;

    border-right:
        1px solid
        var(--cc-mist);

    border-bottom:
        1px solid
        var(--cc-mist);

    background: #fff;

    transition:
        background .25s ease;
}

.cc-service-card:hover {
    background:
        var(--cc-pale);
}

.cc-service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 43px;

    color:
        var(--cc-teal);

    background:
        var(--cc-pale);

    border:
        1px solid
        var(--cc-mist);

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.cc-service-icon svg {
    width: 28px;
    height: 28px;

    stroke-width: 1.45;
}

.cc-service-card:hover
.cc-service-icon {
    color: #fff;

    background:
        var(--cc-teal);

    transform:
        translateY(-3px);
}

.cc-service-card h3 {
    margin-bottom: 14px;

    font-size: 26px;
    line-height: 1.2;
}

.cc-service-card p {
    margin-bottom: 30px;

    color:
        var(--cc-muted);

    font-size: 16px;
    line-height: 1.7;
}

.cc-service-card > a {
    margin-top: auto;

    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding-top: 17px;

    color:
        var(--cc-teal);

    border-top:
        1px solid
        rgba(24,57,75,.11);

    font-size: 15px;
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   WHO WE HELP
========================================================= */

.cc-audience {
    color: #fff;

    background:
        var(--cc-navy);
}

.cc-audience-grid {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 110px;

    align-items: center;
}

.cc-audience-content h2 {
    margin-bottom: 27px;

    color: #fff !important;

    font-size:
        clamp(40px,4.2vw,58px);

    line-height: 1.08;

    letter-spacing:
        -1.5px;
}

.cc-audience-content h2 em {
    display: block;

    margin-top: 9px;

    color:
        var(--cc-aqua);

    font-style: normal;
}

.cc-audience-content > p {
    max-width: 520px;

    margin-bottom: 32px;

    color:
        rgba(255,255,255,.70);

    font-size: 17px;
}

.cc-audience-list {
    border-top:
        1px solid
        rgba(255,255,255,.16);
}

.cc-audience-item {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 22px;

    padding:
        32px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.16);
}

.cc-audience-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    color:
        var(--cc-aqua);

    border:
        1px solid
        rgba(110,208,196,.35);
}

.cc-audience-icon svg {
    width: 24px;
    height: 24px;

    stroke-width: 1.45;
}

.cc-audience-item h3 {
    margin-bottom: 8px;

    color: #fff !important;

    font-size: 25px;
}

.cc-audience-item p {
    margin: 0;

    color:
        rgba(255,255,255,.64);

    font-size: 16px;
}


/* =========================================================
   WHY COSTACIFRA
========================================================= */

.cc-why {
    background:
        var(--cc-pale);
}

.cc-why-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 22px;
}

.cc-why-card {
    padding:
        42px 36px;

    border:
        1px solid
        var(--cc-mist);

    background: #fff;

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.cc-why-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(22,131,127,.45);
}

.cc-why-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 34px;

    color:
        var(--cc-teal);

    background:
        var(--cc-pale);

    border:
        1px solid
        rgba(22,131,127,.15);
}

.cc-why-icon svg {
    width: 28px;
    height: 28px;

    stroke-width: 1.45;
}

.cc-why-card h3 {
    margin-bottom: 13px;

    font-size: 26px;
}

.cc-why-card p {
    margin: 0;

    color:
        var(--cc-muted);

    font-size: 16px;
}


/* =========================================================
   SHARED PREMIUM DARK LEDGER BACKGROUND
========================================================= */

.cc-ledger-section {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    color: #fff;

    background:
        radial-gradient(
            circle at 14% 18%,
            rgba(22,131,127,.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(110,208,196,.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #102B39 0%,
            #18394B 48%,
            #102B39 100%
        );
}

.cc-ledger-section::before {
    content: "";

    position: absolute;
    z-index: -2;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 10%,
            #000 90%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 10%,
            #000 90%,
            transparent
        );

    pointer-events: none;
}

.cc-ledger-section::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 520px;
    height: 520px;

    right: -180px;
    bottom: -280px;

    border-radius: 50%;

    background:
        rgba(110,208,196,.11);

    filter:
        blur(100px);

    pointer-events: none;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.cc-process .cc-section-heading {
    position: relative;
    z-index: 2;
}

.cc-process .cc-section-heading h2 {
    color: #fff !important;
}

.cc-process
.cc-section-heading h2 em {
    display: block;

    color:
        var(--cc-aqua);

    font-style: normal;
}

.cc-process
.cc-heading-split > p {
    color:
        rgba(255,255,255,.72);

    font-size: 17px;
}

.cc-process-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);
}

.cc-process-step {
    min-height: 310px;

    padding:
        0 55px 10px 0;
}

.cc-process-icon {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin-bottom: 30px;

    color:
        var(--cc-aqua);

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(110,208,196,.30);

    backdrop-filter:
        blur(8px);

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.cc-process-icon svg {
    width: 29px;
    height: 29px;

    stroke-width: 1.45;
}

.cc-process-step:hover
.cc-process-icon {
    color:
        var(--cc-navy);

    background:
        var(--cc-aqua);

    border-color:
        var(--cc-aqua);

    transform:
        translateY(-4px);
}

.cc-step-line {
    position: relative;

    height: 1px;

    margin-bottom: 30px;

    background:
        rgba(255,255,255,.18);
}

.cc-step-line::before {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    left: 0;
    top: 50%;

    background:
        var(--cc-aqua);

    border-radius: 50%;

    transform:
        translateY(-50%);

    box-shadow:
        0 0 0 5px
        rgba(110,208,196,.08);
}

.cc-process-step h3 {
    max-width: 300px;

    margin-bottom: 15px;

    color: #fff !important;

    font-size: 27px;
    line-height: 1.2;
}

.cc-process-step p {
    max-width: 325px;

    margin: 0;

    color:
        rgba(255,255,255,.66);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   LOCATIONS
========================================================= */

.cc-locations {
    background: #fff;
}

.cc-location-grid {
    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 100px;

    align-items: center;
}

.cc-location-copy h2 {
    margin-bottom: 23px;

    font-size:
        clamp(39px,4vw,55px);

    line-height: 1.08;

    letter-spacing:
        -1.5px;
}

.cc-location-copy > p {
    max-width: 490px;

    margin-bottom: 27px;

    color:
        var(--cc-muted);

    font-size: 17px;
}

.cc-location-cards {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);
}

.cc-location-card {
    min-height: 280px;

    padding:
        31px 26px;

    border:
        1px solid
        var(--cc-mist);

    border-right: 0;

    background:
        var(--cc-pale);
}

.cc-location-card:last-child {
    border-right:
        1px solid
        var(--cc-mist);
}

.cc-location-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 43px;

    color:
        var(--cc-teal);

    border:
        1px solid
        rgba(22,131,127,.22);
}

.cc-location-icon svg {
    width: 23px;
    height: 23px;

    stroke-width: 1.5;
}

.cc-location-card small {
    display: block;

    margin-bottom: 9px;

    color:
        var(--cc-teal);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1px;
}

.cc-location-card h3 {
    margin-bottom: 5px;

    font-size: 29px;
}

.cc-location-card p {
    margin: 0;

    color:
        var(--cc-muted);

    font-size: 15px;
}

.cc-location-remote {
    color: #fff;

    background:
        var(--cc-navy);

    border-color:
        var(--cc-navy);
}

.cc-location-remote small {
    color:
        var(--cc-aqua);
}

.cc-location-remote h3 {
    color: #fff !important;
}

.cc-location-remote p {
    color:
        rgba(255,255,255,.65);
}

.cc-location-icon-light {
    color:
        var(--cc-aqua);

    border-color:
        rgba(110,208,196,.30);
}


/* =========================================================
   A CLEARER ACCOUNTING EXPERIENCE
========================================================= */

.cc-professional-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        .92fr 1.08fr;

    gap: 100px;

    align-items: center;
}

.cc-professional-image-wrap {
    position: relative;

    padding:
        12px 12px 45px;

    border:
        1px solid
        rgba(255,255,255,.16);

    background:
        rgba(255,255,255,.04);

    backdrop-filter:
        blur(8px);
}

.cc-professional-image {
    position: relative;

    min-height: 570px;

    overflow: hidden;

    background:
        var(--cc-navy-dark);
}

.cc-professional-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(16,43,57,.02) 45%,
            rgba(16,43,57,.32) 100%
        );

    pointer-events: none;
}

.cc-professional-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 2% center;

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1);
}

.cc-professional-image-wrap:hover
.cc-professional-image img {
    transform:
        scale(1.025);
}


/* =========================================================
   PROFESSIONAL FLOATING CARD
========================================================= */

.cc-professional-card {
    position: absolute;
    z-index: 3;

    width: 310px;

    right: -38px;
    bottom: -10px;

    padding: 27px;

    color: #fff;

    background:
        rgba(16,43,57,.96);

    border:
        1px solid
        rgba(110,208,196,.24);

    backdrop-filter:
        blur(12px);
}

.cc-professional-card > span {
    display: block;

    margin-bottom: 11px;

    color:
        var(--cc-aqua);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.2px;
}

.cc-professional-card strong {
    display: block;

    margin-bottom: 11px;

    color: #fff;

    font-family:
        var(--cc-serif);

    font-size: 23px;
    line-height: 1.25;

    font-weight: 400;
}

.cc-professional-card p {
    margin: 0;

    color:
        rgba(255,255,255,.66);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   PROFESSIONAL CONTENT
========================================================= */

.cc-professional-content h2 {
    margin-bottom: 25px;

    color: #fff !important;

    font-size:
        clamp(40px,4.1vw,57px);

    line-height: 1.08;

    letter-spacing:
        -1.6px;
}

.cc-professional-content h2 em {
    display: block;

    margin-top: 7px;

    color:
        var(--cc-aqua);

    font-style: normal;
}

.cc-professional-lead {
    max-width: 620px;

    margin-bottom: 34px;

    color:
        rgba(255,255,255,.70);

    font-size: 17px;
    line-height: 1.7;
}

.cc-professional-points {
    margin-bottom: 36px;

    border-top:
        1px solid
        rgba(255,255,255,.15);
}

.cc-professional-point {
    display: grid;

    grid-template-columns:
        52px 1fr;

    gap: 17px;

    align-items: center;

    padding:
        20px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.15);
}

.cc-professional-point > span {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    color:
        var(--cc-aqua);

    border:
        1px solid
        rgba(110,208,196,.30);

    background:
        rgba(255,255,255,.035);
}

.cc-professional-point svg {
    width: 22px;
    height: 22px;

    stroke-width: 1.45;
}

.cc-professional-point strong {
    display: block;

    margin-bottom: 2px;

    color: #fff;

    font-size: 16px;
    line-height: 1.4;
}

.cc-professional-point p {
    margin: 0;

    color:
        rgba(255,255,255,.62);

    font-size: 15px;
    line-height: 1.55;
}


/* =========================================================
   FAQ
========================================================= */

.cc-faq {
    background:
        var(--cc-pale);
}

.cc-faq-grid {
    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 100px;
}

.cc-faq-intro h2 {
    margin-bottom: 22px;

    font-size:
        clamp(39px,4vw,55px);

    line-height: 1.08;
}

.cc-faq-intro > p {
    max-width: 430px;

    margin-bottom: 27px;

    color:
        var(--cc-muted);

    font-size: 17px;
}

.cc-faq-list {
    border-top:
        1px solid
        var(--cc-mist);
}

.cc-faq-item {
    border-bottom:
        1px solid
        var(--cc-mist);
}

.cc-faq-item summary {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        21px 0;

    color:
        var(--cc-navy);

    cursor: pointer;

    list-style: none;

    font-family:
        var(--cc-serif);

    font-size: 21px;
    line-height: 1.35;
}

.cc-faq-item summary::-webkit-details-marker {
    display: none;
}

.cc-faq-item summary span {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color:
        var(--cc-teal);

    border:
        1px solid
        rgba(22,131,127,.25);

    font-family:
        var(--cc-sans);

    font-size: 23px;

    transition:
        transform .25s ease;
}

.cc-faq-item[open]
summary span {
    transform:
        rotate(45deg);
}

.cc-faq-answer {
    padding:
        0 55px 25px 0;
}

.cc-faq-answer p {
    max-width: 650px;

    margin: 0;

    color:
        var(--cc-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   HAVE AN ACCOUNTING QUESTION?
   PREMIUM DARK LEDGER CTA
========================================================= */

.cc-final-cta {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding:
        90px 0;

    color: #fff;

    background:
        radial-gradient(
            circle at 14% 18%,
            rgba(22,131,127,.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(110,208,196,.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #102B39 0%,
            #18394B 48%,
            #102B39 100%
        );
}


/* LEDGER GRID */

.cc-final-cta::before {
    content: "";

    position: absolute;
    z-index: -2;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );

    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );

    pointer-events: none;
}


/* AQUA GLOW */

.cc-final-cta::after {
    content: "";

    position: absolute;
    z-index: -1;

    width: 520px;
    height: 520px;

    right: -160px;
    top: -280px;

    border-radius: 50%;

    background:
        rgba(110,208,196,.12);

    filter:
        blur(100px);

    pointer-events: none;
}


.cc-final-inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap: 70px;

    align-items: center;
}


/* CTA KICKER */

.cc-final-cta .cc-kicker {
    margin-bottom: 17px;

    color:
        var(--cc-aqua);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.4px;
}


/* CTA TITLE */

.cc-final-copy h2 {
    margin-bottom: 16px;

    color: #fff !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        clamp(40px,4vw,56px);

    line-height: 1.08;

    font-weight: 400 !important;

    letter-spacing:
        -1.5px;
}


/* CTA DESCRIPTION */

.cc-final-copy p {
    max-width: 650px;

    margin: 0;

    color:
        rgba(255,255,255,.72);

    font-size: 17px;
    line-height: 1.7;
}


/* CTA ACTIONS */

.cc-final-actions {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 17px;
}


/* CTA WHITE BUTTON */

.cc-final-cta .cc-btn-white {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding:
        14px 24px;

    color:
        var(--cc-navy);

    background: #fff;

    border:
        1px solid #fff;

    border-radius: 3px;

    font-size: 15px;
    line-height: 1.3;

    font-weight: 700;

    text-decoration: none;
}

.cc-final-cta
.cc-btn-white:hover {
    color: #fff;

    background:
        var(--cc-teal);

    border-color:
        var(--cc-teal);
}


/* ASK A QUESTION */

.cc-final-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--cc-aqua);

    font-size: 15px;
    line-height: 1.5;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color:
        rgba(110,208,196,.50);

    text-underline-offset: 5px;
}

.cc-final-link:hover {
    color: #fff;
}


/* =========================================================
   CONTACT
========================================================= */

.cc-contact {
    background: #fff;
}

.cc-contact-box {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 90px;

    align-items: center;
}

.cc-contact-copy h2 {
    margin-bottom: 20px;

    font-size:
        clamp(40px,4.2vw,58px);

    line-height: 1.05;
}

.cc-contact-copy > p {
    max-width: 470px;

    color:
        var(--cc-muted);

    font-size: 17px;
}

.cc-contact-location {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: 30px;
}

.cc-contact-location span {
    color:
        var(--cc-teal);

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .7px;
}

.cc-form-placeholder {
    min-height: 330px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 10px;

    padding: 40px;

    text-align: center;

    background:
        var(--cc-pale);

    border:
        1px solid
        var(--cc-mist);
}

.cc-form-placeholder > span {
    color:
        var(--cc-teal);

    font-size: 15px;
    line-height: 1.35;

    font-weight: 700;

    letter-spacing: 1.3px;
}

.cc-form-placeholder strong {
    color:
        var(--cc-navy);

    font-family:
        var(--cc-serif);

    font-size: 26px;

    font-weight: 400;
}

.cc-form-placeholder small {
    color:
        var(--cc-muted);

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE — 1100PX
========================================================= */

@media (max-width: 1100px) {

    .cc-hero-grid {
        gap: 50px;

        grid-template-columns:
            1fr .85fr;
    }

    .cc-services-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .cc-trust-grid {
        grid-template-columns:
            repeat(2,1fr);

        gap:
            20px 0;
    }

    .cc-trust-item:nth-child(3) {
        border-left: 0;
    }

    .cc-audience-grid,
    .cc-location-grid,
    .cc-professional-grid,
    .cc-faq-grid {
        gap: 60px;
    }

}


/* =========================================================
   RESPONSIVE — 900PX
========================================================= */

@media (max-width: 900px) {

    .cc-section {
        padding:
            85px 0;
    }


    /* HERO */

    .cc-hero {
        padding:
            80px 0 95px;
    }

    .cc-hero-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .cc-hero-content,
    .cc-hero-visual {
        grid-column: 1;
    }

    .cc-hero-content {
        grid-row: 1;
    }

    .cc-hero-visual {
        grid-row: 2;

        padding-left: 30px;
    }

    .cc-hero-frame {
        max-width: 650px;

        margin-inline: auto;
    }


    /* GENERAL */

    .cc-heading-split {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .cc-heading-split > p {
        max-width: 650px;
    }


    /* TWO COLUMN SECTIONS */

    .cc-audience-grid,
    .cc-location-grid,
    .cc-professional-grid,
    .cc-faq-grid,
    .cc-contact-box {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    /* WHY */

    .cc-why-grid {
        grid-template-columns: 1fr;
    }


    /* PROCESS */

    .cc-process-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .cc-process-step {
        min-height: auto;

        padding-right: 0;
    }

    .cc-process-step h3,
    .cc-process-step p {
        max-width: 650px;
    }


    /* LOCATIONS */

    .cc-location-cards {
        max-width: 750px;
    }


    /* PROFESSIONAL */

    .cc-professional-image-wrap {
        max-width: 650px;

        margin-inline: auto;
    }


    /* FINAL CTA */

    .cc-final-cta {
        padding:
            75px 0;
    }

    .cc-final-inner {
        grid-template-columns: 1fr;

        gap: 38px;
    }

}


/* =========================================================
   RESPONSIVE — 650PX
========================================================= */

@media (max-width: 650px) {

    .cc-container {
        width:
            min(
                calc(100% - 36px),
                var(--cc-container)
            );
    }

    .cc-home {
        font-size: 16px;
    }

    .cc-section {
        padding:
            70px 0;
    }


    /* HERO */

    .cc-hero {
        padding:
            65px 0 80px;
    }

    .cc-home
    .cc-hero h1 {
        font-size:
            clamp(42px,12vw,56px);

        line-height: 1.04;

        letter-spacing:
            -1.8px;
    }

    .cc-eyebrow {
        font-size: 15px;
    }

    .cc-hero-lead {
        font-size: 17px;
    }

    .cc-hero-actions {
        align-items: stretch;
        flex-direction: column;

        gap: 17px;
    }

    .cc-btn-hero {
        width: 100%;
    }

    .cc-hero-visual {
        padding:
            0 0 60px 0;
    }

    .cc-hero-frame {
        min-height: 500px;
    }

    .cc-hero-image {
        min-height: 475px;
    }

    .cc-home
    .cc-hero-image img {
        object-position:
            68% center;
    }

    .cc-home
    .cc-hero-card {
        width:
            calc(100% - 30px);

        left: 15px;
        bottom: -40px;
    }

    .cc-ledger-lines {
        display: none;
    }


    /* TRUST */

    .cc-trust-grid {
        grid-template-columns: 1fr;
    }

    .cc-trust-intro,
    .cc-trust-item {
        min-height: auto;

        padding:
            20px 0;
    }

    .cc-trust-item {
        border-left: 0;

        border-top:
            1px solid
            rgba(255,255,255,.14);
    }


    /* GENERAL HEADINGS */

    .cc-section-heading {
        margin-bottom: 45px;
    }

    .cc-section-heading h2,
    .cc-audience-content h2,
    .cc-location-copy h2,
    .cc-professional-content h2,
    .cc-faq-intro h2,
    .cc-contact-copy h2 {
        font-size: 39px;

        line-height: 1.08;

        letter-spacing:
            -1px;
    }


    /* SERVICES */

    .cc-services-grid {
        grid-template-columns: 1fr;
    }

    .cc-service-card {
        min-height: auto;

        padding:
            30px 25px;
    }


    /* AUDIENCE */

    .cc-audience-item {
        grid-template-columns:
            52px 1fr;

        gap: 16px;
    }


    /* PROCESS */

    .cc-process-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 25px;
    }

    .cc-process-icon svg {
        width: 26px;
        height: 26px;
    }

    .cc-process-step h3 {
        font-size: 25px;
    }

    .cc-process-step p {
        font-size: 16px;
    }


    /* LOCATIONS */

    .cc-location-cards {
        grid-template-columns: 1fr;
    }

    .cc-location-card {
        min-height: auto;

        border-right:
            1px solid
            var(--cc-mist);

        border-bottom: 0;
    }

    .cc-location-card:last-child {
        border-bottom:
            1px solid
            var(--cc-mist);
    }

    .cc-location-icon {
        margin-bottom: 25px;
    }


    /* PROFESSIONAL */

    .cc-professional-image-wrap {
        padding:
            9px 9px 75px;
    }

    .cc-professional-image {
        min-height: 480px;
    }

    .cc-professional-image img {
        object-position:
            68% center;
    }

    .cc-professional-card {
        width:
            calc(100% - 28px);

        right: 14px;
        bottom: -5px;
    }

    .cc-professional-lead {
        font-size: 16px;
    }


    /* FAQ */

    .cc-faq-item summary {
        font-size: 19px;
    }

    .cc-faq-answer {
        padding-right: 0;
    }


    /* FINAL CTA */

    .cc-final-cta {
        padding:
            65px 0;
    }

    .cc-final-cta
    .cc-kicker {
        font-size: 15px;

        letter-spacing:
            1.1px;
    }

    .cc-final-copy h2 {
        font-size: 39px;

        line-height: 1.08;

        letter-spacing:
            -1px;
    }

    .cc-final-copy p {
        font-size: 16px;
    }

    .cc-final-actions {
        width: 100%;
    }

    .cc-final-cta
    .cc-btn-white {
        width: 100%;

        min-height: 56px;

        justify-content:
            space-between;

        font-size: 15px;
    }

    .cc-final-link {
        font-size: 15px;
    }


    /* CONTACT */

    .cc-form-placeholder {
        min-height: 280px;

        padding:
            30px 20px;
    }

}


/* =========================================================
   SMALL MOBILE — 390PX
========================================================= */

@media (max-width: 390px) {

    .cc-container {
        width:
            calc(100% - 30px);
    }


    .cc-home
    .cc-hero h1 {
        font-size: 40px;
    }


    .cc-section-heading h2,
    .cc-audience-content h2,
    .cc-location-copy h2,
    .cc-professional-content h2,
    .cc-faq-intro h2,
    .cc-contact-copy h2,
    .cc-final-copy h2 {
        font-size: 36px;
    }


    .cc-btn {
        width: 100%;

        padding:
            14px 17px;

        text-align: center;
    }


    .cc-professional-point {
        grid-template-columns:
            46px 1fr;

        gap: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.cc-home a:focus-visible,
.cc-home summary:focus-visible {
    outline:
        3px solid
        var(--cc-aqua);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cc-home *,
    .cc-home *::before,
    .cc-home *::after {
        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;

        animation-duration:
            .01ms !important;
    }

}

/* =========================================================
   CONTACT — TWO CLEAR CONSULTATION MODES (FINAL)
========================================================= */
.cc-home .cc-contact-box { align-items: start; }
.cc-home .cc-contact-intro { max-width: 490px; margin: 0; color: var(--cc-muted); font-size: 17px; line-height: 1.75; }
.cc-home .cc-contact-methods { display: grid; gap: 26px; margin-top: 40px; }
.cc-home .cc-contact-method { display: flex; align-items: flex-start; gap: 18px; }
.cc-home .cc-contact-method-icon { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; color: var(--cc-teal); background: var(--cc-pale); border: 1px solid var(--cc-mist); border-radius: 6px; }
.cc-home .cc-contact-method-icon svg { width: 25px; height: 25px; stroke-width: 1.6; }
.cc-home .cc-contact-method h3 { margin: 0 0 5px; font-family: var(--cc-sans) !important; font-size: 18px; font-weight: 700 !important; line-height: 1.4; }
.cc-home .cc-contact-method strong { display: block; color: var(--cc-teal); font-size: 16px; line-height: 1.5; }
.cc-home .cc-contact-method p { margin: 3px 0 0; color: var(--cc-muted); font-size: 15px; line-height: 1.6; }
.cc-home .cc-contact-trust { display: flex; align-items: flex-start; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--cc-mist); color: var(--cc-muted); font-size: 15px; line-height: 1.65; }
.cc-home .cc-contact-trust svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--cc-teal); stroke-width: 1.6; }
.cc-home .cc-contact-form-card { min-width: 0; padding: 40px; background: var(--cc-pale); border: 1px solid var(--cc-mist); border-top: 4px solid var(--cc-teal); }
.cc-home .cc-contact-form-card > .cc-kicker { margin-bottom: 12px; }
.cc-home .cc-contact-form-card > h3 { margin: 0 0 12px; font-size: clamp(30px,3vw,40px); line-height: 1.2; }
.cc-home .cc-contact-form-card > p { margin: 0 0 25px; color: var(--cc-muted); font-size: 16px; }
.cc-home .cc-contact-form-card .cc-form-placeholder { min-height: 300px; background: #fff; }
.cc-home .cc-professional-image img { object-position: 0% center; }
@media (max-width: 650px) {
  .cc-home .cc-contact-methods { margin-top: 30px; gap: 24px; }
  .cc-home .cc-contact-form-card { padding: 25px 20px; }
  .cc-home .cc-contact-method-icon { flex-basis: 48px; width: 48px; height: 48px; }
}

/* ================================================
   COSTACIFRA — COMPACT CONTACT FORM FIX
================================================ */

/* Hide duplicated internal heading */
.cc-contact-form .cc-form-heading {
  display: none !important;
}

/* Compact form */
.cc-contact-form {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Two-column layout */
.cc-contact-form .cc-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 14px !important;
  align-items: start;
}

/* Remove extra CF7 paragraph spacing */
.cc-contact-form .cc-form-grid p,
.cc-contact-form .cc-form-field p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Full-width fields */
.cc-contact-form .cc-form-full {
  grid-column: 1 / -1 !important;
}

/* Labels */
.cc-contact-form .cc-form-field > label {
  display: block;
  margin: 0 0 5px !important;
  font-size: 12px !important;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
}

/* Inputs */
.cc-contact-form input[type="text"],
.cc-contact-form input[type="email"],
.cc-contact-form input[type="tel"],
.cc-contact-form select {
  width: 100% !important;
  min-height: 43px !important;
  height: 43px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  border-radius: 3px !important;
}

/* Message box */
.cc-contact-form textarea {
  width: 100% !important;
  min-height: 95px !important;
  height: 95px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  resize: vertical;
}

/* CF7 wrappers */
.cc-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Privacy checkbox */
.cc-contact-form .cc-form-privacy {
  margin-top: 14px !important;
  font-size: 12px !important;
  line-height: 1.5;
  text-align: left;
}

.cc-contact-form .cc-form-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cc-contact-form .cc-form-privacy input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  margin: 2px 0 0 !important;
}

/* Submit */
.cc-contact-form .cc-form-submit {
  margin-top: 17px !important;
  text-align: left;
}

.cc-contact-form input[type="submit"] {
  width: auto !important;
  min-height: 43px !important;
  padding: 11px 21px !important;
  font-size: 13px !important;
  border-radius: 3px !important;
  background: #18394B !important;
  border-color: #18394B !important;
}

.cc-contact-form input[type="submit"]:hover {
  background: #16837F !important;
  border-color: #16837F !important;
}

/* Small note */
.cc-contact-form .cc-form-note {
  margin-top: 10px !important;
  font-size: 11px !important;
  text-align: left;
}

/* Remove unnecessary CF7 spacing */
.cc-contact-form .wpcf7-spinner {
  margin-left: 8px;
}

/* Tablet and mobile */
@media (max-width: 767px) {
  .cc-contact-form .cc-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .cc-contact-form .cc-form-full {
    grid-column: auto !important;
  }

  .cc-contact-form input[type="submit"] {
    width: 100% !important;
  }
}

/* ============================================
   COSTACIFRA — ULTRA COMPACT FORM
   FINAL SPACING FIX
============================================ */

/* Remove internal heading and extra margins */
.cc-contact-form .cc-form-heading {
  display: none !important;
}

.cc-contact-form {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reduce grid spacing */
.cc-contact-form .cc-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 12px !important;
  row-gap: 10px !important;
  align-items: start !important;
}

/* Remove WordPress / CF7 automatic paragraph spacing */
.cc-contact-form p,
.cc-contact-form .cc-form-field p,
.cc-contact-form .wpcf7-form-control-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.cc-contact-form .cc-form-field {
  margin: 0 !important;
  padding: 0 !important;
}

.cc-contact-form .cc-form-full {
  grid-column: 1 / -1 !important;
}

/* Compact labels */
.cc-contact-form .cc-form-field > label {
  display: block !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* Compact inputs */
.cc-contact-form input[type="text"],
.cc-contact-form input[type="email"],
.cc-contact-form input[type="tel"],
.cc-contact-form select {
  height: 36px !important;
  min-height: 36px !important;
  padding: 7px 10px !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

/* Compact textarea */
.cc-contact-form textarea {
  height: 70px !important;
  min-height: 70px !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  font-size: 12px !important;
}

/* CF7 field wrappers */
.cc-contact-form .wpcf7-form-control-wrap {
  display: block !important;
  line-height: 1 !important;
}

/* Privacy */
.cc-contact-form .cc-form-privacy {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.cc-contact-form .cc-form-privacy label {
  gap: 7px !important;
}

.cc-contact-form .cc-form-privacy input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
}

/* Submit */
.cc-contact-form .cc-form-submit {
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

.cc-contact-form input[type="submit"] {
  min-height: 38px !important;
  height: 38px !important;
  padding: 8px 17px !important;
  font-size: 12px !important;
  border-radius: 3px !important;
}

/* Remove optional footnote */
.cc-contact-form .cc-form-note {
  display: none !important;
}

/* Reduce Contact Form 7 wrapper spacing */
.cc-contact-form .wpcf7-list-item {
  margin: 0 !important;
}

.cc-contact-form .wpcf7-form-control {
  margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  .cc-contact-form .cc-form-grid {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }

  .cc-contact-form .cc-form-full {
    grid-column: auto !important;
  }

  .cc-contact-form input[type="submit"] {
    width: 100% !important;
  }
}

/* =====================================================
   COSTACIFRA | PREMIUM CONTACT FORM
   Contact Form 7 + Elementor
===================================================== */

.cc-contact-form {
  --cc-form-navy: #18394B;
  --cc-form-teal: #16837F;
  --cc-form-border: #DCE6E8;

  width: 100%;
  max-width: 100%;
  font-family: inherit;
  color: var(--cc-form-navy);
  box-sizing: border-box;
}

.cc-contact-form *,
.cc-contact-form *::before,
.cc-contact-form *::after {
  box-sizing: border-box;
}

/* HEADING */

.cc-contact-form .cc-form-heading {
  margin: 0 0 26px;
  text-align: left;
}

.cc-contact-form .cc-form-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--cc-form-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.cc-contact-form .cc-form-heading h3 {
  margin: 0 0 12px;
  color: var(--cc-form-navy);
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 700;
}

.cc-contact-form .cc-form-heading p {
  margin: 0;
  color: #5A6D78;
  font-size: 14px;
  line-height: 1.7;
}

/* GRID */

.cc-contact-form .cc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 17px;
  align-items: start;
}

.cc-contact-form .cc-form-field {
  min-width: 0;
  margin: 0;
}

.cc-contact-form .cc-form-full {
  grid-column: 1 / -1;
}

/* LABELS */

.cc-contact-form .cc-form-field > label {
  display: block !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  color: var(--cc-form-navy);
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 700;
  text-align: left !important;
}

.cc-contact-form .cc-form-field > label span {
  color: var(--cc-form-teal);
}

/* CF7 WRAPPERS */

.cc-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* INPUTS */

.cc-contact-form input[type="text"],
.cc-contact-form input[type="email"],
.cc-contact-form input[type="tel"],
.cc-contact-form select,
.cc-contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 12px 15px !important;

  background: #FFFFFF;
  color: var(--cc-form-navy);

  border: 1px solid var(--cc-form-border);
  border-radius: 7px;

  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;

  box-shadow: none;
  outline: none;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.cc-contact-form input[type="text"],
.cc-contact-form input[type="email"],
.cc-contact-form input[type="tel"],
.cc-contact-form select {
  height: 46px !important;
  min-height: 46px !important;
}

.cc-contact-form textarea {
  height: 130px !important;
  min-height: 130px !important;
  max-height: 280px;
  resize: vertical;
}

.cc-contact-form input::placeholder,
.cc-contact-form textarea::placeholder {
  color: #8798A1;
  opacity: 1;
}

.cc-contact-form input:focus,
.cc-contact-form select:focus,
.cc-contact-form textarea:focus {
  border-color: var(--cc-form-teal);
  box-shadow: 0 0 0 3px rgba(22,131,127,.10);
}

/* SELECT */

.cc-contact-form select {
  cursor: pointer;
  padding-right: 32px !important;
}

/* PRIVACY */

.cc-contact-form .cc-form-privacy {
  margin: 18px 0 0;
  padding: 0;
}

.cc-contact-form .wpcf7-acceptance {
  display: block;
}

.cc-contact-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cc-contact-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  font-size: 12px;
  line-height: 1.6;
  color: #526773;
  text-align: left;
  cursor: pointer;
}

.cc-contact-form .wpcf7-acceptance label > input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0 !important;
  accent-color: var(--cc-form-teal);
}

.cc-contact-form .wpcf7-acceptance .wpcf7-list-item-label {
  flex: 1;
  min-width: 0;
}

.cc-contact-form .cc-form-privacy a {
  color: var(--cc-form-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SUBMIT */

.cc-contact-form .cc-form-submit {
  margin: 20px 0 0;
}

.cc-contact-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-height: 48px;

  padding: 14px 25px !important;
  margin: 0 !important;

  border: 0;
  border-radius: 7px;

  background: var(--cc-form-teal);
  color: #FFFFFF;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;
}

.cc-contact-form input[type="submit"]:hover {
  background: var(--cc-form-navy);
  transform: translateY(-2px);
}

.cc-contact-form input[type="submit"]:focus-visible {
  outline: 3px solid rgba(22,131,127,.35);
  outline-offset: 3px;
}

.cc-contact-form input[type="submit"]:disabled {
  opacity: .6;
  cursor: wait;
}

/* FOOTNOTE */

.cc-contact-form .cc-form-note {
  margin: 12px 0 0;
  color: #788B94;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}

/* CF7 VALIDATION */

.cc-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #B42318;
  font-size: 12px;
  line-height: 1.4;
}

.cc-contact-form .wpcf7-not-valid {
  border-color: #D85A5A !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.5;
}

/* REMOVE EXTRA CF7 PARAGRAPH SPACING */

.cc-contact-form p {
  margin-top: 0;
}

.cc-contact-form .cc-form-field p,
.cc-contact-form .cc-form-privacy p,
.cc-contact-form .cc-form-submit p {
  margin: 0 !important;
  padding: 0 !important;
}

/* TABLET */

@media (max-width: 767px) {
  .cc-contact-form .cc-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cc-contact-form .cc-form-full {
    grid-column: auto;
  }

  .cc-contact-form .cc-form-heading {
    margin-bottom: 22px;
  }
}

/* MOBILE */

@media (max-width: 480px) {
  .cc-contact-form .cc-form-heading h3 {
    font-size: 23px;
  }

  .cc-contact-form input[type="text"],
  .cc-contact-form input[type="email"],
  .cc-contact-form input[type="tel"],
  .cc-contact-form select {
    height: 45px !important;
    min-height: 45px !important;
  }

  .cc-contact-form textarea {
    height: 120px !important;
    min-height: 120px !important;
  }

  .cc-contact-form input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================
   COSTACIFRA HOME - MOBILE OVERFLOW FIX
========================================== */

@media (max-width: 767px) {

  /* Evitar columnas demasiado estrechas */
  .elementor-section,
  .elementor-container,
  .elementor-column,
  .elementor-widget-wrap,
  .e-con,
  .e-con-inner {
    min-width: 0;
  }

  /* Evitar que el texto se divida letra por letra */
  .elementor-widget-heading,
  .elementor-widget-text-editor {
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Permitir que el texto use el ancho disponible */
  .elementor-heading-title,
  .elementor-widget-text-editor p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

}

/* COSTACIFRA — TARJETA FLOTANTE EN MÓVIL */
@media (max-width: 767px) {

  .cc-home .cc-professional-image-wrap {
    min-width: 0;
    width: 100%;
    padding: 10px;
  }

  .cc-home .cc-professional-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-top: 12px;
    padding: 24px 20px;
  }

  .cc-home .cc-professional-card strong,
  .cc-home .cc-professional-card p {
    width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

}/* End custom CSS */