/* =============================================
   WhatsApp Floating Button
   ============================================= */
.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wa-float-btn a.wa-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.wa-float-btn a.wa-circle:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.wa-float-btn a.wa-circle svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Pulse ring */
.wa-float-btn a.wa-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.6;
    animation: wa-pulse 2.2s ease-out infinite;
    z-index: -1;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.8); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Tooltip label */
.wa-float-btn .wa-label {
    background: #1a1a1a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    order: -1;
}

.wa-float-btn:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   Banner CTA — Cotización online (home page)
   ============================================= */
.cta-cotizar-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 60%, #1c0e03 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-cotizar-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(208,116,40,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-banner-left {
    flex: 1;
    min-width: 300px;
    max-width: 580px;
}

.cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(208,116,40,0.15);
    border: 1px solid rgba(208,116,40,0.4);
    color: #d07428;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.cta-banner-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #d07428;
    border-radius: 50%;
    animation: wa-pulse 2s ease-out infinite;
}

.cta-cotizar-banner h2 {
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
}

.cta-cotizar-banner p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 500px;
}

.cta-banner-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-banner-trust span {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cta-banner-trust span::before {
    content: '✓ ';
    color: #25D366;
}

/* Right side */
.cta-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: #d07428;
    color: #fff;
    border-radius: 30px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(208,116,40,0.35);
}

.cta-banner-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: transform 0.25s;
}

.cta-banner-btn:hover {
    background: #b5611f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(208,116,40,0.5);
    text-decoration: none;
}

.cta-banner-btn:hover svg { transform: translateX(4px); }

/* RUT box para organismos estatales */
.cta-rut-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: right;
    min-width: 240px;
}

.cta-rut-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.cta-rut-number {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.cta-rut-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .cta-banner-inner { flex-direction: column; align-items: flex-start; }
    .cta-banner-right { align-items: flex-start; width: 100%; }
    .cta-banner-btn { width: 100%; justify-content: center; }
    .cta-rut-box { text-align: left; width: 100%; }
}

/* =============================================
   Cotizar Form Tabs
   ============================================= */
.cotizar-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cotizar-tab-btn {
    padding: 12px 32px;
    border: 2px solid #d07428;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cotizar-tab-btn.active,
.cotizar-tab-btn:hover {
    background: #d07428;
    color: #fff;
}

.cotizar-panel {
    display: none;
}

.cotizar-panel.active {
    display: block;
}

/* Select styled to match form2 inputs */
.contact .form2 select {
    width: 100%;
    padding: 15px 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
    transition: border-color 0.4s;
}

.contact .form2 select:focus {
    outline: none;
    border-color: #d07428;
}

/* WhatsApp Submit Button */
.wa-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-submit-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.wa-submit-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    flex-shrink: 0;
}

/* Info box explaining the WhatsApp process */
.wa-info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(37, 211, 102, 0.07);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 12px;
    margin-bottom: 40px;
}

.wa-info-box svg {
    width: 22px;
    height: 22px;
    fill: #25D366;
    flex-shrink: 0;
    margin-top: 2px;
}

.wa-info-box p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.7;
}

/* Pipeline status tags */
.pipeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pipeline-tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pipeline-tag.nuevo    { background: #e3f2fd; color: #1565C0; }
.pipeline-tag.cotizado { background: #fff3e0; color: #E65100; }
.pipeline-tag.agendado { background: #f3e5f5; color: #6A1B9A; }
.pipeline-tag.pago     { background: #e8f5e9; color: #1B5E20; }

/* Section type badge */
.form-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(208, 116, 40, 0.08);
    border: 1px solid rgba(208, 116, 40, 0.25);
    color: #d07428;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* =============================================
   Product Quality Card (left panel)
   ============================================= */
.product-quality-card {
    background: linear-gradient(135deg, rgba(208,116,40,0.07), rgba(208,116,40,0.02));
    border: 1px solid rgba(208,116,40,0.22);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.pq-brand {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #d07428;
    margin-bottom: 5px;
}

.pq-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.pq-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.pq-features li {
    font-size: 13px;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.pq-features li::before {
    content: '✓';
    color: #d07428;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #d07428;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =============================================
   Vehicle Type Grid
   ============================================= */
.vehicle-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

@media (max-width: 576px) {
    .vehicle-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vehicle-type-card {
    position: relative;
}

.vehicle-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vehicle-type-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    user-select: none;
    height: 100%;
}

.vehicle-type-card label:hover {
    border-color: rgba(208, 116, 40, 0.45);
    background: rgba(208, 116, 40, 0.04);
}

.vehicle-type-card input[type="radio"]:checked + label {
    border-color: #d07428;
    background: rgba(208, 116, 40, 0.08);
    box-shadow: 0 0 0 1px #d07428;
}

.vc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    margin-bottom: 8px;
    line-height: 1;
    opacity: 0.75;
    transition: opacity 0.25s, color 0.25s;
}

.vc-icon i {
    font-size: 26px;
}

/* Inline SVG icons for vehicle types without a FA equivalent */
.vc-svg {
    width: 44px;
    height: 26px;
    display: block;
    fill: currentColor;
}

/* Highlight icon when card is selected */
.vehicle-type-card input[type="radio"]:checked + label .vc-icon {
    color: #d07428;
    opacity: 1;
}

.vc-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
    color: inherit;
}

.vc-example {
    font-size: 10px;
    opacity: 0.5;
    line-height: 1.3;
}

/* =============================================
   Old-film checkbox card
   ============================================= */
.check-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
    margin-top: 12px;
    margin-bottom: 0;
    user-select: none;
}

.check-card:hover {
    border-color: rgba(208, 116, 40, 0.4);
}

.check-card.is-checked {
    border-color: #d07428;
    background: rgba(208, 116, 40, 0.05);
}

.check-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #d07428;
    cursor: pointer;
}

.cc-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.cc-desc {
    font-size: 12px;
    opacity: 0.55;
    line-height: 1.5;
}

/* =============================================
   Form step groups
   ============================================= */
.form-step-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d07428;
    margin-bottom: 14px;
}

.form-section {
    padding-top: 28px;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.form-section:first-child {
    border-top: none;
    padding-top: 0;
}

/* Hint text under inputs */
.field-hint {
    font-size: 11px;
    opacity: 0.45;
    margin-top: 5px;
    margin-bottom: 0;
}

/* =============================================
   Inline field validation
   ============================================= */
@keyframes shake-field {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-7px); }
    40%       { transform: translateX(7px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.field-shake { animation: shake-field 0.35s ease; }

.contact .form2 input.f-invalid,
.contact .form2 select.f-invalid,
.contact .form2 textarea.f-invalid {
    border-color: #e53935 !important;
}

.contact .form2 input.f-valid,
.contact .form2 select.f-valid {
    border-color: #43a047 !important;
}

/* Vehicle type grid error state */
.vehicle-type-grid.grid-error {
    outline: 2px solid #e53935;
    outline-offset: 4px;
    border-radius: 14px;
}

.field-msg {
    font-size: 11px;
    min-height: 16px;
    margin-top: 5px;
    line-height: 1.3;
    display: none;
}

.field-msg.show { display: block; }
.field-msg.err  { color: #e53935; }
.field-msg.ok   { color: #43a047; }

/* =============================================
   Continue button
   ============================================= */
.continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    border: 2px solid #d07428;
    border-radius: 30px;
    color: #d07428;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: #d07428;
    color: #fff;
}

.continue-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.25s;
}

.continue-btn:hover svg { transform: translateX(4px); }

/* =============================================
   Extended panel (agenda + summary)
   ============================================= */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ext-panel {
    margin-top: 30px;
    padding: 28px 30px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 18px;
    animation: fadeSlideUp 0.4s ease forwards;
}

/* Summary box */
.ext-summary {
    background: rgba(208, 116, 40, 0.05);
    border: 1px solid rgba(208, 116, 40, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 22px;
}

.ext-summary-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d07428;
    margin-bottom: 12px;
}

.ext-sum-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    padding: 3px 0;
    line-height: 1.5;
}

.ext-sum-icon { flex-shrink: 0; width: 18px; }
.ext-sum-label { opacity: 0.5; flex-shrink: 0; }
.ext-sum-val { font-weight: 600; }

.ext-edit-btn {
    display: inline-block;
    font-size: 11px;
    color: #d07428;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    font-family: inherit;
    opacity: 0.8;
}

.ext-edit-btn:hover { opacity: 1; }

/* Notes inside ext-panel */
.ext-panel .contact .form2 textarea,
.ext-panel textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s;
}

.ext-panel textarea:focus {
    outline: none;
    border-color: #d07428;
}

/* Schedule grid */
.schedule-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.sched-btn {
    flex: 1;
    min-width: 110px;
    padding: 14px 10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    color: inherit;
    text-align: center;
}

.sched-btn:hover {
    border-color: rgba(208, 116, 40, 0.5);
    background: rgba(208, 116, 40, 0.04);
}

.sched-btn.sel {
    border-color: #d07428;
    background: rgba(208, 116, 40, 0.08);
    box-shadow: 0 0 0 1px #d07428;
}

/* Hoy — green accent */
.sched-btn.btn-hoy {
    border-color: #25D366;
    color: #1a8a40;
    background: rgba(37, 211, 102, 0.07);
    font-weight: 800;
}

.sched-btn.btn-hoy:hover,
.sched-btn.btn-hoy.sel {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

/* Time grid */
.time-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.time-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px;
    border: 2px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    color: inherit;
    gap: 4px;
    text-align: center;
}

.time-btn .time-sub {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.55;
}

.time-btn:hover {
    border-color: rgba(208, 116, 40, 0.45);
    background: rgba(208, 116, 40, 0.04);
}

.time-btn.sel {
    border-color: #d07428;
    background: rgba(208, 116, 40, 0.08);
    box-shadow: 0 0 0 1px #d07428;
}

/* =============================================
   Info Strip — Medios de pago + Tonos de lámina
   ============================================= */
.cotizar-info-strip {
    padding: 70px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cotizar-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cinfo-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 32px 30px;
}

.cinfo-card-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d07428;
    margin-bottom: 8px;
    display: block;
}

.cinfo-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* ---- Payment badges ---- */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pay-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    transition: border-color .2s, background .2s;
}

.pay-badge i {
    font-size: 20px;
    line-height: 1;
}

.pay-badge:hover { border-color: rgba(208,116,40,0.4); background: rgba(208,116,40,0.06); }

.pay-badge.visa   { border-color: rgba(25,50,148,0.4); }
.pay-badge.visa i { color: #4b6ef5; }

.pay-badge.mc   { border-color: rgba(235,0,27,0.3); }
.pay-badge.mc i { color: #eb001b; }

.pay-badge.oca { border-color: rgba(0,102,204,0.35); }
.pay-badge.oca i { color: #4da6ff; }

.pay-badge.cash { border-color: rgba(60,180,80,0.35); }
.pay-badge.cash i { color: #5dd87a; }

.pay-badge.transfer { border-color: rgba(208,116,40,0.35); }
.pay-badge.transfer i { color: #d07428; }

.pay-note {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 16px;
}

/* ---- Tone swatches ---- */
.tone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tone-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.tone-glass {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Sky/exterior scene base */
.tone-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, #a8c8dc 0%, #7aabca 45%, #5e95b5 70%, #c8d5b0 100%);
}

/* Film overlay */
.tone-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: background .3s;
}

.tone-glass.muy-oscuro::after { background: rgba(2,2,3, 0.93); }
.tone-glass.oscuro::after     { background: rgba(4,4,6, 0.80); }
.tone-glass.intermedio::after { background: rgba(8,8,12, 0.55); }

/* Slim reflection glare */
.tone-glass .glare {
    position: absolute;
    top: 8%;
    left: 10%;
    width: 30%;
    height: 70%;
    background: linear-gradient(115deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}

.tone-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-align: center;
    line-height: 1.2;
}

.tone-pct {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-top: -5px;
}

.tone-legal-note {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-top: 16px;
    line-height: 1.6;
}

.tone-legal-note a {
    color: #d07428;
    text-decoration: underline;
}

/* =============================================
   Contacto page — social action buttons
   ============================================= */
.contact-social-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 36px;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 22px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    text-decoration: none;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 600;
    transition: transform .08s ease, border-color .08s ease, background .08s ease;
}

.contact-action-btn i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-action-btn span { flex: 1; color: #0a0a0a; }

.contact-action-btn:hover {
    color: #0a0a0a;
    transform: translateX(5px);
}

.contact-action-btn .arrow {
    font-size: 16px;
    color: #888;
    transition: transform .08s ease;
}

.contact-action-btn:hover .arrow {
    transform: translateX(3px);
}

.contact-action-btn.fb  { border-color: #d0d8f8; }
.contact-action-btn.fb i  { color: #1877F2; }
.contact-action-btn.fb:hover  { background: #f0f4ff; border-color: #1877F2; }

.contact-action-btn.ig  { border-color: #f5d0de; }
.contact-action-btn.ig i  { color: #E1306C; }
.contact-action-btn.ig:hover  { background: #fff0f5; border-color: #E1306C; }

.contact-action-btn.email { border-color: #f0d8b8; }
.contact-action-btn.email i { color: #d07428; }
.contact-action-btn.email:hover { background: #fff8f0; border-color: #d07428; }

/* ---- Contact info cards ---- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    transition: border-color .08s ease, box-shadow .08s ease;
}

.contact-card:hover { border-color: #d07428; box-shadow: 0 2px 12px rgba(208,116,40,0.12); }

/* WhatsApp card keeps a tinted background */
.contact-card.wa-card { background: #f0fdf4; border-color: #bbf7d0; }
.contact-card.wa-card:hover { border-color: #25D366; box-shadow: 0 2px 12px rgba(37,211,102,0.15); }

.cc-icon {
    font-size: 20px;
    color: #d07428;
    flex-shrink: 0;
    margin-top: 3px;
    width: 24px;
    text-align: center;
}

.cc-body { display: flex; flex-direction: column; gap: 4px; }

.cc-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.38);
    font-weight: 600;
}

.cc-value {
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0a;
    text-decoration: none;
    line-height: 1.4;
}

.cc-value:hover { color: #d07428; }

/* WhatsApp card value stays green */
.contact-card.wa-card .cc-value { color: #166534; }
.contact-card.wa-card .cc-value:hover { color: #15803d; }

/* ---- Facebook featured reel ---- */
.fb-reel-section {
    padding: 70px 0;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.fb-reel-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d07428;
    margin-bottom: 10px;
    display: block;
}

.fb-reel-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.fb-reel-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 40px;
}

.fb-reel-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* 3 reels × 267px + 2 gaps × 20px = 841px — fits inside 1200px container */
}

.fb-reel-frame {
    display: inline-flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.fb-reel-frame iframe {
    display: block;
}

/* ---- Social follow buttons (reel section) ---- */
.reel-social-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.reel-social-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 30px;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    color: #fff;
    min-width: 240px;
    transition: transform .08s ease, border-color .08s ease, background .08s ease;
}

.reel-social-btn i {
    font-size: 28px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.rsb-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.rsb-handle {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.rsb-cta {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.reel-social-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.reel-social-btn.ig { border-color: rgba(225,48,108,0.4); }
.reel-social-btn.ig i { color: #E1306C; }
.reel-social-btn.ig:hover { background: rgba(225,48,108,0.1); border-color: #E1306C; }

.reel-social-btn.fb { border-color: rgba(24,119,242,0.4); }
.reel-social-btn.fb i { color: #1877F2; }
.reel-social-btn.fb:hover { background: rgba(24,119,242,0.1); border-color: #1877F2; }

/* =============================================
   Map Card (cotizar info-box address)
   ============================================= */
.map-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.map-card-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.map-card-thumb img {
    width: 100%;
    max-width: 220px;
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.map-card-link:hover .map-card-thumb img {
    opacity: 0.9;
}

.map-card-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.map-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.map-card-brand {
    height: 20px;
    width: auto;
    opacity: 0.55;
    filter: grayscale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .cotizar-info-grid {
        grid-template-columns: 1fr;
    }
    .tone-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    /* Reels: 1 por línea en mobile */
    .fb-reel-frame {
        width: 100%;
        max-width: 267px;
    }
    .reel-social-btn {
        width: 100%;
        max-width: 320px;
    }
    /* Reduce section vertical padding on mobile */
    .contact.section-padding {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .page-header-cerv.section-padding {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    /* Hide left info-box on mobile: content is in the form */
    .sec-head.info-box.full-width.md-mb80 {
        display: none !important;
    }
}
