/* ── PAGES COMMON ── */
.page-header {
    padding: 160px 40px 80px;
    background: var(--off-white);
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 179, 90, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.page-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.page-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(40px, 4.5vw, 56px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    line-height: 1.15;
}

.text-green {
    color: var(--green);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* ── ABOUT US ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.about-grid.reverse {
    direction: rtl; /* simple trick to swap columns */
}
.about-grid.reverse .about-text {
    direction: ltr; /* keep text ltr */
}

.about-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: var(--light-gray);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--off-white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.value-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.value-icon {
    font-size: 32px;
    margin-bottom: 24px;
    width: 72px;
    height: 72px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.value-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.value-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

/* ── TIMELINE ── */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--green), var(--blue), var(--gold), var(--orange));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
    padding-left: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--border);
    z-index: 2;
}

.tm-green { background: var(--green); box-shadow: 0 0 0 3px rgba(13, 179, 90, 0.2); }
.tm-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(26, 111, 255, 0.2); }
.tm-gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 32, 0.2); }
.tm-orange { background: var(--orange); box-shadow: 0 0 0 3px rgba(232, 98, 10, 0.2); }

.timeline-date {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── TEAM ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
    background: #fff;
}

.team-avatar {
    font-size: 48px;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(13, 179, 90, 0.15);
}

.team-name {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 14px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── PAGE CTA BOX ── */
.page-cta-box {
    background: var(--text-dark);
    border-radius: 24px;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 179, 90, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(26, 111, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ── CONTACT US ── */
.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-channel-card {
    text-align: center;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
    background: #fff;
}

.channel-icon {
    font-size: 36px;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.ci-green { background: var(--green-light); }
.ci-blue { background: var(--blue-light); }
.ci-gold { background: var(--gold-light); }

.channel-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.channel-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.channel-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    display: inline-block;
    transition: color 0.15s;
}

a.channel-link:hover {
    color: var(--green-dark);
}

/* Contact Grid — Form + Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.contact-form-wrap {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(13, 179, 90, 0.1);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 3px solid rgba(13, 179, 90, 0.2);
}

.form-success h3 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact info sidebar */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.2s;
}

.info-card:hover {
    border-color: rgba(13, 179, 90, 0.3);
}

.info-card-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.info-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.info-card-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    background: #fff;
}

.social-link:hover {
    background: var(--green-light);
    border-color: rgba(13, 179, 90, 0.3);
    color: var(--green);
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.15s;
}

.quick-link:last-child {
    border-bottom: none;
}

.quick-link:hover {
    color: var(--green-dark);
}

/* Map placeholder */
.map-section {
    margin-bottom: 60px;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    transform: rotate(-5deg);
}

.map-pin {
    font-size: 48px;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

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

.map-label {
    text-align: center;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ── LEGAL PAGES (Privacy, Terms, Cookies) ── */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 100px;
}

.toc-title {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--green);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.15s;
    display: block;
}

.toc-link:hover {
    color: var(--text-dark);
    background: var(--off-white);
}

.toc-link.active {
    color: var(--green);
    background: var(--green-light);
    border-left-color: var(--green);
    font-weight: 600;
}

.legal-content {
    min-width: 0;
}

.legal-section {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.legal-section h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 28px;
    margin-bottom: 14px;
}

.legal-section p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-section ul li {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-light);
    border: 2px solid var(--green);
}

.legal-highlight {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    padding: 24px 28px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── COOKIE TYPE CARDS ── */
.cookie-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 28px 0;
}

.cookie-type-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color 0.2s;
}

.cookie-type-card h3 {
    margin-top: 0 !important;
}

.cookie-type-card:hover {
    border-color: var(--green);
}

.ct-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ct-icon {
    font-size: 28px;
}

.ct-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ct-required {
    background: var(--green-light);
    color: var(--green-dark);
}

.ct-optional {
    background: var(--blue-light);
    color: var(--blue-dark);
}

.cookie-type-card p {
    margin-bottom: 16px;
}

.cookie-type-card ul {
    margin-bottom: 0 !important;
}

/* Cookie table */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cookie-table thead {
    background: var(--off-white);
}

.cookie-table th {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

.cookie-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table code {
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.ct-badge-sm {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-essential-sm {
    background: var(--green-light);
    color: var(--green-dark);
}

.ct-preference-sm {
    background: var(--gold-light);
    color: #7a5a00;
}

.ct-analytics-sm {
    background: var(--blue-light);
    color: var(--blue-dark);
}

/* ── SUPPORT (Help Center) ── */
.support-search {
    max-width: 640px;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
}

.support-search input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff;
}

.support-search input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26, 111, 255, 0.1);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.support-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
    display: block;
    background: #fff;
}

.support-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
    transform: translateY(-4px);
}

.support-icon {
    font-size: 36px;
    margin: 0 auto 24px;
    width: 72px;
    height: 72px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.support-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.support-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-right: 40px;
}

.contact-box {
    margin-top: 100px;
    background: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 111, 255, 0.2) 0%, transparent 70%);
}

.contact-box h3 {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    font-size: 17px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.btn-white {
    background: #fff;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    z-index: 2;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

/* ── Dark Mode fixes for pages ── */
body.dark-mode .page-header,
body.dark-mode .value-card,
body.dark-mode .team-card,
body.dark-mode .contact-channel-card,
body.dark-mode .contact-form-wrap,
body.dark-mode .info-card,
body.dark-mode .cookie-type-card {
    background: var(--off-white);
}

body.dark-mode .value-card:hover,
body.dark-mode .team-card:hover,
body.dark-mode .contact-channel-card:hover {
    background: var(--white);
    border-color: rgba(13, 179, 90, 0.4);
}

body.dark-mode .support-search input {
    background: var(--off-white);
    color: var(--text-dark);
    border-color: var(--border);
}

body.dark-mode .support-search input:focus {
    background: var(--white);
}

body.dark-mode .support-card {
    background: var(--white);
}

body.dark-mode .support-card:hover {
    border-color: rgba(26, 111, 255, 0.4);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--border);
}

body.dark-mode .social-link {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-body);
}

body.dark-mode .social-link:hover {
    background: rgba(13, 179, 90, 0.1);
}

body.dark-mode .map-placeholder {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

body.dark-mode .map-label {
    background: rgba(15, 23, 32, 0.9);
}

body.dark-mode .legal-highlight {
    background: rgba(13, 179, 90, 0.08);
}

body.dark-mode .cookie-table thead {
    background: var(--off-white);
}

body.dark-mode .cookie-table code {
    background: var(--white);
}

body.dark-mode .page-cta-box {
    background: #1e293b;
}

body.dark-mode .about-image {
    background: var(--off-white);
}

/* ── SUCCESS STORIES ── */
.success-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px;
    margin-bottom: 80px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.success-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sf-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.sf-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.success-featured:hover .sf-image-wrap img {
    transform: scale(1.05);
}

.sf-content {
    display: flex;
    flex-direction: column;
}

.sf-badge {
    align-self: flex-start;
    background: var(--gold-light);
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sf-title {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.sf-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.sf-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.sf-metric-val {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}

.sf-metric-lbl {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sf-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--green);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.story-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.sc-image {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover .sc-image img {
    transform: scale(1.05);
}

.sc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sc-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sc-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sc-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.sc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sc-stat {
    display: flex;
    flex-direction: column;
}

.sc-stat-val {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.sc-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.sc-link {
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.sc-link:hover {
    color: var(--green-dark);
}

body.dark-mode .success-featured,
body.dark-mode .story-card {
    background: var(--off-white);
    border-color: var(--border);
}

body.dark-mode .sc-badge {
    background: rgba(15, 23, 32, 0.8);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-bottom: 40px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--border);
    }
    .toc-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .toc-link {
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    .toc-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--green);
    }
    .cookie-type-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-grid,
    .support-grid,
    .values-grid,
    .contact-channels,
    .team-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .success-featured {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }
    .sf-image-wrap {
        height: 250px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .page-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 32px;
    }
    .page-cta-box .cta-actions {
        align-items: center;
    }
    .page-header {
        padding: 140px 24px 60px;
    }
    .page-content {
        padding: 60px 24px;
    }
    .contact-form-wrap {
        padding: 32px 24px;
    }
}
