:root {
    --ink: #0b1f3a;
    --muted: #5f6d7d;
    --line: #e7e9ed;
    --soft: #f7f7f5;
    --accent: #f8ad1b;
    --accent2: #ffd56b;
    --white: #fff;
    --radius: 24px;
    --shadow: 0 20px 50px rgba(11, 31, 58, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: #fff;

    border-bottom: 1px solid rgba(231, 233, 237, .75);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 165px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .94rem;
    font-weight: 500;
}

.main-nav > a:not(.btn) {
    padding: 26px 0;
    border-bottom: 2px solid transparent;
}

.main-nav .is-active {
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 103;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.nav-toggle:hover {
    border-color: #ccd2da;
    background: var(--soft);
}

.nav-toggle:active {
    transform: scale(.96);
}

.nav-toggle:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .30);
    outline-offset: 3px;
}

.nav-toggle-line {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transform-origin: center;
    transition:
        transform .25s ease,
        opacity .2s ease;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 700;
    letter-spacing: -.01em;
    position: relative;
    will-change: transform;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(.98);
}

.btn:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .30);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

.btn-primary:hover {
    background: #ffb82c;
    border-color: #ffb82c;
    box-shadow: 0 12px 26px rgba(248, 173, 27, .22);
}

.btn-secondary {
    background: white;
}

.btn-secondary:hover {
    background: #fafafa;
    border-color: #c8ced7;
}

.eyebrow {
    display: inline-block;
    color: #b66f00;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    font-weight: 800;
}

.hero {
    overflow: hidden;
    padding: 54px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 64px;
}

.hero-copy {
    max-width: 680px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: .95;
    letter-spacing: -.05em;
    font-weight: 800;
    margin: .25em 0 .32em;
    text-wrap: balance;
}

.hero h1 em {
    display: block;
    margin-top: .18em;
    color: var(--accent);
    font-style: normal;
    font-size: .72em;
    line-height: 1;
    letter-spacing: -.045em;
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(2.7rem, 4.6vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
    margin: .25em 0 .32em;
    text-wrap: balance;
}

.hero-copy > p {
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.response-promise {
    font-size: .9rem !important;
    margin-top: 20px;
}

.hero-media {
    position: relative;
}

.hero-media > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(11, 31, 58, .12);
}

.floating-card {
    position: absolute;
    right: -18px;
    bottom: 28px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 18px 45px rgba(11, 31, 58, .13);
    display: grid;
    gap: 5px;
    max-width: 270px;
}

.floating-card strong {
    font-size: 1.05rem;
    line-height: 1.3;
}

.floating-card span {
    font-size: .88rem;
    line-height: 1.5;
    color: var(--muted);
}

.trust-strip {
    border-block: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
    padding: 24px 8px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid strong {
    color: var(--accent);
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(248, 173, 27, .08),
            transparent 34%
        ),
        radial-gradient(
            circle at 82% 82%,
            rgba(67, 149, 222, .06),
            transparent 30%
        ),
        var(--ink);
    color: white;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 36px;
}

.section-head h2,
.compact-grid h2,
.cta-panel h2,
.why-us-copy h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.04em;
    margin: .2em 0;
    text-wrap: balance;
}

.section-head > p {
    max-width: 480px;
    color: var(--muted);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 30px rgba(11, 31, 58, .04);
}

.feature-card img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
}

.feature-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}

.feature-card > div > a {
    margin-top: auto;
    padding-top: 18px;
}

.feature-card h3,
.feature-card h2 {
    font-size: 1.75rem;
    margin: .3em 0;
}

.feature-card p {
    color: var(--muted);
}

.feature-card a,
.case-card a {
    font-weight: 800;
    color: #b66f00;
}

.tag {
    font-size: .76rem;
    font-weight: 800;
    color: #b66f00;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.compact-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.compact-grid p {
    color: #c5cfdb;
    max-width: 680px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: white;
}

.case-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.case-card > div {
    padding: 20px;
    display: grid;
    gap: 10px;
}

.case-card h3,
.case-card h2 {
    margin: 0;
    font-size: 1.35rem;
}

.case-card p {
    margin: 0;
    color: var(--muted);
}

.case-card small {
    color: var(--muted);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    margin: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
}

.review-card p {
    font-size: 1.05rem;
}

.review-card footer {
    display: grid;
}

.review-card footer span {
    font-size: .85rem;
    color: var(--muted);
}

.stars {
    color: var(--accent);
    letter-spacing: .08em;
}

.empty-note,
.map-placeholder {
    padding: 24px;
    border: 1px dashed #c9ced5;
    border-radius: 16px;
    background: #fbfbfa;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 6px 18px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 750;
    padding: 16px 0;
}

.faq-list p {
    color: var(--muted);
    padding: 0 0 16px;
    margin: 0;
}

.cta-panel {
    background: linear-gradient(135deg, #fff8e8, #fff);
    border: 1px solid #f3e1b5;
    border-radius: 30px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    background: #07172b;
    color: white;
    padding: 68px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr .8fr 1fr;
    gap: 84px;
    align-items: start;
}

.footer-about {
    max-width: 500px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 24px;
}

.footer-about > p {
    margin: 0;
    max-width: 480px;
    color: #b8c3d1;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

.footer-column > a {
    color: #fff;
    transition: color .2s ease;
}

.footer-column > a:hover {
    color: var(--accent);
}

.footer-contact > span,
.footer-contact > small {
    color: #b8c3d1;
}

.footer-contact > small {
    margin-top: 4px;
    max-width: 290px;
    line-height: 1.5;
}

.footer-social-block {
    margin-top: 28px;
}

.footer-social-title {
    display: block;
    margin-bottom: 11px;
    color: #8f9bad;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid #263b55;
    border-radius: 9px;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.footer-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(248, 173, 27, .06);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-top: 1px solid #24354b;
    margin-top: 56px;
    padding-top: 24px;
    color: #9fabb9;
    font-size: .86rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.footer-bottom-links > a {
    color: #fff;
    transition: color .2s ease;
}

.footer-bottom-links > a:hover {
    color: var(--accent);
}

.footer-credit {
    color: #9fabb9;
}

.footer-credit a {
    margin-left: 3px;
    color: #fff;
    font-weight: 700;
    transition: color .2s ease;
}

.footer-credit a:hover {
    color: var(--accent);
}

.breadcrumb {
    padding-top: 26px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .86rem;
    color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    color: #c0c6cf;
}

.page-main {
    min-height: 60vh;
}

.page-hero {
    padding: 62px 0 34px;
}

.page-hero .eyebrow {
    margin-bottom: 12px;
}

.page-hero p {
    max-width: 780px;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--muted);
}

.page-hero .btn {
    margin-top: 18px;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}

.info-card {
    background: var(--soft);
    padding: 30px;
    border-radius: 20px;
}

.info-card li {
    margin-bottom: 9px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-grid > div {
    padding: 22px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--line);
    font-weight: 700;
}

.case-study-hero {
    padding: 56px 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.case-study-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.case-study-hero img {
    border-radius: 24px;
}

.case-meta {
    display: flex;
    gap: 20px;
    color: var(--muted);
}

.article-content {
    max-width: 820px;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 2.2em;
}

.article-content p {
    color: var(--muted);
    font-size: 1.05rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.team-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.team-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.team-card > div {
    padding: 20px;
}

.team-card h3 {
    margin: .1em 0;
}

.team-card p {
    color: var(--muted);
}

.team-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

.team-placeholder > div {
    padding: 34px;
    align-self: center;
}

.team-placeholder p {
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
}

.contact-form,
.contact-aside {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field label {
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #ccd2da;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(248, 173, 27, .12);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #aeb7c3;
}

.check {
    display: flex;
    gap: 10px;
    margin: 14px 0 20px;
    align-items: flex-start;
}

.form-required-note {
    margin: -6px 0 24px;
    color: var(--muted);
    font-size: .86rem;
}

.form-required-note span,
.required {
    color: #d92d20;
    font-weight: 800;
}

.field label .required {
    margin-left: 3px;
}

.form-errors {
    background: #fff0f0;
    border: 1px solid #f5c0c0;
    border-radius: 12px;
    padding: 12px 16px;
    color: #8b1e1e;
}

.hp {
    position: absolute;
    left: -9999px;
}

.contact-aside p {
    color: var(--muted);
}

.map-embed iframe {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: 14px;
    margin: 10px 0;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
    border-color: #d92d20;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .08);
}

.field input.is-invalid:focus,
.field select.is-invalid:focus,
.field textarea.is-invalid:focus {
    outline: none;
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .12);
}

.privacy-field {
    margin: 14px 0 20px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.privacy-field.has-error {
    border-color: #d92d20;
    background: #fff7f7;
}

.privacy-field .check {
    margin: 0;
}

.thank-you,
.not-found {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 780px;
}

.thank-you h1,
.not-found h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    margin: .2em 0;
    text-wrap: balance;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e7f7ea;
    color: #177a2f;
    font-size: 2rem;
}

.error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    color: #f0f1f2;
    line-height: .8;
}

.contact-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 100;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;

    pointer-events: none;
}

.contact-float-button {
    width: 62px;
    height: 62px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 14px 36px rgba(11, 31, 58, .18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.contact-float-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(11, 31, 58, .22);
}

.contact-float-button:active {
    transform: scale(.96);
}

.contact-float-button:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .35);
    outline-offset: 4px;
}

.contact-float-button svg {
    width: 27px;
    height: 27px;
}

.contact-icon-close {
    display: none;
}

.contact-float.is-open .contact-icon-chat {
    display: none;
}

.contact-float.is-open .contact-icon-close {
    display: block;
}

.contact-float-menu {
    width: 310px;

    display: grid;
    gap: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s;
}

.contact-float.is-open .contact-float-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
}

.contact-float-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 15px 38px rgba(11, 31, 58, .12);
    backdrop-filter: blur(14px);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-float-option:hover {
    transform: translateX(-3px);
    border-color: #d8b15a;
    box-shadow: 0 18px 42px rgba(11, 31, 58, .15);
}

.contact-float-option:active {
    transform: translateX(-1px) scale(.99);
}

.contact-float-option:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .28);
    outline-offset: 3px;
}

.contact-float-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #fff7e6;
    color: #b66f00;
    display: grid;
    place-items: center;
}

.contact-float-icon svg {
    width: 23px;
    height: 23px;
}

.contact-float-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.contact-float-text strong {
    font-size: .93rem;
    color: var(--ink);
}

.contact-float-text small {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.4;
}

.main-nav a:not(.btn) {
    position: relative;
    transition: color .2s ease;
}

.main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 17px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--ink);
}

.main-nav a:not(.btn):hover::after {
    transform: scaleX(1);
}

.indicators-section {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.indicator {
    position: relative;
    padding: 12px 32px;
    text-align: center;
    transition:
        transform .25s ease,
        background .25s ease;
}

.indicator:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: var(--line);
}

.indicator:hover {
    transform: translateY(-2px);
}

.indicator-value {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    transition: color .2s ease;
}

.indicator:hover .indicator-value {
    color: #b66f00;
}

.indicator-label {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.4;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .62s cubic-bezier(.22, 1, .36, 1),
        transform .62s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-grid > .reveal:nth-child(2),
.review-grid > .reveal:nth-child(2),
.case-grid > .reveal:nth-child(2),
.team-grid > .reveal:nth-child(2) {
    transition-delay: .07s;
}

.solution-grid > .reveal:nth-child(3),
.review-grid > .reveal:nth-child(3),
.case-grid > .reveal:nth-child(3),
.team-grid > .reveal:nth-child(3) {
    transition-delay: .14s;
}

.solution-grid > .reveal:nth-child(4),
.review-grid > .reveal:nth-child(4),
.case-grid > .reveal:nth-child(4),
.team-grid > .reveal:nth-child(4) {
    transition-delay: .21s;
}

.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-delay-3 {
    transition-delay: .24s;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy > p,
.hero-actions,
.response-promise,
.hero-media {
    opacity: 0;
    transform: translateY(18px);
    animation: heroReveal .7s ease forwards;
}

.hero-copy h1 {
    animation-delay: .08s;
}

.hero-copy > p {
    animation-delay: .16s;
}

.hero-actions {
    animation-delay: .24s;
}

.response-promise {
    animation-delay: .32s;
}

.hero-media {
    animation-delay: .14s;
    transform: translateY(18px) scale(.985);
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card,
.case-card,
.review-card,
.info-card,
.team-card {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.feature-card:hover,
.case-card:hover,
.team-card:hover {
    transform: translateY(-5px);
    border-color: #d6dce4;
    box-shadow:
        0 20px 46px rgba(11, 31, 58, .09),
        0 4px 12px rgba(11, 31, 58, .035);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: #dbe0e6;
    box-shadow:
        0 16px 38px rgba(11, 31, 58, .075),
        0 3px 10px rgba(11, 31, 58, .03);
}

.info-card:hover {
    transform: translateY(-2px);
}

.feature-card img,
.case-card img,
.team-card img {
    transition:
        transform .6s cubic-bezier(.22, 1, .36, 1);
}

.feature-card:hover img,
.case-card:hover img,
.team-card:hover img {
    transform: scale(1.025);
}

.feature-card > div > a,
.case-card a,
.section-head > a,
.article-content a {
    position: relative;
    width: fit-content;
    transition:
        color .2s ease,
        opacity .2s ease;
}

.feature-card > div > a::after,
.case-card a::after,
.section-head > a::after,
.article-content a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1);
}

.feature-card > div > a:hover,
.case-card a:hover,
.section-head > a:hover,
.article-content a:hover {
    color: var(--accent);
}

.feature-card > div > a:hover::after,
.case-card a:hover::after,
.section-head > a:hover::after,
.article-content a:hover::after {
    transform: scaleX(1);
}

.faq-list details {
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.faq-list details:hover {
    border-color: #d8dde4;
}

.faq-list details[open] {
    border-color: #ecd394;
    box-shadow: 0 8px 24px rgba(11, 31, 58, .05);
}

.faq-list summary {
    transition: color .2s ease;
}

.faq-list summary:hover {
    color: #b66f00;
}

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 104px;
    z-index: 200;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(11, 31, 58, .10);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 14px 32px rgba(11, 31, 58, .14);
}

.back-to-top:active {
    transform: scale(.96);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .30);
    outline-offset: 3px;
}

.skeleton-image {
    position: relative;
    background:
        linear-gradient(
            100deg,
            #eef0f2 20%,
            #f8f9fa 40%,
            #eef0f2 60%
        );
    background-size: 200% 100%;
    animation: skeletonLoading 1.3s ease-in-out infinite;
}

.skeleton-image.is-loaded {
    background: none;
    animation: none;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.feature-card img.skeleton-image {
    aspect-ratio: 16 / 8.5;
}

.case-card img.skeleton-image {
    aspect-ratio: 16 / 10;
}

.team-card img.skeleton-image {
    aspect-ratio: 4 / 3;
}

.case-study-hero img.skeleton-image {
    aspect-ratio: 16 / 10;
}

.footer-column > a,
.footer-socials a,
.footer-credit a {
    transition:
        color .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
}

@media(max-width: 900px) {

    .site-header {
        z-index: 102;
    }

    .nav {
        min-height: 72px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 84px;
        left: 20px;
        right: 20px;
        z-index: 102;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(18px);
        box-shadow: 0 24px 70px rgba(11, 31, 58, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(.98);
        transform-origin: top center;
        transition:
            opacity .22s ease,
            visibility .22s ease,
            transform .22s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .main-nav > a:not(.btn) {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 16px;
        border: 0;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 650;
        color: var(--ink);
        transition:
            background-color .2s ease,
            color .2s ease;
    }

    .main-nav > a:not(.btn):hover {
        background: var(--soft);
    }

    .main-nav > a:not(.btn).is-active {
        background: #fff7e6;
        color: #9a5d00;
    }

    .main-nav a:not(.btn)::after {
        display: none;
    }

    .nav-cta {
        display: inline-flex;
        width: 100%;
        margin-top: 10px;
        min-height: 52px;
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 101;
        background: rgba(7, 23, 43, .35);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity .22s ease,
            visibility .22s ease;
    }

    .mobile-nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero-grid,
    .solution-grid,
    .split,
    .contact-grid,
    .case-study-hero,
    .team-placeholder {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-media {
        order: -1;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 13vw, 5rem);
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.03;
    }

    .hero-media > img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 22px;
    }

    .floating-card {
        right: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
    }

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

    .trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .case-grid,
    .review-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .compact-grid,
    .cta-panel {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-about {
        max-width: 620px;
    }

    .footer-bottom {
        margin-top: 42px;
    }

    .contact-float {
        right: 16px;
        bottom: 16px;
    }

    .contact-float-button {
        width: 58px;
        height: 58px;
    }

    .contact-float-menu {
        width: min(310px, calc(100vw - 32px));
    }

    .back-to-top {
        right: 20px;
        bottom: 92px;
    }

    @keyframes mobileMenuOpen {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

}

@media(max-width: 800px) {

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

    .indicator {
        padding: 22px 18px;
    }

    .indicator:nth-child(2)::after {
        display: none;
    }

    .indicator:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

}

@media(max-width: 560px) {

    .brand img {
        width: 170px;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-copy .eyebrow {
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 11vw, 3.7rem);
        line-height: 1.02;
        letter-spacing: -.045em;
        margin: .2em 0 .42em;
    }

    .hero-copy > p {
        font-size: .98rem;
        line-height: 1.65;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .hero-actions .btn {
        min-height: 48px;
    }

    .response-promise {
        margin-top: 16px;
        padding-right: 50px;
        font-size: .78rem !important;
        line-height: 1.5;
    }

    .hero-media > img {
        width: 92%;
        margin: 0 auto;
    }

    .contact-float {
        right: 12px;
        bottom: 12px;
    }

    .contact-float-button {
        width: 50px;
        height: 50px;
    }

    .contact-float-button svg {
        width: 23px;
        height: 23px;
    }


    .nav {
        min-height: 68px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .main-nav {
        top: 78px;
        left: 14px;
        right: 14px;
        padding: 10px;
        border-radius: 18px;
    }

    .main-nav > a:not(.btn) {
        min-height: 50px;
        padding: 0 14px;
    }


    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 68px 0;
    }

    .page-hero {
        padding: 46px 0 24px;
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.05;
        letter-spacing: -.04em;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .breadcrumb {
        padding-top: 20px;
    }

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

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .floating-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .site-footer {
        padding: 52px 0 22px;
    }

    .footer-grid {
        gap: 34px;
    }

    .footer-logo {
        margin-bottom: 18px;
    }

    .footer-social-block {
        margin-top: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 38px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-form,
    .contact-aside {
        padding: 22px;
    }

    .contact-float-menu {
        width: calc(100vw - 28px);
    }

    .contact-float-option {
        padding: 13px;
    }

    .contact-float-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .contact-float-text strong {
        font-size: .9rem;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        right: 17px;
        bottom: 84px;
    }

    .feature-card:hover,
    .case-card:hover,
    .review-card:hover,
    .team-card:hover,
    .info-card:hover,
    .indicator:hover {
        transform: none;
    }

}

@media(max-width: 480px) {

    .indicators-section {
        padding: 12px 0;
    }

    .indicator-value {
        font-size: 1.8rem;
    }

    .indicator-label {
        font-size: .78rem;
    }

}

@media(prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .loader-sun,
    .skeleton-image {
        animation: none;
    }

    .main-nav,
    .mobile-nav-overlay,
    .nav-toggle-line {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-copy > p,
    .hero-actions,
    .response-promise,
    .hero-media {
        opacity: 1;
        transform: none;
    }

}

.why-us-section {
    background: #fff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 72px;
    align-items: center;
}

.why-us-copy {
    max-width: 620px;
}

.why-us-copy h2 em {
    font-style: normal;
    color: var(--accent);
}

.why-us-copy p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.why-us-copy p:last-child {
    margin-bottom: 0;
}

.why-us-panel {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(11, 31, 58, .06);
}

.why-us-card {
    min-height: 170px;
    padding: 28px 32px;
}

.why-us-card:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.why-us-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
}

.why-us-kpi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.why-us-number {
    display: block;
    color: var(--ink);
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.why-us-kpi p {
    margin: 0;
    max-width: 280px;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.55;
}

.why-us-kpi h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.why-us-item {
    display: flex;
    align-items: center;
}

.why-us-item-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.why-us-dot {
    width: 16px;
    height: 16px;
    margin-top: 7px;
    border-radius: 50%;
    flex: 0 0 16px;
}

.why-us-dot--yellow {
    background: var(--accent);
}

.why-us-dot--green {
    background: #8dcf59;
}

.why-us-dot--purple {
    background: #7c5ce0;
}

.why-us-dot--orange {
    background: #ff8b24;
}

.why-us-item h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.why-us-item p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.why-us-card {
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.why-us-card:hover {
    background: #fbfbfa;
}

@media(max-width: 900px) {

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .why-us-copy {
        max-width: none;
    }

    .why-us-copy p {
        max-width: 760px;
    }

}

@media(max-width: 680px) {

    .why-us-panel {
        grid-template-columns: 1fr;
    }

    .why-us-card {
        min-height: auto;
        padding: 26px 24px;
    }

    .why-us-card:nth-child(odd) {
        border-right: 0;
    }

    .why-us-card:nth-child(-n+2) {
        border-bottom: 0;
    }

    .why-us-card:not(:last-child) {
        border-bottom: 1px solid var(--line);
    }

    .why-us-number {
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .why-us-item h3 {
        font-size: 1.28rem;
    }

}

.solution-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media(max-width: 900px) {

    .solution-grid-four {
        grid-template-columns: 1fr;
    }

}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* =========================================================
   ACCESO CLIENTES
   ========================================================= */

.customer-link {
    position: relative;

    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: #fff;
    color: var(--ink);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.customer-link:hover {
    border-color: var(--accent);
    background: var(--soft);
    color: var(--accent);
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(11, 31, 58, .08);
}

.customer-link:active {
    transform: scale(.96);
}

.customer-link:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .30);
    outline-offset: 3px;
}

.customer-link svg {
    width: 23px;
    height: 23px;
    display: block;
}


/* Cliente con sesión iniciada */

.customer-status-dot {
    position: absolute;

    top: -5px;
    right: -5px;

    width: 12px;
    height: 12px;

    border: 2px solid #fff;
    border-radius: 50%;

    background: #28a745;
}

.cart-link {
    position: relative;

    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: #fff;
    color: var(--ink);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.cart-link:hover {
    border-color: var(--accent);
    background: var(--soft);
    color: var(--accent);
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(11, 31, 58, .08);
}

.cart-link:active {
    transform: scale(.96);
}

.cart-link:focus-visible {
    outline: 3px solid
        rgba(248, 173, 27, .30);

    outline-offset: 3px;
}

.cart-link svg {
    width: 23px;
    height: 23px;

    display: block;
}

.cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    min-width: 21px;
    height: 21px;

    padding: 0 5px;

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

    border: 2px solid #fff;
    border-radius: 20px;

    background: var(--accent);
    color: #111;

    font-size: .68rem;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 3px 8px
        rgba(11, 31, 58, .15);
}


@media(max-width: 900px) {

    .nav-actions {
        margin-left: auto;
    }

}


@media(max-width: 560px) {

    .nav-actions {
        gap: 7px;
    }

    .cart-link {
        width: 44px;
        height: 44px;
        flex-basis: 44px;

        border-radius: 11px;
    }

    .cart-link svg {
        width: 22px;
        height: 22px;
    }

    .cart-count {
        top: -5px;
        right: -5px;

        min-width: 19px;
        height: 19px;

        font-size: .64rem;
    }

}

/* =========================================================
   TIENDA - FILTROS DE PRODUCTOS
   ========================================================= */

.products-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.products-content {
    min-width: 0;
}

.product-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;

    padding: 16px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: var(--soft);

    position: sticky;
    top: 96px;
}

.product-filters .filter-field {
    display: grid;
    gap: 4px;
    flex: none;
    width: 100%;
}

.product-filters .filter-search {
    flex: none;
}

.product-filters label {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-filters input[type="search"],
.product-filters select {
    width: 100%;

    border: 1px solid #ccd2da;
    border-radius: 8px;

    padding: 8px 10px;

    background: #fff;
    font: inherit;
    font-size: .88rem;
    color: var(--ink);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.product-filters input[type="search"]:focus,
.product-filters select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(248, 173, 27, .12);
}

.product-filters input[type="search"]:hover,
.product-filters select:hover {
    border-color: #aeb7c3;
}

.product-filters .filter-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;

    flex: none;
    padding-bottom: 0;
}

.product-filters .filter-checkbox input {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
}

.product-filters .filter-checkbox label {
    color: var(--ink);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.product-filters .filter-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    flex: none;
}

.product-filters .btn {
    min-height: 36px;
    padding: 0 16px;
    font-size: .82rem;
    border-radius: 8px;
}

.filter-clear {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    text-align: center;
}

.filter-clear:hover {
    color: var(--ink);
}

.product-results-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 18px;

    color: var(--muted);
    font-weight: 600;
}

@media(max-width: 900px) {

    .products-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-filters {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;

        position: static;
    }

    .product-filters .filter-field {
        flex: 1 1 140px;
        width: auto;
    }

    .product-filters .filter-search {
        flex: 2 1 200px;
    }

    .product-filters .filter-checkbox {
        padding-bottom: 9px;
    }

    .product-filters .filter-actions {
        flex-direction: row;
        align-items: center;
        flex: 0 0 auto;
    }

    .product-filters .btn {
        min-height: 34px;
    }

}

@media(max-width: 640px) {

    .product-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .product-filters .filter-field,
    .product-filters .filter-search {
        flex: 1 1 auto;
    }

    .product-filters .filter-checkbox {
        padding-bottom: 2px;
    }

    .product-filters .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-filters .btn {
        width: 100%;
    }

}

/* =========================================================
   TIENDA - GRID DE PRODUCTOS
   ========================================================= */

.shop-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* Tarjeta */

.product-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;
    height: 100%;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 10px 26px
        rgba(11, 31, 58, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: #d8dde4;

    box-shadow:
        0 16px 34px
        rgba(11, 31, 58, .08);
}


/* Imagen */

.product-card-image {
    min-height: 160px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: var(--soft);
}


.product-card-image img {
    width: 100%;
    height: 160px;

    padding: 16px;

    object-fit: contain;

    transition:
        transform .3s ease;
}


.product-card:hover
.product-card-image img {
    transform: scale(1.03);
}


/* Contenido */

.product-card-content {
    padding: 17px;

    display: flex;
    flex-direction: column;
    flex: 1;

    gap: 10px;
}


.product-sku {
    color: var(--muted);

    font-size: .72rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.product-card h2 {
    margin: 0;

    min-height: 54px;

    font-size: .98rem;
    line-height: 1.35;
}


.product-card h2 a:hover {
    color: var(--accent);
}


.product-price {
    display: block;

    color: var(--ink);

    font-size: 1.12rem;
    font-weight: 800;
}

.product-card .btn {
    width: 100%;

    min-height: 42px;

    margin-top: 4px;
    padding: 0 10px;

    font-size: .82rem;
}


/* =========================================================
   PAGINACIÓN
   ========================================================= */

.pagination {
    margin-top: 48px;

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

    gap: 16px;

    flex-wrap: wrap;
}


.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    flex-wrap: wrap;
}


.pagination-page,
.pagination-link {
    min-width: 42px;
    height: 42px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: #fff;
    color: var(--ink);

    font-size: .88rem;
    font-weight: 700;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.pagination-page:hover,
.pagination-link:hover {
    border-color: var(--accent);

    background: var(--soft);

    transform: translateY(-1px);
}


.pagination-page.is-active {
    border-color: var(--accent);

    background: var(--accent);
    color: #fff;

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE PRODUCTOS
   ========================================================= */

@media(max-width: 1000px) {

    .shop-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media(max-width: 760px) {

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

}

@media(max-width: 480px) {

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


    .product-card-image {
        min-height: 210px;
    }


    .product-card-image img {
        height: 210px;
    }


    .pagination {
        gap: 10px;
    }


    .pagination-link {
        min-width: auto;

        padding: 0 12px;
    }

}

/* =========================================================
   PRODUCTOS - VISTA COMPACTA
   ========================================================= */

.products-hero {
    padding-top: 30px;
    padding-bottom: 10px;
}

.products-hero .eyebrow {
    margin-bottom: 6px;
}

.products-hero h1 {
    max-width: 1050px;

    margin-top: 10px;
    margin-bottom: 14px;

    font-size: clamp(
        2.7rem,
        4vw,
        4.15rem
    );

    line-height: 1.02;
}

.products-hero p {
    max-width: 850px;

    margin-top: 0;
    margin-bottom: 0;
}

.products-section {
    position: relative;
    z-index: 1;

    padding-top: 28px;

    opacity: 1 !important;
    transform: none !important;
}


/* 3 productos por fila (deja espacio al sidebar de filtros) */

.shop-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


@media(max-width: 760px) {

    .products-hero {
        padding-top: 24px;
    }

    .products-section {
        padding-top: 24px;
    }

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

}


@media(max-width: 480px) {

    .products-hero h1 {
        font-size: clamp(
            2.1rem,
            9vw,
            2.8rem
        );
    }

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

}

/* =========================================================
   CARRITO SMART SUN
   ========================================================= */

.cart-page-section {
    padding: 36px 0 80px;
}

.cart-page-head {
    margin-bottom: 24px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.cart-page-head h1 {
    margin: 8px 0 0;

    font-size: clamp(
        2rem,
        3.2vw,
        3.2rem
    );

    line-height: 1;
    letter-spacing: -.04em;
}

.cart-security-note {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);

    font-size: .82rem;
    font-weight: 600;
}

.cart-security-note svg {
    width: 20px;
    height: 20px;

    color: var(--accent);
}


/* Tabla */

.cart-table-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 12px 34px
        rgba(11, 31, 58, .05);
}

.cart-table-head,
.cart-row {
    display: grid;

    grid-template-columns:
        minmax(310px, 2.3fr)
        minmax(120px, .9fr)
        minmax(120px, .9fr)
        minmax(130px, .9fr)
        minmax(120px, .9fr)
        70px;

    align-items: center;
}

.cart-table-head {
    min-height: 48px;

    padding: 0 18px;

    border-bottom: 1px solid var(--line);

    background: #fafbfc;

    color: var(--muted);

    font-size: .76rem;
    font-weight: 800;
}

.cart-row {
    min-height: 112px;

    padding: 16px 18px;

    border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
    border-bottom: 0;
}


/* Producto */

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-image {
    width: 82px;
    height: 76px;
    flex: 0 0 82px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 12px;

    background: var(--soft);
}

.cart-product-image img {
    width: 100%;
    height: 100%;

    padding: 8px;

    object-fit: contain;
}

.cart-product-info h2 {
    margin: 0 0 5px;

    font-size: .96rem;
    line-height: 1.35;
}

.cart-product-info small {
    display: block;

    color: var(--muted);

    font-size: .74rem;
}


/* Stock */

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: .8rem;
    font-weight: 700;
}

.stock-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.stock-badge.is-available {
    color: #547d0d;
}

.stock-badge.is-available .stock-dot {
    background: var(--accent);
}

.stock-badge.is-unavailable {
    color: #b42318;
}

.stock-badge.is-unavailable .stock-dot {
    background: #d92d20;
}


/* Precio */

.cart-price-cell,
.cart-total-cell {
    font-size: .88rem;
    font-weight: 700;
}

.cart-total-cell {
    font-weight: 800;
}


/* Cantidad */

.quantity-control {
    width: max-content;

    display: grid;
    grid-template-columns:
        38px 46px 38px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: #fff;
}

.quantity-btn {
    height: 38px;

    border: 0;

    background: #fff;
    color: var(--ink);

    font-size: 1.1rem;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.quantity-btn:hover {
    background: var(--soft);
    color: var(--accent);
}

.quantity-control input {
    width: 46px;
    height: 38px;

    padding: 0;

    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);

    outline: 0;

    text-align: center;

    appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}


/* Eliminar */

.cart-action-cell {
    text-align: center;
}

.cart-delete-button {
    width: 38px;
    height: 38px;

    display: inline-grid;
    place-items: center;

    padding: 0;

    border: 0;

    background: transparent;
    color: #8b96a4;

    cursor: pointer;

    transition:
        color .2s ease,
        background-color .2s ease;
}

.cart-delete-button:hover {
    border-radius: 8px;

    background: #fff2f1;
    color: #b42318;
}

.cart-delete-button svg {
    width: 19px;
    height: 19px;
}


/* Actualizar */

.cart-table-footer {
    padding: 14px 18px;

    display: flex;
    justify-content: flex-end;

    border-top: 1px solid var(--line);

    background: #fafbfc;
}


/* Inferior */

.cart-bottom-grid {
    margin-top: 18px;

    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(520px, 1.4fr);

    gap: 18px;
}

.cart-coupon-card,
.cart-order-summary {
    border: 1px solid var(--line);
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 10px 26px
        rgba(11, 31, 58, .04);
}

.cart-coupon-card {
    padding: 22px;
}

.cart-coupon-card h2,
.cart-order-summary h2 {
    margin: 0 0 10px;

    font-size: 1rem;
}

.cart-coupon-card p {
    margin: 0 0 16px;

    color: var(--muted);

    font-size: .82rem;
    line-height: 1.5;
}

.coupon-placeholder {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.coupon-placeholder input {
    min-height: 46px;

    padding: 0 13px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: #f7f8fa;

    font: inherit;
}


/* Resumen */

.cart-order-summary {
    overflow: hidden;
}

.cart-summary-main {
    padding: 22px;

    display: grid;

    grid-template-columns:
        minmax(250px, 1fr)
        minmax(220px, .9fr);

    gap: 28px;

    align-items: start;
}

.cart-summary-row {
    padding: 10px 0;

    display: flex;
    justify-content: space-between;
    gap: 16px;

    border-bottom: 1px solid var(--line);

    font-size: .84rem;
}

.cart-summary-row span {
    color: var(--muted);
}

.cart-summary-total {
    padding-top: 16px;

    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;

    font-size: 1rem;
}

.cart-summary-total strong {
    color: var(--accent);

    font-size: 1.55rem;
    line-height: 1;
}

.cart-checkout-btn {
    width: 100%;
}


/* Beneficios */

.cart-benefits {
    padding: 0 22px 22px;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.cart-benefit {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cart-benefit-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #f2f7e8;
    color: var(--accent);
}

.cart-benefit-icon svg {
    width: 19px;
    height: 19px;
}

.cart-benefit div {
    display: grid;
    gap: 2px;
}

.cart-benefit strong {
    font-size: .78rem;
}

.cart-benefit small {
    color: var(--muted);

    font-size: .7rem;
    line-height: 1.35;
}


/* Seguir comprando */

.cart-continue {
    margin-top: 20px;
}

.cart-continue a {
    color: var(--muted);

    font-size: .86rem;
    font-weight: 700;
}

.cart-continue a:hover {
    color: var(--accent);
}


/* Vacío */

.cart-empty-state {
    max-width: 560px;

    margin: 20px auto;

    padding: 50px 30px;

    text-align: center;

    border: 1px solid var(--line);
    border-radius: 20px;

    background: #fff;
}

.cart-empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--soft);
    color: var(--accent);
}

.cart-empty-icon svg {
    width: 32px;
    height: 32px;
}

.cart-empty-state h2 {
    margin: 0 0 10px;
}

.cart-empty-state p {
    margin: 0 0 24px;

    color: var(--muted);
}


/* Responsive */

@media(max-width: 1050px) {

    .cart-table-card {
        overflow-x: auto;
    }

    .cart-table-head,
    .cart-row {
        min-width: 980px;
    }

    .cart-bottom-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width: 760px) {

    .cart-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-summary-main {
        grid-template-columns: 1fr;
    }

    .cart-benefits {
        grid-template-columns: 1fr;
    }

}


@media(max-width: 520px) {

    .cart-page-section {
        padding-top: 24px;
    }

    .cart-coupon-card,
    .cart-summary-main,
    .cart-benefits {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/* =========================================================
   DETALLE DE PRODUCTO
   ========================================================= */

.product-page-section {
    padding-top: 46px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 72px;
    align-items: start;
}


/* IMAGEN */

.product-detail-media {
    position: sticky;
    top: 110px;
}

.product-image-frame {
    min-height: 520px;

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

    padding: 44px;

    border: 1px solid var(--line);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #fbfbfa,
            #f3f4f5
        );

    overflow: hidden;
}

.product-image-frame img {
    width: 100%;
    max-height: 520px;

    object-fit: contain;

    transition: transform .35s ease;
}

.product-image-frame:hover img {
    transform: scale(1.025);
}

.product-image-placeholder {
    min-height: 520px;

    display: grid;
    place-items: center;

    border: 1px dashed #ccd2da;
    border-radius: 28px;

    background: var(--soft);
    color: var(--muted);
}


/* CONTENIDO */

.product-detail-content {
    padding-top: 10px;
}

.product-detail-content .eyebrow {
    margin-bottom: 12px;
}

.product-detail-content h1 {
    margin: 0 0 14px;

    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.045em;

    text-wrap: balance;
}

.product-sku {
    margin: 0 0 30px;

    color: var(--muted);
    font-size: .84rem;
}

.product-sku strong {
    color: var(--ink);
    font-weight: 700;
}


/* PRECIO */

.product-price-block {
    display: grid;
    gap: 4px;

    margin-bottom: 30px;
}

.product-price-label {
    color: var(--muted);

    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-price-large {
    display: block;

    color: var(--ink);

    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}


/* DESCRIPCIÓN */

.product-description {
    margin-bottom: 28px;

    color: var(--muted);

    font-size: 1.02rem;
    line-height: 1.75;
}


/* STOCK */

.product-meta {
    margin-bottom: 22px;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;

    border-radius: 9px;

    font-size: .82rem;
    font-weight: 700;
}

.product-stock small {
    margin-left: 3px;

    color: inherit;
    opacity: .72;

    font-size: .76rem;
    font-weight: 600;
}

.product-stock-available {
    background: #eef8f0;
    color: #27733c;
}

.product-stock-unavailable {
    background: #fff1f0;
    color: #a8322d;
}

.stock-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #3fa35c;
}


/* CARRITO */

.add-cart-form {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr);
    gap: 14px;
    align-items: end;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: var(--soft);
}

.quantity-field {
    display: grid;
    gap: 7px;
}

.quantity-field label {
    color: var(--ink);

    font-size: .8rem;
    font-weight: 750;
}

.quantity-control {
    display: flex;
    align-items: stretch;

    height: 50px;

    overflow: hidden;

    border: 1px solid #ccd2da;
    border-radius: 10px;

    background: white;
}

.quantity-control input {
    width: 54px;

    border: 0;

    text-align: center;

    font: inherit;
    font-weight: 750;
    color: var(--ink);

    appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}

.quantity-control input:focus {
    outline: none;
}

.quantity-button {
    width: 40px;

    border: 0;

    background: white;
    color: var(--ink);

    font-size: 1.2rem;
    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.quantity-button:hover {
    background: #f0f1f2;
}

.product-add-button {
    width: 100%;
    min-height: 50px;

    gap: 9px;
}

.product-add-button svg {
    width: 21px;
    height: 21px;
}


/* BENEFICIOS */

.product-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    margin-top: 22px;
}

.product-benefits > div {
    padding: 15px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: white;
}

.product-benefits strong {
    display: block;

    margin-bottom: 3px;

    font-size: .84rem;
}

.product-benefits span {
    display: block;

    color: var(--muted);

    font-size: .76rem;
    line-height: 1.45;
}


/* RESPONSIVE */

@media(max-width: 900px) {

    .product-detail {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .product-detail-media {
        position: static;
    }

    .product-image-frame,
    .product-image-placeholder {
        min-height: 420px;
    }

}


@media(max-width: 560px) {

    .product-page-section {
        padding-top: 26px;
    }

    .product-image-frame {
        min-height: 320px;
        padding: 26px;
        border-radius: 20px;
    }

    .product-image-placeholder {
        min-height: 320px;
        border-radius: 20px;
    }

    .product-detail-content h1 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .add-cart-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .quantity-control {
        width: 142px;
    }

    .product-benefits {
        grid-template-columns: 1fr;
    }

}

.cart-row {
    position: relative;
    z-index: 2;
}

.cart-action-cell {
    position: relative;
    z-index: 5;
}

.cart-delete-button {
    position: relative;
    z-index: 6;
}

.cart-table-footer {
    position: relative;
    z-index: 1;
}

.cart-bottom-grid {
    position: relative;
    z-index: 1;
}

/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.brand img {
    display: block;
    width: auto;
    height: 104px;
}


/* =========================================================
   HEADER
   ========================================================= */

.nav {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .nav {
        min-height: 104px;
    }

    .brand img {
        height: 80px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .nav {
        min-height: 90px;
    }

    .brand img {
        height: 68px;
    }

}

/* =========================================================
   404
   ========================================================= */

.not-found-section {
    padding: 80px 0 96px;
}

.not-found {
    min-height: 58vh;
    max-width: 850px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.error-code {
    margin-bottom: 12px;

    color: #eef0f2;

    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.06em;
}

.not-found .eyebrow {
    margin-bottom: 14px;
}

.not-found h1 {
    max-width: 780px;

    margin: 0;

    color: var(--ink);

    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.05em;

    text-wrap: balance;
}

.not-found p {
    max-width: 620px;

    margin: 28px 0 0;

    color: var(--muted);

    font-size: 1.05rem;
    line-height: 1.65;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

@media (max-width: 600px) {

    .not-found-section {
        padding: 48px 0 64px;
    }

    .not-found {
        min-height: 55vh;
    }

    .error-code {
        font-size: clamp(4.5rem, 28vw, 7rem);
    }

    .not-found h1 {
        font-size: clamp(2.5rem, 12vw, 3.7rem);
        line-height: 1;
    }

    .not-found p {
        margin-top: 22px;
        font-size: .96rem;
    }

    .not-found-actions {
        width: 100%;
        margin-top: 26px;
    }

    .not-found-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   HERO CAROUSEL — MEJORAS VISUALES
   ========================================================= */

.hero-carousel {
    --hero-carousel-duration: 5000ms;

    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 460px;

    overflow: hidden;

    border-radius: 30px;
    background: #eef1f4;

    box-shadow: 0 26px 70px rgba(11, 31, 58, .12);
}

.hero-carousel-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;

    margin: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.035);
}

.hero-slide.is-active img {
    animation:
        heroCarouselZoom
        var(--hero-carousel-duration)
        ease-out
        forwards;
}

@keyframes heroCarouselZoom {

    from {
        transform: scale(1.035);
    }

    to {
        transform: scale(1);
    }

}


/* Encuadre individual */

.hero-slide--solar img {
    object-position: center 55%;
}

.hero-slide--victron img {
    object-position: center 46%;
}

.hero-slide--generadores img {
    object-position: center 50%;
}

.hero-slide--proyectos img {
    object-position: center 45%;
}


/* Navegación */

.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;

    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);

    color: var(--ink);

    box-shadow: 0 10px 28px rgba(11, 31, 58, .14);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.hero-carousel-arrow:hover {
    background: #fff;

    transform:
        translateY(-50%)
        scale(1.05);

    box-shadow:
        0 14px 34px
        rgba(11, 31, 58, .18);
}

.hero-carousel-arrow:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .32);
    outline-offset: 3px;
}

.hero-carousel-arrow span {
    margin-top: -2px;

    font-size: 1.8rem;
    line-height: 1;
}

.hero-carousel-prev {
    left: 16px;
}

.hero-carousel-next {
    right: 16px;
}


/* Barras de progreso */

.hero-carousel-dots {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-carousel-dot {
    position: relative;

    width: 48px;
    height: 5px;

    padding: 0;

    overflow: hidden;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, .46);

    cursor: pointer;
}

.hero-carousel-progress {
    position: absolute;
    inset: 0;

    display: block;

    border-radius: inherit;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: left center;
}

.hero-carousel-dot.is-active
.hero-carousel-progress {
    animation:
        heroCarouselProgress
        var(--hero-carousel-duration)
        linear
        forwards;
}

@keyframes heroCarouselProgress {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}

.hero-carousel-dot:focus-visible {
    outline: 3px solid rgba(248, 173, 27, .34);
    outline-offset: 4px;
}


/* Tarjeta contextual */

.hero-media .floating-card {
    z-index: 6;
    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        box-shadow .3s ease,
        background-color .3s ease;
}

.hero-media .floating-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 52px rgba(11, 31, 58, .16);
}

.hero-media .floating-card strong,
.hero-media .floating-card span {
    transition:
        opacity .26s ease,
        transform .3s cubic-bezier(.22, 1, .36, 1);
}

.hero-media .floating-card.is-changing strong {
    opacity: 0;
    transform: translateY(7px);
}

.hero-media .floating-card.is-changing span {
    opacity: 0;
    transform: translateY(9px);
}


/* Responsive del carrusel */

@media (max-width: 900px) {

    .hero-carousel {
        min-height: 360px;
        border-radius: 22px;
    }

    .hero-carousel-dots {
        left: 16px;
        bottom: 16px;
    }

    .hero-carousel-arrow {
        width: 40px;
        height: 40px;
    }

}


@media (max-width: 560px) {

    .hero-carousel {
        min-height: 280px;
        aspect-ratio: 16 / 11;
    }

    .hero-carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-carousel-arrow span {
        font-size: 1.55rem;
    }

    .hero-carousel-prev {
        left: 10px;
    }

    .hero-carousel-next {
        right: 10px;
    }

    .hero-carousel-dots {
        left: 14px;
        right: 14px;
        bottom: 14px;

        gap: 6px;
    }

    .hero-carousel-dot {
        flex: 1 1 0;
        width: auto;
        max-width: 48px;
    }

}

/* =========================================================
   SOLUCIÓN FOTOVOLTAICA DESTACADA
   ========================================================= */

.solution-feature {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, .85fr);

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: #fff;

    box-shadow:
        0 18px 48px rgba(11, 31, 58, .06);
}

.solution-feature-media {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    background: #eef1f4;
}

.solution-feature-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    transition:
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.solution-feature:hover
.solution-feature-media img {
    transform: scale(1.025);
}

.solution-feature-content {
    display: flex;
    flex-direction: column;

    padding: clamp(32px, 4vw, 54px);
}

.solution-feature-content h2 {
    margin:
        10px
        0
        14px;

    color: var(--ink);

    font-size:
        clamp(2rem, 3vw, 3.1rem);

    line-height: 1.05;
    letter-spacing: -.035em;
}

.solution-feature-intro {
    margin: 0 0 30px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.65;
}

.solution-benefits {
    display: grid;

    border-top:
        1px solid var(--line);
}

.solution-benefit {
    position: relative;

    padding:
        19px
        0
        19px
        22px;

    border-bottom:
        1px solid var(--line);
}

.solution-benefit::before {
    content: "";

    position: absolute;

    top: 25px;
    left: 0;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px
        rgba(248, 173, 27, .11);
}

.solution-benefit strong {
    display: block;

    margin-bottom: 5px;

    color: var(--ink);

    font-size: .97rem;
    font-weight: 800;
}

.solution-benefit span {
    display: block;

    color: var(--muted);

    font-size: .9rem;
    line-height: 1.55;
}

.solution-feature-link {
    position: relative;

    width: fit-content;

    margin-top: 28px;

    color: var(--ink);

    font-weight: 800;

    text-decoration: none;
}

.solution-feature-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -4px;

    height: 2px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: left center;

    transition:
        transform .28s ease;
}

.solution-feature-link:hover::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {

    .solution-feature {
        grid-template-columns: 1fr;
    }

    .solution-feature-media {
        min-height: 420px;
    }

}

@media (max-width: 560px) {

    .solution-feature-media {
        min-height: 300px;
    }

    .solution-feature-content {
        padding: 26px 22px 30px;
    }

    .solution-feature-content h2 {
        font-size: 2rem;
    }

    .solution-feature-intro {
        margin-bottom: 22px;
    }

    .solution-benefit {
        padding:
            16px
            0
            16px
            20px;
    }

    .solution-benefit::before {
        top: 22px;
    }

}
