/* ==========================================================================
   Homepage sections
   Moved from the components' inline <style> blocks; loaded after home.css (same cascade as before).
   ========================================================================== */

/* ── components/home-hero.php ────────────────────────────────────────── */
/* Hero — copy on a clean surface (left) and expanding photo panels (right).
   The panels are the slider controls: the active one opens wide, the others
   collapse into narrow strips with vertical labels. */
main.homepage .section-hero { position: relative; }

main.homepage .hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(20px, 2.4vw, 36px);
    min-height: clamp(560px, calc(100svh - 170px), 760px);
    padding: clamp(12px, 1.2vw, 18px);
}

/* Copy */
main.homepage .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-width: 0;
    padding: clamp(20px, 3vw, 48px) clamp(8px, 1.6vw, 28px) clamp(12px, 1.4vw, 20px) clamp(12px, 2.4vw, 40px);
}
main.homepage .hero-main { display: flex; flex-direction: column; margin-block: auto; }
main.homepage .section-hero .hero-title {
    display: none;
    max-width: 14ch;
    margin: 0 0 24px;
    color: var(--home-ink);
    font-size: clamp(2.5rem, 4.3vw, 4.5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.04em;
    overflow-wrap: break-word;
    hyphens: auto;
}
main.homepage .section-hero .hero-lead {
    display: none;
    max-width: 440px;
    margin: 0;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.65;
}
main.homepage .section-hero :is(.hero-title, .hero-lead).active { display: block; animation: heroFadeUp .6s cubic-bezier(.22,.61,.36,1) both; }
main.homepage .section-hero .hero-lead.active { animation-delay: .06s; }
main.homepage .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
main.homepage .hero-btn-ico { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s ease; }
main.homepage .hero-btn:hover .hero-btn-ico { transform: translateX(4px); }

main.homepage .hero-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--home-line);
    color: var(--text-gray);
    font-size: .9rem;
}
main.homepage .hero-counter { color: var(--home-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
main.homepage .hero-counter-sep { margin: 0 3px; color: #a3adb5; }
main.homepage .hero-counter-total { color: #a3adb5; }
main.homepage .hero-category { display: none; }
main.homepage .hero-category.active { display: inline; }

/* Photo panels */
main.homepage .hero-tabs { display: flex; gap: 10px; min-width: 0; }
main.homepage .hero-tab {
    position: relative;
    flex: 1 1 0;
    min-width: 72px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: calc(var(--home-radius) - 8px);
    background: var(--secondary-darker);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    isolation: isolate;
    transition: flex-grow .8s cubic-bezier(.2,.7,.2,1);
    appearance: none;
    -webkit-appearance: none;
}
main.homepage .hero-tab.active { flex-grow: 5; cursor: default; }
main.homepage .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: saturate(.75) brightness(.8);
    transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
main.homepage .hero-tab.active .hero-bg { transform: scale(1); filter: none; }
main.homepage .hero-tab:not(.active):hover .hero-bg { filter: saturate(.9) brightness(.92); }
main.homepage .hero-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, rgba(10,15,19,.72) 0%, rgba(10,15,19,0) 45%),
        linear-gradient(180deg, rgba(10,15,19,.38) 0%, rgba(10,15,19,0) 22%);
}
main.homepage .hero-tab-num {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    opacity: .85;
}
main.homepage .hero-tab-label {
    position: absolute;
    left: 20px;
    bottom: 22px;
    max-width: calc(100% - 40px);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.015em;
    transition: opacity .3s ease;
}
/* Collapsed strips: vertical label, reading bottom-to-top. */
main.homepage .hero-tab:not(.active) .hero-tab-label {
    left: 50%;
    bottom: 24px;
    max-width: none;
    font-size: .95rem;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
}
main.homepage .hero-tab:not(.active) .hero-tab-num { left: 50%; transform: translateX(-50%); }
main.homepage .hero-tab-bar {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 12px;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255,255,255,.25);
    opacity: 0;
}
main.homepage .hero-tab.active .hero-tab-bar { opacity: 1; }
main.homepage .hero-tab-progress {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}
main.homepage .hero-tab.active .hero-tab-progress { animation: heroProgress 5s linear forwards; }
main.homepage .hero-tab:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroProgress { to { transform: scaleX(1); } }

@media (max-width: 1100px) {
    main.homepage .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Phones and small tablets: copy first, panels as a row underneath. */
@media (max-width: 900px) {
    main.homepage .hero-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    main.homepage .hero-copy { gap: 28px; padding: 22px 10px 4px; }
    main.homepage .hero-status { display: none; }
    main.homepage .hero-tabs { height: clamp(260px, 62vw, 380px); gap: 8px; }
    main.homepage .hero-tab { min-width: 52px; }
    main.homepage .hero-tab.active { flex-grow: 6; }
    main.homepage .hero-tab-num { top: 14px; left: 16px; }
    main.homepage .hero-tab-label { left: 16px; bottom: 20px; font-size: 1rem; }
    main.homepage .hero-tab:not(.active) .hero-tab-label { display: none; }
    main.homepage .hero-tab-bar { left: 16px; right: 16px; }
}
@media (max-width: 520px) {
    main.homepage .section-hero .hero-title { font-size: clamp(2.15rem, 10vw, 2.8rem); }
    main.homepage .section-hero .hero-lead { font-size: .98rem; }
    main.homepage .hero-actions { margin-top: 26px; }
    main.homepage .hero-actions .btn { padding: 13px 18px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    main.homepage .hero-tab,
    main.homepage .hero-bg { transition: none; }
    main.homepage .section-hero :is(.hero-title, .hero-lead).active,
    main.homepage .hero-tab.active .hero-tab-progress { animation: none; }
}

/* ── components/home-solutions.php ───────────────────────────────────── */
/* Small counter-rotating gear */
.section-gear-sm {
    position: absolute;
    top: 20%;
    right: 460px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    animation: rotateGearCCW 45s linear infinite;
}
.section-gear-sm svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 1px;
}
@keyframes rotateGearCCW {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(-360deg); }
}

.section-core-solutions {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.card-solution {
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    transition: background-color var(--transition-normal);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.card-solution:last-child { border-right: none; }

@media (max-width: 1200px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .card-solution:nth-child(3n) { border-right: 1px solid var(--border-color); }
    .card-solution:nth-child(2n) { border-right: none; }
    .card-solution:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-color); }
    .card-solution:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    .solutions-grid { grid-template-columns: 1fr; border-right: none; border-bottom: none; }
    .card-solution { border-right: none !important; border-bottom: 1px solid var(--border-color) !important; }
    .card-solution:last-child { border-bottom: none !important; }
    .card-image-wrapper { height: 200px; }
}

.card-image-wrapper { position: relative; height: 260px; overflow: hidden; }

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-color-rgb), 0.88);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-icon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(16px);
    transition: transform var(--transition-normal);
}

.card-content {
    padding: 32px 26px;
    position: relative;
    background: var(--bg-white);
    flex-grow: 1;
    transition: background-color var(--transition-normal);
    border-top: 1px solid var(--border-color);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
    line-height: 1.2;
    letter-spacing: 0;
}

.card-text {
    font-size: 0.88rem;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
    transition: color var(--transition-normal);
    line-height: 1.6;
}

/* Hover Effects */
.card-solution:hover .card-image { transform: scale(1.08); }
.card-solution:hover .card-overlay { opacity: 1; }
.card-solution:hover .overlay-icon { transform: translateY(0); }
.card-solution:hover .card-content { background-color: var(--secondary-color); border-top-color: var(--secondary-color); }
.card-solution:hover .card-title { color: var(--bg-white); }
.card-solution:hover .card-text { color: rgba(255, 255, 255, 0.65); }

/* ── components/home-expertise.php ───────────────────────────────────── */
.section-expertise {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.expertise-head {
    text-align: center;
    margin-bottom: 50px;
}

.expertise-head h2 {
    margin-bottom: 0;
}

.expertise-lead {
    color: var(--text-gray);
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: var(--font-weight-light);
}

.expertise-tabs {
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.tab-btn {
    flex: 1;
    min-width: 0;
    padding: 22px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    text-align: center;
    line-height: 1.3;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    letter-spacing: 0.04em;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: transparent;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
}

.tab-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.tab-btn.active {
    background: var(--bg-white);
    color: var(--text-dark);
    border-bottom-color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

.tabs-content {
    padding: 50px 48px;
}

.tab-pane {
    display: none;
    animation: expertiseTabIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes expertiseTabIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.tab-text h3 {
    margin: 0 0 16px;
    font-size: var(--type-card);
    font-weight: var(--font-weight-semibold);
    text-transform: none;
    color: var(--text-dark);
    line-height: 1.25;
}

.tab-text p {
    margin: 0 0 24px;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: var(--font-weight-light);
}

.tech-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--secondary-color);
    line-height: 1.4;
}

.tab-visual-wrapper {
    position: relative;
    overflow: hidden;
    height: 340px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.tab-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-visual-wrapper:hover .tab-visual {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .tab-visual-wrapper {
        order: -1;
        height: 260px;
    }
    .tabs-content {
        padding: 36px 28px;
    }
}

/* Mobil: sekme şeridi dikey — kaydırma yok, tüm etiketler görünür, tıklama güvenilir */
@media (max-width: 768px) {
    .section-expertise {
        padding: 56px 0 64px;
    }
    .expertise-head {
        margin-bottom: 20px;
        text-align: left;
    }
    .expertise-lead {
        display: none !important;
    }
    .expertise-tabs {
        width: 100%;
    }

    .tabs-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        border-bottom: none;
    }
    .tab-btn {
        flex: none;
        width: 100%;
        text-align: left;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0;
        font-size: 0.88rem;
        letter-spacing: 0.02em;
    }
    .tab-btn::after {
        display: none;
    }
    .tab-btn:last-child {
        border-bottom: none;
    }
    .tab-btn.active {
        background: var(--bg-white);
        color: var(--primary-color);
        border-bottom: 1px solid var(--border-color);
        border-left: 4px solid var(--primary-color);
        padding-left: 16px;
    }

    .tabs-content {
        padding: 24px 20px 28px;
    }
    .tab-text h3 {
        font-size: var(--type-card);
        margin-bottom: 10px;
    }
    .tab-text p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    .tech-list {
        gap: 8px;
    }
    .tech-list li {
        font-size: 0.85rem;
    }
    .tab-visual-wrapper {
        height: 180px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tab-pane { animation: none; }
}

/* ── components/home-manufacturing.php ───────────────────────────────── */
/* Üst blok — portföy ile aynı yüzey; bitişik beyaz bloklar arasında ince ayırıcı ve biraz sıkı üst iç boşluk */
.section-core-special.section-core-solutions {
    padding: clamp(52px, 5.5vw, 76px) 0;
    border-top: 1px solid var(--border-color);
}

.special-automation-grid.solutions-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .special-automation-grid.solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* ── components/home-clients.php ─────────────────────────────────────── */
.section-clients {
    padding: clamp(52px, 5.5vw, 76px) 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.clients-header {
    text-align: center;
    margin-bottom: 36px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.sector-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 24px 40px;
    border-right: 1px solid var(--border-color);
    cursor: default;
    transition: var(--transition-normal);
    position: relative;
}
.sector-card:last-child { border-right: none; }

.sector-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sector-card:hover::after { width: 100%; }
.sector-card:hover { background-color: var(--bg-light); }

.sector-icon {
    width: 64px; height: 64px;
    margin-bottom: 24px;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
    display: flex; align-items: center; justify-content: center;
}
.sector-icon svg { width: 100%; height: 100%; }
.sector-card:hover .sector-icon { color: var(--primary-color); }

.sector-name {
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.sector-desc {
    font-size: var(--type-label);
    color: var(--text-gray);
    font-weight: var(--font-weight-light);
    line-height: 1.4;
}

.clients-note {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.clients-note p {
    font-size: 0.9rem;
    color: var(--text-gray);
}
.clients-note a {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    text-decoration-color: rgba(167, 23, 36, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition-fast);
}
.clients-note a:hover { text-decoration-color: var(--primary-color); }

@media (max-width: 1200px) {
    .sectors-grid { grid-template-columns: repeat(3, 1fr); }
    .sector-card:nth-child(3) { border-right: none; }
    .sector-card:nth-child(4),
    .sector-card:nth-child(5),
    .sector-card:nth-child(6) { border-top: 1px solid var(--border-color); }
    .sector-card:nth-child(6) { border-right: none; }
}

@media (max-width: 768px) {
    .sectors-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-md);
        overflow: hidden;
    }
    .sector-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 24px 12px 20px;
        border: none;
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    .sector-card:nth-child(even) { border-right: none; }
    .sector-card:nth-child(odd) { border-right: 1px solid var(--border-color); }
    .sector-card:nth-child(5),
    .sector-card:nth-child(6) {
        border-bottom: none;
    }
    .sector-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 12px;
        color: var(--primary-color);
    }
    .sector-name {
        font-size: 0.92rem;
        font-weight: 600;
        margin-bottom: 0;
        line-height: 1.3;
        text-align: center;
    }
    .sector-desc {
        display: none !important;
    }
}

/* ── components/home-blog.php ────────────────────────────────────────── */
.section-home-blog {
    padding: clamp(48px, 5vw, 72px) 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

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

@media (max-width: 1024px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-home-blog {
        overflow: hidden;
    }
    
    .home-blog-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: clamp(24px, 4vw, 64px);
        margin-inline: calc(clamp(24px, 4vw, 64px) * -1);
        padding-inline: clamp(24px, 4vw, 64px);
        padding-block: 4px 14px;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) rgba(15, 24, 31, 0.08);
    }

    .home-blog-grid::-webkit-scrollbar {
        height: 3px;
    }
    .home-blog-grid::-webkit-scrollbar-track {
        background: rgba(15, 24, 31, 0.06);
        border-radius: 3px;
        margin-inline: clamp(24px, 4vw, 64px);
    }
    .home-blog-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 3px;
    }
    
    .home-blog-grid .blog-card {
        flex: 0 0 min(78vw, 290px);
        width: min(78vw, 290px);
        min-width: 250px;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
        display: flex;
        flex-direction: column;
        border-radius: 6px;
        overflow: hidden;
        background: var(--bg-white);
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 14px -3px rgba(15, 24, 31, 0.06);
    }
}

/* ── components/home-cta.php ─────────────────────────────────────────── */
.section-cta {
    position: relative;
    padding: clamp(72px, 10vw, 110px) 0;
    background-color: var(--secondary-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Photo + dark brand filter */
.section-cta__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--secondary-darker);
    background-image:
        linear-gradient(
            128deg,
            rgba(46, 58, 67, 0.95) 0%,
            rgba(57, 72, 84, 0.84) 46%,
            rgba(167, 23, 36, 0.16) 100%
        ),
        url('../images/cta-proje.webp');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 44px);
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.24);
    border-radius: var(--border-radius-md);
}

.cta-panel__copy { flex: 1 1 320px; max-width: 36rem; text-align: left; }

.cta-panel__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--type-label);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.cta-panel__title {
    font-family: var(--font-display);
    font-size: var(--type-section);
    font-weight: var(--font-weight-semibold);
    color: var(--bg-white);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    text-transform: none;
}

.cta-panel__lead {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: #e2e8f0;
    font-weight: 400;
}

.cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-panel { align-items: stretch; }
    .cta-panel__copy { text-align: left; }
    .cta-panel__actions { flex-direction: column; align-items: stretch; }
    .cta-panel__actions .btn { width: 100%; justify-content: center; }
}
