/* ==========================================================================
   KRL Site Standard — spacing, typography, layout consistency
   ========================================================================== */

:root {
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 30px;
    --space-xl: 48px;
    --space-section-y: 90px;
    --space-section-y-sm: 60px;
    --content-max: 1200px;
    --container-gutter: 20px;
    --radius-card: 8px;
    --color-primary: #ffc000;
    --color-text: #151a33;
    --color-text-muted: #555362;
    --font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 0.9375rem;
    --font-body: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-h6: 0.9375rem;
    --font-h5: 1rem;
    --font-h4: 1.125rem;
    --font-h3: 1.375rem;
    --font-h2: clamp(1.625rem, 2.5vw, 2.25rem);
    --font-h1: clamp(1.875rem, 3vw, 2.75rem);
    --line-tight: 1.25;
    --line-body: 1.7;
    --line-heading: 1.3;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family) !important;
    font-size: var(--font-body) !important;
    line-height: var(--line-body) !important;
    color: var(--color-text-muted) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-family) !important;
    color: var(--color-text) !important;
}

button, input, textarea, select {
    font-family: var(--font-family);
    font-size: var(--font-body);
}

/* --------------------------------------------------------------------------
   Page sections — unified vertical rhythm
   -------------------------------------------------------------------------- */
.page-section {
    padding-top: var(--space-section-y);
    padding-bottom: var(--space-section-y);
}

.page-section--compact {
    padding-top: var(--space-section-y-sm);
    padding-bottom: var(--space-section-y-sm);
}

.page-head {
    margin-bottom: var(--space-xl);
}

.page-head.text-center {
    text-align: center;
}

.section-eyebrow {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--font-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.page-title {
    font-size: var(--font-h2);
    line-height: var(--line-heading);
    font-weight: 800;
    margin-bottom: 0;
    color: var(--color-text);
}

.page-lead {
    font-size: var(--font-md);
    line-height: var(--line-body);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.section-block {
    margin-bottom: var(--space-lg);
}

.section-block:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Typography hierarchy (override theme extremes)
   -------------------------------------------------------------------------- */
h1, .h1 {
    font-size: var(--font-h1) !important;
    line-height: var(--line-heading) !important;
    font-weight: 800 !important;
}

h2, .h2 {
    font-size: var(--font-h2) !important;
    line-height: var(--line-heading) !important;
    font-weight: 800 !important;
}

h3, .h3 {
    font-size: var(--font-h3) !important;
    line-height: var(--line-heading) !important;
    font-weight: 700 !important;
}

h4, .h4 {
    font-size: var(--font-h4) !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

h5, .h5 {
    font-size: var(--font-h5) !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

h6, .h6 {
    font-size: var(--font-h6) !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}

p, .entry-content {
    font-size: var(--font-body);
    line-height: var(--line-body);
    color: var(--color-text-muted);
}

.entry-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    margin: var(--space-md) 0;
}

/* --------------------------------------------------------------------------
   Cards & grids — equal gaps
   -------------------------------------------------------------------------- */
.content-grid {
    row-gap: var(--space-lg);
}

.referanslar {
    grid-template-columns: repeat(5, 1fr);
    grid-gap: var(--space-lg);
}

.referanslar .box {
    border: 1px solid #e8eaf0;
    border-radius: var(--radius-card);
    padding: var(--space-md) var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.referanslar .box:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.referanslar img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-box,
.service-box,
.news-wrapper,
.team-block,
.contact-block {
    margin-bottom: var(--space-lg);
}

.content-grid > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.content-grid > [class*="col-"] > .feature-box,
.content-grid > [class*="col-"] > .service-box,
.content-grid > [class*="col-"] > .news-wrapper,
.content-grid > [class*="col-"] > .team-block {
    flex: 1;
    width: 100%;
}

/* --------------------------------------------------------------------------
   About excerpt — no fixed scroll box
   -------------------------------------------------------------------------- */
.autoHeight {
    height: auto;
    max-height: none;
    overflow: visible;
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
select {
    width: 100%;
    max-width: 100%;
}

.contact-form .form-group {
    margin-bottom: var(--space-md);
}

.contact-form button[type="submit"] {
    width: 100%;
}

@media (min-width: 768px) {
    .contact-form button[type="submit"] {
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   Contact blocks — stack on mobile
   -------------------------------------------------------------------------- */
.contact-block.d-flex {
    align-items: flex-start;
    gap: var(--space-md);
}

@media (max-width: 767px) {
    .contact-block.d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-details {
        margin-left: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   Service sidebar links
   -------------------------------------------------------------------------- */
.service-link-list li a {
    padding: 18px 24px;
    word-break: break-word;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Team overlap section
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .minus-mrt-130 {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   Header & navigation / dropdowns
   -------------------------------------------------------------------------- */
.header-top-left-part {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
}

@media (min-width: 992px) {
    .header-style-two .header-wrapper .header-navigation-area {
        z-index: 10100 !important;
    }

    .header-style-two .header-wrapper .header-navigation-area.fixed {
        z-index: 10100 !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu nav > ul {
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li {
        position: relative;
        display: flex;
        align-items: center;
        margin-right: 0 !important;
        flex: 0 0 auto;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 36px 18px !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        text-align: left;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li:not(.has-sub) > a::before,
    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li:not(.has-sub) > a::after {
        display: none !important;
        content: none !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li.has-sub > a {
        padding-right: 34px !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li.has-sub > a::before {
        content: "\f078" !important;
        display: block !important;
        position: absolute !important;
        right: 14px !important;
        top: 50% !important;
        left: auto !important;
        margin: 0 !important;
        transform: translateY(-50%) !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
        font-size: 11px !important;
        color: #9aa0ad;
        pointer-events: none;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li.has-sub:hover > a::before {
        color: var(--color-primary);
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: auto !important;
        right: 0 !important;
        width: min(360px, calc(100vw - 40px)) !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        background: #fff !important;
        border-radius: var(--radius-card);
        box-shadow: 0 10px 32px rgba(21, 26, 51, 0.12) !important;
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0);
        transform-origin: top center;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 10000;
        overflow: hidden;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li:hover > ul.sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scaleY(1) !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu li a {
        display: block !important;
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        text-align: left !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu li a::before {
        display: none !important;
        content: none !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li ul.sub-menu li:hover > a {
        background: #fff9e6 !important;
        color: var(--color-text) !important;
    }
}

@media (min-width: 1200px) {
    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li > a {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .header-style-two .header-wrapper .header-navigation-area .main-menu ul li.has-sub > a {
        padding-right: 38px !important;
    }
}

.mean-container a.meanmenu-reveal {
    margin-top: -38px;
}

@media (max-width: 991px) {
    .header-style-two .mean-container a.meanmenu-reveal {
        margin-top: -32px;
    }

    .mean-container .mean-nav ul li a {
        font-size: 0.8125rem;
        text-transform: none;
        padding: 12px 5%;
    }

    .mean-container .mean-nav ul li li a {
        padding-left: 10%;
        font-size: 0.8125rem;
    }
}

/* --------------------------------------------------------------------------
   Accessibility — visually hidden (SEO H1, slider alt imgs)
   -------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --------------------------------------------------------------------------
   Boxed hero slider
   -------------------------------------------------------------------------- */
.hero-slider {
    padding: var(--space-md) 0 var(--space-lg);
    background: #f7f8fc;
}

.hero-slider__frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecf3;
    box-shadow: 0 8px 32px rgba(21, 26, 51, 0.08);
    background: #151a33;
}

.hero-slider__frame .home-carousel {
    margin: 0;
}

.hero-slider__frame .home-carousel .slide-item {
    display: flex !important;
    align-items: center !important;
    padding: clamp(48px, 8vw, 96px) clamp(28px, 5vw, 56px) !important;
    min-height: clamp(320px, 42vw, 480px);
}

.hero-slider__frame .home-carousel .slide-item::before,
.hero-slider__frame .home-carousel .slide-item:before {
    background: linear-gradient(90deg, rgba(21, 26, 51, 0.82) 0%, rgba(21, 26, 51, 0.45) 55%, rgba(21, 26, 51, 0.2) 100%) !important;
}

.hero-slider__frame .image-layer {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
}

.hero-slider__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-slider__frame .content-box {
    position: relative;
    z-index: 2;
}

.hero-slider__frame .content-box h1,
.hero-slider__frame .hero-slider__heading {
    color: #fff !important;
    margin-bottom: 16px;
    opacity: 1 !important;
    transform: none !important;
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    line-height: var(--line-heading) !important;
}

.hero-slider__frame .content-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
    max-width: 52ch;
    opacity: 1 !important;
    transform: none !important;
}

.hero-slider__frame .owl-nav button.owl-prev,
.hero-slider__frame .owl-nav button.owl-next {
    opacity: 1 !important;
    visibility: visible !important;
    width: 44px;
    height: 44px;
    line-height: 44px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--color-text) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-slider__frame .owl-nav button.owl-next {
    left: auto;
    right: 16px;
}

.hero-slider__frame .owl-nav button.owl-prev:hover,
.hero-slider__frame .owl-nav button.owl-next:hover {
    background: var(--color-primary) !important;
}

/* --------------------------------------------------------------------------
   Homepage about — single image card layout
   -------------------------------------------------------------------------- */
.home-about {
    padding-top: var(--space-section-y-sm);
    padding-bottom: var(--space-section-y-sm);
}

.home-about__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: var(--space-xl);
    align-items: stretch;
    padding: clamp(28px, 4vw, 40px);
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 12px;
    box-shadow: 0 4px 28px rgba(21, 26, 51, 0.06);
}

.home-about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.home-about__text {
    margin: 0 0 var(--space-lg);
    font-size: var(--font-md);
    line-height: 1.75;
    color: var(--color-text-muted);
}

.home-about__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.home-about__stats .home-stat-card {
    flex: 1 1 140px;
    min-width: 120px;
}

.home-about__cta {
    align-self: flex-start;
    display: inline-flex;
    padding: 14px 28px !important;
    font-size: var(--font-sm) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

.home-about__media {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8ecf3;
    min-height: 280px;
}

.home-about__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

/* Hide legacy theme about overlapping images */
.about-image-block-2,
.about-image-block-3,
.about-image-block::before,
.about-image-block::after {
    display: none !important;
}

.about-image-block--cover {
    height: auto;
    min-height: 0;
}

/* --------------------------------------------------------------------------
   Slider — proportional padding (legacy full-bleed override)
   -------------------------------------------------------------------------- */
.banner-section .home-carousel .slide-item {
    padding: 140px 0 160px;
}

/* --------------------------------------------------------------------------
   News meta — wrap on small screens
   -------------------------------------------------------------------------- */
.news-wrapper .news-details .news-description .news-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
}

/* --------------------------------------------------------------------------
   Accordion — single active state visual
   -------------------------------------------------------------------------- */
.accordion .accordion-item .accordion-header:not(.active) .title {
    background: #edf0fa;
    color: #253c61;
}

/* --------------------------------------------------------------------------
   Map embed
   -------------------------------------------------------------------------- */
.mapouter iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 360px;
}

/* --------------------------------------------------------------------------
   Responsive typography & section spacing
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    :root {
        --space-section-y: 70px;
    }

    .referanslar {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: var(--space-md);
    }
}

@media (max-width: 767px) {
    :root {
        --space-section-y: var(--space-section-y-sm);
        --font-h1: 2rem;
        --font-h2: 1.75rem;
        --font-h3: 1.25rem;
    }

    .page-section {
        padding-top: var(--space-section-y-sm);
        padding-bottom: var(--space-section-y-sm);
    }

    .referanslar {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-section .home-carousel .slide-item {
        padding: 100px 0 120px;
    }
}

@media (max-width: 480px) {
    .referanslar {
        grid-template-columns: 1fr;
    }
}

/* Override theme's oversized mobile h2 */
@media (max-width: 425px) {
    h2:not(.home-carousel .content-box h1),
    .page-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    .home-carousel .content-box h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
}

/* --------------------------------------------------------------------------
   Remove decorative background images
   -------------------------------------------------------------------------- */
.anim-object::before,
.anim-object::after,
.anim-object2::before,
.anim-object2::after,
.footer-main-area::before,
.footer-main-area::after {
    display: none !important;
    content: none !important;
}

section[data-background],
.footer-main-area[data-background],
.page-section[data-background] {
    background-image: none !important;
}

.bg-silver-light {
    background-color: #F7F8FC !important;
}

.footer-main-area {
    background: #222935 !important;
    background-image: none !important;
    position: relative;
    z-index: 1;
}

.footer .social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    float: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .social-list li {
    float: none;
    display: flex;
    margin: 0;
}

.footer .social-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    line-height: 1;
}

.footer .social-list li a i {
    display: block;
    line-height: 1;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   About section — balanced two-column
   -------------------------------------------------------------------------- */
.about-image-block--cover {
    height: 100%;
    min-height: 320px;
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 0;
}

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

.about-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--space-md) 0;
}

.about-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.section-block--cta {
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Service cards — equal compact grid
   -------------------------------------------------------------------------- */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 72px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(255, 192, 0, 0.18);
    transform: translateY(-2px);
    text-decoration: none;
}

.service-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card__arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd65b, #ffc000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Contact cards — equal height grid
   -------------------------------------------------------------------------- */
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
    padding: var(--space-lg) var(--space-md);
    background: #EDF0FA;
    border-radius: var(--radius-card);
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    flex-shrink: 0;
}

.contact-card__icon i::before {
    color: #fff;
    font-size: 1.5rem;
}

.contact-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.contact-card__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Referanslar page — footer separation (fixed)
   -------------------------------------------------------------------------- */
.referanslar-page-wrap {
    background: #fff;
    display: block;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.referanslar-page {
    padding-top: var(--space-section-y-sm);
    padding-bottom: calc(var(--space-section-y) + 80px);
    margin-bottom: 0;
    background: #fff;
}

.referanslar-page-spacer {
    display: block;
    height: 48px;
    width: 100%;
    background: #fff;
}

.referanslar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.referanslar-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: var(--space-md) var(--space-sm);
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: var(--radius-card);
    transition: box-shadow 0.25s ease;
}

.referanslar-grid__item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.referanslar-grid__item img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.referanslar-grid--home {
    margin-bottom: 0;
}

.footer {
    position: relative;
    clear: both;
    margin-top: 0 !important;
    z-index: 1;
}

.corporate-hero {
    padding-top: var(--space-section-y-sm);
    padding-bottom: var(--space-section-y-sm);
}

.corporate-hero .page-head {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Kurumsal page — editorial layout (about-corp)
   -------------------------------------------------------------------------- */
.about-corp {
    background: #fff;
}

/* Dark masthead */
.about-corp__masthead {
    position: relative;
    background: #151a33;
    padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 72px);
    overflow: hidden;
}

.about-corp__masthead::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 192, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.about-corp__masthead-inner {
    position: relative;
    z-index: 1;
}

.about-corp__masthead-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #ffdb4d 50%, var(--color-primary) 100%);
}

.about-corp__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: var(--font-sm);
}

.about-corp__breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-corp__breadcrumb a:hover {
    color: var(--color-primary);
}

.about-corp__breadcrumb span:not([aria-current]) {
    color: rgba(255, 255, 255, 0.35);
}

.about-corp__breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

.about-corp__masthead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-xl);
    align-items: end;
}

.about-corp__label {
    margin: 0 0 12px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.about-corp__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    max-width: 14ch;
}

.about-corp__tagline {
    margin: 0;
    font-size: var(--font-md);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    max-width: 48ch;
}

.about-corp__masthead-metrics {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.about-corp__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 20px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-corp__metric:last-child {
    border-right: none;
}

.about-corp__metric strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.about-corp__metric span {
    display: block;
    margin-top: 4px;
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Story — overlapping photo + card */
.about-corp__story {
    padding: 0 0 var(--space-section-y-sm);
    margin-top: calc(-1 * clamp(32px, 5vw, 48px));
    position: relative;
    z-index: 2;
}

.about-corp__story-wrap {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 380px;
}

.about-corp__story-photo {
    position: relative;
    margin: 0;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    min-height: 320px;
}

.about-corp__story-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.about-corp__story-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 16px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #151a33;
    background: var(--color-primary);
    border-radius: 999px;
}

.about-corp__story-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 48px);
    background: #fff;
    border: 1px solid #e8ecf3;
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 12px 48px rgba(21, 26, 51, 0.08);
}

.about-corp__story-heading {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
}

.about-corp__story-lead {
    margin: 0 0 var(--space-lg);
    font-size: var(--font-md);
    line-height: 1.8;
    color: var(--color-text-muted);
}

.about-corp__story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.about-corp__text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.about-corp__text-link:hover {
    color: var(--color-primary);
    gap: 12px;
}

.about-corp__text-link i {
    font-size: 0.75rem;
}

/* Value pillars */
.about-corp__values {
    padding: var(--space-section-y-sm) 0;
    background: #f7f8fc;
    border-top: 1px solid #eef0f5;
    border-bottom: 1px solid #eef0f5;
}

.about-corp__values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.about-corp__value {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-corp__value:hover {
    border-color: #dde2ec;
    box-shadow: 0 8px 28px rgba(21, 26, 51, 0.06);
}

.about-corp__value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff8e0 0%, #fff3cc 100%);
    color: #b8860b;
    font-size: 1.125rem;
}

.about-corp__value-title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.about-corp__value-text {
    margin: 0;
    font-size: var(--font-sm);
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* Detail — sidebar + content */
.about-corp__detail {
    padding: var(--space-section-y-sm) 0;
    background: #fff;
}

.about-corp__detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.about-corp__sidebar {
    position: sticky;
    top: calc(var(--header-offset, 72px) + 24px);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-corp__sidebar-card {
    padding: 24px;
    background: #f7f8fc;
    border: 1px solid #e8ecf3;
    border-radius: 12px;
}

.about-corp__sidebar-card--accent {
    background: #151a33;
    border-color: #151a33;
    color: #fff;
}

.about-corp__sidebar-title {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: inherit;
}

.about-corp__sidebar-card--accent .about-corp__sidebar-title {
    color: var(--color-primary);
}

.about-corp__sidebar-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.about-corp__sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: var(--font-sm);
    line-height: 1.5;
}

.about-corp__sidebar-list li:last-child {
    margin-bottom: 0;
}

.about-corp__sidebar-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 192, 0, 0.15);
    color: var(--color-primary);
}

.about-corp__sidebar-icon i::before {
    font-size: 0.875rem;
}

.about-corp__sidebar-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-corp__sidebar-list a:hover {
    color: var(--color-primary);
}

.about-corp__sidebar-list span {
    color: rgba(255, 255, 255, 0.75);
}

.about-corp__sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
    font-size: var(--font-sm) !important;
}

.about-corp__sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid #e8ecf3;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.about-corp__sidebar-nav a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-corp__sidebar-nav a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.about-corp__sidebar-nav a i {
    font-size: 0.7rem;
    color: #c5cad6;
    transition: color 0.2s ease;
}

.about-corp__sidebar-nav a:hover i {
    color: var(--color-primary);
}

.about-corp__content-head {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid #eef0f5;
}

.about-corp__content-head .page-title {
    margin-bottom: 0;
}

/* CMS prose */
.about-corp__prose {
    max-width: none !important;
    text-align: left !important;
    font-size: var(--font-md);
    line-height: 1.8;
}

.about-corp__prose .rich-content__lead {
    font-size: var(--font-lg) !important;
    line-height: 1.75 !important;
    color: var(--color-text) !important;
    padding: 0;
    margin-bottom: 1em !important;
    background: transparent;
    border-left: none;
    border-radius: 0;
}

.about-corp__intro {
    margin-bottom: 2em;
    padding: 24px 28px;
    background: #f7f8fc;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
}

.about-corp__intro-text {
    margin: 0 0 1em;
    font-size: var(--font-md);
    line-height: 1.8;
    color: var(--color-text-muted);
}

.about-corp__intro-text:last-of-type {
    margin-bottom: 0;
}

.about-corp__standards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.25em 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
}

.about-corp__standard-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #17305e;
    background: #eef3ff;
    border: 1px solid #d6e0f5;
    border-radius: 999px;
}

.about-corp__prose .rich-content__section-title {
    margin-top: 2.5em;
    margin-bottom: 1.25em;
    font-size: var(--font-h4) !important;
    text-transform: none;
    letter-spacing: 0.01em;
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    line-height: 1.35;
    color: var(--color-text);
}

.about-corp__prose p {
    margin-bottom: 1.15em;
    color: var(--color-text-muted);
}

.about-corp__prose .rich-content__tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1em 0 1.5em;
}

.about-corp__prose .rich-content__tag,
.about-corp__prose .about-corp__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #17305e;
    background: #eef3ff;
    border: 1px solid #d6e0f5;
    border-radius: 999px;
}

.about-corp__prose .service-highlight-grid {
    margin: 1.25em 0 1.75em;
}

/* Partners */
.about-corp__partners {
    padding: var(--space-section-y-sm) 0;
    background: #f7f8fc;
    border-top: 1px solid #eef0f5;
}

.about-corp__partners-head {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.about-corp__partners-head .page-title {
    margin-bottom: 0;
}

.about-corp__partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.about-corp__partner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    transition: box-shadow 0.2s ease;
}

.about-corp__partner:hover {
    box-shadow: 0 4px 16px rgba(21, 26, 51, 0.06);
}

.about-corp__partner img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.about-corp__partner:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.about-corp__partners-more {
    text-align: center;
}

/* CTA */
.about-corp__cta {
    padding: 0 0 72px;
    background: #f7f8fc;
}

.about-corp__cta .services-page-cta {
    border: none;
    box-shadow: 0 4px 28px rgba(21, 26, 51, 0.07);
}

@media (max-width: 991px) {
    .about-corp__masthead-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-corp__masthead-metrics {
        width: 100%;
        justify-content: stretch;
    }

    .about-corp__metric {
        flex: 1;
        min-width: 0;
        padding: 16px 12px;
    }

    .about-corp__title {
        max-width: none;
    }

    .about-corp__story-wrap {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .about-corp__story-photo {
        border-radius: 12px 12px 0 0;
        min-height: 240px;
    }

    .about-corp__story-photo img {
        min-height: 240px;
    }

    .about-corp__story-card {
        border-left: 1px solid #e8ecf3;
        border-radius: 0 0 12px 12px;
    }

    .about-corp__values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-corp__detail-grid {
        grid-template-columns: 1fr;
    }

    .about-corp__sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .about-corp__partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-about__card {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .home-about__media {
        order: -1;
        min-height: 220px;
    }

    .home-about__media img {
        min-height: 220px;
    }

    .hero-slider__frame .slide-item {
        min-height: 280px;
        padding: 48px 24px;
    }
}

@media (max-width: 575px) {
    .about-corp__masthead-metrics {
        flex-direction: column;
    }

    .about-corp__metric {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-corp__metric:last-child {
        border-bottom: none;
    }

    .about-corp__values-grid {
        grid-template-columns: 1fr;
    }

    .about-corp__sidebar {
        grid-template-columns: 1fr;
    }

    .about-corp__partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-corp__cta {
        padding-bottom: 48px;
    }
}

/* --------------------------------------------------------------------------
   Homepage extras
   -------------------------------------------------------------------------- */
.home-clients-strip {
    border-bottom: 1px solid #eef0f5;
}

.home-clients-strip__label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9aa0ad;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-md);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.home-stats-grid--inline {
    grid-template-columns: repeat(2, 1fr);
    max-width: 320px;
}

.home-stat-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
}

.home-stat-card--sm {
    padding: var(--space-md);
}

.home-stat-card__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.home-stat-card--sm .home-stat-card__value {
    font-size: 1.375rem;
}

.home-stat-card__label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.corporate-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

@media (max-width: 991px) {
    .referanslar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .referanslar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .referanslar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .service-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 64px;
        padding: 16px 18px;
    }
}

.team-hero {
    background: #1a2233 !important;
}

.contact-section .contact-form .form-control {
    padding: 14px 18px;
    min-height: auto;
    height: auto;
}

.contact-section .contact-form textarea.form-control {
    min-height: 140px;
}

/* --------------------------------------------------------------------------
   Blog cards — uniform grid, fixed image ratio
   -------------------------------------------------------------------------- */
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.blog-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ecf3;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none !important;
    transform: none !important;
}

.blog-card__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 6px 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 auto;
    min-height: 2.8em;
}

.blog-card__title a {
    color: var(--color-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__title a:hover {
    color: var(--color-primary);
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 16px;
    padding: 12px 14px;
    background: #f5f6fc;
    border-left: 3px solid var(--color-primary);
    font-size: 0.8125rem;
    color: #828c99;
}

.blog-card__meta i {
    color: var(--color-primary);
    margin-right: 6px;
}

/* Disable legacy news hover zoom/overlay */
.news-wrapper:hover .news-thumb img,
.blog-card:hover .blog-card__thumb img {
    transform: none !important;
}

.news-wrapper .news-thumb::after,
.news-wrapper:hover .news-thumb::after {
    display: none !important;
    opacity: 0 !important;
}

/* --------------------------------------------------------------------------
   Service detail page — unified 2026 layout
   -------------------------------------------------------------------------- */
.service-page {
    background: #f7f8fc;
}

.service-page__hero {
    padding: 28px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

.service-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: var(--font-sm);
    color: var(--color-text-muted);
}

.service-page__breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-page__breadcrumb a:hover {
    color: var(--color-primary);
}

.service-page__breadcrumb span:not(.service-page__breadcrumb-current) {
    color: #c5cad6;
}

.service-page__breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

.service-page__hero-content {
    max-width: 780px;
    padding-bottom: 20px;
}

.service-page__eyebrow {
    margin: 0 0 10px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.service-page__title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

.service-page__intro {
    margin: 0;
    font-size: var(--font-md);
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 62ch;
}

/* Nav — fixed below header on scroll */
.service-page__body {
    position: relative;
}

.service-page__nav-sentinel {
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.service-page__nav-bar {
    position: relative;
    z-index: 9998;
    background: #fff;
    border-top: 1px solid #e8ecf3;
    border-bottom: 1px solid #e8ecf3;
    box-shadow: 0 2px 12px rgba(21, 26, 51, 0.04);
}

.service-page__nav-bar.is-fixed {
    position: fixed;
    top: var(--header-offset, 72px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9998;
}

.service-page__nav-placeholder {
    display: block;
    width: 100%;
    height: 0;
}

.service-page__nav-placeholder[hidden] {
    display: none;
}

.service-page__nav {
    padding: 12px 0;
}

.service-page__nav-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.service-page__nav-label {
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7288;
}

.service-page__nav-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.service-page__nav-all:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.service-page__nav-all i {
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

.service-page__nav-all:hover i {
    transform: translateX(3px);
}

.service-page__nav-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d0d4de transparent;
    padding-bottom: 4px;
}

.service-page__nav-track::-webkit-scrollbar {
    height: 4px;
}

.service-page__nav-track::-webkit-scrollbar-thumb {
    background: #d0d4de;
    border-radius: 4px;
}

.service-page__nav-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 14px;
    font-size: var(--font-sm);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text-muted);
    text-decoration: none;
    background: #f7f8fc;
    border: 1px solid #e8ecf3;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-page__nav-item:hover {
    color: var(--color-text);
    background: #fff;
    border-color: #dde2ec;
    text-decoration: none;
}

.service-page__nav-item.is-active {
    color: var(--color-text);
    font-weight: 700;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(255, 192, 0, 0.15);
}

/* Main content */
.service-page__main {
    padding: 32px 0 56px;
}

.service-page__article {
    display: grid;
    gap: var(--space-lg);
}

.service-page__visual {
    width: 100%;
}

.service-page__visual-frame {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(21, 26, 51, 0.08);
}

.service-page__visual-frame img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 21 / 9;
    max-height: 420px;
    object-fit: cover;
}

.service-page__visual-caption {
    padding: 14px 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    background: #f7f8fc;
    border-top: 1px solid #e8ecf3;
}

.service-page__content-panel {
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 28px rgba(21, 26, 51, 0.06);
    overflow: hidden;
}

.service-page__detail {
    width: 100%;
}

.service-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px 0;
    background: #f7f8fc;
    border-bottom: 1px solid #e8ecf3;
}

.service-page__tab {
    appearance: none;
    border: 1px solid #e8ecf3;
    background: #fff;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1.35;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-page__tab:hover {
    color: var(--color-text);
    border-color: #dde2ec;
}

.service-page__tab.is-active {
    color: var(--color-text);
    background: #fff;
    border-color: #e8ecf3;
    border-bottom-color: #fff;
    box-shadow: 0 -2px 0 var(--color-primary) inset;
}

.service-page__tab-panels {
    background: #fff;
}

.service-page__tab-panel {
    display: none;
}

.service-page__tab-panel.is-active {
    display: block;
}

.service-page__panel-inner {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}

.service-page__panel-inner .rich-content {
    max-width: none;
    margin: 0;
}

.service-page__detail:not(.service-page__detail--tabbed) .service-page__panel-inner {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}

/* Highlight feature cards */
.service-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.5em 0;
}

.service-highlight-grid--single {
    grid-template-columns: 1fr;
}

.service-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #f7f8fc;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 52px;
}

.service-highlight-card:hover {
    border-color: #dde2ec;
    box-shadow: 0 4px 16px rgba(21, 26, 51, 0.06);
}

.service-highlight-card__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-highlight-card__icon i {
    font-size: 0.7rem;
    color: #fff;
}

.service-highlight-card__text {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1.55;
    color: var(--color-text);
    text-transform: none;
    word-break: break-word;
}

.service-highlight-card--alert {
    background: #fff8f0;
    border-color: #f3dcc3;
}

.service-highlight-card--alert .service-highlight-card__icon {
    background: #e67e22;
}

.service-highlight-card--alert .service-highlight-card__text {
    color: #7a4d12;
}

/* Important callouts */
.service-important-callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 1.75em 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fff8e6 100%);
    border: 1px solid #f5dfa0;
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
}

.service-important-callout--warning {
    background: linear-gradient(135deg, #fff5f0 0%, #ffede6 100%);
    border-color: #f5c9b8;
    border-left-color: #e67e22;
}

.service-important-callout__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: var(--font-xs);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a5d00;
    background: var(--color-primary);
    border-radius: 999px;
}

.service-important-callout--warning .service-important-callout__badge {
    color: #fff;
    background: #e67e22;
}

.service-important-callout__body {
    font-size: var(--font-md);
    line-height: 1.75;
    color: var(--color-text);
    font-weight: 500;
}

.service-page__sheet {
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: 12px;
    box-shadow: 0 4px 28px rgba(21, 26, 51, 0.06);
    overflow: hidden;
}

.service-page__media {
    margin: 0;
    position: relative;
    aspect-ratio: 21 / 9;
    max-height: 440px;
    overflow: hidden;
    background: #eef1f6;
    border-bottom: 1px solid #e8ecf3;
}

.service-page__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-page__content {
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}

.service-page__content .rich-content {
    max-width: none;
    margin: 0;
}

.service-page__prose {
    text-align: left !important;
}

.service-page__prose p,
.service-page__prose h2,
.service-page__prose h3,
.service-page__prose h4,
.service-page__prose li {
    text-align: left !important;
}

.service-page__prose > p:first-of-type strong:only-child,
.service-page__prose > p:first-child:has(strong) {
    display: block;
    font-size: var(--font-md);
    line-height: 1.75;
    color: var(--color-text);
}

.service-page__prose ul,
.service-page__prose ol {
    margin: 1.25em 0 1.5em;
    padding: 0;
    list-style: none;
}

.service-page__prose ul li,
.service-page__prose ol li {
    position: relative;
    padding-left: 1.35em;
    margin-bottom: 0.65em;
    font-size: var(--font-md);
    line-height: 1.75;
    color: var(--color-text-muted);
}

.service-page__prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}

.service-page__prose ol {
    counter-reset: service-ol;
}

.service-page__prose ol li {
    counter-increment: service-ol;
}

.service-page__prose ol li::before {
    content: counter(service-ol) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: var(--font-sm);
    color: var(--color-primary);
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

.service-page__prose strong,
.service-page__prose b {
    color: var(--color-text);
    font-weight: 700;
}

.service-page__prose .about-corp__tag {
    margin: 2px 4px 2px 0;
}

.service-page__faq {
    margin: 0;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 56px);
    border-top: 1px solid #e8ecf3;
    background: #fafbfe;
}

.service-page__faq-head {
    max-width: none;
    margin: 0 0 24px;
}

.service-page__faq-title {
    margin: 0 0 8px;
    font-size: var(--font-h3);
    font-weight: 700;
    color: var(--color-text);
}

.service-page__faq-lead {
    margin: 0;
    font-size: var(--font-sm);
    color: var(--color-text-muted);
}

.service-page__accordion {
    max-width: 68ch;
    margin: 0 auto;
}

.service-page__footer {
    padding: 0 0 72px;
    background: #f7f8fc;
}

.service-page__footer .services-page-cta {
    border: none;
    box-shadow: 0 4px 28px rgba(21, 26, 51, 0.07);
}

@media (max-width: 767px) {
    .service-page__hero {
        padding-top: 20px;
    }

    .service-page__main {
        padding: 20px 0 40px;
    }

    .service-page__visual-frame img {
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }

    .service-page__panel-inner {
        padding: 24px 20px;
    }

    .service-page__tabs {
        padding: 12px 12px 0;
        gap: 6px;
    }

    .service-page__tab {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .service-highlight-grid {
        grid-template-columns: 1fr;
    }

    .service-important-callout {
        flex-direction: column;
        gap: 10px;
    }

    .service-page__faq {
        padding: 24px 20px 28px;
    }

    .service-page__footer {
        padding-bottom: 48px;
    }
}


/* Legacy corporate-content — unused */

/* --------------------------------------------------------------------------
   Rich corporate content (hizmet + kurumsal)
   -------------------------------------------------------------------------- */
.rich-content {
    font-size: var(--font-md);
    line-height: 1.85;
    color: var(--color-text-muted);
    max-width: 72ch;
}

.rich-content > *:first-child {
    margin-top: 0;
}

.rich-content > *:last-child {
    margin-bottom: 0;
}

.rich-content p {
    margin: 0 0 1.25em;
    font-size: var(--font-md);
    line-height: 1.85;
    color: var(--color-text-muted);
}

.rich-content__lead {
    font-size: var(--font-lg) !important;
    line-height: 1.75 !important;
    color: var(--color-text) !important;
    font-weight: 500;
    margin-bottom: 1.75em !important;
}

.rich-content__section-title {
    position: relative;
    margin: 2em 0 1em;
    padding: 0 0 0 16px;
    font-size: var(--font-lg) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--color-text) !important;
    letter-spacing: 0.02em;
    text-transform: none;
}

.rich-content__section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    border-radius: 4px;
    background: var(--color-primary);
}

.rich-content__step-title {
    margin: 1.75em 0 0.75em;
    padding: 0 0 0 14px;
    font-size: var(--font-lg) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: var(--color-text) !important;
    border-left: 3px solid var(--color-primary);
}

.rich-content__emphasis {
    margin: 0 0 1.25em;
    padding: 16px 20px;
    font-size: var(--font-md) !important;
    line-height: 1.75 !important;
    color: var(--color-text) !important;
    font-weight: 500;
    background: #f7f8fc;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    text-transform: none;
}

.rich-content__figure {
    margin: 1.75em 0;
    padding: 0;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f8fc;
}

.rich-content__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.service-page__prose.rich-content {
    max-width: none;
}

.service-page__prose.rich-content em,
.service-page__prose.rich-content i {
    font-style: italic;
    color: var(--color-text);
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.75em 0 0.75em;
    color: var(--color-text) !important;
}

.rich-content h2 {
    font-size: var(--font-h3) !important;
}

.rich-content h3 {
    font-size: var(--font-xl) !important;
}

.rich-content h4 {
    font-size: var(--font-lg) !important;
}

.rich-content strong,
.rich-content b {
    color: var(--color-text);
    font-weight: 700;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.35em;
}

.rich-content li {
    margin-bottom: 0.5em;
    font-size: var(--font-md);
    line-height: 1.75;
}

.rich-content ul li::marker {
    color: var(--color-primary);
}

.rich-content__tag-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 4px;
    vertical-align: middle;
}

.rich-content__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #17305e;
    background: #eef3ff;
    border: 1px solid #d6e0f5;
    border-radius: 999px;
}

.rich-content__quote {
    position: relative;
    margin: 2em 0;
    padding: 24px 24px 24px 56px;
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf5 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-card);
    box-shadow: 0 2px 12px rgba(255, 192, 0, 0.1);
}

.rich-content__quote-mark {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-primary);
    font-weight: 800;
}

.rich-content__quote-body {
    font-size: var(--font-md);
    font-style: italic;
    line-height: 1.75;
    color: var(--color-text);
}

.rich-content__quote-body p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.rich-content__callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
    margin: 1.75em 0;
    padding: 16px 18px;
    border-radius: var(--radius-card);
    border: 1px solid #e8ecf3;
    background: #f8f9fc;
}

.rich-content__callout--source {
    background: #f4f6fa;
    border-color: #dde3ef;
}

.rich-content__callout--info {
    background: #fff9e6;
    border-color: #f5e6a8;
}

.rich-content__callout-label {
    display: inline-flex;
    align-items: center;
    align-self: start;
    padding: 4px 10px;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #17305e;
    background: #fff;
    border: 1px solid #dde2ec;
    border-radius: 6px;
    white-space: nowrap;
}

.rich-content__callout--info .rich-content__callout-label {
    color: #8a6d00;
    border-color: #f0d878;
    background: #fffdf2;
}

.rich-content__callout-body {
    font-size: var(--font-sm);
    line-height: 1.7;
    color: var(--color-text-muted);
}

.rich-content__callout-body p {
    margin: 0;
    font-size: inherit;
}

.rich-content__attachment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0.5em 0.5em 0.5em 0;
    padding: 12px 16px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-text) !important;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #dde2ec;
    border-radius: var(--radius-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rich-content__attachment:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(255, 192, 0, 0.15);
}

.rich-content__attachment-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff3cc;
    color: #c99700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rich-content__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #17305e !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-content__link i {
    font-size: 0.75em;
    opacity: 0.7;
}

.rich-content img {
    display: block;
    margin: 1.75em auto;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rich-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: var(--font-sm);
}

.rich-content th,
.rich-content td {
    padding: 10px 14px;
    border: 1px solid #e8ecf3;
    text-align: left;
}

.rich-content th {
    background: #f7f8fc;
    font-weight: 700;
    color: var(--color-text);
}

.rich-content hr {
    margin: 2em 0;
    border: none;
    border-top: 1px solid #e8ecf3;
}

@media (max-width: 767px) {
    .rich-content {
        max-width: none;
    }

    .rich-content__callout {
        grid-template-columns: 1fr;
    }
}

/* Modern accordion */
.accordion--modern .accordion-item {
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.accordion--modern .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 16px 20px;
    cursor: pointer;
    background: #fff;
}

.accordion--modern .accordion-header .title {
    font-size: var(--font-md);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--color-text);
}

.accordion--modern .accordion-header span {
    font-size: var(--font-xs);
    color: #9aa0ad;
    transition: transform 0.25s ease;
}

.accordion--modern .accordion-header.active span {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion--modern .accordion-body {
    padding: 0 20px 16px;
}

.accordion--modern .accordion-body p {
    font-size: var(--font-sm);
    line-height: var(--line-body);
    margin: 0;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Global typography normalization (theme overrides)
   -------------------------------------------------------------------------- */
.header-style-two .header-wrapper .header-navigation-area .main-menu ul li a,
.mobile-drawer__nav a,
.mobile-drawer__toggle {
    font-size: var(--font-md) !important;
    font-weight: 600 !important;
}

.header-top-area,
.header-top-area a,
.header-top-left-part {
    font-size: var(--font-sm) !important;
}

.footer-widget address p,
.footer-widget a,
.footer-bottom-area span {
    font-size: var(--font-sm) !important;
    line-height: var(--line-body) !important;
}

.cs-btn-one {
    font-size: var(--font-sm) !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.section-title .sub-title,
.section-title .title {
    font-size: inherit;
}

.service-card__title {
    font-size: var(--font-md) !important;
}

.contact-card__title {
    font-size: var(--font-md) !important;
}

.contact-card__text {
    font-size: var(--font-sm) !important;
}

.blog-card__title {
    font-size: var(--font-lg) !important;
}

.blog-card__meta {
    font-size: var(--font-xs) !important;
}

.blog-card__excerpt {
    font-size: var(--font-sm) !important;
}

/* Focus & interaction (2026 accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Legacy service sidebar — disabled */
.service-sidebar-sticky {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
}

.service-link-list li a {
    font-size: var(--font-sm) !important;
    padding: 14px 18px !important;
}

/* --------------------------------------------------------------------------
   Hizmetlerimiz page — theme-aligned redesign
   -------------------------------------------------------------------------- */
.services-page-hero {
    padding-bottom: var(--space-xl);
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.services-page-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: var(--space-md);
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-page-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 18px rgba(255, 192, 0, 0.15);
    text-decoration: none;
}

.services-page-card__index {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e0e4ec;
    line-height: 1;
}

.services-page-card:hover .services-page-card__index {
    color: var(--color-primary);
}

.services-page-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
    line-height: 1.35;
}

.services-page-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-page-card__action {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.services-page-card__action i {
    margin-left: 6px;
    font-size: 0.75rem;
}

.services-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: #fff;
    border: 1px solid #e8ecf3;
    border-radius: var(--radius-card);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.services-page-cta__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

.services-page-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cta-outline {
    background: #fff !important;
    color: #151a33 !important;
    border: 2px solid #dde2ec !important;
    box-shadow: none !important;
}

.btn-cta-outline:hover {
    border-color: var(--color-primary) !important;
    color: #151a33 !important;
    background: #fffdf2 !important;
}

@media (max-width: 991px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .services-page-cta {
        flex-direction: column;
        text-align: center;
    }

    .services-page-cta__actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .services-page-card {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
    }

    .services-page-card__action {
        grid-column: 2;
        justify-self: start;
    }
}

/* --------------------------------------------------------------------------
   2026 polish — forms, slider, containers
   -------------------------------------------------------------------------- */
.contact-form input,
.contact-form textarea,
.contact-form select {
    font-size: var(--font-sm);
    border: 1px solid #dde2ec;
    border-radius: var(--radius-card);
    padding: 12px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 192, 0, 0.15);
    outline: none;
}

.contact-form label {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.home-carousel .content-box h1 {
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    line-height: var(--line-heading) !important;
}

.home-carousel .content-box p {
    font-size: var(--font-md) !important;
    line-height: var(--line-body) !important;
}

.container {
    max-width: var(--content-max);
    width: 100%;
    padding-left: var(--container-gutter);
    padding-right: var(--container-gutter);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    :root {
        --container-gutter: 24px;
    }
}

@media (max-width: 575px) {
    :root {
        --container-gutter: 16px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

/* Normalize legacy theme title classes */
.section-title .title,
.section-title h2 {
    font-size: var(--font-h2) !important;
    line-height: var(--line-heading) !important;
}

.section-title .sub-title {
    font-size: var(--font-sm) !important;
}

.single-news-content .news-bottom-meta,
.entry-author,
.entry-date,
.entry-category {
    font-size: var(--font-xs) !important;
}

.services-page-card__index {
    font-size: var(--font-xl);
}

.services-page-card__title {
    font-size: var(--font-md);
}

.services-page-card__excerpt {
    font-size: var(--font-sm);
}

.services-page-card__action {
    font-size: var(--font-xs);
}

.services-page-cta__title {
    font-size: var(--font-h3);
}

.home-stat-card__value {
    font-size: var(--font-h2);
}

.home-stat-card__label {
    font-size: var(--font-sm);
}

.corporate-subtitle {
    font-size: var(--font-h3);
}

.home-clients-strip__label {
    font-size: var(--font-xs);
}
