/* =============================================
   Logo proportions — header & sticky overrides
   ============================================= */

/* Default desktop header (≥1200px): shrink the tall 152px logo row */
.te-header-menu-area .te-logo {
    height: 90px;
}

.te-header-menu-area .te-logo .te-standard-logo img {
    height: 55px;
    width: auto;
}

/* Tablet (768px–1199px): te-sticky-logo is shown; constrain image explicitly */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .te-header-menu-area .te-logo {
        height: 72px;
    }

    .te-header-menu-area .te-logo .te-sticky-logo img {
        height: 36px;
        width: auto;
    }
}

/* Mobile (≤767px): prevent logo from breaking header layout */
@media only screen and (max-width: 767px) {
    .te-header-menu-area .te-logo {
        height: 64px;
    }

    .te-header-menu-area .te-logo .te-sticky-logo {
        width: auto;
    }

    .te-header-menu-area .te-logo .te-sticky-logo img {
        height: 30px;
        width: auto;
        max-width: 130px;
    }
}

/* Sticky header: compact logo — smaller than the default header */
.te-header-menu-area.te-sticky_menu .te-logo {
    height: 68px;
}

.te-header-menu-area.te-sticky_menu .te-logo .te-sticky-logo img {
    height: 55px;
    width: auto;
}

/* Mobile sticky: keep it tight */
@media only screen and (max-width: 767px) {
    .te-header-menu-area.te-sticky_menu .te-logo {
        height: 58px;
    }

    .te-header-menu-area.te-sticky_menu .te-logo .te-sticky-logo img {
        height: 26px;
        width: auto;
        max-width: 110px;
    }
}

/* =============================================
   Header search icon
   ============================================= */

.te-header-search-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}

.te-header-search-icon .te-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    font-size: 16px;
    border-radius: 50%;
    transition: color 0.3s ease, background-color 0.3s ease;
    line-height: 1;
}

.te-header-search-icon .te-search-btn:hover {
    color: #02C173;
    background-color: rgba(2, 193, 115, 0.12);
}

/* Sticky header keeps white icon on dark bg */
.te-header-menu-area.te-sticky_menu .te-header-search-icon .te-search-btn {
    color: #ffffff;
}

/* On mobile, tuck the icon closer to the hamburger */
@media only screen and (max-width: 767px) {
    .te-header-search-icon {
        margin-right: 4px;
    }

    .te-header-search-icon .te-search-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* =============================================
   Search modal responsive
   ============================================= */

/* Constrain modal width on tablet */
@media only screen and (max-width: 991px) {
    .te-search-form-wrapper .te-search-form-inner {
        width: 90%;
    }
}

/* Stack form + close vertically on small phones */
@media only screen and (max-width: 575px) {
    .te-search-form-wrapper .te-search-form-inner {
        width: 94%;
    }

    .te-search-form-wrapper .te-search-form-inner .te-search-content-filed {
        flex-direction: column;
        gap: 16px;
    }

    .te-search-form-wrapper .te-search-form-inner .te-search-form {
        width: 100%;
    }

    .te-search-form-wrapper .te-search-form-inner .te-search-content-filed .te-search-close {
        align-self: flex-end;
    }
}

/* =============================================
   Get a Quote modal
   ============================================= */

/* Overlay */
.te-quote-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(8, 8, 8, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.te-quote-modal-overlay.te-active {
    opacity: 1;
    visibility: visible;
}

/* Dialog card */
.te-quote-modal-dialog {
    background: #141414;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    position: relative;
    border: 1px solid #242424;
    transform: translateY(28px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #2e2e2e #141414;
}

.te-quote-modal-overlay.te-active .te-quote-modal-dialog {
    transform: translateY(0) scale(1);
}

.te-quote-modal-dialog::-webkit-scrollbar { width: 4px; }
.te-quote-modal-dialog::-webkit-scrollbar-track { background: #141414; }
.te-quote-modal-dialog::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 4px; }

/* Header */
.te-quote-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 36px 40px 24px;
    border-bottom: 1px solid #222;
}

.te-quote-modal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #111;
    background: #deff9a;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.te-quote-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.te-quote-modal-title span {
    color: #deff9a;
}

/* Close button */
.te-quote-modal-close {
    flex-shrink: 0;
    background: #222;
    border: 1px solid #2e2e2e;
    color: #888;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    margin-top: 4px;
}

.te-quote-modal-close:hover {
    background: #deff9a;
    border-color: #deff9a;
    color: #111;
}

/* Body */
.te-quote-modal-body {
    padding: 32px 40px 40px;
}

/* General error banner */
.te-quote-general-error {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.28);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ff8080;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

/* Two-column form grid */
.te-quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Individual field */
.te-quote-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.te-quote-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #888;
}

.te-quote-field label span {
    color: #deff9a;
    font-size: 13px;
}

.te-quote-field input,
.te-quote-field select,
.te-quote-field textarea {
    background: #1c1c1c;
    border: 1px solid #2c2c2c;
    border-radius: 10px;
    color: #f0f0f0;
    font-size: 14px;
    font-family: inherit;
    padding: 13px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.te-quote-field input::placeholder,
.te-quote-field textarea::placeholder {
    color: #484848;
}

.te-quote-field input:focus,
.te-quote-field select:focus,
.te-quote-field textarea:focus {
    border-color: #deff9a;
    box-shadow: 0 0 0 3px rgba(222, 255, 154, 0.07);
}

/* Custom select arrow */
.te-quote-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.te-quote-field select option {
    background: #1c1c1c;
    color: #f0f0f0;
}

.te-quote-field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

/* Error state */
.te-quote-field.te-field-has-error input,
.te-quote-field.te-field-has-error select,
.te-quote-field.te-field-has-error textarea {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.06);
}

.te-field-error {
    font-size: 12px;
    color: #ff7979;
    min-height: 15px;
    display: block;
    line-height: 1.3;
}

/* Footer row */
.te-quote-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.te-quote-privacy {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #484848;
    margin: 0;
}

.te-quote-privacy i {
    color: #deff9a;
    font-size: 11px;
}

/* Submit button */
.te-quote-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #deff9a;
    color: #111111;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease;
}

.te-quote-submit-btn:hover {
    background: #ccf070;
    transform: translateY(-1px);
}

.te-quote-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Success state */
.te-quote-success {
    text-align: center;
    padding: 48px 20px;
}

.te-quote-success i {
    font-size: 56px;
    color: #deff9a;
    display: block;
    margin-bottom: 22px;
}

.te-quote-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.te-quote-success p {
    color: #888;
    font-size: 15px;
    line-height: 1.65;
    max-width: 360px;
    margin: 0 auto;
}

.te-quote-success-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #deff9a;
    color: #deff9a;
    border-radius: 50px;
    padding: 11px 36px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 28px;
    transition: background 0.2s ease, color 0.2s ease;
}

.te-quote-success-close:hover {
    background: #deff9a;
    color: #111111;
}

/* ── Responsive ── */
@media only screen and (max-width: 640px) {
    .te-quote-modal-header {
        padding: 26px 24px 20px;
    }

    .te-quote-modal-body {
        padding: 24px 24px 32px;
    }

    .te-quote-modal-title {
        font-size: 20px;
    }

    .te-quote-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .te-quote-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .te-quote-submit-btn {
        justify-content: center;
        width: 100%;
    }
}

/* =============================================
   SweetAlert2 — dark theme / #deff9a accent
   ============================================= */
.swal2-eyerax-btn {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
}

.swal2-popup {
    border: 1px solid #242424 !important;
    border-radius: 20px !important;
}

.swal2-title {
    font-size: 22px !important;
}

.swal2-html-container {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* =============================================
   WhatsApp Floating Chat Widget
   ============================================= */

#wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Floating action button */
.wa-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    animation: wa-pulse 2.5s ease-in-out infinite;
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
    animation: none;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.72); }
}

/* Popup card */
.wa-popup {
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

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

/* Popup header */
.wa-popup-header {
    background: #25D366;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.wa-header-info {
    flex: 1;
    min-width: 0;
}

.wa-header-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px;
    line-height: 1;
}

.wa-header-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.wa-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    animation: wa-blink 1.8s ease-in-out infinite;
}

@keyframes wa-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.wa-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
    padding: 0;
}

.wa-close-btn:hover {
    background: rgba(255, 255, 255, 0.38);
}

/* Popup body */
.wa-popup-body {
    background: #f0f4f7;
    padding: 18px 14px;
}

.wa-message-bubble {
    background: #ffffff;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    font-size: 13.5px;
    color: #111111;
    line-height: 1.55;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.wa-message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

/* Popup footer */
.wa-popup-footer {
    padding: 12px 14px 14px;
    background: #ffffff;
}

.wa-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 50px;
    padding: 11px 16px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.wa-start-btn:hover {
    background: #1db954;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Push scroll-to-top button up so it clears the WA FAB */
.progress-wrap {
    bottom: 100px !important;
}

/* Mobile */
@media only screen and (max-width: 480px) {
    #wa-widget {
        right: 16px;
        bottom: 16px;
    }

    .wa-popup {
        width: calc(100vw - 32px);
        max-width: 300px;
    }

    .wa-fab {
        width: 52px;
        height: 52px;
    }
}

/* =============================================
   Service Pages — Grid & Detail
   ============================================= */

/* ─── Section typography helpers ─── */
.eyerax-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    background: #deff9a;
    padding: 5px 16px;
    border-radius: 50px;
}

.eyerax-section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0;
}

.eyerax-section-title span { color: #deff9a; }

.eyerax-section-subtitle {
    font-size: 15px;
    color: #888;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Shared button styles ─── */
.eyerax-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #deff9a;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 32px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, color 0.15s ease;
    border: none;
    cursor: pointer;
}

.eyerax-btn-primary:hover {
    background: #ccf070;
    transform: translateY(-2px);
    color: #111;
    text-decoration: none;
}

.eyerax-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #deff9a;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    padding: 14px 32px;
    text-decoration: none;
    border: 1px solid rgba(222, 255, 154, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.eyerax-btn-outline:hover {
    background: rgba(222, 255, 154, 0.07);
    border-color: rgba(222, 255, 154, 0.6);
    color: #deff9a;
    text-decoration: none;
}

/* ══════════════════════════════════════════════
   SERVICE GRID PAGE  (/services)
   ══════════════════════════════════════════════ */
.eyerax-service-area {
    padding: 100px 0 80px;
    background: #111111;
}

/* Glass card */
.eyerax-service-glass-card {
    background: rgba(18, 18, 18, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

/* Top shimmer line (reveals on hover) */
.eyerax-service-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 255, 154, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.eyerax-service-glass-card:hover {
    border-color: rgba(222, 255, 154, 0.22);
    transform: translateY(-7px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(222, 255, 154, 0.04);
}

.eyerax-service-glass-card:hover::before { opacity: 1; }

/* Monospace number badge */
.eyerax-service-glass-card .card-number {
    position: absolute;
    top: 26px; right: 26px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2a2a2a;
    font-family: 'Courier New', monospace;
}

/* Icon box */
.eyerax-service-glass-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(222, 255, 154, 0.07);
    border: 1px solid rgba(222, 255, 154, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #deff9a;
    margin-bottom: 28px;
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.eyerax-service-glass-card:hover .card-icon {
    background: rgba(222, 255, 154, 0.13);
    box-shadow: 0 0 28px rgba(222, 255, 154, 0.13);
}

.eyerax-service-glass-card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.eyerax-service-glass-card .card-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

.eyerax-service-glass-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #deff9a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    margin-top: 28px;
    transition: gap 0.2s ease;
}

.eyerax-service-glass-card .card-link:hover {
    gap: 14px;
    color: #deff9a;
    text-decoration: none;
}

/* Bottom CTA strip */
.eyerax-services-bottom-cta {
    margin-top: 72px;
    padding: 52px 48px;
    background: linear-gradient(135deg, rgba(222, 255, 154, 0.05) 0%, rgba(2, 193, 115, 0.03) 100%);
    border: 1px solid rgba(222, 255, 154, 0.11);
    border-radius: 22px;
}

.eyerax-services-bottom-cta h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.eyerax-services-bottom-cta h3 span { color: #deff9a; }

.eyerax-services-bottom-cta p {
    font-size: 15px;
    color: #888;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 560px;
}

@media only screen and (max-width: 992px) {
    .eyerax-services-bottom-cta { padding: 44px 32px; text-align: center; }
    .eyerax-services-bottom-cta p { max-width: 100%; }
    .eyerax-services-bottom-cta .text-lg-end { text-align: center !important; margin-top: 24px; }
}

@media only screen and (max-width: 576px) {
    .eyerax-service-area { padding: 70px 0 60px; }
    .eyerax-service-glass-card { padding: 32px 24px; }
    .eyerax-services-bottom-cta { padding: 36px 22px; }
}

/* ══════════════════════════════════════════════
   SERVICE DETAILS PAGE  (/services/{slug})
   ══════════════════════════════════════════════ */
.eyerax-service-detail-area {
    padding: 80px 0 100px;
    background: #111111;
}

/* Inline breadcrumb */
.eyerax-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #555;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.eyerax-detail-breadcrumb a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.eyerax-detail-breadcrumb a:hover { color: #deff9a; }

.eyerax-detail-breadcrumb .sep {
    color: #333;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
}

.eyerax-detail-breadcrumb .current { color: #deff9a; }

/* Hero */
.eyerax-detail-hero { margin-bottom: 68px; }

.eyerax-detail-hero .detail-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #deff9a;
    border: 1px solid rgba(222, 255, 154, 0.28);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 26px;
}

.eyerax-detail-hero .detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(222, 255, 154, 0.07);
    border: 1px solid rgba(222, 255, 154, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #deff9a;
    margin-bottom: 32px;
}

.eyerax-detail-hero h1 {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 22px;
}

.eyerax-detail-hero h1 span { color: #deff9a; }

.eyerax-detail-hero .hero-intro {
    font-size: 16.5px;
    color: #aaa;
    line-height: 1.75;
    max-width: 620px;
}

/* Section labels */
.section-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #deff9a;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(222, 255, 154, 0.1);
    max-width: 56px;
}

/* Description section */
.eyerax-detail-description { margin-bottom: 68px; }

.eyerax-detail-description p {
    font-size: 15.5px;
    color: #bbb;
    line-height: 1.82;
    margin-bottom: 22px;
}

.eyerax-detail-description p:last-child { margin-bottom: 0; }

/* Features section */
.eyerax-detail-features { margin-bottom: 76px; }

.eyerax-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    height: 100%;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.eyerax-feature-item:hover {
    border-color: rgba(222, 255, 154, 0.16);
    background: rgba(222, 255, 154, 0.025);
}

.eyerax-feature-item .feature-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(222, 255, 154, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #deff9a;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.eyerax-feature-item p {
    font-size: 14.5px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* Detail CTA block */
.eyerax-detail-cta {
    padding: 60px 48px;
    background: linear-gradient(135deg, #0c1c0c 0%, #141f14 55%, #111 100%);
    border: 1px solid rgba(222, 255, 154, 0.14);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.eyerax-detail-cta-glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(222, 255, 154, 0.045) 0%, transparent 72%);
    pointer-events: none;
}

.eyerax-detail-cta .cta-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #111;
    background: #deff9a;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.eyerax-detail-cta h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.18;
}

.eyerax-detail-cta h2 span { color: #deff9a; }

.eyerax-detail-cta p {
    font-size: 15px;
    color: #888;
    max-width: 490px;
    margin: 0 auto 36px;
    line-height: 1.68;
}

.cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── Sidebar ─── */
.eyerax-detail-sidebar { position: sticky; top: 110px; }

.eyerax-sidebar-services { margin-bottom: 28px; }

.eyerax-sidebar-services .sidebar-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #deff9a;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(222, 255, 154, 0.1);
    margin-bottom: 16px;
}

.sidebar-service-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    background: rgba(18, 18, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 13px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sidebar-service-link:hover {
    border-color: rgba(222, 255, 154, 0.22);
    background: rgba(222, 255, 154, 0.035);
    text-decoration: none;
}

.sidebar-service-link .link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(222, 255, 154, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #deff9a;
    font-size: 15px;
    flex-shrink: 0;
}

.sidebar-service-link .link-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #ccc;
    flex: 1;
    transition: color 0.2s ease;
}

.sidebar-service-link:hover .link-text { color: #deff9a; }

.sidebar-service-link .link-arrow {
    color: #333;
    font-size: 11px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-service-link:hover .link-arrow {
    color: #deff9a;
    transform: translateX(3px);
}

/* Sidebar CTA card */
.eyerax-sidebar-cta-card {
    padding: 30px 24px;
    background: rgba(222, 255, 154, 0.035);
    border: 1px solid rgba(222, 255, 154, 0.1);
    border-radius: 18px;
    text-align: center;
}

.eyerax-sidebar-cta-card .sidebar-cta-icon {
    font-size: 30px;
    color: #deff9a;
    display: block;
    margin-bottom: 16px;
}

.eyerax-sidebar-cta-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.eyerax-sidebar-cta-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .eyerax-detail-sidebar { position: static; top: auto; }
}

@media only screen and (max-width: 768px) {
    .eyerax-service-detail-area { padding: 60px 0 80px; }
    .eyerax-detail-cta { padding: 48px 28px; }
}

@media only screen and (max-width: 576px) {
    .eyerax-detail-hero h1 { font-size: 30px; }
    .eyerax-detail-cta { padding: 40px 22px; }
    .cta-btn-group { flex-direction: column; align-items: stretch; }
    .eyerax-btn-primary,
    .eyerax-btn-outline { justify-content: center; }
}
