/**
 * Rosewood Industrial Platform — About Us
 *
 * @package Rosewood
 * @version 2.0.0
 */

/* ═══════ ABOUT HERO ═══════ */

/* Base section styles (self-contained — doesn't depend on homepage CSS) */
.rw-about-story .rw-section-tag,
.rw-about-factory .rw-section-tag,
.rw-about-milestones .rw-section-tag,
.rw-about-clients .rw-section-tag,
.rw-about-projects .rw-section-tag,
.rw-about-locations .rw-section-tag,
.rw-about-hero .rw-section-tag,
.rw-rfq-banner .rw-section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #E63329;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid rgba(230,51,41,0.3);
    padding: 6px 14px;
    margin-bottom: 16px;
}

.rw-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #1C1C1E;
    line-height: 1.15;
    margin: 0 0 16px;
}

.rw-section-title--white { color: #fff !important; }

.rw-section-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin: 8px 0 0;
}

.rw-section-header--center { text-align: center; margin-bottom: 36px; }
.rw-section-header--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }

/* Section padding */
.rw-home-section { padding: 64px 0; }

/* Buttons (self-contained) */
.rw-about-projects .rw-btn-outline-dark,
.rw-rfq-banner .rw-btn-primary,
.rw-rfq-banner .rw-btn-ghost,
.rw-about-locations .rw-btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}
.rw-btn-outline-dark { background: transparent; color: #1C1C1E; border: 1px solid #1C1C1E; }
.rw-btn-outline-dark:hover { background: #1C1C1E; color: #fff; }
.rw-btn-primary { background: #E63329; color: #fff; }
.rw-btn-primary:hover { background: #cc2920; color: #fff; }
.rw-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.rw-btn-ghost:hover { border-color: #fff; color: #fff; }

/* RFQ Banner */
.rw-rfq-banner { background: #1C1C1E; }
.rw-rfq-banner-inner { display: flex; justify-content: space-between; align-items: center; padding: 48px 0; flex-wrap: wrap; gap: 24px; }
.rw-rfq-banner-text h3 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 600; color: #fff; margin: 8px 0; }
.rw-rfq-banner-text p { font-family: 'Outfit', sans-serif; font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; }
.rw-rfq-banner-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.rw-about-hero {
    background: #1C1C1E;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

/* Background image */
.rw-about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: rwAboutHeroZoom 12s ease forwards;
}
@keyframes rwAboutHeroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1); }
}

.rw-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,28,30,0.75);
}

.rw-about-hero-accent {
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(230,51,41,0.08) 100%);
    pointer-events: none;
    z-index: 1;
}

.rw-about-hero .container { position: relative; z-index: 3; }

.rw-about-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    flex-wrap: wrap;
}

.rw-about-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.08;
}

.rw-about-hero-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    max-width: 500px;
    line-height: 1.75;
    margin: 0;
}

.rw-about-hero-stats {
    display: flex;
    gap: 36px;
    flex-shrink: 0;
}

.rw-about-stat { text-align: center; }

.rw-about-stat-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #E63329;
    line-height: 1;
}

.rw-about-stat-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

/* ═══════ INTRO PARAGRAPH ═══════ */

.rw-about-intro {
    padding: 64px 0;
    background: #fff;
}

.rw-about-intro-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.rw-about-intro-line {
    width: 48px;
    height: 3px;
    background: #E63329;
    border-radius: 2px;
}

.rw-about-intro-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #444;
    line-height: 1.9;
    margin: 0;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .rw-about-intro { padding: 48px 0; }
    .rw-about-intro-text { font-size: 16px; line-height: 1.8; }
}

/* ═══════ STORY ═══════ */

.rw-about-story { border-bottom: 1px solid #e8e6e3; }

.rw-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.rw-story-right p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin: 0 0 20px;
}
.rw-story-right p:last-child { margin-bottom: 0; }

/* ═══════ COMMITMENT ═══════ */

.rw-about-commitment {
    padding: 64px 0;
    background: #f4f3f1;
    border-bottom: 1px solid #e8e6e3;
}

.rw-commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rw-commitment-card {
    background: #fff;
    border: 1px solid #e8e6e3;
    padding: 32px 28px;
    text-align: center;
    transition: border-color 0.3s ease;
}
.rw-commitment-card:hover { border-color: #E63329; }

.rw-commitment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #faf9f8;
    border: 1px solid #e8e6e3;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.rw-commitment-icon i {
    font-size: 22px;
    color: #E63329;
}

.rw-commitment-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1E;
    margin: 0 0 8px;
}

.rw-commitment-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* ═══════ LOCAL EXPERTISE ═══════ */

.rw-about-local {
    padding: 64px 0;
    border-bottom: 1px solid #e8e6e3;
}

.rw-local-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}

.rw-local-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin: 16px 0 0;
    max-width: 480px;
}

.rw-local-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rw-local-badge {
    background: #1C1C1E;
    padding: 28px 20px;
    text-align: center;
}

.rw-local-badge-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #E63329;
    line-height: 1;
    margin-bottom: 6px;
}

.rw-local-badge-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════ TESTIMONIALS ═══════ */

.rw-about-testimonials {
    padding: 64px 0;
    background: #faf9f8;
    border-bottom: 1px solid #e8e6e3;
}

.rw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rw-testimonial-card {
    background: #fff;
    border: 1px solid #e8e6e3;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rw-testimonial-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.rw-testimonial-author {
    border-top: 1px solid #e8e6e3;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rw-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f4f3f1;
}

.rw-testimonial-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E63329;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.rw-testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.rw-testimonial-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 2px;
}

.rw-testimonial-role {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: #999;
}

/* ═══════ FACTORY ═══════ */

.rw-about-factory {
    background: #1C1C1E;
    overflow: hidden;
}

/* Force all text in factory section to be light */
.rw-about-factory .rw-section-title {
    color: #fff !important;
}
.rw-about-factory .rw-section-tag {
    color: #E63329;
    border-color: rgba(230,51,41,0.4);
}

.rw-about-factory-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 560px;
}

.rw-about-factory-text {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.rw-about-factory-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 440px;
    margin: 0 0 36px;
}

.rw-about-factory-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    max-width: 480px;
}

.rw-factory-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rw-factory-feature-icon {
    font-size: 16px;
    color: #E63329;
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    text-align: center;
}

.rw-factory-feature strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 3px;
}

.rw-factory-feature span {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

.rw-about-factory-image {
    position: relative;
}
.rw-about-factory-image img {
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.7;
}
.rw-about-factory-fade {
    position: absolute; inset: 0;
    background: linear-gradient(to right, #1C1C1E 0%, transparent 30%);
}

/* ═══════ MILESTONES ═══════ */

.rw-about-milestones {
    background: #f4f3f1;
    border-top: 1px solid #e8e6e3;
}

.rw-milestones-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Vertical line */
.rw-milestones-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: #e8e6e3;
    transform: translateX(-50%);
}

.rw-milestone {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}
.rw-milestone:last-child { margin-bottom: 0; }

.rw-milestone-year {
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #E63329;
    line-height: 1;
}

.rw-milestone-dot {
    width: 14px; height: 14px;
    background: #E63329;
    border: 3px solid #f4f3f1;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}

.rw-milestone-content {
    text-align: left;
}

.rw-milestone-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1E;
    margin: 0 0 4px;
}

.rw-milestone-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* ═══════ CLIENTS ═══════ */

.rw-about-clients {
    padding: 64px 0;
    border-bottom: 1px solid #e8e6e3;
}

.rw-clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}

.rw-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.rw-client-logo img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}
.rw-client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ═══════ RECENT PROJECTS ═══════ */

.rw-about-projects {
    padding: 64px 0;
}

.rw-about-projects-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rw-about-project-card {
    text-decoration: none;
    display: block;
}

.rw-about-project-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 14px;
    background: #eee;
    border: 1px solid #e8e6e3;
    transition: border-color 0.3s ease;
}
.rw-about-project-card:hover .rw-about-project-img {
    border-color: #E63329;
}
.rw-about-project-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.rw-about-project-card:hover .rw-about-project-img img {
    transform: scale(1.03);
}

.rw-about-project-sector {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #E63329;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rw-about-project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1C1C1E;
    margin: 4px 0 0;
    line-height: 1.3;
}

/* ═══════ LOCATIONS ═══════ */

.rw-about-locations {
    padding: 64px 0;
    background: #f4f3f1;
    border-top: 1px solid #e8e6e3;
}

.rw-locations-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.rw-location-card {
    background: #fff;
    border: 1px solid #e8e6e3;
    padding: 36px 32px;
}

.rw-location-card--dark {
    background: #1C1C1E;
    border-color: transparent;
}

.rw-location-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.rw-location-card-icon {
    font-size: 28px;
}

.rw-location-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1E;
    margin: 0;
}
.rw-location-card--dark .rw-location-card-header h3 { color: #fff; }

.rw-location-card-address {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 12px;
}
.rw-location-card--dark .rw-location-card-address { color: rgba(255,255,255,0.55); }

.rw-location-card-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #888;
    line-height: 1.65;
    margin: 0 0 14px;
}
.rw-location-card--dark .rw-location-card-desc { color: rgba(255,255,255,0.35); }

.rw-location-card-hours {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: #aaa;
    display: block;
}
.rw-location-card--dark .rw-location-card-hours { color: rgba(255,255,255,0.25); }

/* ═══════ OVERRIDE ═══════ */

.page-template-about-us .page-header,
.page-template-about-us #page-header {
    display: none !important;
}

/* ═══════ RESPONSIVE ═══════ */

@media (max-width: 1024px) {
    .rw-about-hero-inner { flex-direction: column; align-items: flex-start; }
    .rw-about-hero-stats { gap: 24px; }
    .rw-story-grid { grid-template-columns: 1fr; gap: 32px; }
    .rw-about-factory-grid { grid-template-columns: 1fr; }
    .rw-about-factory-image { min-height: 300px; }
    .rw-about-factory-text { padding: 64px 48px; }
    .rw-commitment-grid { grid-template-columns: repeat(2, 1fr); }
    .rw-local-grid { grid-template-columns: 1fr; gap: 36px; }
    .rw-testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .rw-about-hero { padding: 48px 0; }
    .rw-about-factory-text { padding: 48px 32px; }
    .rw-about-factory-features { grid-template-columns: 1fr; }
    .rw-milestones-timeline::before { left: 20px; }
    .rw-milestone { grid-template-columns: auto 1fr; gap: 16px; }
    .rw-milestone-year { text-align: left; font-size: 20px; }
    .rw-milestone-dot { display: none; }
    .rw-about-projects-scroll { grid-template-columns: 1fr 1fr; }
    .rw-locations-cards { grid-template-columns: 1fr; }
    .rw-commitment-grid { grid-template-columns: 1fr; }
    .rw-local-badges { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .rw-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .rw-about-projects-scroll { grid-template-columns: 1fr; }
    .rw-local-badges { grid-template-columns: 1fr; }
}
