:root {
    --brand: #007fff;
    --brand-hover: #0066cc;
    --brand-soft: #e8f3ff;
    --ink: #1d1d1b;
    --muted: #6e6e73;
    --surface: #f5f5f7;
    --paper: #ffffff;
    --line: #d2d2d7;
    --radius: 20px;
    --radius-sm: 14px;
    --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.06), 0 14px 40px rgba(0, 0, 0, 0.1);
    --shadow-soft: var(--card-shadow);
    --shadow-hover: var(--card-shadow-hover);
    --header-h: 4.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4,
.brand__name,
.hero__title,
.section-intro h2 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--ink);
}

a {
    color: var(--brand);
}

a:hover {
    color: var(--brand-hover);
}

/* Lucide: trazo fino en todos los iconos */
svg.lucide {
    stroke-width: 1.3;
}

.skip-link:focus {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    background: var(--paper);
    padding: 0.5rem 0.75rem;
    border-radius: 0.35rem;
    box-shadow: var(--shadow-soft);
}

/* —— Header —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(210, 210, 215, 0.6);
}

.navbar {
    min-height: var(--header-h);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--ink);
}

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

.brand__name {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand__mark {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--ink) !important;
    background: transparent;
}

.nav-link.active {
    color: var(--brand) !important;
    font-weight: 600;
    background: transparent;
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
    margin-top: 0.35rem !important;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.55rem 0.85rem;
    font-weight: 500;
    color: var(--ink);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--surface);
    color: var(--brand);
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 127, 255, 0.2);
}

/* —— Buttons —— */
.btn {
    border-radius: 980px;
    font-weight: 550;
    padding: 0.65rem 1.35rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-hover);
    --bs-btn-hover-border-color: var(--brand-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #005bb8;
    --bs-btn-active-border-color: #005bb8;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
}

.btn-outline-brand {
    --bs-btn-color: var(--brand);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-hover);
    --bs-btn-active-border-color: var(--brand-hover);
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1.05rem;
}

/* —— Home continuous band (hero + services) —— */
.home-band {
    background: #f5f5f7;
}

/* —— Hero —— */
.hero {
    position: relative;
    min-height: min(78vh, 680px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse 95% 85% at 80% 15%,
            rgba(0, 127, 255, 0.09) 0%,
            rgba(0, 127, 255, 0.045) 28%,
            rgba(0, 127, 255, 0.015) 48%,
            transparent 68%
        ),
        #f5f5f7;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 4.5rem 2.5rem;
}

.hero__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.hero__title {
    font-size: clamp(2.35rem, 5vw, 3.55rem);
    line-height: 1.08;
    margin-bottom: 1.15rem;
    font-weight: 650;
}

.hero__lead {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 34rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-visual {
    max-width: 640px;
    margin-inline: auto;
}

.hero-visual__img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .hero-visual__img {
        width: 125%;
        max-width: none;
        margin-inline: -10% -15%;
    }
}

/* —— Sections —— */
.section {
    padding: 5rem 0;
}

.section--muted {
    background: var(--surface);
}

/* Continúa el mismo fondo del hero; sin franja ni corte de color */
.home-band .home-band__services {
    background: transparent;
    padding-top: 2.75rem;
    padding-bottom: 5rem;
}

.section--cta {
    background: linear-gradient(160deg, var(--brand) 0%, #0057b8 100%);
    color: #fff;
}

.section--cta h2,
.section--cta p {
    color: #fff;
}

.section--cta p {
    opacity: 0.92;
}

.section-intro {
    max-width: 40rem;
    margin-bottom: 2.75rem;
}

.section-intro--center {
    margin-inline: auto;
    text-align: center;
}

.section-intro h1,
.section-intro h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.55rem);
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.section-intro p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.55;
}

/* —— Cards (estilo Apple compartido) —— */
.card-soft,
.card-link,
.service-block,
.product-card,
.highlight-box,
.contact-card {
    background: #fff;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-soft:hover,
.card-link:hover,
.service-block:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.card-soft {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-soft--lg {
    padding: 2.5rem;
}

.card-soft__icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--brand);
    margin-bottom: 1.15rem;
}

.card-soft h3 {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.card-soft p {
    color: var(--muted);
    flex: 1;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.card-soft .btn {
    align-self: flex-start;
}

/* —— Landing service preview (featured row + 4 cols) —— */
.services-preview {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.services-preview__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-preview__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .services-preview__grid {
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
    }
}

.card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.85rem 1.75rem 1.6rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

.card-link__icon {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--brand);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.card-link h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
    line-height: 1.25;
    color: var(--ink);
}

.card-link p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    flex: 1;
}

.card-link__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-top: auto;
    margin-left: auto;
    align-self: flex-end;
    flex-shrink: 0;
    background: none;
    border-radius: 0;
    color: var(--brand);
    opacity: 0.75;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.card-link__arrow svg {
    width: 1.15rem;
    height: 1.15rem;
}

.card-link:hover .card-link__arrow {
    background: none;
    color: var(--brand);
    opacity: 1;
    transform: translateX(3px);
}

.card-link--featured {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: var(--brand-soft);
    padding: 1.5rem 1.85rem;
    height: auto;
    min-height: 0;
}

.card-link__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.card-link--featured .card-link__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0;
}

.card-link__text {
    min-width: 0;
}

.card-link--featured h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.card-link--featured p {
    font-size: 1rem;
    margin: 0;
    flex: none;
    color: var(--muted);
}

.card-link--featured .card-link__arrow {
    margin-top: 0;
    margin-left: 0;
    align-self: center;
}

@media (max-width: 575.98px) {
    .card-link--featured {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
    }

    .card-link--featured .card-link__arrow {
        align-self: flex-end;
    }
}

.service-block {
    padding: 2rem;
    height: 100%;
}

.service-block--action {
    display: flex;
    flex-direction: column;
}

.service-block--action .btn {
    align-self: flex-start;
    margin-top: 1.25rem;
}

.service-block h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.service-block > p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.55rem;
    color: var(--ink);
    line-height: 1.45;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand);
}

.service-note {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: var(--muted);
    font-style: italic;
}

.highlight-box {
    background: var(--brand-soft);
    padding: 2.25rem 2rem;
    text-align: center;
}

.highlight-box:hover {
    transform: none;
    box-shadow: var(--card-shadow);
}

.highlight-box p {
    font-size: 1.15rem;
    font-weight: 550;
    margin-bottom: 1.25rem;
    color: var(--ink);
    max-width: 36rem;
    margin-inline: auto;
}

/* —— Process section spacing —— */
#proceso {
    background: #fff;
    padding-block: 68px;
}

@media (min-width: 768px) {
    #proceso {
        padding-block: 90px;
    }
}

@media (min-width: 992px) {
    #proceso {
        padding-block: 120px;
    }
}

#proceso .section-intro {
    margin-bottom: 60px;
}

/* —— Process track —— */
.process-track {
    --process-line: #d2d2d7;
    --process-num-size: 2.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2.5rem;
    position: relative;
    max-width: 58rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .process-track {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem 2rem;
        max-width: none;
        padding-top: 0;
    }

    .process-track::before {
        content: "";
        position: absolute;
        top: calc(var(--process-num-size) / 2);
        left: calc(12.5% + var(--process-num-size) / 2);
        right: calc(12.5% + var(--process-num-size) / 2);
        height: 1px;
        background: var(--process-line);
        z-index: 0;
    }
}

.process-track__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--process-num-size) 1fr;
    gap: 1.15rem;
    align-items: flex-start;
}

@media (max-width: 767.98px) {
    .process-track__step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: calc(var(--process-num-size) / 2);
        top: var(--process-num-size);
        bottom: -2.5rem;
        width: 1px;
        background: var(--process-line);
        transform: translateX(-50%);
        z-index: 0;
    }
}

@media (min-width: 768px) {
    .process-track__step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }
}

.process-track__marker {
    position: relative;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.process-track__num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--process-num-size);
    height: var(--process-num-size);
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 650;
    font-family: var(--font-display);
    box-shadow: 0 0 0 6px #fff;
}

.process-track__content {
    min-width: 0;
    padding-top: 0.2rem;
}

@media (min-width: 768px) {
    .process-track__content {
        padding-top: 1.25rem;
        max-width: 15rem;
    }
}

.process-track__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
    color: var(--ink);
    line-height: 1.3;
}

.process-track__content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* —— Product tools —— */
.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.section--tools {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 127, 255, 0.08), transparent 60%),
        var(--surface);
    border-top: none;
}

.product-card {
    --product-accent: var(--brand);
    --product-accent-hover: var(--brand-hover);
    --product-accent-soft: var(--brand-soft);
    --product-accent-text: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card--baratie {
    --product-accent: #ffa500;
    --product-accent-hover: #e69500;
    --product-accent-soft: #fff4e0;
    --product-accent-text: var(--ink);
}

.product-card--seoferta {
    --product-accent: #008686;
    --product-accent-hover: #006d6d;
    --product-accent-soft: #e2f4f4;
}

.product-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem 1.5rem;
    background: linear-gradient(160deg, var(--product-accent-soft) 0%, #fff 100%);
    border-bottom: 3px solid var(--product-accent);
}

.product-card__media img {
    width: 7rem;
    height: 7rem;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 0.85rem;
}

.product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2rem 2rem;
}

.product-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--ink);
}

.product-card__text {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.product-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
}

.product-card__features li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--ink);
    font-weight: 500;
}

.product-card__features li + li {
    margin-top: 0.65rem;
}

.product-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--product-accent);
}

.product-card__features li::after {
    content: "";
    position: absolute;
    left: 0.42rem;
    top: 0.42rem;
    width: 0.36rem;
    height: 0.62rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.product-card__cta {
    --bs-btn-color: var(--product-accent-text);
    --bs-btn-bg: var(--product-accent);
    --bs-btn-border-color: var(--product-accent);
    --bs-btn-hover-color: var(--product-accent-text);
    --bs-btn-hover-bg: var(--product-accent-hover);
    --bs-btn-hover-border-color: var(--product-accent-hover);
    --bs-btn-active-color: var(--product-accent-text);
    --bs-btn-active-bg: var(--product-accent-hover);
    --bs-btn-active-border-color: var(--product-accent-hover);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-card__cta-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .product-card__body {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .product-card__cta {
        align-self: stretch;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
}

/* —— FAQ —— */
.accordion-flush .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
}

.accordion-button {
    font-weight: 550;
    font-size: 1.05rem;
    color: var(--ink);
    background: transparent;
    box-shadow: none !important;
    padding: 1.25rem 0;
}

.accordion-button:not(.collapsed) {
    color: var(--brand);
    background: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-body {
    padding: 0 0 1.35rem;
    color: var(--muted);
    line-height: 1.55;
}

/* —— Page hero —— */
.page-hero {
    padding: 2.5rem 0 0;
    background: #fff;
}

.page-hero .container::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: 2rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand) 0 5rem, rgba(210, 210, 215, 0.6) 5rem);
}

@media (min-width: 768px) {
    .page-hero {
        padding-top: 3rem;
    }

    .page-hero .container::after {
        margin-top: 2.25rem;
    }
}

@media (min-width: 992px) {
    .page-hero {
        padding-top: 3.5rem;
    }

    .page-hero .container::after {
        margin-top: 1.5rem;
    }
}

.page-hero .hero__title {
    margin-bottom: 0.85rem;
}

.page-hero + .section {
    padding-top: 2.5rem;
}

@media (min-width: 992px) {
    .page-hero + .section {
        padding-top: 3rem;
    }
}

/* Servicios: acercar bloques de trámites y empresas */
.page-services #tramites {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.page-services #empresas-grupo {
    padding-top: 2.5rem;
}

@media (min-width: 992px) {
    .page-services #tramites {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }

    .page-services #empresas-grupo {
        padding-top: 3rem;
    }
}

/* Bento trámites personales */
.tramites-bento {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 24px */
}

.tramites-bento .service-block {
    height: auto;
}

.tramites-bento__pair {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .tramites-bento {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .tramites-bento__pair {
        grid-template-rows: 1fr 1fr;
    }
}

.service-block--featured {
    background: #fff;
    padding: 2rem;
    height: auto;
}

.tramites-featured {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.tramites-featured__intro .card-soft__icon {
    margin-bottom: 1rem;
}

.tramites-featured__intro h3 {
    margin-bottom: 0.65rem;
}

.tramites-featured__intro p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.tramites-featured__list {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    gap: 0;
}

.service-block--featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.cta-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
    background: #f5f5f7;
    border-radius: var(--radius);
    box-shadow: none;
}

.cta-strip p {
    margin: 0;
    color: var(--ink);
    font-weight: 550;
    font-size: 1.02rem;
    line-height: 1.45;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

.cta-strip .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .cta-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }
}

.info-panel {
    padding: 1.75rem;
    background: var(--brand-soft);
    border-radius: var(--radius);
}

.info-panel hr {
    border-color: var(--brand);
    opacity: 0.15;
}

.info-panel .social-row a {
    background: #fff;
    border-color: transparent;
}

.info-panel .social-row a:hover {
    border-color: var(--brand);
    background: #fff;
}

.breadcrumbs {
    margin: 0;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-inline: 0.55rem;
    color: #c7c7cc;
}

.breadcrumbs__item a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs__item a:hover {
    color: var(--brand);
}

.breadcrumbs__item [aria-current="page"] {
    color: var(--ink);
    font-weight: 550;
}

/* —— About —— */
.prose-block p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
}

/* —— Contact —— */
.contact-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.contact-meta li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.contact-meta svg {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    color: var(--brand);
    flex-shrink: 0;
}

.contact-meta a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.contact-meta a:hover {
    color: var(--brand);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 980px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-row a:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

.social-row svg {
    width: 1rem;
    height: 1rem;
}

.contact-card {
    padding: 2.5rem;
}

@media (max-width: 767.98px) {
    .contact-card {
        padding: 1.5rem;
    }
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--line);
    padding: 0.75rem 0.95rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(0, 127, 255, 0.15);
}

.contact-form label {
    font-weight: 550;
    margin-bottom: 0.35rem;
}

.hp-wrap {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-field {
    display: none !important;
}

/* —— Footer —— */
.site-footer {
    margin-top: auto;
    background: var(--ink);
    color: #a1a1a6;
    padding: 4rem 0 1.75rem;
}

.site-footer .brand__name {
    color: #fff;
}

.brand__mark--footer {
    width: 27px;
    height: 36px;
    border-radius: 0;
    object-fit: contain;
}

.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    color: #86868b;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #d2d2d7;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-tagline {
    color: #86868b;
    max-width: 22rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #86868b;
    line-height: 1.5;
    max-width: 36rem;
    margin-top: 1.5rem;
}

.footer-bottom {
    margin-top: 2.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    color: #86868b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    color: #a1a1a6;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d2d2d7;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.footer-social svg {
    width: 1rem;
    height: 1rem;
}

/* —— Firma —— */
.signature-card {
    max-width: 52rem;
}

.signature-pad {
    position: relative;
    background: #fff;
    border: 1.5px dashed var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.signature-pad__canvas {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 2;
    touch-action: none;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

.signature-pad__guide {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 22%;
    border-bottom: 1px solid var(--line);
    pointer-events: none;
}

.signature-pad__label {
    display: block;
    padding-bottom: 0.3rem;
    font-size: 0.85rem;
    color: var(--muted);
    transition: opacity 0.2s ease;
}

.signature-pad.has-ink .signature-pad__label {
    opacity: 0;
}

.signature-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.signature-inks,
.signature-actions,
.signature-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.signature-ink,
.signature-actions .btn,
.signature-result-actions .btn,
.signature-done__title,
[data-signature-copy] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.signature-ink__dot {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
}

.signature-ink__dot--black {
    background: #111827;
}

.signature-ink__dot--blue {
    background: #1d4ed8;
}

.signature-actions svg,
.signature-result-actions svg,
[data-signature-copy] svg {
    width: 1rem;
    height: 1rem;
}

.signature-done__title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.signature-result {
    display: block;
    max-width: 100%;
    max-height: 12rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

@media (max-width: 575.98px) {
    .signature-pad__canvas {
        aspect-ratio: 4 / 3;
    }

    [data-signature-save],
    .signature-result-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* —— Legal —— */
.legal-content {
    max-width: 42rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 3.5rem 0;
    }

    .card-soft--lg {
        padding: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn:hover,
    .card-soft:hover,
    .card-link:hover,
    .service-block:hover,
    .product-card:hover {
        transform: none;
    }
}
