/* ===================================================================
   RASP INTERNATIONAL - Page Template Styles
   =================================================================== */

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 100px 0 60px;
    background: var(--rasp-surface);
}

/* OLD CONTACT CSS - DISABLED (moved to snippet v2)
/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form-wrap {
    background: var(--rasp-white);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--rasp-surface-2);
}
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--rasp-white);
    border: 1px solid var(--rasp-surface-2);
    border-radius: var(--radius-md);
    transition: all .3s;
}
.contact-card:hover {
    border-color: rgba(65,89,161,.15);
    box-shadow: var(--shadow-sm);
}
.cc-icon {
    width: 44px;
    height: 44px;
    background: rgba(65,89,161,.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cc-label {
    font-size: 11px;
    color: var(--rasp-text-light);
    letter-spacing: .5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}
.cc-value {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--rasp-deep);
}

*/
/* ===== SERVICE CATEGORY ROWS ===== */
.service-category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-category-row.reversed {
    direction: rtl;
}
.service-category-row.reversed > * {
    direction: ltr;
}
.sc-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(65,89,161,.08), rgba(4,12,128,.04));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.sc-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: var(--rasp-brand);
}
.sc-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--rasp-deep);
    margin-bottom: 12px;
    line-height: 1.2;
}
.sc-content p {
    font-size: 15px;
    color: var(--rasp-text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}
.sc-items {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 24px;
}
.sc-items li {
    font-size: 13px;
    color: var(--rasp-text-mid);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    break-inside: avoid;
}
.sc-items li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--rasp-brand);
    border-radius: 50%;
    flex-shrink: 0;
}
.sc-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sc-visual-inner {
    width: 280px;
    height: 280px;
    background: linear-gradient(145deg, var(--rasp-surface), var(--rasp-surface-2));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sc-visual-num {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: rgba(65,89,161,.06);
    line-height: 1;
}

/* ===== FAQ ===== */
.faq-group {
    margin-bottom: 48px;
}
.faq-group-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rasp-surface-2);
}
.faq-item {
    border-bottom: 1px solid var(--rasp-surface-2);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--rasp-text);
    transition: color .2s;
}
.faq-question:hover { color: var(--rasp-brand); }
.faq-question svg {
    flex-shrink: 0;
    color: var(--rasp-text-light);
    transition: transform .3s;
}
.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.8;
    font-weight: 300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-category-row { grid-template-columns: 1fr; gap: 32px; }
    .service-category-row.reversed { direction: ltr; }
    .sc-visual { display: none; }
    .sc-items { columns: 1; }
}

@media (max-width: 768px) {
    .contact-form-wrap { padding: 28px; }
    .page-hero { padding: 80px 0 40px; }
}

/* ===================================================================
   PHASE 4 - About, Policy Updates, Case Study, Consultation
   =================================================================== */

/* ===== ABOUT PAGE ===== */
.about-stats {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
}
.about-stat { text-align: center; }
.as-val {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: white;
    line-height: 1;
}
.as-label {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin-top: 6px;
    letter-spacing: .5px;
}
.founder-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}
.founder-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.founder-photo img {
    width: 100%;
    height: auto;
    display: block;
}
.founder-placeholder {
    width: 280px;
    height: 320px;
    background: linear-gradient(145deg, var(--rasp-surface), var(--rasp-surface-2));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--rasp-brand);
}
.founder-info h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--rasp-deep);
    margin-bottom: 4px;
}
.founder-title {
    font-size: 14px;
    color: var(--rasp-brand);
    font-weight: 600;
    margin-bottom: 20px;
}
.founder-links { margin-top: 24px; }

.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 48px;
    text-align: left;
}
.pillar-card {
    background: var(--rasp-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--rasp-surface-2);
    transition: all .3s;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.pillar-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: rgba(65,89,161,.1);
    margin-bottom: 12px;
}
.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 8px;
}
.pillar-card p {
    font-size: 13px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.trust-card {
    background: var(--rasp-surface);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: all .3s;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tc-icon { font-size: 36px; margin-bottom: 16px; }
.trust-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 8px;
}
.trust-card p {
    font-size: 13px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
}

/* ===== POLICY UPDATES ===== */
.updates-list { display: flex; flex-direction: column; gap: 0; }
.update-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--rasp-surface-2);
}
.ui-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.ui-date {
    font-size: 12px;
    color: var(--rasp-text-light);
    font-weight: 500;
}
.ui-source { font-size: 10px; }
.ui-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--rasp-deep);
    line-height: 1.3;
    margin-bottom: 6px;
}
.ui-title a { color: inherit; }
.ui-title a:hover { color: var(--rasp-brand); }
.ui-excerpt {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
    margin-bottom: 10px;
}
.ui-actions {
    display: flex;
    gap: 16px;
}
.ui-read, .ui-official {
    font-size: 13px;
    font-weight: 600;
    color: var(--rasp-brand);
}
.ui-official { color: var(--rasp-text-light); }
.ui-read:hover, .ui-official:hover { color: var(--rasp-deep); }

/* ===== CASE STUDY ===== */
.cs-highlight {
    background: linear-gradient(135deg, var(--rasp-deep), #1a2a5c);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    margin-bottom: 48px;
}
.cs-highlight-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,.4);
    font-weight: 600;
    margin-bottom: 8px;
}
.cs-highlight-value {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: white;
}
.cs-block {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--rasp-surface-2);
}
.cs-block h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--rasp-deep);
    margin-bottom: 12px;
}
.cs-block p {
    font-size: 16px;
    color: var(--rasp-text-mid);
    line-height: 1.8;
}
.cs-testimonial {
    margin-top: 48px;
    padding: 40px;
    background: var(--rasp-surface);
    border-radius: var(--radius-xl);
    position: relative;
}
.cs-quote {
    font-family: var(--font-heading);
    font-size: 64px;
    color: rgba(65,89,161,.12);
    line-height: 1;
    margin-bottom: -16px;
}
.cs-testimonial blockquote {
    font-size: 17px;
    color: var(--rasp-text-mid);
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 16px;
}
.cs-testimonial cite {
    font-size: 14px;
    color: var(--rasp-deep);
    font-weight: 600;
    font-style: normal;
}

/* ===== CONSULTATION LANDING ===== */
.consultation-hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.consultation-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.cb-item {
    display: flex;
    gap: 14px;
}
.cb-icon {
    width: 28px;
    height: 28px;
    background: rgba(65,89,161,.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--rasp-brand);
    flex-shrink: 0;
    margin-top: 2px;
}
.cb-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rasp-text);
    margin-bottom: 2px;
}
.cb-item span {
    font-size: 13px;
    color: var(--rasp-text-mid);
    line-height: 1.5;
}
.consultation-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.consultation-trust span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--rasp-text-light);
    padding: 5px 12px;
    border: 1px solid var(--rasp-surface-2);
    border-radius: var(--radius-pill);
}

/* ===== PHASE 4 RESPONSIVE ===== */
@media (max-width: 1024px) {
    .founder-grid { grid-template-columns: 1fr; gap: 32px; }
    .founder-placeholder { width: 100%; max-width: 280px; }
    .trust-cards { grid-template-columns: 1fr; }
    .consultation-grid { grid-template-columns: 1fr; gap: 40px; }
    .consultation-hero { min-height: auto; padding: 100px 0 60px; }
}
@media (max-width: 768px) {
    .about-stats { gap: 16px; }
    .as-val { font-size: 32px; }
    .about-pillars { grid-template-columns: 1fr 1fr; }
}



/* ===================================================================
   SERVICE SINGLE TEMPLATE - Layout & Component Styles
   =================================================================== */

/* ===== SECTION WRAPPER ===== */
.rsp-section {
    padding: 80px 0;
}
.rsp-section-alt {
    background: var(--rasp-surface);
}

/* ===== SERVICE HERO ===== */
.rsp-hero {
    background: linear-gradient(135deg, var(--rasp-deep) 0%, #1e2f7a 60%, var(--rasp-brand) 100%);
    padding: 100px 0 80px;
    text-align: left;
}
.rsp-hero-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 20px;
}
.rsp-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 760px;
}
.rsp-hero p {
    font-size: 18px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 620px;
}
.rsp-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SECTION HEADINGS ===== */
.rsp-section .section-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rasp-brand);
    margin-bottom: 14px;
}
.rsp-section .section-heading {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    color: var(--rasp-deep);
    line-height: 1.2;
    margin-bottom: 0;
}

/* ===== 3-COLUMN GRID ===== */
.rsp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== SERVICE CARDS ===== */
.rsp-card {
    background: var(--rasp-white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--rasp-surface-2);
    transition: all .3s var(--ease);
}
.rsp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.rsp-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(65,89,161,.1), rgba(4,12,128,.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--rasp-brand);
}
.rsp-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--rasp-deep);
    margin-bottom: 10px;
}
.rsp-card p {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.7;
}
.rsp-card-check {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}
.rsp-card-check::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: rgba(65,89,161,.08);
    border-radius: 4px;
    border: 1.5px solid var(--rasp-brand);
}

/* ===== FAQ ACCORDION ===== */
.rsp-faq-item {
    border-bottom: 1px solid var(--rasp-surface-2);
}
.rsp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--rasp-text);
    transition: color .2s;
}
.rsp-faq-q:hover { color: var(--rasp-brand); }
.rsp-faq-q svg {
    flex-shrink: 0;
    color: var(--rasp-text-light);
    transition: transform .3s;
}
.rsp-faq-item.open .rsp-faq-q svg { transform: rotate(180deg); }
.rsp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}
.rsp-faq-item.open .rsp-faq-a {
    max-height: 400px;
    padding-bottom: 20px;
}
.rsp-faq-a p {
    font-size: 14px;
    color: var(--rasp-text-mid);
    line-height: 1.8;
}

/* ===== CTA BAND ===== */
.rsp-cta-band {
    background: linear-gradient(135deg, var(--rasp-deep) 0%, #1e2f7a 60%, var(--rasp-brand) 100%);
    padding: 80px 0;
    text-align: center;
}
.rsp-cta-band h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.rsp-cta-band p {
    font-size: 16px;
    color: rgba(255,255,255,.7);
    margin-bottom: 36px;
}
.rsp-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .rsp-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rsp-section { padding: 64px 0; }
    .rsp-hero { padding: 80px 0 60px; }
}
@media (max-width: 768px) {
    .rsp-grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .rsp-section { padding: 48px 0; }
    .rsp-hero { padding: 60px 0 48px; }
    .rsp-hero h1 { font-size: 28px; }
    .rsp-hero p { font-size: 15px; }
    .rsp-hero-actions { flex-direction: column; }
    .rsp-cta-band { padding: 56px 0; }
    .rsp-card { padding: 28px 24px; }
}
/* ===== Grid-2 Layout ===== */
.rsp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media (max-width: 768px) {
    .rsp-grid-2 { grid-template-columns: 1fr; }
}

/* ===== Dark Mode for Service/RSP Pages ===== */
[data-theme="dark"] .rsp-section { color: #d1d5db; }
[data-theme="dark"] .rsp-section h2,
[data-theme="dark"] .rsp-section h3 { color: #f3f4f6; }
[data-theme="dark"] .rsp-section p { color: #9ca3af; }
[data-theme="dark"] .rsp-section-alt { background: rgba(255,255,255,.03); }
[data-theme="dark"] .rsp-card {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .rsp-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
[data-theme="dark"] .rsp-card h4 { color: #e5e7eb; }
[data-theme="dark"] .rsp-card p { color: #9ca3af; }
[data-theme="dark"] .rsp-card a { color: var(--rasp-brand); }
[data-theme="dark"] .faq-question { color: #e5e7eb; background: rgba(255,255,255,.04); }
[data-theme="dark"] .faq-answer { color: #9ca3af; background: rgba(255,255,255,.02); }
[data-theme="dark"] .rsp-section .section-heading { color: #f3f4f6; }
[data-theme="dark"] table th { background: rgba(255,255,255,.06); color: #e5e7eb; }
[data-theme="dark"] table td { border-color: rgba(255,255,255,.06); color: #d1d5db; }
[data-theme="dark"] .rsp-section ul li { color: #d1d5db; }
[data-theme="dark"] .rsp-page-wrap .btn-primary { background: var(--rasp-brand); color: #fff; }
[data-theme="dark"] .rsp-page-wrap .btn-outline { border-color: rgba(255,255,255,.2); color: #d1d5db; }

/* Fix container inside rsp pages */
.rsp-page-wrap .container { display: block; text-align: left; }
.rsp-hero .container { display: block; }
