	* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background-color: #f7f9fc;
    color: #0f3c55;
    line-height: 1.6;
}

:root {
    --azul-oscuro: #074561;
    --azul-claro: #0d6ea8;
    --blanco: #ffffff;
    --gris-suave: #e8eef2;
}

.navbar {
    width: 100%;
    background-color: var(--azul-oscuro);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.logo img {
    width: 65px;
    border-radius: 4px;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 6px;
    transition: .3s;
    font-size: 1.05rem;
}

.menu a:hover,
.menu a.active {
    background-color: var(--azul-claro);
}

.hero {
    margin-top: 85px;
    height: 78vh;
    background-image: url("../img/CartelPuerta.jpeg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 40, 70, 0.18);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top: 160px;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Animación genérica */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
}

.subtitle {
    margin-top: 12px;
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.35s;
}

.hero-years {
    margin-top: 8px;
    margin-bottom: 26px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.55s;
}

.btn-hero {
    background-color: var(--azul-claro);
    padding: 14px 30px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: .3s;
    display: inline-block;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 3;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.7s;
}

.btn-hero:hover {
    background-color: #0a577f;
}

section {
    width: 100%;
    padding: 80px 12%;
    text-align: center;
}

h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
}

.info p {
    max-width: 900px;
    margin: auto;
    font-size: 1.15rem;
}

.service-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.box {
    background: var(--blanco);
    width: 340px;
    min-height: 290px;
    padding: 30px 26px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: .3s;
}

.box h3 {
    margin-bottom: 14px;
    color: var(--azul-oscuro);
    font-size: 1.85rem;
    line-height: 1.35;
}

.box p {
    font-size: 1rem;
    line-height: 1.75;
    color: #23465a;
}

.box:hover {
    transform: translateY(-8px);
}

.cta-end {
    background: var(--azul-oscuro);
    color: white;
    padding: 90px 12%;
}

.btn-end {
    display: inline-block;
    margin-top: 18px;
    background: var(--azul-claro);
    padding: 14px 32px;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: .3s;
    min-width: 220px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(7, 69, 97, 0.18);
}

.btn-end:hover {
    background: #0a577f;
}

.footer {
    background: var(--azul-oscuro);
    color: white;
    padding: 18px;
    text-align: center;
}

.footer-compact {
    padding: 16px 40px;
    background: var(--azul-oscuro);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-content p {
    margin: 0;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-social img:hover {
    transform: scale(1.12);
    opacity: 0.85;
}

.footer-social img:first-child {
    width: 30px;
    height: 30px;
}

.hero-small {
    margin-top: 85px !important;
    height: 120px !important;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-small .hero-content {
    padding-top: 0;
}

.hero-small .hero-content h1 {
    color: var(--azul-claro);
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
}

.contact-subtitle {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #4a6a7f;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.3s;
}

.form-section {
    display: flex;
    justify-content: center;
    padding: 80px 0;
    text-align: left;
    background-image: url("../img/tu-imagen.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.form-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
}

.service-form {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--azul-claro);
    font-weight: bold;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.25s;
}

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

.form-group label {
    font-weight: bold;
    color: #123c57;
}

.service-form input,
.service-form select,
.service-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.checkbox-group {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 40px;
    justify-items: center;
    align-items: start;
    padding: 10px 20px;
}

.checkbox-grid label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-weight: 600;
    color: #0f3c55;
    width: 100%;
    max-width: 220px;
    min-height: 40px;
}

.checkbox-grid input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--azul-claro);
    color: white;
    padding: 14px;
    border: none;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--azul-oscuro);
}

.btn-submit:disabled {
    background: #9bb7c6;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-section-pro {
    padding: 30px 8% 80px;
    background: linear-gradient(rgba(247, 249, 252, 0.95), rgba(247, 249, 252, 0.95)),
                url("../img/Fondoletras.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-form-pro {
    max-width: 980px;
    width: 100%;
    padding: 42px 40px;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    border: 1px solid rgba(7, 69, 97, 0.08);
    background: #ffffff;
}

.form-header {
    text-align: center;
    margin-bottom: 28px;
}

.form-intro {
    max-width: 760px;
    margin: 12px auto 0;
    color: #23465a;
    line-height: 1.8;
    font-size: 1.02rem;
}

.form-block {
    margin-bottom: 26px;
    padding: 24px 24px 18px;
    background: #f9fbfd;
    border-radius: 16px;
    border: 1px solid #e3ebf1;
}

.form-block-title {
    font-size: 1.35rem;
    color: var(--azul-oscuro);
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-form-pro input,
.service-form-pro select,
.service-form-pro textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 8px;
    border: 1px solid #cfd9e2;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.98rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.service-form-pro input:focus,
.service-form-pro select:focus,
.service-form-pro textarea:focus {
    outline: none;
    border-color: var(--azul-claro);
    box-shadow: 0 0 0 3px rgba(13, 110, 168, 0.12);
}

.checkbox-grid-pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    justify-items: start;
    padding: 10px 0 0;
}

.checkbox-grid-pro label {
    background: #ffffff;
    border: 1px solid #e1e8ee;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    max-width: none;
    min-height: auto;
}

.form-check-single label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    color: #23465a;
    line-height: 1.6;
}

.form-check-single input {
    width: auto;
    margin-top: 3px;
}

.btn-submit-pro {
    margin-top: 6px;
    padding: 16px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(7, 69, 97, 0.18);
}

.check-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #d7e2ea;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.check-card:hover {
    border-color: var(--azul-claro);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.check-card input {
    transform: scale(1.2);
    accent-color: var(--azul-claro);
}

.check-card:has(input:checked) {
    background: #f0f7fb;
    border-color: var(--azul-claro);
}

.info,
.services,
.values-section,
.services-link-section,
.cta-card {
    padding-top: 55px;
    padding-bottom: 55px;
}

.info-intro {
    padding-bottom: 35px;
}

.section-heading {
    max-width: 900px;
    margin: 0 auto 22px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(13, 110, 168, 0.10);
    color: var(--azul-claro);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.section-heading h2 {
    margin-bottom: 0;
    line-height: 1.2;
}

.intro-text {
    max-width: 980px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.85;
    color: #173d55;
}

.values-section {
    padding-left: 10%;
    padding-right: 10%;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.value-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 32px;
    text-align: left;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(7, 69, 97, 0.06);
}

.value-card h3 {
    font-size: 1.8rem;
    color: var(--azul-oscuro);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #23465a;
    margin-bottom: 14px;
}

.value-card p:last-child {
    margin-bottom: 0;
}

.experience-section {
    padding-top: 45px;
}

.experience-section .service-boxes {
    margin-top: 28px;
}

.services-link-section {
    padding-top: 25px;
    padding-bottom: 30px;
}

.services-link-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 42px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.services-link-text h2 {
    margin-bottom: 12px;
}

.services-link-text p {
    max-width: 700px;
    font-size: 1.08rem;
    color: #23465a;
    line-height: 1.7;
}

.services-link-action {
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--azul-oscuro);
    border: 2px solid var(--azul-claro);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--azul-claro);
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-card {
    background: #f7f9fc;
    color: var(--azul-oscuro);
    margin: 40px auto 30px;
    max-width: 1100px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    padding: 60px 8%;
}

.cta-card h2 {
    color: var(--azul-oscuro);
    margin-bottom: 14px;
}

.cta-card p {
    max-width: 760px;
    margin: 0 auto 24px;
    font-size: 1.08rem;
    color: #23465a;
    line-height: 1.7;
}

.cta-card .btn-end {
    background: var(--azul-claro);
}

.cta-card .btn-end:hover {
    background: var(--azul-oscuro);
}

.services-hero {
    margin-top: 110px;
    padding: 60px 10% 35px;
    text-align: center;
    background: none;
}

.services-hero h1 {
    max-width: 980px;
    margin: 0 auto 16px;
    font-size: 3rem;
    color: var(--azul-oscuro);
    line-height: 1.2;
}

.services-hero p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #23465a;
    line-height: 1.8;
}

.services-section {
    padding: 40px 12% 80px;
    background-color: #f7f9fc;
    text-align: left;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: block;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--azul-oscuro);
}

.service-text p {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #23465a;
}

.services-hero-pro {
    position: relative;
    overflow: hidden;
    background-image: url("../img/hero-servicios.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 0 0 24px 24px;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 69, 97, 0.52);
    pointer-events: none;
}

.services-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-hero.services-hero-pro {
    margin-top: 85px;
    padding-top: 0;
}

.services-hero-pro h1,
.services-hero-pro p,
.services-hero-pro .section-tag {
    color: #ffffff;
}

.services-hero-pro .section-tag {
    background: rgba(255,255,255,0.14);
}

.services-intro-block {
    padding: 26px 10% 34px;
}

.services-intro-card {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 38px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.services-intro-card h2 {
    margin-bottom: 14px;
    color: var(--azul-oscuro);
}

.services-intro-card p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #23465a;
}

.service-pro-section {
    padding: 30px 10%;
}

.alt-bg-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(232,238,242,0.35));
}

.service-pro-card {
    max-width: 1150px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 40px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.08);
    text-align: left;
}

.service-pro-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 34px;
    align-items: center;
}

.reverse-grid {
    grid-template-columns: 0.9fr 1.3fr;
}

.reverse-grid .service-pro-text {
    order: 2;
}

.reverse-grid .service-pro-image {
    order: 1;
}

.service-pro-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.service-detail-head {
    margin-bottom: 16px;
}

.service-detail-head h2 {
    text-align: left;
    margin-bottom: 0;
    color: var(--azul-oscuro);
}

.service-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #23465a;
    margin-bottom: 18px;
}

.service-list {
    padding-left: 22px;
    margin-top: 8px;
}

.service-list li {
    margin-bottom: 11px;
    color: #23465a;
    line-height: 1.75;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 14px;
}

.mini-title {
    margin-top: 22px;
    margin-bottom: 12px;
    color: var(--azul-oscuro);
    font-size: 1.3rem;
}

.services-why {
    padding: 48px 10% 36px;
}

.services-support-block {
    padding: 18px 10% 52px;
}

.services-support-card {
    max-width: 1150px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 42px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.services-support-card p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #23465a;
    margin-bottom: 16px;
}

.services-support-card p:last-child {
    margin-bottom: 0;
}

.obligaciones-hero {
    margin-top: 110px;
    padding: 60px 12% 40px;
    text-align: center;
    background: none;
}

.obligaciones-hero h1 {
    font-size: 3rem;
    color: var(--azul-claro);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
}

.obligaciones-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #275067;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.4s;
}

.obligaciones-grid {
    padding: 0 12% 70px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
    background-image: url("../img/obligaciones-bg.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.obligaciones-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247, 249, 252, 0.92);
}

.calendar-block,
.reputation-block {
    flex: 1;
    position: relative;
    z-index: 1;
}

.calendar-block h2,
.reputation-block h2 {
    font-size: 1.7rem;
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

.calendar-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    padding: 20px 24px;
    margin-top: 10px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-btn {
    border: none;
    background: var(--azul-claro);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

.cal-btn:hover {
    background: var(--azul-oscuro);
}

.calendar-title {
    text-align: center;
}

#cal-month {
    display: block;
    font-weight: bold;
    color: var(--azul-oscuro);
    font-size: 1.1rem;
}

#cal-year {
    display: block;
    font-size: 0.9rem;
    color: #607789;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.85rem;
}

.calendar-table th {
    padding: 6px 4px;
    color: #607789;
    font-weight: 600;
}

.calendar-table td {
    padding: 5px 2px;
    border-radius: 6px;
    height: 26px;
}

.calendar-table td.today {
    border: 2px solid var(--azul-claro);
    font-weight: bold;
    background-color: #e6f2fa;
}

.calendar-table td.evento {
    color: #ffffff;
    font-weight: bold;
}

.calendar-table td.cierre {
    background-color: var(--azul-claro);
}

.calendar-table td.modelo {
    background-color: #f1a72b;
}

.calendar-table td.nomina {
    background-color: #4caf50;
}

.calendar-legend {
    list-style: none;
    margin-top: 16px;
}

.calendar-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #23465a;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-cierre {
    background-color: var(--azul-claro);
}

.dot-modelo {
    background-color: #f1a72b;
}

.dot-nomina {
    background-color: #4caf50;
}

.rep-intro {
    margin: 8px 0 18px 0;
    font-size: 0.95rem;
    color: #23465a;
}

.reputation-grid {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.reputation-item {
    flex: 1;
    text-align: center;
}

.circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle span {
    position: absolute;
    z-index: 2;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--azul-oscuro);
}

.circle::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    background: #f7f9fc;
    border-radius: 50%;
    z-index: 1;
}

.circle-95 {
    background: conic-gradient(var(--azul-claro) 0deg 342deg, #e5edf3 342deg 360deg);
}

.circle-92 {
    background: conic-gradient(var(--azul-claro) 0deg 331deg, #e5edf3 331deg 360deg);
}

.circle-90 {
    background: conic-gradient(var(--azul-claro) 0deg 324deg, #e5edf3 324deg 360deg);
}

.reputation-item p {
    font-weight: bold;
    color: #23465a;
    margin-bottom: 4px;
}

.reputation-item small {
    font-size: 0.85rem;
    color: #607789;
}

.obligaciones-list {
    padding: 0 12% 80px;
    text-align: left;
}

.obligaciones-list h2 {
    text-align: center;
    margin-bottom: 20px;
}

.obligaciones-list ul {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
}

.obligaciones-list li {
    padding: 6px 0;
    position: relative;
    padding-left: 22px;
    font-size: 0.98rem;
    color: #23465a;
}

.obligaciones-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    top: 0;
    color: var(--azul-claro);
    font-size: 1.2rem;
}

.contact-page {
    padding: 30px 10% 80px;
    background-color: #f7f9fc;
}

.contact-layout {
    display: flex;
    gap: 35px;
    align-items: stretch;
    justify-content: space-between;
}

.contact-info-block,
.contact-action-block {
    flex: 1;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    text-align: left;
}

.contact-info-block h2,
.contact-action-block h2 {
    font-size: 1.9rem;
    color: var(--azul-oscuro);
    margin-bottom: 18px;
}

.contact-map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.contact-details p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #23465a;
    line-height: 1.7;
}

.contact-details a {
    color: var(--azul-claro);
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-action-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-action-block p {
    font-size: 1.05rem;
    color: #23465a;
    margin-bottom: 24px;
    max-width: 500px;
}

.contact-btn-large {
    display: inline-block;
    width: fit-content;
    background-color: var(--azul-claro);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: bold;
    transition: 0.3s;
}

.contact-btn-large:hover {
    background-color: var(--azul-oscuro);
    transform: translateY(-2px);
}

.contact-full {
    padding: 30px 10% 80px;
    text-align: center;
}

.contact-title {
    font-size: 2.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 25px;
}

.map-full iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.contact-bottom {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.contact-phone-block {
    flex: 1;
}

.phone-big {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--azul-claro);
    margin-top: 10px;
}

.contact-cta-block {
    flex: 1;
}

.contact-phone-block,
.contact-cta-block {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 25px 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.4);
}

.contact-phone-block:hover,
.contact-cta-block:hover {
    transform: translateY(-4px);
    transition: 0.3s;
}

.chat-widget {
    position: fixed;
    bottom: 70px;
    right: 20px;
}

.chat-toggle {
    background: var(--azul-claro);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    transition: 0.3s;
}

.chat-toggle:hover {
    background: var(--azul-oscuro);
}

.chat-box {
    width: 340px;
    max-width: calc(100vw - 30px);
    height: 460px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    overflow: hidden;
    display: none;
    flex-direction: column;
    margin-top: 12px;
}

.chat-box.open {
    display: flex;
}

.chat-header {
    background: var(--azul-oscuro);
    color: white;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f7f9fc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: #e8eef2;
    color: #123c57;
    align-self: flex-start;
}

.chat-message.user {
    background: var(--azul-claro);
    color: white;
    align-self: flex-end;
}

.chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #dbe4ea;
    background: white;
}

.chat-form input {
    flex: 1;
    border: 1px solid #cbd7df;
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}

.chat-form button {
    border: none;
    background: var(--azul-claro);
    color: white;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: bold;
}

.chat-form button:hover {
    background: var(--azul-oscuro);
}

.clients-hero {
    margin-top: 110px;
    padding: 80px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background-color: #f7f9fc;
}

.clients-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.clients-hero-text h1 {
    font-size: 3rem;
    color: var(--azul-claro);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
}

.clients-hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #4a6a7d;
    opacity: 0;
    animation: fadeInDown 1.1s ease-out forwards;
    animation-delay: 0.35s;
}

.clients-hero-map img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    display: block;
    margin: 0 auto;
}

.clients-main {
    padding: 40px 10% 20px;
    background-color: #ffffff;
    text-align: center;
}

.clients-main h2 {
    font-size: 2.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 8px;
}

.clients-subtitle {
    font-size: 1.2rem;
    color: #275067;
    margin-bottom: 40px;
}

.exclients-section {
    padding: 0 10% 60px;
    background-color: #ffffff;
    text-align: center;
}

.exclients-section h3 {
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 12px;
}

.exclients-section p {
    max-width: 800px;
    margin: 0 auto 35px;
    font-size: 1.05rem;
    color: #275067;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 20px 10px;
    min-height: 240px;
}

.client-card img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.client-name {
    font-weight: 600;
    font-size: 14px;
    color: #1f3f52;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-contact-strip {
    padding: 60px 10% 80px;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-box {
    background-color: #f7f9fc;
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    height: auto;
    min-height: 0;
}

.contact-box h4 {
    font-size: 1.3rem;
    color: var(--azul-oscuro);
    margin-bottom: 14px;
}

.contact-box p {
    font-size: 0.98rem;
    color: #23465a;
    margin-bottom: 14px;
    line-height: 1.7;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box-map {
    text-align: center;
}

.contact-map-frame {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
    display: block;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.contact-address strong {
    color: var(--azul-oscuro);
    font-size: 1.05rem;
}

.contact-box-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-phone {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--azul-claro);
    margin: 8px 0 10px;
}

.contact-btn {
    margin-top: 10px;
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background-color: var(--azul-claro);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn:hover {
    background-color: var(--azul-oscuro);
}

@media (max-width: 1100px) {
    .clients-contact-strip {
        grid-template-columns: 1fr;
    }

    .contact-map-frame {
        height: 260px;
    }
}

@media (max-width: 1000px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-link-card {
        flex-direction: column;
        text-align: center;
    }

    .services-link-text p {
        max-width: 100%;
    }

    .service-pro-grid,
    .reverse-grid {
        grid-template-columns: 1fr;
    }

    .reverse-grid .service-pro-text,
    .reverse-grid .service-pro-image {
        order: initial;
    }

    .service-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 10px 20px;
    }

    .services-hero {
        padding: 80px 6% 30px;
    }

    .services-section {
        padding: 30px 6% 60px;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .service-text {
        text-align: center;
    }

    .service-image img {
        max-width: 100%;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .obligaciones-grid {
        padding: 0 6% 60px;
        flex-direction: column;
    }

    .reputation-grid {
        flex-direction: column;
        align-items: center;
    }

    .reputation-item {
        max-width: 260px;
        margin: 0 auto;
    }

    .obligaciones-list {
        padding: 0 6% 70px;
    }

    .contact-page {
        padding: 20px 6% 70px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info-block,
    .contact-action-block {
        padding: 24px;
    }

    .contact-action-block {
        text-align: center;
        align-items: center;
    }

    .contact-action-block p {
        max-width: 100%;
    }

    .contact-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-phone-block,
    .contact-cta-block {
        align-items: center;
    }

    .form-section-pro {
        padding: 20px 6% 70px;
    }

    .service-form-pro {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid-pro {
        grid-template-columns: 1fr;
    }

    .clients-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 20px 30px;
    }

    .clients-hero-text p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .info,
    .services,
    .values-section,
    .services-link-section,
    .cta-card {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .intro-text {
        font-size: 1.08rem;
        line-height: 1.75;
    }

    .value-card {
        padding: 26px 22px;
    }

    .value-card h3 {
        font-size: 1.55rem;
    }

    .box {
        width: 100%;
        max-width: 420px;
        min-height: auto;
    }

    .services-link-card {
        padding: 28px 22px;
    }

    .services-intro-block,
    .service-pro-section,
    .services-why,
    .services-support-block {
        padding-left: 6%;
        padding-right: 6%;
    }

    .services-intro-card,
    .service-pro-card,
    .services-support-card {
        padding: 28px 22px;
    }

    .service-pro-image img {
        min-height: 240px;
    }

    .cta-card {
        margin: 30px 6% 25px;
        padding: 45px 8%;
    }

    .footer-compact {
        padding: 18px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        width: 130px;
    }

    .chat-widget {
        right: 12px;
        bottom: 12px;
    }

    .chat-box {
        width: 320px;
        height: 430px;
    }
}

.legal-page {
    text-align: left;
}

.legal-page .form-block p {
    margin-bottom: 14px;
    color: #23465a;
    line-height: 1.8;
}

.footer-legal {
    margin-top: 8px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #cfe3ee;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.calendar-table td.evento {
    color: #ffffff;
    font-weight: bold;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.calendar-table td.cierre,
.calendar-table td.modelo,
.calendar-table td.nomina {
    border-radius: 8px;
}

.calendar-table td.evento {
    color: #ffffff;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.calendar-table td.presupuesto {
    background-color: #0d6ea8;
}

.calendar-table td.trimestral {
    background-color: #f28c28;
}

.calendar-table td.cierre {
    background-color: #c94c4c;
}

.calendar-table td.pmp {
    background-color: #3fa34d;
}

.calendar-table td.control {
    background-color: #7b57c2;
}

.calendar-table td.fiscal {
    background-color: #d4a017;
    color: #ffffff;
}

.dot-presupuesto {
    background-color: #0d6ea8;
}

.dot-trimestral {
    background-color: #f28c28;
}

.dot-cierre {
    background-color: #c94c4c;
}

.dot-pmp {
    background-color: #3fa34d;
}

.dot-control {
    background-color: #7b57c2;
}

.dot-fiscal {
    background-color: #d4a017;
}

.calendar-table td.evento {
    color: #ffffff;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
    background-size: cover;
    background-repeat: no-repeat;
}

.dot-presupuesto { background-color: #0d6ea8; }
.dot-trimestral  { background-color: #f28c28; }
.dot-cierre      { background-color: #c94c4c; }
.dot-pmp         { background-color: #3fa34d; }
.dot-control     { background-color: #7b57c2; }
.dot-fiscal      { background-color: #d4a017; }

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
}

h1, h2, h3, h4, p, a, li, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.navbar {
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.menu {
    flex-wrap: wrap;
    justify-content: center;
}

.footer-content {
    flex-wrap: wrap;
}

.footer-social {
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal {
    text-align: center;
}

.btn-hero,
.btn-end,
.btn-secondary,
.contact-btn,
.contact-btn-large,
.btn-submit,
.btn-submit-pro {
    max-width: 100%;
}

.service-form,
.service-form-pro {
    overflow: hidden;
}

.checkbox-group,
.checkbox-grid,
.checkbox-grid-pro {
    width: 100%;
}

.service-pro-image,
.service-image {
    min-width: 0;
}

.service-pro-text,
.service-text {
    min-width: 0;
}

.client-grid {
    align-items: stretch;
}

.client-card {
    width: 100%;
    min-width: 0;
}

.calendar-card {
    overflow-x: auto;
}

.calendar-table {
    min-width: 100%;
}

.calendar-table td,
.calendar-table th {
    min-width: 34px;
}

.calendar-legend {
    padding-left: 0;
}

.calendar-legend li {
    align-items: flex-start;
    line-height: 1.5;
}

.calendar-table td.evento {
    cursor: pointer;
}

.chat-widget {
    z-index: 1200;
}

.chat-box {
    max-height: calc(100vh - 120px);
}

@media (min-width: 1400px) {
    section {
        padding-left: 10%;
        padding-right: 10%;
    }

    .services-hero,
    .services-intro-block,
    .service-pro-section,
    .services-why,
    .services-support-block,
    .clients-main,
    .exclients-section,
    .clients-contact-strip,
    .obligaciones-grid,
    .obligaciones-list,
    .contact-page,
    .contact-full {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 12px 24px;
    }

    .menu {
        gap: 12px;
    }

    .menu a {
        font-size: 0.98rem;
        padding: 8px 12px;
    }

    .hero h1,
    .services-hero h1,
    .clients-hero-text h1,
    .obligaciones-hero h1 {
        font-size: 2.7rem;
    }

    .service-pro-card,
    .services-support-card,
    .services-intro-card,
    .service-form-pro,
    .service-form {
        padding: 30px 26px;
    }

    .clients-contact-strip {
        grid-template-columns: 1fr 1fr;
    }

    .contact-box:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .navbar {
        justify-content: center;
        padding: 12px 18px;
    }

    .logo img {
        width: 58px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .menu a {
        font-size: 0.95rem;
        padding: 7px 10px;
    }

    .hero,
    .services-hero.services-hero-pro {
        margin-top: 120px;
    }

    .hero-small {
        margin-top: 120px !important;
        height: auto !important;
        padding: 30px 20px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .hero-years {
        font-size: 1.05rem;
    }

    section {
        padding: 60px 8%;
    }

    .services-link-card {
        flex-direction: column;
        text-align: center;
    }

    .services-link-text p {
        max-width: 100%;
    }

    .service-pro-grid,
    .reverse-grid,
    .clients-hero,
    .contact-layout,
    .contact-bottom,
    .obligaciones-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column;
    }

    .reverse-grid .service-pro-text,
    .reverse-grid .service-pro-image {
        order: initial;
    }

    .service-columns,
    .form-row,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .box {
        width: 100%;
        max-width: 460px;
        min-height: auto;
    }

    .service-boxes {
        gap: 20px;
    }

    .clients-contact-strip {
        grid-template-columns: 1fr;
    }

    .contact-box:first-child {
        grid-column: auto;
    }

    .reputation-grid {
        flex-direction: column;
        gap: 28px;
    }

    .reputation-item {
        max-width: 300px;
        margin: 0 auto;
    }

    .calendar-table th,
    .calendar-table td {
        font-size: 0.82rem;
    }

    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 28px;
    }

    .client-card {
        min-height: 210px;
    }

    .contact-map-frame {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 14px;
        gap: 12px;
    }

    .menu {
        gap: 8px;
    }

    .menu a {
        font-size: 0.88rem;
        padding: 7px 9px;
    }

    .hero,
    .services-hero.services-hero-pro {
        margin-top: 140px;
        height: auto;
        min-height: 72vh;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero h1,
    .services-hero h1,
    .clients-hero-text h1,
    .obligaciones-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .subtitle,
    .services-hero p,
    .clients-hero-text p,
    .obligaciones-hero p,
    .intro-text,
    .cta-card p,
    .form-intro {
        font-size: 1rem;
        line-height: 1.7;
    }

    h2 {
        font-size: 1.9rem;
    }

    .section-tag {
        font-size: 0.82rem;
        padding: 6px 12px;
    }

    section {
        padding: 50px 6%;
    }

    .service-form,
    .service-form-pro,
    .services-intro-card,
    .service-pro-card,
    .services-support-card,
    .services-link-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .form-block {
        padding: 18px 16px 14px;
    }

    .form-block-title {
        font-size: 1.15rem;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .checkbox-grid,
    .checkbox-grid-pro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .checkbox-grid label,
    .checkbox-grid-pro label {
        max-width: 100%;
    }

    .service-pro-image img,
    .service-image img,
    .clients-hero-map img {
        min-height: 0;
        max-height: 320px;
        object-fit: cover;
    }

    .calendar-card {
        padding: 16px 12px;
    }

    .calendar-header {
        gap: 10px;
    }

    #cal-month {
        font-size: 1rem;
    }

    #cal-year {
        font-size: 0.82rem;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 6px 2px;
        font-size: 0.78rem;
        height: 30px;
    }

    .calendar-legend li {
        font-size: 0.82rem;
    }

    .clients-hero {
        padding: 70px 6% 24px;
    }

    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .client-card {
        min-height: 190px;
        padding: 12px 6px;
    }

    .client-card img {
        max-width: 84px;
        height: 84px;
    }

    .client-name {
        font-size: 13px;
        min-height: 36px;
    }

    .contact-box {
        padding: 20px 16px;
    }

    .contact-map-frame {
        height: 220px;
    }

    .phone-big,
    .contact-phone {
        font-size: 1.35rem;
    }

    .footer-compact {
        padding: 18px 14px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        gap: 10px;
        font-size: 0.85rem;
    }

    .chat-widget {
        right: 12px;
        bottom: 16px;
    }

    .chat-toggle {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .chat-box {
        width: min(320px, calc(100vw - 24px));
        height: min(430px, calc(100vh - 110px));
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 10px;
    }

    .logo img {
        width: 52px;
    }

    .menu {
        gap: 6px;
    }

    .menu a {
        font-size: 0.82rem;
        padding: 6px 8px;
    }

    .hero,
    .services-hero.services-hero-pro {
        margin-top: 150px;
        min-height: 68vh;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero h1,
    .services-hero h1,
    .clients-hero-text h1,
    .obligaciones-hero h1 {
        font-size: 1.9rem;
    }

    .subtitle,
    .hero-years,
    .contact-subtitle {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .btn-hero,
    .btn-end,
    .btn-secondary,
    .contact-btn,
    .contact-btn-large,
    .btn-submit,
    .btn-submit-pro {
        width: 100%;
        min-width: 0;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 1rem;
    }

    .calendar-card {
        padding: 14px 8px;
    }

    .calendar-table th,
    .calendar-table td {
        font-size: 0.72rem;
        height: 28px;
        min-width: 28px;
    }

    .cal-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .client-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .client-card img {
        max-width: 74px;
        height: 74px;
    }

    .chat-box {
        width: calc(100vw - 20px);
        right: 0;
    }
}

.form-block-captcha {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 24px;
}

.form-block-captcha .g-recaptcha {
    transform-origin: center;
}

@media (max-width: 480px) {
    .form-block-captcha {
        padding: 18px 10px;
        overflow-x: auto;
    }
}

/* ============================
   RESPONSIVE FINAL PRO
============================ */

@media (max-width: 1024px) {
    section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .navbar {
        padding: 10px 22px;
        gap: 18px;
    }

    .menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .menu a {
        font-size: 0.95rem;
        padding: 7px 10px;
    }

    .services-link-card,
    .clients-contact-strip,
    .contact-layout,
    .contact-bottom,
    .obligaciones-grid,
    .service-pro-grid,
    .reverse-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .service-detail-head h2,
    .service-pro-card,
    .service-text,
    .contact-info-block,
    .contact-action-block {
        text-align: center;
    }

    .service-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .navbar {
        position: relative;
        flex-direction: column;
        justify-content: center;
        padding: 14px 16px;
    }

    .logo img {
        width: 58px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .menu a {
        font-size: 0.9rem;
        padding: 7px 9px;
    }

    .hero,
    .hero-small,
    .services-hero,
    .obligaciones-hero,
    .clients-hero {
        margin-top: 0 !important;
    }

    .hero {
        height: auto;
        min-height: 520px;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero h1,
    .services-hero h1,
    .obligaciones-hero h1,
    .clients-hero-text h1 {
        font-size: 2.15rem;
        line-height: 1.2;
        text-align: center;
    }

    h2,
    .form-title {
        font-size: 1.8rem;
        line-height: 1.25;
        text-align: center;
    }

    .subtitle,
    .hero-years,
    .services-hero p,
    .obligaciones-hero p,
    .clients-hero-text p,
    .intro-text,
    .form-intro,
    .contact-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .clients-hero {
        padding: 45px 6% 30px;
        gap: 28px;
    }

    .clients-hero-map img {
        max-width: 100%;
    }

    .service-form-pro,
    .form-block,
    .services-intro-card,
    .service-pro-card,
    .services-support-card,
    .value-card,
    .contact-box,
    .cta-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-row,
    .checkbox-grid,
    .checkbox-grid-pro,
    .service-columns,
    .values-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .checkbox-grid-pro label,
    .checkbox-grid label {
        max-width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .client-card {
        width: 100%;
        min-height: auto;
        padding: 16px 10px;
    }

    .client-card img {
        max-width: 95px;
        height: 95px;
    }

    .clients-contact-strip {
        display: grid;
        grid-template-columns: 1fr;
        padding: 40px 6%;
    }

    .contact-map-frame,
    .map-full iframe {
        height: 260px;
    }

    .calendar-block,
    .reputation-block {
        width: 100%;
    }

    .calendar-card {
        padding: 16px 12px;
        overflow-x: auto;
    }

    .calendar-table {
        min-width: 360px;
    }

    .reputation-grid,
    .service-boxes {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 420px;
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-social {
        justify-content: center;
    }

    .chat-widget {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .menu a {
        font-size: 0.82rem;
        padding: 6px 8px;
    }

    .hero h1,
    .services-hero h1,
    .obligaciones-hero h1,
    .clients-hero-text h1 {
        font-size: 1.8rem;
    }

    h2,
    .form-title {
        font-size: 1.55rem;
    }

    .btn-hero,
    .btn-end,
    .btn-submit,
    .contact-btn,
    .contact-btn-large {
        width: 100%;
        min-width: unset;
    }

    .service-form-pro {
        width: 100%;
    }

    .chat-box {
        width: calc(100vw - 24px);
        height: 420px;
    }
}

.footer-social img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: 0.3s ease;
}

.footer-social img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ARREGLO FINAL FORMULARIO MÓVIL */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    section,
    .form-section,
    .form-section-pro {
        width: 100%;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden;
    }

    .service-form,
    .service-form-pro {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 16px !important;
        overflow: hidden;
    }

    .form-block {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 14px !important;
        overflow: hidden;
    }

    .form-row,
    .checkbox-grid,
    .checkbox-grid-pro {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 14px !important;
    }

    .checkbox-grid label,
    .checkbox-grid-pro label,
    .check-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .checkbox-grid input,
    .checkbox-grid-pro input {
        flex: 0 0 auto;
        width: auto !important;
        margin: 0 !important;
    }

    .checkbox-grid label,
    .checkbox-grid-pro label {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    input,
    select,
    textarea {
        max-width: 100% !important;
    }
}

.cookie-banner {
    position: fixed;
    inset: 0;
    background: rgba(7, 69, 97, 0.35);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* ===== COOKIES MODAL PRO ===== */

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5); /* fondo oscuro */
    backdrop-filter: blur(5px);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

/* Caja */
.cookie-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    text-align: center;
}

/* Título */
.cookie-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #0b3c5d; /* azul corporativo */
}

/* Texto */
.cookie-box p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Botones */
.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* Aceptar */
.cookie-accept {
    background: #0b3c5d;
    color: white;
}

.cookie-accept:hover {
    background: #145d85;
}

/* Rechazar */
.cookie-reject {
    background: #e5e5e5;
    color: #333;
}

.cookie-reject:hover {
    background: #ccc;
}

/* Links */
.cookie-links {
    font-size: 0.9rem;
}

.cookie-links a {
    margin: 0 8px;
    color: #0b3c5d;
    text-decoration: none;
    font-weight: 600;
}

.cookie-links a:hover {
    text-decoration: underline;
}

.phone-big a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.phone-big a:hover {
    text-decoration: underline;
}