.m-t-10 {
    margin-top: 10px;
}

.m-t-20 {
    margin-top: 20px;
}

.m-t-30 {
    margin-top: 30px;
}

.m-t-40 {
    margin-top: 40px;
}

.m-t-50 {
    margin-top: 50px;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-b-30 {
    margin-bottom: 30px;
}

.m-b-40 {
    margin-bottom: 40px;
}

.m-b-50 {
    margin-bottom: 50px;
}


.p-0 {
    padding: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.p-t-5 {
    padding-top: 5px;
}

.p-t-10 {
    padding-top: 10px;
}

.p-t-20 {
    padding-top: 20px;
}

.p-t-30 {
    padding-top: 30px;
}

.p-t-40 {
    padding-top: 40px;
}

.p-t-50 {
    padding-top: 50px;
}

.p-t-60 {
    padding-top: 60px;
}

.p-t-70 {
    padding-top: 70px;
}

.p-t-80 {
    padding-top: 80px;
}

.p-t-100 {
    padding-top: 100px;
}
.p-t-110 {
    padding-top: 110px;
}
.p-t-120 {
    padding-top: 120px;
}
.p-t-130 {
    padding-top: 130px;
}
.p-t-140 {
    padding-top: 140px;
}

.p-t-148 {
    padding-top: 148px;
}

.p-t-150 {
    padding-top: 150px;
}

.p-t-160 {
    padding-top: 160px;
}

.p-t-170 {
    padding-top: 170px;
}

.p-t-180 {
    padding-top: 180px;
}

.p-t-190 {
    padding-top: 190px;
}


.p-t-200 {
    padding-top: 200px;
}

.p-t-210 {
    padding-top: 210px;
}

.p-t-220 {
    padding-top: 220px;
}

.p-t-230 {
    padding-top: 230px;
}

.p-t-240 {
    padding-top: 240px;
}



.p-t-250 {
    padding-top: 250px;
}

.p-t-260 {
    padding-top: 260px;
}

.p-t-270 {
    padding-top: 270px;
}

.p-t-280 {
    padding-top: 280px;
}

.p-t-290 {
    padding-top: 290px;
}

.p-t-300 {
    padding-top: 300px;
}

.p-t-350 {
    padding-top: 350px;
}


.p-t-400 {
    padding-top: 400px;
}

.p-t-450 {
    padding-top: 450px;
}




.p-t-500 {
    padding-top: 500px;
}


.p-b-10 {
    padding-bottom: 10px;
}

.p-b-20 {
    padding-bottom: 20px;
}

.p-b-30 {
    padding-bottom: 30px;
}

.p-b-40 {
    padding-bottom: 40px;
}

.p-b-50 {
    padding-bottom: 50px;
}

.p-b-60 {
    padding-bottom: 60px;
}

.p-b-70 {
    padding-bottom: 70px;
}

.p-b-80 {
    padding-bottom: 80px;
}

.p-b-90 {
    padding-bottom: 90px;
}


.p-b-100 {
    padding-bottom: 100px;
}

.p-b-120 {
    padding-bottom: 120px;
}


.p-b-130 {
    padding-bottom: 130px;
}


.p-b-135 {
    padding-bottom: 135px;
}


.p-b-140 {
    padding-bottom: 140px;
}


.p-b-150 {
    padding-bottom: 140px;
}

.p-b-190 {
    padding-bottom: 190px;
}

.p-b-200 {
    padding-bottom: 200px;
}

.p-b-230 {
    padding-bottom: 230px;
}

.p-b-300 {
    padding-bottom: 300px;
}

.p-b-310 {
    padding-bottom: 310px;
}

.p-b-410 {
    padding-bottom: 410px;
}

.p-b-450 {
    padding-bottom: 450px;
}

.p-b-500 {
    padding-bottom: 500px;
}

.p-b-550 {
    padding-bottom: 550px;
}

.p-b-600 {
    padding-bottom: 650px;
}

/* Estilos de textos */

body {
    overflow-x: hidden;
    max-width: 100%;
    font-family: "Roboto", sans-serif;
}


h1 {
    font-family: "Roboto", sans-serif;
	font-weight: 700;
    font-size: 2.8em;
}

h2 {
    font-family: "Roboto", sans-serif;
	font-weight: 800;
	font-size: 2em;
}

h3 {
    font-family: "Roboto", sans-serif;
	font-weight: 800;
	font-size: 2em;
}

h4 {
    font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 1em;
}


h5 {
    font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 1.7em;
    
}

h6 {
    font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 1.1em;
    
}



p {
    font-family: "Roboto", sans-serif;
	font-weight: 400;
}



/* Estilos de color */

.c-rojo{ color: rgba(174,38,47,1);}


html {
    scroll-behavior: smooth;
}



/* Estilos de seccion */



.seccion-footer{
    background-color: rgba(22,27,48,1);
	padding: 30px 0 30px;
}

.seccion-footer-movil{
    background-color: rgba(22,27,48,1);
	padding: 50px 0 50px;
}

.seccion-menu-principal {
    padding-bottom: 0 !important;
}

.navbar-custom {
    background-color: #171c34;
}

.taxbox-main-navbar {
    min-height: 62px;
    padding: 0.46rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.taxbox-main-navbar-inner {
    max-width: 1240px;
    align-items: center;
}

.taxbox-main-navbar-brand img {
    width: clamp(146px, 16.5vw, 190px);
    height: auto;
    display: block;
}

.taxbox-main-navbar-collapse {
    justify-content: flex-end;
    align-items: center;
    gap: 1.05rem;
}

.taxbox-main-nav-list {
    align-items: center;
    column-gap: 1.1rem;
}

.taxbox-main-nav-list .nav-link {
    color: #89c15f;
    font-size: 0.71rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.008em;
    padding: 0.12rem 0 !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.taxbox-main-navbar .taxbox-main-nav-list .nav-link:hover,
.taxbox-main-navbar .taxbox-main-nav-list .nav-link:focus,
.taxbox-main-navbar .taxbox-main-nav-list .nav-link:active {
    color: #ffffff !important;
}

.taxbox-main-navbar-actions {
    margin-left: 0.25rem;
    gap: 0.42rem;
}

.taxbox-main-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #ffffff;
    font-size: 0.62rem;
    line-height: 1;
    font-weight: 800;
    padding: 0.5rem 1.1rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.taxbox-main-login-btn:hover,
.taxbox-main-login-btn:focus {
    background: #ecf4e6;
    color: #0f172a;
}

.taxbox-main-social-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #7fb85a;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.taxbox-main-social-btn svg {
    width: 11px;
    height: 11px;
    fill: #152036;
}

.taxbox-main-social-btn:hover,
.taxbox-main-social-btn:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.taxbox-main-navbar-toggler {
    border-color: rgba(255, 255, 255, 0.34);
    padding: 0.26rem 0.5rem;
}

.taxbox-main-navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(137, 193, 95, 0.32);
}

.navbar-scrolled {
    background-color: #171c34 !important;
    box-shadow: 0 8px 22px rgba(6, 11, 24, 0.34);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 1199.98px) {
    .taxbox-main-nav-list {
        column-gap: 0.85rem;
    }

    .taxbox-main-nav-list .nav-link {
        font-size: 0.62rem;
    }

    .taxbox-main-login-btn {
        padding: 0.48rem 0.9rem;
        font-size: 0.6rem;
    }
}

@media (max-width: 991.98px) {
    .taxbox-main-navbar {
        min-height: 60px;
        padding: 0.5rem 0;
    }

    .taxbox-main-navbar-brand img {
        width: clamp(140px, 41vw, 176px);
    }
}

.modal-menu ul {
    list-style: none;
    padding: 0;
}

.close-menu-movil {
	color: rgb(255,255,255,1);
	opacity: 1;
	font-size: 1.8em;
}

.btn-close{
	color: rgb(255,255,255,1);
	opacity: 1;
	font-size: 1.8em;
}



.modal-menu li {
    margin: 20px 0;
}

.modal-menu a {
    color: rgba(13,61,97,1);
    font-size: 1.5rem;
    text-decoration: none;
}


.menu-movil li a {
  font-family: "Montserrat", sans-serif;
  color: rgba(255,255,255,1);
  font-size: 1.5em;
  font-weight: 700;
}


.modal-menu-movil {
  background-color: rgba(22,27,48,1);
}


/* 🔹 Hace que el modal sea pantalla completa, sin márgenes */
.modal-dialog {
  margin: 0;
  max-width: 100%;
  height: 100%;
}

/* 🔹 Elimina el “card” blanco del modal */
.modal-content {
  background: none !important; /* 🔥 quita el fondo blanco */
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 100%;
  padding: 0;
}

/* 🔹 Fondo rojo total */
.menu-movil {
  background-color: rgba(22,27,48,1) !important; /* 🔥 todo rojo */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 🔹 Cuerpo interno sin márgenes */
.menu-movil .modal-body {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-brown {
  background-color: rgba(13,61,97,1);
  color:white;
}


.btn-asesor{
    background-color: rgba(13,61,97,1);
    color: rgba(255,255,255);
    border-radius: 10px !important;
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 50px;
}

.btn-asesor:hover{
    background-color: rgba(13,61,97,1);
    color: rgba(255,255,255);
    border-radius: 10px !important;
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 50px;
}



.btn-ver:hover{
    background: rgba(18,13,64,1);
    color: rgba(255,255,255);
    border-radius: 10px !important;
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    padding: 10px 50px;
}


.whatsapp-float {
	position: fixed;
	z-index: 99;
	bottom: 20px;
	right: 20px;
	transition: all 300ms ease 0ms;
}


.whatsapp-float p {
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 10px;
	margin-top: 10px;
	background: rgba(0, 192, 75, 1);
}

.whatsapp-float:hover {
	box-shadow: 0px 15px 20px rgba(42, 183, 84, 0.3);
	transform: translateY(-7px);
}



  /* Botón tipo pastilla con hover SIN crecer ni moverse */
  .hero-link {
    border-width: 2px;
    background-color: transparent;
    color: #ffffff;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }

  .hero-link:hover {
    background-color: #ffffff;   /* se rellena blanco */
    color: #000000;              /* texto oscuro */
    border-color: #ffffff;
    text-decoration: none;       /* sin subrayado en hover */
  }

  .hero-link:focus,
  .hero-link:active {
    box-shadow: none;            /* sin halo raro */
  }


/* Hero TaxBox home */
.taxbox-hero {
    overflow: hidden;
    background-color: #ffffff;
    background-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent 51%,
            #ffffff 51%,
            #ffffff 100%
        ),
        var(--taxbox-texture);
    background-size: 100% 100%, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

.taxbox-hero-top {
    padding-top: clamp(4.2rem, 6.5vw, 6rem);
    padding-bottom: clamp(10.2rem, 12vw, 11.6rem);
}

.taxbox-hero-title {
    color: #111735;
    margin-top: clamp(2rem, 3.3vw, 3.2rem);
    margin-left: clamp(0.4rem, 1vw, 1rem);
}

.taxbox-hero-copy {
    color: #20243a !important;
    margin-left: clamp(0.4rem, 1vw, 1rem);
}

.taxbox-hero-logo-wrap {
    margin-top: clamp(2.2rem, 4vw, 3.2rem);
}

.taxbox-hero-bottom {
    background: transparent;
    padding-top: clamp(0.2rem, 0.5vw, 0.45rem);
    padding-bottom: clamp(0.45rem, 0.8vw, 0.8rem);
}

.taxbox-platform-row {
    margin-top: clamp(0.8rem, 1.2vw, 1.4rem);
    position: relative;
    z-index: 2;
}

.taxbox-platform-card-wrap {
    position: relative;
    z-index: 3;
}

.taxbox-platform-card {
    max-width: 190px;
    margin-inline: 0;
    margin-left: clamp(0.4rem, 1vw, 1rem);
    min-height: 0;
    position: relative;
    margin-top: clamp(0.1rem, 0.4vw, 0.4rem);
    padding: 1.45rem 1rem 1.2rem;
    border: 1px solid rgba(15, 32, 64, 0.08);
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12) !important;
}

.taxbox-btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    line-height: 1.5;
    color: inherit;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    background: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.taxbox-btn-base:hover,
.taxbox-btn-base:focus {
    text-decoration: none;
}

.taxbox-btn-dark {
    background-color: #111;
    border-color: #111;
    color: #ffffff;
}

.taxbox-btn-dark:hover,
.taxbox-btn-dark:focus {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.taxbox-btn-contrata {
    background-color: #82BD5A;
    border-color: #82BD5A;
    color: #ffffff;
}

.taxbox-btn-contrata:hover,
.taxbox-btn-contrata:focus,
.taxbox-btn-contrata:active {
    background-color: #76ad52 !important;
    border-color: #76ad52 !important;
    color: #ffffff !important;
}

.taxbox-platform-card-title {
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
    color: #111735;
}

.taxbox-platform-card-copy {
    max-width: 185px;
    margin-inline: auto;
    line-height: 1.25;
    font-size: clamp(0.86rem, 0.86vw, 0.95rem);
}

.taxbox-platform-laptop {
    width: min(100%, 700px);
    margin-top: clamp(-0.4rem, -0.5vw, -0.2rem);
}

.taxbox-platform-line {
    position: absolute;
    right: -148px;
    top: 58px;
    width: 168px;
    height: 88px;
    z-index: 1;
    pointer-events: none;
}

.taxbox-platform-line svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .taxbox-platform-row {
        margin-top: clamp(0.6rem, 1.1vw, 1.1rem);
    }

    .taxbox-platform-card {
        max-width: 182px;
        margin-top: 0.2rem;
    }

    .taxbox-platform-line {
        right: -132px;
        top: 56px;
        width: 150px;
        height: 80px;
    }

    .taxbox-platform-laptop {
        margin-top: -0.2rem;
    }
}

@media (max-width: 991.98px) {
    .taxbox-hero-top {
        padding-top: clamp(3.3rem, 7vw, 4.4rem);
        padding-bottom: clamp(8.8rem, 12.8vw, 10.8rem);
    }

    .taxbox-hero-bottom {
        padding-top: 0.8rem;
    }

    .taxbox-platform-row {
        margin-top: 1rem;
    }

    .taxbox-platform-card {
        max-width: 360px;
        min-height: auto;
        padding: 1.9rem 1.6rem 1.7rem;
        margin-inline: auto;
        margin-left: auto;
        margin-top: 0.3rem;
    }

    .taxbox-platform-laptop {
        margin-top: 0;
    }

    .taxbox-hero-title {
        margin-top: 1.25rem;
        margin-left: 0.35rem;
    }

    .taxbox-hero-copy {
        margin-left: 0.35rem;
    }

    .taxbox-hero-logo-wrap {
        margin-top: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .taxbox-hero-top {
        padding-top: 2.8rem;
    }

    .taxbox-platform-row {
        margin-top: 1rem;
    }

    .taxbox-hero-bottom {
        padding-top: 0.5rem;
        padding-bottom: 1.2rem;
    }

    .taxbox-platform-laptop {
        margin-top: 0;
    }

    .taxbox-platform-card {
        margin-top: 0.6rem;
    }

    .taxbox-hero-title,
    .taxbox-hero-copy {
        margin-left: 0;
    }

    .taxbox-hero-logo-wrap {
        margin-top: 0.85rem;
    }
}

/* Services section */
.taxbox-services {
    background: #FCFEF9;
    padding-top: clamp(2.5rem, 4vw, 3.4rem);
    padding-bottom: clamp(2.5rem, 4vw, 3.4rem);
}

.taxbox-services-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(220px, 260px) 1fr;
    width: 100%;
    align-items: center;
    column-gap: clamp(2.2rem, 3.6vw, 3.3rem);
    row-gap: 1.2rem;
    min-height: 620px;
}

.taxbox-services-left {
    display: grid;
    align-content: center;
    justify-items: start;
    justify-self: start;
    gap: 3rem;
}

.taxbox-services-left .taxbox-service-card:first-child {
    margin-top: -2.8rem;
}

.taxbox-services-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    justify-self: end;
    gap: 1.35rem;
    padding-top: 0;
}

.taxbox-service-card {
    width: 220px;
    height: 252px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    padding: 1.25rem 1rem 1.1rem;
    text-align: center;
}

.taxbox-service-card-right {
    transform: none;
}

.taxbox-services-cta {
    width: 166px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.68rem;
    margin-right: 0.45rem;
}

.taxbox-services-btn {
    width: 100%;
    min-height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #82BD5A;
    background: #82BD5A;
    color: #ffffff;
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease;
}

.taxbox-services-btn:hover,
.taxbox-services-btn:focus {
    background: #76ad52;
    border-color: #76ad52;
    color: #ffffff;
    text-decoration: none;
}

.taxbox-services-or {
    margin-top: -0.28rem;
    color: #111735;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.taxbox-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #9FCA80;
    margin-bottom: 0.85rem;
}

.taxbox-service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.taxbox-service-title {
    color: #111735;
    font-size: 1.02rem;
}

.taxbox-service-copy {
    color: #252a41;
    font-size: 0.75rem;
    line-height: 1.35;
    max-width: 182px;
    margin-inline: auto;
}

.taxbox-services-center {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.taxbox-services-phone {
    max-width: 262px;
    transform: rotate(-12deg);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.28)) drop-shadow(-34px 42px 34px rgba(16, 23, 53, 0.30));
}

.taxbox-services-link {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.taxbox-services-link svg {
    display: block;
    width: 100%;
    height: 100%;
}

.taxbox-services-link path {
    fill: none;
    stroke: #82bd5a;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-dasharray: 1.6 7;
}

.taxbox-services-link-left-top {
    left: calc(50% - 294px);
    top: 138px;
    width: 196px;
    height: 106px;
}

.taxbox-services-link-left-bottom {
    left: calc(50% - 328px);
    top: 334px;
    width: 250px;
    height: 150px;
}

.taxbox-services-link-right {
    left: calc(50% + 92px);
    top: 138px;
    width: 260px;
    height: 178px;
}

@media (max-width: 1199.98px) {
    .taxbox-services-layout {
        grid-template-columns: 1fr minmax(220px, 250px) 1fr;
        column-gap: 2rem;
        min-height: 570px;
    }

    .taxbox-service-card,
    .taxbox-service-card-right {
        width: 200px;
        height: 240px;
    }

    .taxbox-services-phone {
        max-width: 242px;
        filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.25)) drop-shadow(-28px 34px 28px rgba(16, 23, 53, 0.27));
    }

    .taxbox-services-link-left-top {
        left: calc(50% - 248px);
        top: 132px;
        width: 170px;
        height: 92px;
    }

    .taxbox-services-link-left-bottom {
        left: calc(50% - 272px);
        top: 310px;
        width: 214px;
        height: 128px;
    }

    .taxbox-services-link-right {
        left: calc(50% + 8px);
        top: 152px;
        width: 216px;
        height: 148px;
    }

    .taxbox-services-cta {
        width: 156px;
        margin-right: 0.2rem;
    }

    .taxbox-services-left .taxbox-service-card:first-child {
        margin-top: -1.9rem;
    }

    .taxbox-services-btn {
        font-size: 0.86rem;
        min-height: 2rem;
    }
}

@media (max-width: 991.98px) {
    .taxbox-services-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        row-gap: 1rem;
    }

    .taxbox-services-left {
        gap: 1rem;
        justify-items: center;
        order: 1;
    }

    .taxbox-services-left .taxbox-service-card:first-child {
        margin-top: 0;
    }

    .taxbox-services-right {
        justify-content: center;
        align-items: center;
        order: 3;
        padding-top: 0;
        gap: 1rem;
    }

    .taxbox-services-center {
        order: 2;
        margin: 0.35rem 0 0.65rem;
    }

    .taxbox-services-link {
        display: none;
    }

    .taxbox-service-card,
    .taxbox-service-card-right {
        max-width: 320px;
        width: 100%;
        height: auto;
        transform: none;
    }

    .taxbox-services-cta {
        width: min(320px, 100%);
        margin-right: 0;
        gap: 0.65rem;
    }

    .taxbox-services-btn {
        max-width: 280px;
    }

    .taxbox-services-phone {
        max-width: 220px;
        transform: rotate(-9deg);
        filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.22)) drop-shadow(-20px 26px 22px rgba(16, 23, 53, 0.24));
    }
}

@media (max-width: 767.98px) {
    .taxbox-services-left,
    .taxbox-services-right {
        justify-self: center;
        width: 100%;
    }

    .taxbox-service-card,
    .taxbox-service-card-right {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .taxbox-services-cta {
        width: min(320px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .taxbox-services-btn {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .taxbox-service-card,
    .taxbox-service-card-right {
        max-width: 320px;
        padding: 0.9rem 0.85rem 0.95rem;
    }

    .taxbox-services-phone {
        max-width: 184px;
        filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.20)) drop-shadow(-14px 18px 16px rgba(16, 23, 53, 0.22));
    }

    .taxbox-service-copy {
        font-size: 0.78rem;
    }

    .taxbox-services-cta {
        width: min(320px, 100%);
    }

    .taxbox-services-btn {
        min-height: 1.9rem;
        font-size: 0.82rem;
    }
}

.taxbox-max-arrow-wrap {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.taxbox-max-arrow {
    width: 24px;
    height: auto;
    transform: none;
    display: block;
}

@media (max-width: 767.98px) {
    .taxbox-max-headline {
        font-size: 1.55rem;
        line-height: 1.18 !important;
    }

    .taxbox-max-intro {
        font-size: 0.84rem;
        line-height: 1.45 !important;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .taxbox-max-headline {
        font-size: 1.35rem;
    }

    .taxbox-max-intro {
        font-size: 0.8rem;
    }
}

.taxbox-why-grid {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.6rem;
}

@media (min-width: 768px) {
    .taxbox-why-grid {
        justify-content: center;
        gap: 0.55rem;
    }

    .taxbox-why-grid > .col-md-6 {
        flex: 0 0 214px;
        width: 214px;
        max-width: 214px;
        padding-left: 0;
        padding-right: 0;
    }
}

.taxbox-why-grid > [class*="col-"] {
    display: flex;
    justify-content: center;
}

.taxbox-why-card {
    width: 100%;
    max-width: 214px;
    padding: 1.1rem 0.9rem !important;
}

.taxbox-why-card p {
    font-size: 0.73rem !important;
    line-height: 1.22 !important;
}

.taxbox-why-card h6 {
    font-size: 0.95rem !important;
    line-height: 1.08;
    margin-bottom: 0.35rem !important;
}

.taxbox-diff-wrap {
    position: relative;
    max-width: 322px;
    margin-top: 0.45rem;
}

.taxbox-diff-tape {
    position: absolute;
    top: -24px;
    left: 50%;
    width: 132px;
    transform: translateX(-50%) rotate(-10deg);
    z-index: 3;
    pointer-events: none;
}

.taxbox-diff-card {
    position: relative;
    background: #f8f8f8;
    border: 1px solid #e5e7eb;
    border-radius: 0.42rem;
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
    min-height: 404px;
    padding: 2.7rem 1.05rem 1.25rem;
    transform: rotate(-0.35deg);
    transform-origin: center top;
}

.taxbox-diff-title {
    color: #73b354;
    font-size: 1.52rem;
    line-height: 1.1;
    letter-spacing: -0.005em;
    margin-bottom: 0.95rem;
}

.taxbox-diff-list li {
    display: flex;
    gap: 0.58rem;
    align-items: flex-start;
    margin-bottom: 0.95rem;
}

.taxbox-diff-list li:last-child {
    margin-bottom: 0;
}

.taxbox-diff-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.24rem;
    background: #ffffff;
    border: 1px solid #d7dbe4;
    color: #1c2438;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px) rotate(-2deg);
}

.taxbox-diff-copy {
    color: #1f2937;
    font-size: 0.79rem;
    line-height: 1.18;
}

@media (max-width: 991.98px) {
    .taxbox-why-grid {
        --bs-gutter-x: 0.45rem;
        --bs-gutter-y: 0.55rem;
    }

    .taxbox-why-card {
        max-width: 214px;
    }

    .taxbox-diff-wrap {
        max-width: 322px;
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .taxbox-why-grid {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.65rem;
    }

    .taxbox-why-card {
        max-width: 280px;
    }

    .taxbox-diff-wrap {
        max-width: 294px;
        margin-inline: auto;
    }

    .taxbox-diff-tape {
        top: -20px;
        width: 118px;
    }

    .taxbox-diff-card {
        min-height: 366px;
        padding: 2.45rem 0.92rem 1rem;
        transform: rotate(-0.25deg);
    }

    .taxbox-diff-title {
        font-size: 1.26rem;
    }

    .taxbox-diff-copy {
        font-size: 0.71rem;
        line-height: 1.15;
    }

    .taxbox-diff-check {
        width: 22px;
        height: 22px;
        font-size: 1.08rem;
    }
}

/* Rendered Taxbox section (second block in index.php) */
@media (min-width: 992px) {
    .taxbox-align-hero > .container {
        padding-left: clamp(2.45rem, 4.1vw, 3.45rem) !important;
        padding-right: clamp(2.45rem, 4.1vw, 3.45rem) !important;
    }
}

.taxbox-main-section {
    padding-top: clamp(6.2rem, 8.5vw, 8rem) !important;
    padding-bottom: clamp(6rem, 8vw, 7.2rem) !important;
}

.taxbox-main-top-row {
    align-items: flex-start !important;
    justify-content: center;
}

.taxbox-main-sat-image {
    margin-top: clamp(2rem, 3.2vw, 3rem);
}

.taxbox-main-logo-col {
    text-align: center;
}

@media (min-width: 992px) {
    .taxbox-main-copy-col {
        padding-right: clamp(0.4rem, 1.2vw, 1.2rem);
    }

    .taxbox-main-logo-col {
        padding-left: clamp(0.4rem, 1.2vw, 1.2rem);
    }
}

@media (max-width: 991.98px) {
    .taxbox-main-section {
        padding-top: clamp(5rem, 8.8vw, 6.2rem) !important;
        padding-bottom: clamp(4.8rem, 7.5vw, 5.8rem) !important;
    }

    .taxbox-main-sat-image {
        margin-top: 1.35rem;
        max-width: 360px !important;
    }
}

@media (max-width: 767.98px) {
    .taxbox-main-section {
        padding-top: 4.4rem !important;
        padding-bottom: 4.2rem !important;
    }

    .taxbox-main-copy-col {
        text-align: center;
    }

    .taxbox-main-hero-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .taxbox-main-cta-group {
        width: 100%;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 0.75rem !important;
    }

    .taxbox-main-cta-group .taxbox-btn-base {
        width: min(100%, 260px);
        justify-content: center;
    }

    .taxbox-main-sat-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0.9rem;
        max-width: 280px !important;
    }
}

@media (max-width: 575.98px) {
    .taxbox-main-sat-image {
        max-width: 250px !important;
    }
}

/* Card -> laptop dotted connector (second section) */
.taxbox-card-laptop-section {
    --taxbox-overlap: 7.4rem;
    margin-top: -7.4rem;
    padding-top: 0 !important;
    padding-bottom: 0.55rem !important;
    background: linear-gradient(
        to bottom,
        transparent 0,
        transparent var(--taxbox-overlap),
        #FCFEF9 var(--taxbox-overlap),
        #FCFEF9 100%
    );
    overflow: visible !important;
    z-index: 6;
}

.taxbox-card-laptop-section .row {
    --bs-gutter-y: 0;
}

.taxbox-card-laptop-connector {
    position: absolute;
    left: 214px;
    top: 94px;
    width: 240px;
    height: 128px;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

@media (min-width: 1200px) {
    .taxbox-card-laptop-connector {
        left: 242px;
        top: 98px;
        width: 246px;
        height: 132px;
    }
}

@media (max-width: 1199.98px) {
    .taxbox-card-laptop-connector {
        left: 206px;
        top: 88px;
        width: 220px;
        height: 120px;
    }
}

/* Top platform card (match services cards size) */
.taxbox-top-platform-card {
    width: 220px;
    height: 252px;
    margin-top: -7rem;
}

.taxbox-top-platform-card .card-body {
    padding: 1.25rem 1rem 1.1rem !important;
}

.taxbox-top-platform-card p {
    max-width: 182px !important;
}

.taxbox-top-laptop-image {
    margin-top: -1.1rem;
}

@media (max-width: 1199.98px) {
    .taxbox-top-platform-card {
        width: 200px;
        height: 240px;
    }
}

@media (max-width: 991.98px) {
    .taxbox-card-laptop-section {
        --taxbox-overlap: 4.6rem;
        margin-top: -4.6rem;
        padding-top: 0.25rem !important;
        padding-bottom: 0.5rem !important;
    }

    .taxbox-card-laptop-section .row {
        --bs-gutter-y: 0.9rem;
    }

    .taxbox-top-platform-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin-top: 0;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .taxbox-top-laptop-image {
        display: block;
        width: 100%;
        max-width: 620px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: -0.45rem;
    }

    .taxbox-top-card-col,
    .taxbox-top-laptop-col {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .taxbox-card-laptop-section {
        --taxbox-overlap: 2.8rem;
        margin-top: -2.8rem;
        padding-top: 0.2rem !important;
        padding-bottom: 0.4rem !important;
    }

    .taxbox-top-laptop-image {
        margin-top: -0.2rem;
        max-width: 360px !important;
    }
}
