/* ================================================
   ATYC COTIZADOR v3
   /assets/css/cotizador.css
================================================ */

:root {
    --ag: #c19869;
    --agl: #d4b48a;
    --acr: #f6f1ea;
    --abk: #0b0908;
    --atr: #e4583c;
    --amu: rgba(255, 255, 255, .55);
    --abd: rgba(255, 255, 255, .1);
    --acb: rgba(255, 255, 255, .05);
    --arl: 28px;
    --arm: 20px;
    --ars: 14px;
    --aez: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── BASE ── */
.atyc-quote {
    background: linear-gradient(135deg, #0b0908 0%, #17110e 50%, #2b1a13 100%);
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.atyc-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

.atyc-quote::after {
    content: "";
    position: absolute;
    right: -130px;
    top: 80px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(193, 152, 105, .22);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.is-hidden {
    display: none !important;
}

/* ── ACCESS ── */
.atyc-access {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.atyc-access__card {
    width: min(540px, 100%);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--abd);
    border-radius: var(--arl);
    padding: clamp(32px, 5vw, 52px);
    backdrop-filter: blur(20px);
    animation: atycFU .5s ease both;
}

.atyc-access__card label {
    display: block;
    color: var(--acr);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.atyc-access__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.atyc-access__row input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--abd);
    border-radius: var(--ars);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color var(--aez);
    font-family: inherit;
}

.atyc-access__row input:focus {
    border-color: var(--ag);
}

.atyc-access__row input::placeholder {
    color: rgba(255, 255, 255, .3);
}

.atyc-access__msg {
    min-height: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--atr);
}

/* ── TYPOGRAPHY ── */
.atyc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ag);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.atyc-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.atyc-big-title {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    line-height: .94;
    letter-spacing: -.05em;
    color: var(--acr);
    margin: 0 0 16px;
}

.atyc-subtitle {
    color: var(--amu);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 28px;
}

/* ── BUTTONS ── */
.atyc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    border-radius: 99px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--aez), background var(--aez), border-color var(--aez), color var(--aez);
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

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

.atyc-btn--primary {
    background: var(--ag);
    color: var(--abk);
    border-color: var(--ag);
}

.atyc-btn--primary:hover {
    background: var(--agl);
}

.atyc-btn--ghost {
    background: transparent;
    border-color: var(--abd);
    color: rgba(255, 255, 255, .7);
}

.atyc-btn--ghost:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.atyc-btn:disabled {
    opacity: .3;
    pointer-events: none;
}

/* ── APP ── */
.atyc-app {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* ── TOPBAR ── */
.atyc-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 9, 8, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--abd);
    padding: 13px 0;
}

.atyc-topbar__inner {
    width: min(1100px, 95%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.atyc-topbar__brand {
    color: var(--ag);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.atyc-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .1);
    border-radius: 99px;
    overflow: hidden;
}

.atyc-progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--ag), var(--atr));
    border-radius: 99px;
    transition: width .4s ease;
    width: 14%;
}

.atyc-step-count {
    color: var(--amu);
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── WRAP ── */
.atyc-wrap {
    width: min(1100px, 95%);
    margin: 0 auto;
    padding: 24px 0 60px;
}

/* ── STEPS NAV ── */
.atyc-steps-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 20px;
    padding-bottom: 2px;
}

.atyc-steps-nav::-webkit-scrollbar {
    display: none;
}

.atyc-step-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid var(--abd);
    background: var(--acb);
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--aez);
}

.atyc-step-pill.is-active {
    background: rgba(193, 152, 105, .15);
    border-color: var(--ag);
    color: var(--ag);
}

.atyc-step-pill.is-done {
    background: rgba(193, 152, 105, .07);
    border-color: rgba(193, 152, 105, .28);
    color: rgba(193, 152, 105, .6);
}

.atyc-step-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ── PANELS ── */
.atyc-panel {
    display: none;
}

.atyc-panel.is-active {
    display: block;
    animation: atycFU .35s ease both;
}

/* ── PANEL HEAD ── */
.atyc-panel-head {
    margin-bottom: 20px;
}

.atyc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ag);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.atyc-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.atyc-panel-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    line-height: .95;
    letter-spacing: -.04em;
    color: var(--acr);
    margin: 0 0 8px;
}

.atyc-panel-head p {
    color: var(--amu);
    font-size: 14px;
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}

/* ── HINT ── */
.atyc-hint {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: rgba(193, 152, 105, .09);
    border: 1px solid rgba(193, 152, 105, .22);
    border-radius: var(--ars);
    padding: 12px 15px;
    margin-bottom: 20px;
}

.atyc-hint__icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1;
}

.atyc-hint p {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.atyc-hint strong {
    color: var(--agl);
}

/* ── SERVICE CARDS (big, with image) ── */
.atyc-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.atyc-svc-card {
    position: relative;
    padding: 20px;
    border-radius: var(--arm);
    border: 1px solid var(--abd);
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform var(--aez), border-color var(--aez), background var(--aez);
    overflow: hidden;
}

.atyc-svc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(193, 152, 105, .55);
}

.atyc-svc-card.is-selected {
    border-color: var(--ag);
    background: radial-gradient(circle at 90% 10%, rgba(193, 152, 105, .22), transparent 50%),
        linear-gradient(145deg, rgba(193, 152, 105, .13), rgba(255, 255, 255, .03));
}

.atyc-svc-card.is-selected::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ag);
    color: var(--abk);
    font-size: 10px;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.atyc-svc-img {
    width: 100%;
    height: 88px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 13px;
    overflow: hidden;
}

.atyc-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.atyc-svc-num {
    color: var(--ag);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.atyc-svc-card strong {
    display: block;
    font-size: 16px;
    color: var(--acr);
    margin-bottom: 5px;
    letter-spacing: -.02em;
}

.atyc-svc-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.5;
    margin: 0;
}

/* ── OPTION CARDS (small) ── */
.atyc-opt-grid {
    display: grid;
    gap: 12px;
}

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

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

.atyc-opt-card {
    position: relative;
    padding: 18px;
    border-radius: var(--arm);
    border: 1px solid var(--abd);
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform var(--aez), border-color var(--aez), background var(--aez);
}

.atyc-opt-card:hover {
    transform: translateY(-3px);
    border-color: rgba(193, 152, 105, .55);
}

.atyc-opt-card.is-selected {
    border-color: var(--ag);
    background: rgba(193, 152, 105, .1);
}

.atyc-opt-card.is-selected::after {
    content: "✓";
    position: absolute;
    top: 11px;
    right: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ag);
    color: var(--abk);
    font-size: 9px;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.atyc-opt-num {
    color: var(--ag);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.atyc-opt-card strong {
    display: block;
    font-size: 15px;
    color: var(--acr);
    margin-bottom: 5px;
}

.atyc-opt-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.5;
    margin: 0;
}

/* ── AREA PILLS ── */
.atyc-area-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.atyc-area-pill {
    padding: 7px 14px;
    border-radius: 99px;
    border: 1px solid var(--abd);
    background: var(--acb);
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--aez);
}

.atyc-area-pill:hover {
    border-color: rgba(193, 152, 105, .5);
}

.atyc-area-pill.is-selected {
    background: rgba(193, 152, 105, .15);
    border-color: var(--ag);
    color: var(--ag);
}

/* ── FORM ── */
.atyc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.atyc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.atyc-field label {
    color: var(--acr);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

.atyc-field small {
    color: rgba(255, 255, 255, .35);
    font-size: 11px;
}

.atyc-field input,
.atyc-field select,
.atyc-field textarea {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--abd);
    border-radius: var(--ars);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color var(--aez), background var(--aez);
    font-family: inherit;
}

.atyc-field textarea {
    height: auto;
    padding: 13px 15px;
    resize: vertical;
    min-height: 90px;
}

.atyc-field input::placeholder,
.atyc-field textarea::placeholder {
    color: rgba(255, 255, 255, .28);
}

.atyc-field input:focus,
.atyc-field select:focus,
.atyc-field textarea:focus {
    border-color: var(--ag);
    background: rgba(255, 255, 255, .1);
}

.atyc-field select option {
    background: #1b130f;
    color: #fff;
}

.atyc-field.has-error input,
.atyc-field.has-error select,
.atyc-field.has-error textarea {
    border-color: var(--atr);
}

.atyc-field-error {
    display: none;
    font-size: 11px;
    color: var(--atr);
    margin-top: 2px;
}

.atyc-field.has-error .atyc-field-error {
    display: block;
}

/* ── CHECK CARDS ── */
.atyc-check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.atyc-check-card {
    position: relative;
    padding: 18px;
    border-radius: var(--arm);
    border: 1px solid var(--abd);
    background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform var(--aez), border-color var(--aez), background var(--aez);
}

.atyc-check-card:hover {
    transform: translateY(-3px);
    border-color: rgba(193, 152, 105, .5);
}

.atyc-check-card.is-selected {
    border-color: var(--ag);
    background: rgba(193, 152, 105, .1);
}

.atyc-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.atyc-check-box {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    transition: all var(--aez);
    display: grid;
    place-items: center;
}

.atyc-check-card.is-selected .atyc-check-box {
    background: var(--ag);
    border-color: var(--ag);
}

.atyc-check-card.is-selected .atyc-check-box::after {
    content: "✓";
    font-size: 9px;
    font-weight: 900;
    color: var(--abk);
}

.atyc-check-title {
    font-size: 15px;
    color: var(--acr);
    font-weight: 600;
    padding-right: 24px;
}

.atyc-check-card small {
    font-size: 11px;
    color: rgba(255, 255, 255, .44);
    line-height: 1.45;
}

.atyc-check-price {
    font-size: 10px;
    color: var(--ag);
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: .06em;
}

/* ── OPTS ERROR ── */
.atyc-opts-error {
    display: none;
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: var(--ars);
    background: rgba(228, 88, 60, .11);
    border: 1px solid rgba(228, 88, 60, .28);
    color: var(--atr);
    font-size: 12px;
}

.atyc-opts-error.is-visible {
    display: block;
}

/* ── RESULT ── */
.atyc-result-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--abd);
    border-radius: var(--arl);
    padding: 26px 30px;
    margin-bottom: 16px;
}

.atyc-result-hero h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--acr);
    letter-spacing: -.04em;
    margin: 0 0 8px;
}

.atyc-result-hero p {
    color: var(--amu);
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
    max-width: 420px;
}

.atyc-result-price {
    background: linear-gradient(145deg, var(--ag), #9d7049);
    padding: 20px 26px;
    border-radius: var(--arm);
    flex-shrink: 0;
    text-align: right;
}

.atyc-result-price__label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(0, 0, 4, .6);
    margin-bottom: 7px;
}

.atyc-result-price__val {
    display: block;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--abk);
    letter-spacing: -.04em;
    line-height: 1;
}

.atyc-result-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.atyc-result-card {
    padding: 16px;
    border-radius: var(--arm);
    background: var(--acb);
    border: 1px solid var(--abd);
}

.atyc-result-card span {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--amu);
    margin-bottom: 5px;
}

.atyc-result-card strong {
    display: block;
    font-size: 16px;
    color: var(--acr);
}

.atyc-breakdown {
    background: rgba(0, 0, 0, .2);
    border: 1px solid var(--abd);
    border-radius: var(--arm);
    padding: 20px;
    margin-bottom: 16px;
}

.atyc-breakdown h3 {
    font-size: 15px;
    color: var(--acr);
    margin: 0 0 14px;
}

.atyc-breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.atyc-breakdown-row:last-child {
    border-bottom: none;
}

.atyc-breakdown-row strong {
    color: var(--acr);
    text-align: right;
}

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

.atyc-result-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    font-style: italic;
}

/* ── NAV ── */
.atyc-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

/* ── DYN STEP LABEL ── */
.atyc-dyn-label {
    color: var(--ag);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.atyc-dyn-label::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

/* ── ANIMATIONS ── */
@keyframes atycFU {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes atycSK {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-5px)
    }

    75% {
        transform: translateX(5px)
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .atyc-svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .atyc-result-hero {
        grid-template-columns: 1fr;
    }

    .atyc-result-price {
        text-align: center;
    }

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

@media (max-width: 580px) {

    .atyc-svc-grid,
    .atyc-opt-grid--3,
    .atyc-opt-grid--2,
    .atyc-check-grid,
    .atyc-form-grid {
        grid-template-columns: 1fr;
    }

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

    .atyc-nav {
        flex-direction: column-reverse;
    }

    .atyc-btn {
        width: 100%;
    }

    .atyc-result-actions {
        flex-direction: column;
    }

    .atyc-access__row {
        grid-template-columns: 1fr;
    }

    .atyc-topbar__brand {
        display: none;
    }
}

@media (max-width: 400px) {
    .atyc-result-cards {
        grid-template-columns: 1fr;
    }

    .atyc-area-pills {
        gap: 6px;
    }
}

.atyc-cotizador-page .site-header {
    display: none !important;
}

.atyc-svc-img i {
    width: 28px;
    height: 28px;
    color: var(--ag);
    stroke-width: 1.4;
}

.atyc-hint__icon i {
    width: 16px;
    height: 16px;
    color: var(--ag);
    stroke-width: 1.6;
}

.atyc-opt-num i {
    width: 18px;
    height: 18px;
    color: var(--ag);
    stroke-width: 1.4;
}