/* ======================================================
   SEAACADEMY İK - REFERANSLAR GENEL CSS
   Ana sayfa + temsilcilikler + sektörler + OSB + pozisyonlar
====================================================== */

:root {
    --ref-navy: #071d3a;
    --ref-navy-2: #0b2d55;
    --ref-blue: #124c8f;
    --ref-orange: #f58220;
    --ref-orange-dark: #d96b12;
    --ref-white: #ffffff;
    --ref-soft: #f4f7fb;
    --ref-soft-2: #eef3f8;
    --ref-text: #263445;
    --ref-muted: #66758a;
    --ref-border: rgba(7, 29, 58, 0.12);
    --ref-shadow: 0 18px 50px rgba(7, 29, 58, 0.12);
    --ref-shadow-soft: 0 12px 32px rgba(7, 29, 58, 0.08);
    --ref-radius: 22px;
    --ref-radius-sm: 14px;
    --ref-container: 1180px;
}

/* RESET */

.ref-page,
.ref-page * {
    box-sizing: border-box;
}

.ref-page {
    width: 100%;
    overflow-x: hidden;
    background: var(--ref-white);
    color: var(--ref-text);
    font-family: inherit;
}

.ref-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ref-page a {
    text-decoration: none;
}

.ref-container {
    width: min(var(--ref-container), calc(100% - 32px));
    margin: 0 auto;
}

/* BUTTONS */

.ref-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    transition: 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.ref-btn-primary {
    background: var(--ref-orange);
    color: var(--ref-white);
    box-shadow: 0 12px 28px rgba(245, 130, 32, 0.28);
}

.ref-btn-primary:hover {
    background: var(--ref-orange-dark);
    transform: translateY(-2px);
}

.ref-btn-outline {
    background: transparent;
    color: var(--ref-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.ref-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ref-section .ref-btn-outline,
.ref-cta .ref-btn-outline {
    color: var(--ref-navy);
    border-color: var(--ref-border);
    background: var(--ref-white);
}

.ref-section .ref-btn-outline:hover,
.ref-cta .ref-btn-outline:hover {
    border-color: var(--ref-orange);
    color: var(--ref-orange);
}

/* TYPOGRAPHY */

.ref-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ref-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ref-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: var(--ref-orange);
}

.ref-section-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.ref-section-head.center,
.ref-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ref-section-head.center .ref-eyebrow,
.ref-center .ref-eyebrow {
    justify-content: center;
}

.ref-section-head h2,
.ref-proof h2,
.ref-cta h2,
.ref-page h1 {
    color: var(--ref-navy);
    letter-spacing: -0.035em;
    margin: 0;
}

.ref-section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.ref-page h1 {
    font-size: clamp(34px, 5.4vw, 62px);
    line-height: 1.03;
}

.ref-section-head p,
.ref-proof p,
.ref-cta p,
.ref-hero-content p {
    color: var(--ref-muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 16px 0 0;
}

/* HERO */

.ref-hero {
    position: relative;
    padding: 86px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.22), transparent 34%),
        linear-gradient(135deg, #06172f 0%, #082850 52%, #0a396d 100%);
    color: var(--ref-white);
    isolation: isolate;
}

.ref-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.09), transparent);
    pointer-events: none;
    z-index: -1;
}

.ref-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.ref-hero-content h1 {
    color: var(--ref-white);
}

.ref-hero-content p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
}

.ref-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ref-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.ref-hero-stats div {
    padding: 18px;
    border-radius: var(--ref-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
}

.ref-hero-stats strong {
    display: block;
    font-size: 25px;
    color: var(--ref-white);
    line-height: 1;
    margin-bottom: 8px;
}

.ref-hero-stats span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
}

.ref-hero-media {
    position: relative;
}

.ref-hero-media img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    object-fit: cover;
}

/* SECTIONS */

.ref-section {
    padding: 76px 0;
    background: var(--ref-white);
}

.ref-section:nth-of-type(even) {
    background: var(--ref-soft);
}

.ref-dark {
    background:
        radial-gradient(circle at top left, rgba(245, 130, 32, 0.18), transparent 32%),
        linear-gradient(135deg, #06172f 0%, #0a2c53 100%) !important;
    color: var(--ref-white);
}

.ref-dark .ref-section-head h2,
.ref-dark h2,
.ref-dark h3 {
    color: var(--ref-white);
}

.ref-dark .ref-section-head p,
.ref-dark p {
    color: rgba(255, 255, 255, 0.74);
}

/* TRUST CARDS */

.ref-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ref-trust-card {
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius);
    overflow: hidden;
    box-shadow: var(--ref-shadow-soft);
    transition: 0.25s ease;
}

.ref-trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ref-shadow);
}

.ref-trust-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.ref-trust-card h3 {
    color: var(--ref-navy);
    font-size: 21px;
    line-height: 1.25;
    margin: 22px 22px 10px;
}

.ref-trust-card p {
    color: var(--ref-muted);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 22px 24px;
}

/* LINK GRIDS */

.ref-link-grid,
.ref-region-grid,
.ref-small-grid,
.ref-position-grid,
.ref-category-grid,
.ref-card-links {
    display: grid;
    gap: 14px;
}

.ref-link-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ref-small-grid {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 22px;
}

.ref-position-grid {
    grid-template-columns: repeat(5, 1fr);
}

.ref-link-grid a,
.ref-position-grid a,
.ref-category-grid a,
.ref-card-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 18px 18px;
    border-radius: var(--ref-radius-sm);
    background: var(--ref-white);
    color: var(--ref-navy);
    font-weight: 800;
    border: 1px solid var(--ref-border);
    box-shadow: 0 8px 20px rgba(7, 29, 58, 0.05);
    transition: 0.22s ease;
}

.ref-link-grid a::after,
.ref-position-grid a::after,
.ref-category-grid a::after,
.ref-card-links a::after {
    content: "→";
    color: var(--ref-orange);
    font-weight: 900;
    margin-left: 12px;
}

.ref-link-grid a:hover,
.ref-position-grid a:hover,
.ref-category-grid a:hover,
.ref-card-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 130, 32, 0.55);
    color: var(--ref-orange);
}

/* CASE CARDS */

.ref-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ref-case-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--ref-radius);
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.ref-case-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.11);
}

.ref-case-card img {
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.ref-case-card h3 {
    font-size: 22px;
    margin: 22px 22px 10px;
}

.ref-case-card p {
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 22px 18px;
}

.ref-case-card a {
    display: inline-flex;
    margin: 0 22px 24px;
    color: var(--ref-orange);
    font-weight: 900;
}

/* OSB SHOWCASE */

.ref-osb-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ref-osb-showcase a {
    position: relative;
    min-height: 260px;
    border-radius: var(--ref-radius);
    overflow: hidden;
    box-shadow: var(--ref-shadow-soft);
    background: var(--ref-navy);
}

.ref-osb-showcase img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.28s ease;
}

.ref-osb-showcase span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: var(--ref-white);
    font-size: 21px;
    font-weight: 900;
}

.ref-osb-showcase a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 23, 47, 0.86), transparent 60%);
}

.ref-osb-showcase a:hover img {
    transform: scale(1.06);
    opacity: 1;
}

/* PROOF */

.ref-proof {
    background: var(--ref-soft);
}

.ref-proof-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
    align-items: center;
}

.ref-proof h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.ref-proof-list {
    display: grid;
    gap: 14px;
}

.ref-proof-list div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: var(--ref-radius-sm);
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    box-shadow: 0 8px 22px rgba(7, 29, 58, 0.05);
}

.ref-proof-list strong {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ref-navy);
    color: var(--ref-white);
}

.ref-proof-list span {
    color: var(--ref-navy);
    font-weight: 800;
    line-height: 1.45;
}

/* FAQ */

.ref-faq-list {
    display: grid;
    gap: 14px;
}

.ref-faq-list details {
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius-sm);
    padding: 0;
    box-shadow: 0 8px 22px rgba(7, 29, 58, 0.05);
    overflow: hidden;
}

.ref-faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 22px;
    color: var(--ref-navy);
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ref-faq-list summary::-webkit-details-marker {
    display: none;
}

.ref-faq-list summary::after {
    content: "+";
    color: var(--ref-orange);
    font-size: 24px;
    line-height: 1;
}

.ref-faq-list details[open] summary::after {
    content: "−";
}

.ref-faq-list p {
    padding: 0 22px 22px;
    margin: 0;
    color: var(--ref-muted);
    line-height: 1.75;
}

/* CTA */

.ref-cta {
    padding: 78px 0;
    background:
        radial-gradient(circle at bottom right, rgba(245, 130, 32, 0.20), transparent 35%),
        linear-gradient(135deg, #071d3a 0%, #0a3769 100%);
    color: var(--ref-white);
}

.ref-cta-grid {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    align-items: center;
    gap: 40px;
}

.ref-cta h2 {
    color: var(--ref-white);
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.1;
}

.ref-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.ref-cta img {
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.ref-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* WHATSAPP FIXED */

.ref-whatsapp-fixed {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    min-width: 126px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32);
    transition: 0.25s ease;
}

.ref-whatsapp-fixed:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* INNER PAGE HERO */

.ref-inner-hero {
    padding: 78px 0 60px;
    background:
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #06172f, #0a315f);
    color: var(--ref-white);
}

.ref-inner-hero h1 {
    color: var(--ref-white);
    max-width: 920px;
}

.ref-inner-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.75;
}

.ref-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
}

.ref-breadcrumb a {
    color: var(--ref-orange);
    font-weight: 800;
}

/* CONTENT LAYOUT */

.ref-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.ref-main-content {
    display: grid;
    gap: 24px;
}

.ref-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.ref-panel,
.ref-sidebar-card,
.ref-info-box,
.ref-note-box {
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius);
    box-shadow: var(--ref-shadow-soft);
    padding: 24px;
}

.ref-panel h2,
.ref-panel h3,
.ref-sidebar-card h3,
.ref-info-box h3 {
    color: var(--ref-navy);
    margin: 0 0 12px;
    line-height: 1.25;
}

.ref-panel p,
.ref-sidebar-card p,
.ref-info-box p,
.ref-note-box p {
    color: var(--ref-muted);
    line-height: 1.75;
    margin: 0 0 14px;
}

.ref-panel p:last-child,
.ref-sidebar-card p:last-child,
.ref-info-box p:last-child,
.ref-note-box p:last-child {
    margin-bottom: 0;
}

/* UNIQUE PAGE BLOCKS */

.ref-local-grid,
.ref-sector-detail-grid,
.ref-osb-detail-grid,
.ref-position-detail-grid,
.ref-metric-grid,
.ref-step-grid,
.ref-need-grid {
    display: grid;
    gap: 18px;
}

.ref-local-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ref-sector-detail-grid,
.ref-osb-detail-grid,
.ref-position-detail-grid {
    grid-template-columns: repeat(2, 1fr);
}

.ref-metric-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ref-step-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ref-need-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ref-local-card,
.ref-sector-detail-card,
.ref-osb-detail-card,
.ref-position-detail-card,
.ref-metric-card,
.ref-step-card,
.ref-need-card {
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius-sm);
    padding: 22px;
    box-shadow: 0 8px 22px rgba(7, 29, 58, 0.05);
}

.ref-local-card h3,
.ref-sector-detail-card h3,
.ref-osb-detail-card h3,
.ref-position-detail-card h3,
.ref-need-card h3 {
    color: var(--ref-navy);
    margin: 0 0 10px;
    font-size: 20px;
}

.ref-local-card p,
.ref-sector-detail-card p,
.ref-osb-detail-card p,
.ref-position-detail-card p,
.ref-need-card p {
    color: var(--ref-muted);
    margin: 0;
    line-height: 1.7;
}

.ref-metric-card strong {
    display: block;
    color: var(--ref-orange);
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
}

.ref-metric-card span {
    display: block;
    color: var(--ref-navy);
    font-weight: 800;
    line-height: 1.4;
}

.ref-step-card strong {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ref-navy);
    color: var(--ref-white);
    margin-bottom: 14px;
}

.ref-step-card h3 {
    margin: 0 0 8px;
    color: var(--ref-navy);
}

.ref-step-card p {
    margin: 0;
    color: var(--ref-muted);
    line-height: 1.7;
}

/* TABLE */

.ref-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--ref-radius-sm);
    border: 1px solid var(--ref-border);
    background: var(--ref-white);
}

.ref-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.ref-table th,
.ref-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--ref-border);
    color: var(--ref-text);
    vertical-align: top;
}

.ref-table th {
    background: var(--ref-navy);
    color: var(--ref-white);
    font-weight: 900;
}

.ref-table tr:last-child td {
    border-bottom: 0;
}

/* LISTS */

.ref-check-list,
.ref-clean-list,
.ref-sidebar-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ref-check-list li,
.ref-clean-list li,
.ref-sidebar-list li {
    position: relative;
    padding-left: 26px;
    color: var(--ref-muted);
    line-height: 1.6;
}

.ref-check-list li::before,
.ref-clean-list li::before,
.ref-sidebar-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ref-orange);
    font-weight: 900;
}

/* FORM PAGE */

.ref-form-section {
    background: var(--ref-soft);
}

.ref-form {
    display: grid;
    gap: 18px;
}

.ref-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.ref-form-group {
    display: grid;
    gap: 8px;
}

.ref-form-group.ref-full {
    grid-column: 1 / -1;
}

.ref-form label {
    color: var(--ref-navy);
    font-weight: 900;
    font-size: 14px;
}

.ref-form input,
.ref-form select,
.ref-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--ref-border);
    border-radius: 14px;
    padding: 13px 15px;
    color: var(--ref-text);
    background: var(--ref-white);
    outline: none;
    font: inherit;
    transition: 0.2s ease;
}

.ref-form textarea {
    min-height: 140px;
    resize: vertical;
}

.ref-form input:focus,
.ref-form select:focus,
.ref-form textarea:focus {
    border-color: var(--ref-orange);
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
}

.ref-form-note {
    color: var(--ref-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* CONTACT PAGE */

.ref-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.ref-contact-card {
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius);
    padding: 26px;
    box-shadow: var(--ref-shadow-soft);
}

.ref-contact-card h3 {
    color: var(--ref-navy);
    margin: 0 0 12px;
}

.ref-contact-card p,
.ref-contact-card a {
    color: var(--ref-muted);
    line-height: 1.7;
}

.ref-contact-card a:hover {
    color: var(--ref-orange);
}

.ref-map-box {
    min-height: 360px;
    border-radius: var(--ref-radius);
    overflow: hidden;
    background: var(--ref-soft-2);
    border: 1px solid var(--ref-border);
}

/* INDEX PAGES INSIDE FOLDERS */

.ref-directory-hero {
    padding: 70px 0;
    background: linear-gradient(135deg, #06172f, #0a315f);
    color: var(--ref-white);
}

.ref-directory-hero h1 {
    color: var(--ref-white);
}

.ref-directory-hero p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 820px;
}

.ref-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ref-directory-card {
    padding: 24px;
    background: var(--ref-white);
    border: 1px solid var(--ref-border);
    border-radius: var(--ref-radius);
    box-shadow: var(--ref-shadow-soft);
    transition: 0.24s ease;
}

.ref-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ref-shadow);
}

.ref-directory-card h2,
.ref-directory-card h3 {
    color: var(--ref-navy);
    margin: 0 0 10px;
    font-size: 22px;
}

.ref-directory-card p {
    color: var(--ref-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.ref-directory-card a {
    color: var(--ref-orange);
    font-weight: 900;
}

/* DIFFERENT PAGE TYPE HELPERS */

.ref-region-page .ref-inner-hero {
    background:
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.2), transparent 34%),
        linear-gradient(135deg, #071d3a, #0d3f78);
}

.ref-sector-page .ref-inner-hero {
    background:
        radial-gradient(circle at bottom right, rgba(245, 130, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #06172f, #113c5c);
}

.ref-osb-page .ref-inner-hero {
    background:
        radial-gradient(circle at top left, rgba(245, 130, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #06172f, #0b476e);
}

.ref-position-page .ref-inner-hero {
    background:
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #06172f, #16324f);
}

/* BADGES */

.ref-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ref-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(245, 130, 32, 0.12);
    color: var(--ref-orange);
    font-weight: 900;
    font-size: 13px;
}

.ref-hero .ref-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ref-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* IMAGE TEXT BLOCK */

.ref-image-text {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.ref-image-text.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.ref-image-text img {
    border-radius: var(--ref-radius);
    box-shadow: var(--ref-shadow-soft);
    width: 100%;
    object-fit: cover;
}

.ref-image-text h2 {
    color: var(--ref-navy);
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1.12;
    margin: 0 0 14px;
}

.ref-image-text p {
    color: var(--ref-muted);
    line-height: 1.75;
}

/* MOBILE CTA AREA */

.ref-mobile-bottom-space {
    display: none;
}

/* ANIMATIONS */

.ref-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.55s ease;
}

.ref-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ref-reveal,
    .ref-btn,
    .ref-trust-card,
    .ref-case-card,
    .ref-osb-showcase img,
    .ref-directory-card,
    .ref-whatsapp-fixed {
        transition: none !important;
        transform: none !important;
    }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .ref-hero-grid,
    .ref-cta-grid,
    .ref-proof-grid,
    .ref-content-grid,
    .ref-contact-grid,
    .ref-image-text,
    .ref-image-text.reverse {
        grid-template-columns: 1fr;
    }

    .ref-sidebar {
        position: static;
    }

    .ref-link-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ref-small-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ref-position-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ref-osb-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-directory-grid,
    .ref-case-grid,
    .ref-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-metric-grid,
    .ref-step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ref-container {
        width: min(100% - 24px, var(--ref-container));
    }

    .ref-hero,
    .ref-inner-hero,
    .ref-directory-hero {
        padding: 54px 0 44px;
    }

    .ref-section,
    .ref-cta {
        padding: 52px 0;
    }

    .ref-hero-actions,
    .ref-cta-actions {
        flex-direction: column;
    }

    .ref-btn {
        width: 100%;
        min-height: 50px;
    }

    .ref-hero-stats {
        grid-template-columns: 1fr;
    }

    .ref-trust-grid,
    .ref-case-grid,
    .ref-directory-grid,
    .ref-local-grid,
    .ref-sector-detail-grid,
    .ref-osb-detail-grid,
    .ref-position-detail-grid,
    .ref-need-grid,
    .ref-form-grid,
    .ref-contact-grid {
        grid-template-columns: 1fr;
    }

    .ref-link-grid,
    .ref-small-grid,
    .ref-position-grid {
        grid-template-columns: 1fr;
    }

    .ref-osb-showcase {
        grid-template-columns: 1fr;
    }

    .ref-metric-grid,
    .ref-step-grid {
        grid-template-columns: 1fr;
    }

    .ref-section-head {
        margin-bottom: 26px;
    }

    .ref-section-head h2 {
        font-size: 29px;
    }

    .ref-page h1 {
        font-size: 36px;
    }

    .ref-hero-content p,
    .ref-section-head p,
    .ref-proof p,
    .ref-cta p {
        font-size: 16px;
    }

    .ref-hero-media img,
    .ref-cta img,
    .ref-image-text img {
        border-radius: 20px;
    }

    .ref-whatsapp-fixed {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        height: 54px;
    }

    .ref-mobile-bottom-space {
        display: block;
        height: 74px;
    }
}

@media (max-width: 420px) {
    .ref-page h1 {
        font-size: 32px;
    }

    .ref-section-head h2,
    .ref-proof h2,
    .ref-cta h2 {
        font-size: 27px;
    }

    .ref-hero-stats div,
    .ref-panel,
    .ref-sidebar-card,
    .ref-info-box,
    .ref-note-box,
    .ref-contact-card {
        padding: 20px;
    }

    .ref-trust-card h3,
    .ref-case-card h3 {
        font-size: 20px;
    }
}