/* ===================================
   CEO SECTION STYLES - DARK THEME
   =================================== */

.ceo-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

.ceo-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* CEO Image Container */
.ceo-image-container {
    position: relative;
    max-width: 400px;
}

.ceo-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.4);
    transform: translateY(0);
    transition: var(--transition);
    border: 3px solid rgba(245, 158, 11, 0.3);
}

.ceo-image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(245, 158, 11, 0.5);
    border-color: rgba(245, 158, 11, 0.6);
}

.ceo-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.ceo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* REMOVED: Decoration elements - no circle, no dots */
.ceo-decoration {
    display: none !important;
}

.decoration-circle {
    display: none !important;
}

.decoration-dots {
    display: none !important;
}

/* CEO Content */
.ceo-content {
    padding: 20px 0;
}

.ceo-content .section-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ceo-title {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.ceo-position {
    font-size: 18px;
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0;
}

.ceo-quote {
    position: relative;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 4px solid #f59e0b;
}

.quote-icon-large {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 0;
    opacity: 0.3;
}

.quote-text {
    font-size: 17px;
    line-height: 1.8;
    color: #e2e8f0;
    font-style: italic;
    position: relative;
    z-index: 1;
    padding-left: 40px;
}

/* CEO Statistics */
.ceo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-5px);
}

.stat-box .stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* CEO Credentials */
.ceo-credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.credential-item:hover {
    background: rgba(245, 158, 11, 0.15);
    transform: translateX(5px);
}

.credential-item svg {
    flex-shrink: 0;
}

.credential-item span {
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 500;
}

.ceo-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.signature-name {
    font-size: 18px;
    font-weight: 600;
    color: #f59e0b;
}

/* ===================================
   TESTIMONIALS SLIDER - DARK THEME
   =================================== */

.testimonials-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.testimonials-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.testimonials-slider {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.testimonial-card {
    background: transparent;
    border: none;
    padding: 0;
}

.quote-icon {
    margin-bottom: 20px;
}

.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.rating svg {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #cbd5e1 !important;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0 !important;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: #94a3b8 !important;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: scale(1.3);
}

.slider-dot:hover {
    background: rgba(245, 158, 11, 0.4);
}

/* ===================================
   REVIEW FORM SECTION STYLES - DARK THEME
   =================================== */

.review-form-container {
    max-width: 800px;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(10px);
}

.review-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.review-form-header h3 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.review-form-header p {
    font-size: 16px;
    color: #cbd5e1;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 15px;
}

.review-form label svg {
    color: var(--accent);
}

.review-form .form-input,
.review-form .form-textarea {
    padding: 14px 16px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.review-form .form-input::placeholder,
.review-form .form-textarea::placeholder {
    color: #64748b;
}

.review-form .form-input:focus,
.review-form .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.review-form .form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 32px;
    cursor: pointer;
    color: rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #f59e0b;
    transform: scale(1.2);
}

.star-rating-input input:checked ~ label {
    color: #f59e0b;
}

/* Success Message */
.success-message {
    display: none;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    color: #10b981;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: slideInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message.show {
    display: block;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles for dark theme */
.btn.btn-primary.btn-lg {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
    width: 100%;
}

.btn.btn-primary.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.4);
}

.btn.btn-primary.btn-lg:active {
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE - MOBILE ADAPTATIONS
   =================================== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .ceo-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ceo-image-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .ceo-photo {
        max-height: 450px;
    }
    
    .ceo-title {
        font-size: 36px;
    }
    
    .quote-text {
        font-size: 16px;
        padding-left: 30px;
    }
    
    .ceo-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-slide {
        padding: 30px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .ceo-section {
        padding: 60px 0;
    }
    
    .ceo-image-container {
        max-width: 300px;
    }
    
    .ceo-photo {
        max-height: 380px;
    }
    
    .ceo-section::before {
        width: 100%;
        border-radius: 0;
    }
    
    .ceo-title {
        font-size: 28px;
    }
    
    .ceo-position {
        font-size: 16px;
    }
    
    .ceo-quote {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 15px;
        padding-left: 25px;
    }
    
    .ceo-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .stat-box .stat-number {
        font-size: 26px;
    }
    
    .credential-item {
        padding: 12px;
    }
    
    .credential-item span {
        font-size: 14px;
    }
    
    .review-form-container {
        padding: 30px 20px;
        margin: 40px auto 0;
    }
    
    .review-form-header h3 {
        font-size: 24px;
    }
    
    .review-form-header p {
        font-size: 14px;
    }
    
    .review-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .star-rating-input label {
        font-size: 28px;
    }

    .testimonial-slide {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .slider-nav {
        gap: 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .ceo-image-container {
        max-width: 260px;
    }
    
    .ceo-photo {
        max-height: 330px;
    }
    
    .ceo-title {
        font-size: 24px;
    }
    
    .ceo-position {
        font-size: 15px;
    }
    
    .quote-text {
        font-size: 14px;
        padding-left: 20px;
    }
    
    .stat-box .stat-number {
        font-size: 22px;
    }
    
    .stat-box .stat-label {
        font-size: 12px;
    }
    
    .ceo-badge {
        padding: 8px 16px;
        font-size: 11px;
        bottom: 15px;
        left: 15px;
    }
    
    .review-form-container {
        padding: 25px 15px;
    }
    
    .review-form-header h3 {
        font-size: 20px;
    }
    
    .star-rating-input label {
        font-size: 24px;
    }
    
    .btn.btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .testimonial-slide {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .author-info h4 {
        font-size: 16px;
    }
}

/* Extra adjustments for very small screens */
@media (max-width: 360px) {
    .ceo-image-container {
        max-width: 240px;
    }
    
    .ceo-photo {
        max-height: 300px;
    }
    
    .ceo-title {
        font-size: 22px;
    }
    
    .review-form-header h3 {
        font-size: 18px;
    }
    
    .ceo-signature {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-slide {
        padding: 15px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }
}

/* Section headers for dark theme */
.section-header .section-title {
    color: white !important;
}

.section-header .section-subtitle {
    color: #cbd5e1 !important;
}

/* ============================================================
   CEO LEGEND SECTION — Legendary Redesign
   ============================================================ */
.ceo-legend-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #080c14 0%, #0d1526 40%, #0a0f1c 100%);
    padding: 100px 0;
}

/* Фоновые орбы */
.ceo-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.ceo-bg-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, transparent 70%);
    top: -150px; left: -150px;
}
.ceo-bg-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
    bottom: -100px; right: -100px;
}
.ceo-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Внутренний контейнер */
.ceo-legend-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* ---- ФОТО ---- */
.ceo-legend-photo-side {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}
.ceo-legend-photo-wrap {
    position: relative;
    width: 320px;
    height: 420px;
}
.ceo-legend-photo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(245,158,11,0.25);
    animation: ceoRingPulse 4s ease-in-out infinite;
}
.ceo-legend-photo-ring--outer {
    width: 360px; height: 360px;
    top: 30px; left: -20px;
    animation-delay: 0s;
}
.ceo-legend-photo-ring--inner {
    width: 280px; height: 280px;
    top: 70px; left: 20px;
    border-color: rgba(220,38,38,0.2);
    animation-delay: 1.5s;
}
@keyframes ceoRingPulse {
    0%,100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.04); }
}

.ceo-legend-photo-frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 24px 24px 80px 24px;
    overflow: hidden;
    border: 3px solid rgba(245,158,11,0.4);
    box-shadow:
        0 0 60px rgba(220,38,38,0.25),
        0 30px 80px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 2;
}
.ceo-legend-photo-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 0.6s ease;
}
.ceo-legend-photo-frame:hover .ceo-legend-photo-img {
    transform: scale(1.04);
}

/* Бейдж на фото */
.ceo-legend-photo-badge {
    position: absolute;
    bottom: -16px; right: -20px;
    z-index: 5;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(220,38,38,0.5);
}

/* ---- КОНТЕНТ ---- */
.ceo-legend-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Eyebrow — линия + текст + линия */
.ceo-legend-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f59e0b;
}
.ceo-legend-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.5), transparent);
}

/* Имя */
.ceo-legend-name {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 30%, #f59e0b 70%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

/* Должность */
.ceo-legend-role {
    font-size: 18px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

/* Разделитель — 3 точки */
.ceo-legend-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
}
.ceo-legend-divider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
}
.ceo-legend-divider-dot:nth-child(2) {
    width: 32px;
    border-radius: 4px;
}
.ceo-legend-divider-dot:nth-child(3) {
    background: rgba(245,158,11,0.3);
}

/* Факты */
.ceo-legend-facts {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 32px;
    backdrop-filter: blur(10px);
}
.ceo-legend-fact {
    flex: 1;
    text-align: center;
}
.clf-num {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.clf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #64748b;
}
.ceo-legend-fact-sep {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
    flex-shrink: 0;
}

/* CTA кнопка */
.ceo-legend-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(220,38,38,0.35);
    transition: all 0.3s ease;
    align-self: flex-start;
}
.ceo-legend-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(220,38,38,0.5);
    color: #fff;
}
.ceo-legend-cta svg {
    transition: transform 0.3s ease;
}
.ceo-legend-cta:hover svg {
    transform: translateX(4px);
}

/* ---- РЕСПОНСИВ ---- */
@media (max-width: 992px) {
    .ceo-legend-inner {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .ceo-legend-eyebrow { justify-content: center; }
    .ceo-legend-divider { justify-content: center; }
    .ceo-legend-cta { align-self: center; }
    .ceo-legend-photo-wrap { width: 280px; height: 360px; }
    .ceo-legend-photo-ring--outer { width: 300px; height: 300px; }
    .ceo-legend-photo-ring--inner { width: 240px; height: 240px; }
}
@media (max-width: 576px) {
    .ceo-legend-section { padding: 70px 0; }
    .ceo-legend-facts { padding: 20px 16px; flex-wrap: wrap; gap: 20px; }
    .ceo-legend-fact-sep { display: none; }
    .clf-num { font-size: 32px; }
}

/* ============================================================
   TPS — ROOMS TABLE & DIMENSIONS (Project detail info)
   ============================================================ */
.tps-rooms {
    margin: 18px 0 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(245,158,11,0.2);
    background: rgba(255,255,255,0.03);
}

.tps-rooms-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(245,158,11,0.1);
    border-bottom: 1px solid rgba(245,158,11,0.15);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f59e0b;
}

.tps-rooms-grid {
    display: flex;
    flex-direction: column;
}

.tps-room-row {
    display: grid;
    grid-template-columns: 28px 1fr 52px;
    gap: 0;
    padding: 7px 14px;
    font-size: 13px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.tps-room-row:last-child { border-bottom: none; }
.tps-room-row:hover { background: rgba(255,255,255,0.04); }

.tps-room-row span:first-child { color: #64748b; font-size: 12px; }
.tps-room-row span:last-child { text-align: right; color: #94a3b8; font-weight: 600; }

.tps-room-header {
    background: rgba(255,255,255,0.05);
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.tps-room-header span { color: #64748b !important; font-size: 11px !important; }

.tps-room-total {
    background: rgba(245,158,11,0.08) !important;
    border-top: 1px solid rgba(245,158,11,0.2) !important;
    border-bottom: none !important;
    font-weight: 700;
    color: #f59e0b !important;
}
.tps-room-total span { color: #f59e0b !important; font-weight: 700 !important; }

/* Dimensions row */
.tps-dims {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 16px;
}
.tps-dim-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}
.tps-dim-item strong { color: #e2e8f0; font-weight: 600; }

/* ── MOBILE ROOMS TABLE ── */
@media (max-width: 768px) {
    .tps-rooms { margin: 16px 0 14px; border-radius: 10px; }
    .tps-rooms-title { padding: 9px 12px; font-size: 10px; }
    .tps-room-row {
        grid-template-columns: 24px 1fr 46px;
        padding: 6px 12px;
        font-size: 12px;
    }
    .tps-room-header span { font-size: 10px !important; }
    .tps-dims { gap: 6px; margin: 12px 0 14px; }
    .tps-dim-item { font-size: 12px; }
}

@media (max-width: 400px) {
    .tps-room-row {
        grid-template-columns: 22px 1fr 44px;
        padding: 5px 10px;
        font-size: 11.5px;
    }
    .tps-rooms-title { font-size: 9px; padding: 8px 10px; }
}
