/* ============================================
   SHARED PAGE STYLES
   ============================================ */

/* Page Hero - used on all inner pages */
.page-hero {
    background: var(--rt-blue-deep);
    padding: 140px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(197, 160, 40, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(26, 39, 68, 0.4) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-tag {
    color: var(--rt-gold);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--rt-white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--rt-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.breadcrumb-links {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--rt-text-light);
}

.breadcrumb-links a {
    color: var(--rt-gold);
    font-weight: 500;
}

.breadcrumb-links a:hover {
    text-decoration: underline;
}

.breadcrumb-links .sep {
    color: #ccc;
}

/* Content sections with alternating backgrounds */
.page-section {
    padding: 80px 0;
}

.page-section.alt {
    background: var(--rt-cream);
}

.page-section.dark {
    background: var(--rt-blue-deep);
    color: rgba(255, 255, 255, 0.8);
}

.page-section.dark h2,
.page-section.dark h3 {
    color: var(--rt-white);
}

.page-section.dark .section-tag {
    color: var(--rt-gold);
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

/* Content typography */
.page-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--rt-blue);
    margin-bottom: 20px;
}

.page-content h3 {
    font-size: 1.3rem;
    color: var(--rt-blue);
    margin-bottom: 12px;
}

.page-content .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--rt-blue);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-content p {
    color: var(--rt-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.page-content em {
    color: var(--rt-gold);
    font-style: italic;
}

.page-content a:not(.btn) {
    color: var(--rt-gold);
    font-weight: 600;
    border-bottom: 1px solid var(--rt-gold-dim);
    transition: var(--transition);
}

.page-content a:not(.btn):hover {
    border-bottom-color: var(--rt-gold);
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.feature-card {
    background: var(--rt-white);
    border-radius: var(--rt-radius);
    padding: 36px 28px;
    box-shadow: var(--rt-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rt-shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--rt-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--rt-blue);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--rt-text-light);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--rt-gold), var(--rt-gold-dim), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--rt-gold);
    border: 3px solid var(--rt-bg);
    box-shadow: 0 0 0 2px var(--rt-gold);
}

.timeline-item .year {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rt-gold);
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rt-blue);
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--rt-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA banner */
.page-cta {
    background: var(--rt-blue-deep);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(197, 160, 40, 0.1) 0%, transparent 70%);
}

.page-cta .container {
    position: relative;
    z-index: 1;
}

.page-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--rt-white);
    margin-bottom: 16px;
}

.page-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 32px;
}

/* Info boxes */
.info-box {
    background: rgba(197, 160, 40, 0.06);
    border-left: 3px solid var(--rt-gold);
    border-radius: 0 var(--rt-radius) var(--rt-radius) 0;
    padding: 24px 28px;
    margin: 24px 0;
}

.info-box p {
    margin-bottom: 0;
    color: var(--rt-text);
}

/* Contact specifics */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.contact-method {
    background: var(--rt-white);
    border-radius: var(--rt-radius);
    padding: 28px;
    box-shadow: var(--rt-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--rt-shadow-lg);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--rt-gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--rt-gold);
}

.contact-method h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-method p {
    font-size: 0.9rem;
    color: var(--rt-text-light);
    margin: 0;
}

.contact-method a {
    color: var(--rt-gold);
    font-weight: 500;
}

/* Large contact form section */
.contact-form-section {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 968px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col.reverse {
        direction: ltr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 50px;
    }

    .page-section {
        padding: 60px 0;
    }
}
