/* ============================================
   DOMINO PEOPLE - MEDICAL / INSTITUTIONAL MOOD
   Palette: Zonzini Red + Teal accents + clean whites
   ============================================ */

:root {
    --people-teal: #0E8B7D;
    --people-teal-light: #E8F5F3;
    --people-teal-dark: #0A6F64;
    --people-blue: #1B4965;
    --people-light: #F7F9FA;
    --people-border: #E2E8ED;
}

/* ============================================
   HERO
   ============================================ */
.people-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.people-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-3xl) var(--space-3xl) var(--layout-margin);
    position: relative;
    z-index: 2;
}

.people-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--people-teal);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    width: fit-content;
    margin-bottom: var(--space-xl);
}

.people-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.people-hero-title {
    font-size: clamp(36px, 6vw, 90px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 0.9;
    margin-bottom: var(--space-sm);
}

.people-hero-title span {
    display: block;
    color: var(--people-teal);
}

.people-hero-subtitle {
    font-size: clamp(14px, 1.5vw, 20px);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xl);
}

.people-hero-desc {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.people-hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-people-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--people-teal);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-people-primary:hover {
    background: var(--people-teal-dark);
    transform: translateY(-2px);
}

.btn-people-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all var(--transition-base);
}

.btn-people-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

.people-hero-image {
    position: relative;
    overflow: hidden;
}

.people-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   INTRO / DESCRIPTION
   ============================================ */
.people-intro {
    padding: var(--space-5xl) 0;
    background: var(--people-light);
}

.people-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.people-intro-text h2 {
    color: var(--color-secondary);
    font-size: var(--font-size-h4);
    margin-bottom: var(--space-xl);
    line-height: 1.15;
}

.people-intro-text h2 span {
    color: var(--people-teal);
}

.people-intro-text p {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.people-intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.people-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BENEFITS TABS
   ============================================ */
.people-benefits {
    padding: var(--space-5xl) 0;
    background: white;
}

.people-section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.people-section-title h2 {
    color: var(--color-secondary);
    font-size: var(--font-size-h3);
    margin-bottom: var(--space-md);
}

.people-section-title p {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
    max-width: 600px;
    margin: 0 auto;
}

.people-tabs-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.people-tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--people-border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: var(--font-size-small);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.people-tab-btn:hover {
    border-color: var(--people-teal);
    color: var(--people-teal);
}

.people-tab-btn.active {
    background: var(--people-teal);
    border-color: var(--people-teal);
    color: white;
}

.people-tab-panel {
    display: none;
}

.people-tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.people-tab-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.people-tab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.people-tab-content p {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

/* ============================================
   ADVANTAGES GRID
   ============================================ */
.people-advantages {
    padding: var(--space-5xl) 0;
    background: var(--color-secondary);
}

.people-advantages .people-section-title h2 {
    color: white;
}

.people-advantages .people-section-title p {
    color: rgba(255,255,255,0.6);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.advantage-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.08);
}

.advantage-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: var(--people-teal);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-card h3 {
    color: white;
    font-size: var(--font-size-h6);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.advantage-card p {
    color: rgba(255,255,255,0.65);
    font-size: var(--font-size-small);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.people-video-section {
    padding: var(--space-5xl) 0;
    background: var(--people-light);
}

.people-video-main {
    max-width: 900px;
    margin: 0 auto;
}

.people-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.people-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   SPECS TABLE
   ============================================ */
.people-specs {
    padding: var(--space-5xl) 0;
    background: white;
}

.people-specs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.people-specs-header h2 {
    color: var(--color-secondary);
    font-size: var(--font-size-h3);
    margin: 0;
}

.people-specs-table {
    max-width: 900px;
}

.spec-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--people-border);
    align-items: baseline;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item-label {
    font-weight: 500;
    color: var(--color-secondary);
    font-size: var(--font-size-body);
}

.spec-item-value {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
}

.spec-item-note {
    grid-column: 1 / -1;
    padding: var(--space-xl) 0 var(--space-md);
    color: var(--color-text-light);
    font-size: var(--font-size-small);
    line-height: 1.7;
    border-bottom: 1px solid var(--people-border);
}

/* ============================================
   MORE VIDEOS
   ============================================ */
.people-videos-grid-section {
    padding: var(--space-5xl) 0;
    background: var(--color-secondary);
}

.people-videos-grid-section .people-section-title h2 {
    color: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.video-grid-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-grid-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   CONTACT (CTA)
   ============================================ */
.people-cta {
    padding: var(--space-5xl) 0;
    background: var(--people-teal-light);
    border-top: 4px solid var(--people-teal);
}

.people-cta-grid {
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);*/
    align-items: start;
}

.people-cta-text h2 {
    color: var(--color-secondary);
    font-size: var(--font-size-h3);
    margin-bottom: var(--space-lg);
}

.people-cta-text p {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.people-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-h5);
    font-weight: 700;
    color: var(--people-teal-dark);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.people-cta-phone:hover {
    color: var(--people-teal);
}

.people-cta-hours {
    color: var(--color-text-light);
    font-size: var(--font-size-small);
    font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .people-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .people-hero-content {
        padding: calc(var(--header-height) + var(--space-2xl)) var(--layout-margin) var(--space-2xl);
    }
    
    .people-hero-image {
        height: 50vh;
        min-height: 300px;
    }
    
    .people-intro-grid,
    .people-tab-panel.active,
    .people-cta-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .people-specs-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spec-item {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    
    .spec-item-label {
        font-size: var(--font-size-small);
        color: rgba(38,38,38,0.6);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .people-hero-actions {
        flex-direction: column;
    }
    
    .btn-people-primary,
    .btn-people-outline {
        justify-content: center;
    }
}

.people-specs .boxed,
.people-videos-grid-section .boxed,
.people-cta .boxed {
    max-width: 1400px;
}
.page-product-people .people-specs .boxed,
.page-product-people .people-videos-grid-section .boxed,
.page-product-people .people-cta .boxed {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--layout-margin);
    padding-right: var(--layout-margin);
}
.people-cta-text {
    text-align: center;
}