html,
body {
    max-width: 100%;
    overflow-x: clip;
}

html {
    scroll-padding-top: 96px;
}

img,
svg {
    max-width: 100%;
}

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

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

.btn-industrial {
    border-bottom: 3px solid #584400;
    transition: all 0.2s ease;
}

.btn-industrial:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
}

.safety-card {
    border: 1px solid #E5E7EB;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.safety-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 639px) {
    .text-headline-md {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .safety-card {
        padding: 1.25rem;
    }

    .safety-card > * {
        min-width: 0;
    }

    .safety-card:hover {
        transform: none;
        box-shadow: 0 4px 8px -3px rgba(0, 0, 0, 0.1);
    }

    #services .grid {
        gap: 1rem;
    }

    #services h3 {
        align-items: flex-start;
        margin-bottom: 1.25rem;
        font-size: 0.6875rem;
        line-height: 1.25rem;
    }

    #services .safety-card p,
    #process .safety-card p {
        line-height: 1.5;
    }

    footer li a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }
}
.quote-section {
    scroll-margin-top: 96px;
    background:
        radial-gradient(circle at 10% 0%, rgba(245, 197, 24, 0.16), transparent 24rem),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, #0f141b 0%, #151c27 54%, #080b10 100%);
    color: #ffffff;
}

.quote-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(203, 213, 225, 0.34);
    background: linear-gradient(180deg, rgba(18, 24, 33, 0.96), rgba(8, 12, 18, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #f5c518;
}

.quote-title-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    background: #f5c518;
    color: #151c27;
    padding: 0.75rem 1.25rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}

.quote-title-bar .material-symbols-outlined {
    color: #151c27;
}

.quote-required-note {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border: 1px solid rgba(245, 197, 24, 0.42);
    border-left: 4px solid #f5c518;
    background: rgba(245, 197, 24, 0.08);
    color: rgba(255, 255, 255, 0.84);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.quote-field label,
.quote-other-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.quote-field label span[aria-hidden="true"] {
    color: #f5c518;
}

.quote-input {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-bottom: 2px solid rgba(203, 213, 225, 0.42);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    outline: none;
    padding: 0.55rem 0.65rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-input:focus {
    border-bottom-color: #f5c518;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 6px 0 -4px rgba(245, 197, 24, 0.9);
}

.quote-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.quote-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.quote-service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    border: 1px solid rgba(203, 213, 225, 0.28);
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    padding: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quote-service-item:focus-within,
.quote-service-item:hover {
    border-color: rgba(245, 197, 24, 0.72);
    background: rgba(245, 197, 24, 0.07);
}

.quote-service-item label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    cursor: pointer;
    line-height: 1.45;
}

.quote-checkbox {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.18rem;
    accent-color: #f5c518;
    cursor: pointer;
}

.quote-checkbox:focus-visible,
.quote-submit:focus-visible,
.quote-whatsapp:focus-visible {
    outline: 3px solid rgba(245, 197, 24, 0.88);
    outline-offset: 3px;
}

.quote-number {
    display: inline-flex;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #151c27;
    font-weight: 800;
    line-height: 1;
}

.quote-other-field {
    margin-top: 1.25rem;
    max-width: 42rem;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.quote-submit,
.quote-whatsapp {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    padding: 0.9rem 1.5rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quote-submit {
    border: 0;
    background: #f5c518;
    color: #151c27;
}

.quote-submit:hover {
    background: #ffd84d;
}

.quote-whatsapp {
    border: 2px solid rgba(255, 255, 255, 0.72);
    color: #ffffff;
}

.quote-whatsapp:hover {
    border-color: #f5c518;
    color: #f5c518;
}

@media (max-width: 767px) {
    .quote-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .quote-section {
        scroll-margin-top: 84px;
    }

    .quote-title-bar {
        width: 100%;
        clip-path: none;
        font-size: 0.75rem;
    }

    .quote-card {
        padding: 1rem;
    }

    .quote-service-item {
        padding: 0.875rem;
    }

    .quote-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-submit,
    .quote-whatsapp {
        width: 100%;
    }
}
.nav-affiliate-link {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(116, 91, 0, 0.38);
    background: rgba(245, 197, 24, 0.12);
    color: #151c27;
    padding: 0.5rem 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-affiliate-link:hover,
.nav-affiliate-link:focus-visible {
    border-color: #745b00;
    background: #f5c518;
    color: #151c27;
}

.service-detail {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.9rem;
}

.service-detail summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.5rem;
    cursor: pointer;
    color: #745b00;
    font-family: Montserrat, sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-detail summary::-webkit-details-marker {
    display: none;
}

.service-detail summary::after {
    content: "expand_more";
    flex: 0 0 auto;
    font-family: "Material Symbols Outlined";
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

.service-detail[open] summary::after {
    content: "expand_less";
}

.service-detail-content {
    margin-top: 0.75rem;
    border-left: 3px solid #f5c518;
    padding-left: 1rem;
    color: #4e4633;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.service-detail-content p + p,
.service-detail-content ul + p {
    margin-top: 0.85rem;
}

.service-detail-content h5 {
    margin-top: 0.9rem;
    margin-bottom: 0.45rem;
    color: #151c27;
    font-family: Montserrat, sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
}

.service-detail-content ul {
    padding-left: 1.1rem;
    list-style: disc;
}

.service-detail-content li + li {
    margin-top: 0.25rem;
}

.affiliate-section {
    scroll-margin-top: 96px;
    background:
        radial-gradient(circle at 12% 8%, rgba(245, 197, 24, 0.18), transparent 24rem),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px),
        linear-gradient(135deg, #111820 0%, #1c1b1b 50%, #080b10 100%);
    color: #ffffff;
}

.affiliate-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-left: 4px solid #f5c518;
    background: rgba(245, 197, 24, 0.11);
    color: #ffe08b;
    padding: 0.65rem 0.9rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.affiliate-content-panel,
.affiliate-form-card {
    border: 1px solid rgba(203, 213, 225, 0.26);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.affiliate-content-panel {
    background: rgba(255, 255, 255, 0.055);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.affiliate-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.affiliate-card {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.1rem;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    padding: clamp(1.15rem, 2.2vw, 1.6rem);
    height: auto;
}

.affiliate-card-wide {
    grid-column: auto;
}

.affiliate-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #151c27;
}

.affiliate-card h4 {
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.affiliate-card p,
.affiliate-card li {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.affiliate-card p + p {
    margin-top: 0.8rem;
}

.affiliate-steps {
    display: grid;
    gap: 0.65rem;
    counter-reset: affiliate-step;
}

.affiliate-steps li {
    position: relative;
    min-height: 2rem;
    padding-left: 2.55rem;
    list-style: none;
}

.affiliate-steps li::before {
    counter-increment: affiliate-step;
    content: counter(affiliate-step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #151c27;
    font-weight: 800;
}

.affiliate-list {
    display: grid;
    gap: 0.45rem;
    padding-left: 1.1rem;
    list-style: disc;
}

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

.affiliate-form-card {
    position: static;
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: #151c27;
}

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

.affiliate-field-full {
    grid-column: 1 / -1;
}

.affiliate-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #4e4633;
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.affiliate-field label span[aria-hidden="true"] {
    color: #745b00;
}

.affiliate-input {
    width: 100%;
    min-height: 2.875rem;
    border: 2px solid #d1c5ac;
    border-radius: 0;
    background: #ffffff;
    color: #151c27;
    padding: 0.7rem 0.8rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-input:focus {
    border-color: #745b00;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.25);
}

.affiliate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.affiliate-submit,
.affiliate-whatsapp {
    min-height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    padding: 0.85rem 1rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.affiliate-submit {
    border: 0;
    background: #f5c518;
    color: #151c27;
}

.affiliate-submit:hover {
    background: #ffd84d;
}

.affiliate-whatsapp {
    border: 2px solid #151c27;
    color: #151c27;
}

.affiliate-whatsapp:hover {
    border-color: #745b00;
    color: #745b00;
}

.nav-affiliate-link:focus-visible,
.service-detail summary:focus-visible,
.affiliate-submit:focus-visible,
.affiliate-whatsapp:focus-visible,
.affiliate-input:focus-visible {
    outline: 3px solid rgba(245, 197, 24, 0.88);
    outline-offset: 3px;
}

@media (max-width: 1023px) {
    .affiliate-form-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .affiliate-blocks,
    .affiliate-form-grid,
    .affiliate-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    html {
        scroll-padding-top: 78px;
    }

    .affiliate-section {
        scroll-margin-top: 78px;
    }

     .affiliate-card {
        grid-template-columns: 1fr;
    }

    .affiliate-icon {
        margin-bottom: 0.25rem;
    }

    .affiliate-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .affiliate-submit,
    .affiliate-whatsapp {
        width: 100%;
    }
}
.affiliate-card-featured {
    grid-column: 1 / -1;
}

.affiliate-card-featured > div {
    max-width: 820px;
}

.affiliate-card-featured h4 {
    max-width: 32rem;
}

@media (max-width: 767px) {
    .affiliate-blocks {
        grid-template-columns: 1fr;
    }

    .affiliate-card-featured {
        grid-column: auto;
    }

    .affiliate-card-featured > div,
    .affiliate-card-featured h4 {
        max-width: none;
    }
}
.header-cta-group {
    margin-left: 2rem;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.95rem 1.4rem;
    border-radius: 2px;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.header-cta-secondary {
    border: 1px solid rgba(116, 91, 0, 0.35);
    background: #f6f4ee;
    color: #151c27;
}

.header-cta-secondary:hover,
.header-cta-secondary:focus-visible {
    border-color: #745b00;
    background: #fff8dd;
    color: #151c27;
}

.header-cta-primary {
    border: 1px solid #d4aa00;
    background: #e0b50f;
    color: #151c27;
    box-shadow: inset 0 -3px 0 rgba(88, 68, 0, 0.45);
}

.header-cta-primary:hover,
.header-cta-primary:focus-visible {
    background: #f5c518;
    color: #151c27;
}

@media (max-width: 1279px) {
    .header-cta {
        padding: 0.85rem 1.1rem;
        font-size: 0.72rem;
    }

    .header-cta-group {
        margin-left: 1.25rem;
        gap: 0.75rem;
    }
}
.affiliate-flow-card {
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(245, 197, 24, 0.14), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.affiliate-flow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 3px solid rgba(245, 197, 24, 0.75);
    opacity: 0.75;
}

.affiliate-flow-heading {
    max-width: 56rem;
    margin-bottom: 1.75rem;
}

.affiliate-flow-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    border-left: 4px solid #f5c518;
    background: rgba(245, 197, 24, 0.12);
    color: #ffe08b;
    padding: 0.45rem 0.7rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.affiliate-flow-intro {
    max-width: 48rem;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.affiliate-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.affiliate-flow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 2.25rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.85), transparent);
    z-index: 0;
}

.affiliate-flow-step {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.affiliate-flow-node {
    position: relative;
    display: flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 197, 24, 0.55);
    background: #151c27;
    color: #f5c518;
    box-shadow:
        0 0 0 6px rgba(245, 197, 24, 0.08),
        0 14px 28px rgba(0, 0, 0, 0.35);
}

.affiliate-flow-node .material-symbols-outlined {
    font-size: 1.65rem;
}

.affiliate-flow-number {
    position: absolute;
    top: -0.65rem;
    right: -0.65rem;
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #151c27;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.affiliate-flow-content {
    min-height: 12.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    padding: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.affiliate-flow-step:hover .affiliate-flow-content {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.72);
    background: rgba(245, 197, 24, 0.07);
}

.affiliate-flow-content h5 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.affiliate-flow-content p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (max-width: 1279px) {
    .affiliate-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .affiliate-flow::before {
        display: none;
    }

    .affiliate-flow-content {
        min-height: 11rem;
    }
}

@media (max-width: 767px) {
    .affiliate-flow {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .affiliate-flow-step {
        display: grid;
        grid-template-columns: 4rem minmax(0, 1fr);
        gap: 1rem;
        align-items: stretch;
    }

    .affiliate-flow-step::before {
        content: "";
        position: absolute;
        left: 2rem;
        top: 4.25rem;
        bottom: -1rem;
        width: 2px;
        background: rgba(245, 197, 24, 0.5);
    }

    .affiliate-flow-step:last-child::before {
        display: none;
    }

    .affiliate-flow-node {
        width: 4rem;
        height: 4rem;
        margin-bottom: 0;
    }

    .affiliate-flow-content {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .affiliate-flow-step {
        grid-template-columns: 1fr;
    }

    .affiliate-flow-step::before {
        display: none;
    }

    .affiliate-flow-node {
        margin-bottom: 0.25rem;
    }
}
.affiliate-layout {
    position: relative;
    width: 100%;
}

.affiliate-section .section-intro,
.affiliate-section > div > .max-w-3xl {
    max-width: 58rem;
}

.affiliate-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
    max-width: 54rem;
}

.affiliate-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4rem;
    border: 1px solid rgba(245, 197, 24, 0.32);
    background: rgba(245, 197, 24, 0.08);
    color: #ffffff;
    padding: 0.9rem 1rem;
}

.affiliate-metric .material-symbols-outlined {
    color: #f5c518;
    font-size: 1.5rem;
}

.affiliate-metric strong {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.affiliate-premium-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1.5rem;
    align-items: start;
    margin-top: 3rem;
}

.affiliate-main-column {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.affiliate-content-panel {
    width: 100%;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.affiliate-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.affiliate-intro-card {
    position: relative;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    background:
        radial-gradient(circle at top left, rgba(245, 197, 24, 0.12), transparent 18rem),
        rgba(255, 255, 255, 0.075);
    border-color: rgba(245, 197, 24, 0.28);
}

.affiliate-intro-card::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    width: 7rem;
    height: 7rem;
    border: 1px solid rgba(245, 197, 24, 0.16);
    transform: rotate(45deg);
    pointer-events: none;
}

.affiliate-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.affiliate-info-grid .affiliate-card {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    height: 100%;
    align-content: start;
}

.affiliate-info-grid .affiliate-card h4 {
    min-height: 2.6rem;
}

.affiliate-info-grid .affiliate-list {
    gap: 0.38rem;
}

.affiliate-card {
    border-color: rgba(255, 255, 255, 0.15);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.affiliate-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 197, 24, 0.48);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.affiliate-note {
    margin-top: 1rem;
    border-left: 3px solid #f5c518;
    background: rgba(245, 197, 24, 0.08);
    color: rgba(255, 255, 255, 0.84);
    padding: 0.8rem 0.95rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.affiliate-benefit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-left: 0;
    list-style: none;
}

.affiliate-benefit-list li {
    position: relative;
    border: 1px solid rgba(245, 197, 24, 0.20);
    background: rgba(245, 197, 24, 0.065);
    padding: 0.65rem 0.75rem 0.65rem 2.1rem;
}

.affiliate-benefit-list li::before {
    content: "check";
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    font-family: "Material Symbols Outlined";
    color: #f5c518;
    font-size: 1rem;
    line-height: 1;
}

.affiliate-form-card {
    position: sticky;
    top: 7rem;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.30);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.affiliate-form-card::before {
    content: "Solicitud de afiliación";
    display: block;
    margin: calc(clamp(1.5rem, 3vw, 2.25rem) * -1) calc(clamp(1.5rem, 3vw, 2.25rem) * -1) 1.5rem;
    background: #f5c518;
    color: #151c27;
    padding: 0.95rem 1.5rem;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.affiliate-form-card h3 {
    font-size: 1.35rem;
    line-height: 1.75rem;
}

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

.affiliate-actions {
    flex-direction: column;
    align-items: stretch;
}

.affiliate-submit,
.affiliate-whatsapp {
    width: 100%;
}

.affiliate-flow-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
}

.affiliate-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
}

.affiliate-flow-content {
    min-height: 10.75rem;
    padding: 0.9rem;
}

.affiliate-flow-content h5 {
    font-size: 0.85rem;
}

.affiliate-flow-content p {
    font-size: 0.88rem;
    line-height: 1.48;
}

.affiliate-flow-node {
    width: 4rem;
    height: 4rem;
}

.affiliate-flow::before {
    top: 2rem;
}

@media (min-width: 1400px) {
    .affiliate-premium-grid {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 2rem;
    }
}

@media (max-width: 1199px) {
    .affiliate-premium-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-form-card {
        position: static;
    }

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

    .affiliate-actions {
        flex-direction: row;
    }

    .affiliate-submit,
    .affiliate-whatsapp {
        width: auto;
        flex: 1 1 220px;
    }
}

@media (max-width: 1023px) {
    .affiliate-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .affiliate-info-grid .affiliate-card:last-child {
        grid-column: 1 / -1;
    }

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

    .affiliate-flow::before {
        display: none;
    }

    .affiliate-flow-content {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .affiliate-metrics,
    .affiliate-info-grid,
    .affiliate-form-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-flow {
        grid-template-columns: 1fr;
    }

    .affiliate-flow-step {
        display: grid;
        grid-template-columns: 4rem minmax(0, 1fr);
        gap: 1rem;
    }

    .affiliate-flow-node {
        width: 4rem;
        height: 4rem;
    }

    .affiliate-info-grid .affiliate-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 639px) {
    .affiliate-content-panel {
        padding: 1rem;
    }

    .affiliate-card,
    .affiliate-intro-card,
    .affiliate-flow-card,
    .affiliate-info-grid .affiliate-card {
        grid-template-columns: 1fr;
    }

    .affiliate-intro-card::after {
        display: none;
    }

    .affiliate-icon {
        margin-bottom: 0.25rem;
    }

    .affiliate-actions {
        flex-direction: column;
    }

    .affiliate-submit,
    .affiliate-whatsapp {
        width: 100%;
    }
}
.affiliate-premium-grid {
    display: block;
}

.affiliate-premium-stack {
    display: grid;
    gap: 1.75rem;
    width: 100%;
}

.affiliate-main-column {
    width: 100%;
}

.affiliate-content-panel {
    width: 100%;
    max-width: none;
}

.affiliate-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
}

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

.affiliate-intro-card,
.affiliate-flow-card {
    grid-column: 1 / -1;
}

.affiliate-flow-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    padding: clamp(1.25rem, 2.4vw, 2rem);
}

.affiliate-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.affiliate-flow-content {
    min-height: 9.5rem;
    padding: 1rem;
}

.affiliate-flow-content h5 {
    font-size: 0.9rem;
    line-height: 1.25;
}

.affiliate-flow-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.affiliate-info-grid-balanced {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.affiliate-info-grid-balanced .affiliate-card {
    height: 100%;
    align-content: start;
}

.affiliate-benefits-card {
    grid-column: 1 / -1;
}

.affiliate-benefits-card .affiliate-benefit-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.affiliate-benefits-card .affiliate-benefit-list li {
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.affiliate-form-wrap {
    width: 100%;
}

.affiliate-form-card {
    position: relative;
    top: auto;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
    background:
        linear-gradient(135deg, #ffffff 0%, #f9f7ef 100%);
}

.affiliate-form-card::before {
    grid-column: 1 / -1;
}

.affiliate-form-card > h3,
.affiliate-form-card > p {
    grid-column: 1;
}

.affiliate-form-card form {
    grid-column: 2;
    grid-row: 2 / span 4;
}

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

.affiliate-field-full {
    grid-column: 1 / -1;
}

.affiliate-actions {
    flex-direction: row;
    align-items: stretch;
}

.affiliate-submit,
.affiliate-whatsapp {
    width: auto;
    flex: 1 1 220px;
}

@media (max-width: 1199px) {
    .affiliate-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .affiliate-flow::before {
        display: none;
    }

    .affiliate-flow-content {
        min-height: auto;
    }

    .affiliate-benefits-card .affiliate-benefit-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .affiliate-form-card > h3,
    .affiliate-form-card > p,
    .affiliate-form-card form {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .affiliate-info-grid-balanced {
        grid-template-columns: 1fr;
    }

    .affiliate-benefits-card {
        grid-column: auto;
    }

    .affiliate-benefits-card .affiliate-benefit-list,
    .affiliate-form-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-flow {
        grid-template-columns: 1fr;
    }

    .affiliate-flow-step {
        display: grid;
        grid-template-columns: 4rem minmax(0, 1fr);
        gap: 1rem;
    }

    .affiliate-flow-node {
        width: 4rem;
        height: 4rem;
    }

    .affiliate-actions {
        flex-direction: column;
    }

    .affiliate-submit,
    .affiliate-whatsapp {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .affiliate-flow-step {
        grid-template-columns: 1fr;
    }

    .affiliate-flow-step::before {
        display: none;
    }
}
