
/* =========================================================
   ECR MAKINE - HOMEPAGE SECTIONS
   Add this block after the existing site styles.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --ecr-navy: #061b3b;
    --ecr-blue: #0c3970;
    --ecr-cyan: #48baf2;
    --ecr-ink: #14243a;
    --ecr-muted: #657489;
    --ecr-pale: #f3f6fa;
    --ecr-line: #dfe7f0;
    --ecr-radius: 18px;
}

body, html { 
 font-family: "Inter", sans-serif;
 font-optical-sizing: auto;
 font-style: normal;
}

.logo { width:350px; height:44px; }
@media (max-width: 767px) { .logo { width:220px; height:28px; } }

/* Shared section headings */
.section-heading {
    margin-bottom: 38px;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
    align-items: end;
    gap: 36px;
}

.section-heading h2,
.sector-band__heading h2,
.quick-access__heading h2 {
    margin: 0;
    color: var(--ecr-navy);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-heading > p,
.section-heading--split > p {
    max-width: 570px;
    margin: 0 0 3px;
    color: var(--ecr-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* Intro and four statistics */
.intro-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    background:
        radial-gradient(circle at 8% 15%, rgba(72, 186, 242, .10), transparent 28%),
        linear-gradient(135deg, #f4f7fb 0%, #edf3f9 100%);
}

.intro-section .intro-heading {
    margin-bottom: 6px;
}

.intro-section h2 {
    max-width: 760px;
    margin: 0;
    color: var(--ecr-navy);
    font-size: clamp(2.1rem, 4.2vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.intro-section__text {
    margin: 0;
    color: #5d6b7d;
    font-size: 16px;
    line-height: 1.85;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 47px;
}

.intro-stat {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 25px 23px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(20, 54, 91, .09);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(16, 45, 78, .055);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.intro-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #12365f, #2388cd, #67b9ec);
}

.intro-stat::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: -18px;
    z-index: -1;
    font-size: 78px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -5px;
    color: rgba(25, 86, 137, .045);
    pointer-events: none;
}

.intro-stat:nth-child(1)::after { content: "01"; }
.intro-stat:nth-child(2)::after { content: "02"; }
.intro-stat:nth-child(3)::after { content: "03"; }
.intro-stat:nth-child(4)::after { content: "04"; }

.intro-stat strong {
    display: block;
    color: #12365f;
    font-size: clamp(28px, 2.5vw, 39px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-variant-numeric: tabular-nums;
}

.intro-stat strong span {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.intro-stat > span {
    display: block;
    color: #60758f;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.intro-stat:hover {
    transform: translateY(-6px);
    border-color: rgba(35, 136, 205, .35);
    box-shadow: 0 17px 35px rgba(16, 45, 78, .11);
}

.intro-stat:hover::before { height: 5px; }

.intro-section.is-visible .intro-stat {
    animation: ecrStatIn .65s ease both;
}

.intro-section.is-visible .intro-stat:nth-child(1) { animation-delay: .05s; }
.intro-section.is-visible .intro-stat:nth-child(2) { animation-delay: .15s; }
.intro-section.is-visible .intro-stat:nth-child(3) { animation-delay: .25s; }
.intro-section.is-visible .intro-stat:nth-child(4) { animation-delay: .35s; }

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

/* Industry strip - a truthful alternative to unprovided client logos */
.sector-band {
    padding: 55px 0 58px;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
}

.sector-band__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.sector-band__heading .section-eyebrow { margin-bottom: 0; }
.sector-band__heading h2 {
    max-width: 510px;
    margin-left: auto;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    text-align: right;
}

.sector-band__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ecr-line);
    border-bottom: 1px solid var(--ecr-line);
}

.sector-band__item {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 18px;
    color: #294c73;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.sector-band__item + .sector-band__item { border-left: 1px solid var(--ecr-line); }
.sector-band__item i {
    color: #2189ca;
    font-size: 27px;
}

/* Capability cards */
.capabilities-section {
    padding: 105px 0 108px;
    background: #f5f8fb;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.capability-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 365px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    text-decoration: none;
    background: #0a2548;
    border-radius: 13px;
    box-shadow: 0 10px 27px rgba(6, 27, 59, .09);
}

.capability-card > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}

.capability-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(4, 20, 43, .02) 20%, rgba(4, 20, 43, .90) 100%);
}

.capability-card:hover { color: #fff; }
.capability-card:hover > img { transform: scale(1.07); }

.capability-card__index {
    position: absolute;
    top: 17px;
    left: 17px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(4, 23, 48, .22);
    backdrop-filter: blur(6px);
}

.capability-card__content { padding: 22px 19px 20px; }
.capability-card__content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}
.capability-card__content p {
    min-height: 76px;
    margin: 0 0 15px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.65;
}
.capability-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    color: #9bdcff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    border-top: 1px solid rgba(255,255,255,.23);
}
.capability-card__link b { font-size: 16px; }

/* Machinery interactive display */
.machine-section {
    padding: 108px 0 112px;
    background: #fff;
}

.machine-showcase {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
    min-height: 470px;
    padding: 24px;
    background: #f4f7fa;
    border: 1px solid #e7edf3;
    border-radius: 20px;
}

.machine-showcase__tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 10px 0;
}

.machine-tab {
    position: relative;
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 14px;
    color: #8392a4;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 10px;
    transition: color .25s ease, background .25s ease;
}

.machine-tab > span {
    color: #a6b3c1;
    font-size: 15px;
    font-weight: 650;
}
.machine-tab > b {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}
.machine-tab:hover,
.machine-tab.is-active {
    color: #12365f;
    background: #fff;
    box-shadow: 0 5px 18px rgba(13, 47, 83, .06);
}
.machine-tab.is-active > span { color: #168bd0; }
.machine-tab.is-active::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: #218bd0;
}

.machine-showcase__panels { min-width: 0; }
.machine-panel {
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    align-items: center;
    gap: clamp(25px, 4vw, 65px);
    animation: machinePanelIn .45s ease both;
}
.machine-panel[hidden] { display: none; }
@keyframes machinePanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.machine-panel__image {
    min-height: 365px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle, #fff 0 49%, #e9eef4 50% 72%, transparent 73%);
    border-radius: 50%;
}
.machine-panel__image img {
    width: 82%;
    height: 320px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.machine-panel__content { max-width: 500px; padding: 20px 15px 20px 0; }
.machine-panel__count {
    display: inline-block;
    margin-bottom: 16px;
    color: #168bd0;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .18em;
}
.machine-panel__content h3 {
    margin: 0 0 17px;
    color: #172e4d;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.machine-panel__content p {
    margin: 0 0 28px;
    color: #748296;
    font-size: 14px;
    line-height: 1.85;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #12508a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.text-link span { font-size: 17px; transition: transform .2s ease; }
.text-link:hover { color: #168bd0; }
.text-link:hover span { transform: translate(3px, -3px); }

/* 36 kV own product */
.product-spotlight {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
    background:
        radial-gradient(circle at 20% 50%, rgba(38, 128, 194, .22), transparent 38%),
        linear-gradient(120deg, #061b3b 0%, #0a2c57 60%, #0d3c70 100%);
}
.product-spotlight::before,
.product-spotlight::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    pointer-events: none;
}
.product-spotlight::before { top: -250px; left: -120px; }
.product-spotlight::after { right: -220px; bottom: -320px; width: 650px; height: 650px; }
.product-spotlight__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(45px, 7vw, 100px);
}
.product-spotlight__visual {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.product-spotlight__visual > img {
    position: relative;
    z-index: 1;
    width: 54%;
    height: 405px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.product-spotlight__watermark {
    position: absolute;
    top: 24px;
    right: 28px;
    color: rgba(15, 48, 84, .08);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -.07em;
}
.product-spotlight__detail-images {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.product-spotlight__detail-images img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(5, 27, 55, .12);
}
.product-spotlight__content .section-eyebrow { color: #73caff; }
.product-spotlight__content h2 {
    max-width: 600px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -.045em;
}
.product-spotlight__content > p {
    margin: 0 0 27px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.9;
}
.product-spotlight__features {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}
.product-spotlight__features span {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #e3f3ff;
    font-size: 15px;
    font-weight: 650;
}
.product-spotlight__features i { color: #62c5ff; font-size: 17px; }

/* Shared buttons */
.btn-ecr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 49px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-ecr:hover { transform: translateY(-2px); }
.btn-ecr--primary {
    color: #fff;
    background: #1787c7;
    box-shadow: 0 9px 23px rgba(0,0,0,.16);
}
.btn-ecr--primary:hover { color: #fff; background: #26a0e2; }
.btn-ecr--light { color: #12365f; background: #fff; }
.btn-ecr--light:hover { color: #12365f; background: #eaf6ff; }

/* Quality / certificates */
.quality-section {
    padding: 105px 0;
    background: #f4f7fa;
}
.quality-layout {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: 48px;
    align-items: stretch;
}
.quality-feature {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(30px, 4vw, 52px);
    color: #fff;
    background: linear-gradient(145deg, #123e6e, #061b3b);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(6, 27, 59, .14);
}
.quality-feature__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 29px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 14px;
}
.quality-feature .section-eyebrow { color: #85d2ff; }
.quality-feature h2 {
    margin: 0 0 19px;
    color: #fff;
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}
.quality-feature p {
    margin: 0 0 28px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.85;
}
.quality-feature__link {
    margin-top: auto;
    color: #8bd5ff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.quality-feature__link span { margin-left: 8px; font-size: 17px; }
.quality-content { align-self: center; }
.quality-content__heading { margin-bottom: 23px; }
.quality-content__heading h3 {
    margin: 0;
    color: #14365d;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.035em;
}
.quality-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.quality-cert {
    min-height: 112px;
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr);
    align-content: center;
    column-gap: 12px;
    padding: 19px;
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 10px;
    transition: transform .25s ease, border-color .25s ease;
}
.quality-cert:hover { transform: translateY(-3px); border-color: #9bc8e7; }
.quality-cert > span {
    grid-row: span 2;
    align-self: center;
    color: #168bd0;
    font-size: 12px;
    font-weight: 850;
}
.quality-cert strong { color: #173b63; font-size: 14px; font-weight: 850; }
.quality-cert small { margin-top: 5px; color: #7b8999; font-size: 11px; line-height: 1.5; }
.quality-cert--wide { grid-column: 1 / -1; }
.quality-note { margin: 16px 0 0; color: #8b97a6; font-size: 10px; line-height: 1.6; }

/* R&D panel */
.rd-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: #fff;
    background: #071d3d;
}
.rd-section::after {
    content: "R&D";
    position: absolute;
    right: -22px;
    bottom: -95px;
    color: rgba(255,255,255,.035);
    font-size: clamp(10rem, 24vw, 22rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    pointer-events: none;
}
.rd-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}
.rd-copy .section-eyebrow { color: #65c8ff; }
.rd-copy h2 {
    max-width: 540px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -.05em;
}
.rd-copy > p {
    max-width: 520px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.9;
}
.rd-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}
.rd-point {
    min-height: 150px;
    display: flex;
    gap: 15px;
    padding: 22px 18px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    transition: background .25s ease, transform .25s ease;
}
.rd-point:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.rd-point > span {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: #8dd8ff;
    font-size: 19px;
    background: rgba(72,186,242,.12);
    border-radius: 10px;
}
.rd-point strong { display: block; margin: 2px 0 8px; color: #fff; font-size: 15px; font-weight: 800; }
.rd-point p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.65; }

/* Editorial highlights, not date-based news items */
.highlights-section {
    padding: 108px 0 112px;
    background: #fff;
}
.highlights-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, minmax(195px, 1fr));
    gap: 16px;
}
.highlight-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 205px;
    display: flex;
    align-items: end;
    color: #fff;
    text-decoration: none;
    background: #102f55;
    border-radius: 12px;
}
.highlight-card--large { grid-row: 1 / span 2; min-height: 430px; }
.highlight-card > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.highlight-card__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5,22,46,0) 5%, rgba(5,22,46,.86) 100%);
}
.highlight-card:hover { color: #fff; }
.highlight-card:hover > img { transform: scale(1.055); }
.highlight-card__body { display: grid; gap: 10px; padding: 28px; }
.highlight-card__body small { color: #8fd6ff; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.highlight-card__body strong { max-width: 520px; color: #fff; font-size: clamp(17px, 2vw, 24px); font-weight: 800; line-height: 1.25; }
.highlight-card:not(.highlight-card--large) .highlight-card__body { padding: 22px; }
.highlight-card:not(.highlight-card--large) .highlight-card__body strong { font-size: 17px; }
.highlight-card__body em { color: #fff; font-size: 11px; font-style: normal; font-weight: 750; }

/* Quick access */
.quick-access {
    position: relative;
    overflow: hidden;
    padding: 75px 0;
    background: #f1f5f9;
}
.quick-access::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.25)), url("../../images/home/facility-01.jpg");
    background-size: cover;
    background-position: center;
}
.quick-access__frame {
    position: relative;
    z-index: 1;
    padding: clamp(25px, 4vw, 48px);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(16, 45, 78, .07);
    backdrop-filter: blur(8px);
}
.quick-access__heading { margin-bottom: 27px; }
.quick-access__heading .section-eyebrow { margin-bottom: 9px; }
.quick-access__heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.quick-access__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.quick-link {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    color: #14365d;
    text-decoration: none;
    background: rgba(255,255,255,.93);
    border: 1px solid #d9e4ee;
    border-radius: 8px;
    transition: transform .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.quick-link > i { color: #1988c9; font-size: 22px; }
.quick-link > span { flex: 1; font-size: 12px; font-weight: 800; }
.quick-link > b { color: #91a5ba; font-size: 17px; }
.quick-link:hover {
    color: #0d6eac;
    transform: translateY(-3px);
    border-color: #83c5ed;
    box-shadow: 0 9px 22px rgba(20, 70, 112, .08);
}
.quick-link:hover > b { color: #168bd0; }

/* Footer refinements */
.site-footer { padding: 58px 0 35px; background-color:#071D3D; }
.site-footer__top {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}
.site-footer__brand p { max-width: 280px; margin-top: 18px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.8; }
.site-footer__column h3 { margin: 0 0 17px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__column a,
.site-footer__column p {
    display: block;
    margin: 0 0 10px;
    color: rgba(255,255,255,100);
    font-size: 14px;
    line-height: 1.7;
    text-decoration: none;
}
.site-footer__column a:hover { color: #77ceff; }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
}
.site-footer__bottom p { margin: 0; color: rgba(255,255,255,.48); font-size: 11px; }

/* Responsive */
@media (max-width: 1199px) {
    .capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .capability-card { min-height: 340px; }
    .machine-showcase { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 991px) {
    .section-heading--split { grid-template-columns: 1fr; gap: 17px; }
    .section-heading--split > p { max-width: 720px; }
    .intro-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quality-layout { grid-template-columns: 1fr; gap: 35px; }
    .quality-feature { min-height: auto; }
    .product-spotlight__inner { grid-template-columns: 1fr 1fr; gap: 38px; }
    .machine-showcase { grid-template-columns: 1fr; gap: 16px; }
    .machine-showcase__tabs { flex-direction: row; overflow-x: auto; padding: 0 0 8px; }
    .machine-tab { flex: 1 0 155px; min-height: 62px; }
    .machine-tab.is-active::before { top: auto; right: 12px; bottom: 0; left: 12px; width: auto; height: 3px; }
    .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .intro-section { padding: 72px 0 68px; }
    .intro-section .intro-heading { margin-bottom: 12px; }
    .intro-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
    .intro-stat { min-height: 140px; padding: 21px 17px; }
    .intro-stat strong { font-size: 29px; }
    .intro-stat > span { font-size: 10px; letter-spacing: .07em; }
    .sector-band { padding: 42px 0; }
    .sector-band__heading { display: block; }
    .sector-band__heading .section-eyebrow { margin-bottom: 10px; }
    .sector-band__heading h2 { margin: 0; text-align: left; }
    .sector-band__items { grid-template-columns: 1fr; }
    .sector-band__item { min-height: 72px; justify-content: flex-start; padding: 14px 18px; }
    .sector-band__item + .sector-band__item { border-top: 1px solid var(--ecr-line); border-left: 0; }
    .capabilities-section,
    .machine-section,
    .highlights-section,
    .quality-section { padding: 72px 0; }
    .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .capability-card { min-height: 320px; }
    .capability-card:last-child { grid-column: 1 / -1; min-height: 260px; }
    .machine-showcase { padding: 15px; }
    .machine-panel { grid-template-columns: 1fr; gap: 15px; }
    .machine-panel__image { min-height: 270px; max-height: 300px; }
    .machine-panel__image img { height: 245px; }
    .machine-panel__content { padding: 10px 8px 15px; }
    .machine-panel__content h3 { font-size: 27px; }
    .product-spotlight { padding: 72px 0; }
    .product-spotlight__inner { grid-template-columns: 1fr; }
    .product-spotlight__visual { min-height: 410px; }
    .product-spotlight__visual > img { height: 320px; }
    .product-spotlight__content h2 { font-size: 34px; }
    .rd-section { padding: 75px 0; }
    .rd-layout { grid-template-columns: 1fr; gap: 35px; }
    .rd-points { gap: 10px; }
    .rd-point { min-height: 138px; padding: 17px 14px; }
    .highlights-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .highlight-card--large { grid-column: 1 / -1; grid-row: auto; min-height: 330px; }
    .highlight-card:not(.highlight-card--large) { min-height: 230px; }
    .quick-access { padding: 58px 0; }
    .quick-access__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-link { min-height: 72px; padding: 12px; gap: 9px; }
    .quick-link > i { font-size: 19px; }
    .quick-link > span { font-size: 10px; }
}

@media (max-width: 480px) {
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card,
    .capability-card:last-child { min-height: 300px; grid-column: auto; }
    .quality-cert-grid { grid-template-columns: 1fr; }
    .quality-cert--wide { grid-column: auto; }
    .rd-points { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .highlight-card--large { min-height: 280px; }
    .highlight-card:not(.highlight-card--large) { min-height: 220px; }
    .quick-access__grid { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; gap: 25px; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
    .product-spotlight__visual { min-height: 350px; }
    .product-spotlight__visual > img { height: 265px; }
    .product-spotlight__detail-images img { height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .intro-stat,
    .capability-card > img,
    .machine-tab,
    .machine-panel,
    .quick-link,
    .highlight-card > img,
    .rd-point,
    .btn-ecr { transition: none !important; animation: none !important; }
}


/* =========================================================
   INTERNAL CONTENT PAGES / CONTACT PAGE / FLOATING TOOLS
========================================================= */
.internal-page .site-header {
    background: rgba(5, 24, 54, .97);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}
.internal-page-main {
    min-height: 55vh;
    padding-top: 104px;
    background: #f4f7fb;
}
.internal-page-container { padding-bottom: 72px; }
.content-placeholder {
    min-height: calc(70vh - 104px);
    padding: 44px 0 72px;
    background: transparent;
}
.content-placeholder h1 {
    margin: 0 0 15px;
    color: var(--ecr-navy);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
}
.content-placeholder > .container > p {
    max-width: 850px;
    margin-bottom: 34px;
    color: #61738a;
    line-height: 1.8;
}
.content-structure {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid #e2eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 45, 78, .045);
}

/* Contact page */
.contact-page-section { padding: 48px 0 12px; }
.contact-page__intro { max-width: 760px; margin-bottom: 38px; }
.contact-page__intro h2 {
    margin: 0 0 13px;
    color: var(--ecr-navy);
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.contact-page__intro p { margin: 0; color: #687b91; font-size: 15px; line-height: 1.8; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.contact-page__details { display: grid; gap: 14px; }
.contact-info-card {
    display: flex; gap: 17px; padding: 22px 23px;
    background: #fff; border: 1px solid #e3eaf2; border-radius: 13px;
    box-shadow: 0 8px 24px rgba(16,45,78,.04);
}
.contact-info-card__icon {
    display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px;
    color: #168bd0; font-size: 20px; background: #eaf5fc; border-radius: 11px;
}
.contact-info-card h3 { margin: 1px 0 8px; color: #12365f; font-size: 15px; font-weight: 850; }
.contact-info-card p, .contact-info-card a { display: block; margin: 0 0 5px; color: #66788e; font-size: 15px; line-height: 1.7; text-decoration: none; }
.contact-info-card a:hover { color: #168bd0; }
.contact-info-card a i { margin-left: 5px; }
.contact-map { overflow: hidden; background: #fff; border: 1px solid #e3eaf2; border-radius: 13px; box-shadow: 0 8px 24px rgba(16,45,78,.04); }
.contact-map__heading { display: flex; align-items: center; gap: 10px; padding: 16px 19px; color: #12365f; font-size: 15px; }
.contact-map__heading i { color: #168bd0; font-size: 18px; }
.contact-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.contact-form-card {
    padding: clamp(23px, 3vw, 36px); background: #fff; border: 1px solid #e3eaf2;
    border-radius: 15px; box-shadow: 0 12px 35px rgba(16,45,78,.055);
}
.contact-form-card > h3 { margin: 0 0 8px; color: #12365f; font-size: 23px; font-weight: 850; }
.contact-form-card > p { margin: 0 0 25px; color: #718198; font-size: 15px; line-height: 1.7; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 14px; }
.contact-field { min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 7px; color: #304761; font-size: 12px; font-weight: 750; }
.contact-field input, .contact-field select, .contact-field textarea {
    width: 100%; min-height: 47px; padding: 11px 13px; color: #203b59; background: #f8fafc;
    border: 1px solid #dce5ee; border-radius: 7px; outline: none; font: inherit; font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus {
    background: #fff; border-color: #4ba9df; box-shadow: 0 0 0 3px rgba(35,136,205,.11);
}
.contact-form-submit { margin-top: 20px; border: 0; cursor: pointer; }
.contact-form-status { margin-top: 16px; padding: 13px 15px; color: #174d75; background: #eaf5fc; border: 1px solid #cce6f7; border-radius: 8px; font-size: 15px; line-height: 1.6; }

/* Footer contact/social refinements */
.site-footer__social { margin-top: 22px; }
.site-footer__social-title { display: block; margin-bottom: 11px; color: rgba(255,255,255,.66); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-footer__social-links { display: flex; gap: 9px; }
.site-footer__social-links a, .site-footer__social-links span {
    display: grid; place-items: center; width: 36px; height: 36px; color: #d9eeff;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
    font-size: 16px; text-decoration: none; transition: .2s ease;
}
.site-footer__social-links a:hover { color: #fff; background: #168bd0; border-color: #168bd0; transform: translateY(-3px); }
.site-footer__column address { margin: 0 0 12px; color: rgba(255,255,255,.82); font-size: 15px; font-style: normal; line-height: 1.75; }
.site-footer__column address span { display: block; }
.site-footer__contact .site-footer__map-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; color: #86d2ff; font-size: 12px; }

/* Fixed right-side quick tools (shown after scrolling) */
.floating-tools {
    position: fixed; z-index: 1040; top: 50%; right: 0; display: grid; gap: 5px;
    width: 58px; padding: 7px; transform: translate(16px, -50%);
    opacity: 0; visibility: hidden; pointer-events: none;
    background: rgba(6, 27, 59, .96); border: 1px solid rgba(255,255,255,.12);
    border-right: 0; border-radius: 12px 0 0 12px; box-shadow: 0 12px 35px rgba(5,20,42,.22);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.floating-tools.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0, -50%); }
.floating-tools__contact, .floating-tools__top, .floating-tools__social a, .floating-tools__social span {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 43px; min-height: 48px; padding: 7px 3px; color: #fff; text-decoration: none;
    background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.09); border-radius: 8px;
    font-size: 17px; transition: background .2s ease, transform .2s ease;
}
.floating-tools__contact { background: #0879b7; }
.floating-tools__contact span { font-size: 8px; font-weight: 750; line-height: 1.2; text-align: center; }
.floating-tools__contact:hover, .floating-tools__top:hover, .floating-tools__social a:hover { color: #fff; background: #168bd0; transform: translateY(-2px); }
.floating-tools__social { display: grid; gap: 5px; }
.floating-tools__social a, .floating-tools__social span { min-height: 39px; }
.floating-tools__top { cursor: pointer; color: #b9e5ff; }

@media (max-width: 991px) {
    .contact-page__grid { grid-template-columns: 1fr; }
    .contact-page__details { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .contact-map { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .internal-page-main { padding-top: 86px; }
    .internal-page-container { padding-bottom: 48px; }
    .contact-page-section { padding-top: 35px; }
    .contact-page__details { grid-template-columns: 1fr; }
    .contact-map { grid-column: auto; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-field--full { grid-column: auto; }
    .floating-tools { width: 52px; padding: 5px; }
    .floating-tools__contact, .floating-tools__top, .floating-tools__social a, .floating-tools__social span { width: 40px; }
    .floating-tools__contact span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .floating-tools, .floating-tools__contact, .floating-tools__top, .floating-tools__social a,
    .site-footer__social-links a { transition: none; }
}

/* =========================================
   COMPANY FILM / INTRODUCTION VIDEO
========================================= */
.company-film-section { position: relative; overflow: hidden; padding: 88px 0; background: #fff; }
.company-film-layout { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; gap: clamp(35px,6vw,85px); }
.company-film-copy { max-width: 560px; }
.company-film-copy h2 { margin: 0 0 20px; color: var(--ecr-navy); font-size: clamp(2rem,3.5vw,3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.company-film-copy p { margin: 0; color: #657489; font-size: 15px; line-height: 1.9; }
.company-film-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: #123f70; font-size: 13px; font-weight: 800; text-decoration: none; }
.company-film-link:hover { color: #168bd0; }
.company-film-link__icon { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: linear-gradient(135deg,#0c3970,#2388cd); border-radius: 50%; box-shadow: 0 7px 18px rgba(12,57,112,.22); font-size: 20px; transition: transform .25s ease; }
.company-film-link:hover .company-film-link__icon { transform: scale(1.08); }
.company-film-link > i { margin-left: 3px; color: #2388cd; }
.company-film-media__frame { position: relative; overflow: hidden; padding: 8px; background: #fff; border: 1px solid #e3eaf1; border-radius: 17px; box-shadow: 0 20px 48px rgba(6,27,59,.12); }
.company-film-media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #071e3e; border-radius: 11px; }
.company-film-media__label { position: absolute; right: 19px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #fff; background: rgba(4,21,47,.78); border: 1px solid rgba(255,255,255,.2); border-radius: 5px; font-size: 9px; font-weight: 800; letter-spacing: .1em; pointer-events: none; }

/* BUSINESS PARTNERS LOGO CAROUSEL */
.partners-section { overflow: hidden; padding: 72px 0 78px; background: #f3f6fa; border-top: 1px solid #e8eef4; border-bottom: 1px solid #e8eef4; }
.partners-section__heading { margin-bottom: 30px; }
.partners-section__heading h2 { margin: 8px 0 0; color: var(--ecr-navy); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; letter-spacing: -.04em; }
.partners-section__heading p { margin: 0 0 3px; color: #657489; font-size: 14px; line-height: 1.8; }
.partners-carousel-wrap { position: relative; display: flex; align-items: center; gap: 14px; }
.partners-swiper { width: 100%; min-width: 0; padding: 8px 2px 15px; }
.partners-slide { height: auto; }
.partners-logo { display: flex; height: 112px; align-items: center; justify-content: center; padding: 17px 24px; background: #fff; border: 1px solid #e5ebf1; border-radius: 12px; box-shadow: 0 7px 20px rgba(16,45,78,.045); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.partners-logo:hover { transform: translateY(-4px); border-color: rgba(35,136,205,.35); box-shadow: 0 13px 28px rgba(16,45,78,.09); }
.partners-logo img { display: block; max-width: 100%; width: 100%; height: 76px; object-fit: contain; }
.partners-arrow { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: #244b73; background: #fff; border: 1px solid #dce5ee; border-radius: 50%; font-size: 14px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.partners-arrow:hover { color: #fff; background: #0c3970; border-color: #0c3970; }
.partners-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 8px; }
.partners-pagination .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 !important; background: #9aabba; opacity: .55; }
.partners-pagination .swiper-pagination-bullet-active { width: 20px; border-radius: 8px; background: #168bd0; opacity: 1; }
@media (max-width: 767px) {
    .company-film-section { padding: 62px 0; }
    .company-film-layout { grid-template-columns: 1fr; gap: 28px; }
    .company-film-copy h2 { font-size: clamp(1.8rem,7vw,2.5rem); }
    .company-film-copy p { font-size: 14px; }
    .partners-section { padding: 58px 0 62px; }
    .partners-section__heading { display: block; margin-bottom: 22px; }
    .partners-section__heading p { margin-top: 12px; }
    .partners-carousel-wrap { gap: 8px; }
    .partners-arrow { flex-basis: 32px; width: 32px; height: 32px; }
    .partners-logo { height: 96px; padding: 13px 16px; }
    .partners-logo img { height: 66px; }
}
@media (prefers-reduced-motion: reduce) { .company-film-link__icon, .partners-logo { transition: none; } }
/* =========================================================
   ECR MAKINE - INTERNAL CONTENT TEMPLATES (yapi0, yapi1, yapi2)
   Bootstrap 5.3.9 grid; content width uses .container.
========================================================= */
.internal-page-main { padding-top: 0; }
.ecr-content-page { padding: 54px 0 88px; background: #fff; }
.ecr-content-page .container { max-width: 1320px; }
.ecr-breadcrumb { margin: 0 0 28px; }
.ecr-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ecr-breadcrumb li { color: var(--ecr-muted); font-size: 12px; font-weight: 500; line-height: 1.6; }
.ecr-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a6b3c2; }
.ecr-breadcrumb a { color: #52708f; text-decoration: none; transition: color .2s ease; }
.ecr-breadcrumb a:hover { color: #168bd0; }
.ecr-breadcrumb [aria-current="page"] { color: var(--ecr-blue); font-weight: 700; }
.ecr-page-heading { margin: 0 0 38px; padding-bottom: 25px; border-bottom: 1px solid var(--ecr-line); }
.ecr-page-heading .section-eyebrow { margin-bottom: 12px; }
.ecr-page-heading h1 { max-width: 950px; margin: 0; color: var(--ecr-navy); font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.ecr-page-lead { max-width: 850px; margin: 17px 0 0; color: var(--ecr-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.8; }
.ecr-page-content { min-width: 0; color: var(--ecr-ink); font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.ecr-page-content > *:first-child { margin-top: 0; }
.ecr-page-content > *:last-child { margin-bottom: 0; }
.ecr-page-content h2 { margin: 30px 0 15px; color: var(--ecr-navy); font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.ecr-page-content h3 { margin: 25px 0 12px; color: var(--ecr-blue); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.35; }
.ecr-page-content p { margin: 0 0 1.15em; color: #45566b; font-size: 16px; line-height: 1.9; }
.ecr-page-content ul, .ecr-page-content ol { margin: 0 0 1.3em; padding-left: 1.35rem; color: #45566b; }
.ecr-page-content li { margin-bottom: .45em; padding-left: .2em; }
.ecr-page-content a { color: #147fbd; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(20,127,189,.35); text-underline-offset: 3px; }
.ecr-page-content a:hover { color: var(--ecr-navy); text-decoration-color: currentColor; }
.ecr-page-content blockquote { margin: 25px 0; padding: 18px 24px; color: #38516d; background: var(--ecr-pale); border-left: 4px solid var(--ecr-cyan); }
.ecr-page-content img { max-width: 100%; height: auto; border-radius: 8px; }
.ecr-page-content table { width: 100%; margin: 22px 0; border-collapse: collapse; }
.ecr-page-content th, .ecr-page-content td { padding: 11px 13px; border: 1px solid var(--ecr-line); text-align: left; }
.ecr-page-content th { color: var(--ecr-navy); background: var(--ecr-pale); font-weight: 700; }
.ecr-page-content .btn, .ecr-content-page .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 21px; border-radius: 5px; font-size: 13px; font-weight: 700; }
.ecr-photo-gallery { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--ecr-line); }
.ecr-gallery-item { position: relative; display: block; height: 100%; overflow: hidden; color: var(--ecr-ink); background: var(--ecr-pale); border: 1px solid var(--ecr-line); border-radius: 10px; text-decoration: none; }
.ecr-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.ecr-gallery-item:hover img { transform: scale(1.045); }
.ecr-gallery-item span { display: block; padding: 11px 13px; color: var(--ecr-blue); font-size: 13px; font-weight: 650; line-height: 1.5; }
.ecr-feature-image, .ecr-feature-video { margin: 0; overflow: hidden; background: var(--ecr-pale); border: 1px solid var(--ecr-line); border-radius: 14px; box-shadow: 0 12px 35px rgba(6,27,59,.07); }
.ecr-feature-image img { display: block; width: 100%; max-height: 590px; object-fit: cover; }
.ecr-feature-image figcaption, .ecr-feature-video figcaption { padding: 12px 16px; color: var(--ecr-muted); font-size: 13px; line-height: 1.5; }
.ecr-feature-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #061b3b; }
.ecr-media-empty { display: grid; min-height: 260px; place-items: center; padding: 25px; color: var(--ecr-muted); text-align: center; background: var(--ecr-pale); border: 1px dashed #cbd7e4; border-radius: 14px; }
@media (max-width: 767.98px) { .ecr-content-page { padding: 35px 0 60px; } .ecr-page-heading { margin-bottom: 28px; } .ecr-page-content, .ecr-page-content p { font-size: 15px; } .ecr-photo-gallery { margin-top: 34px; padding-top: 25px; } }

/* =========================================================
   ECR INNER PAGE HERO + MODERN CONTENT LAYOUT
   Sayfa başlığı ve breadcrumb artık menünün hemen altında,
   tam genişlikte görsel hero üzerinde gösterilir.
========================================================= */
.ecr-inner-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
    color: #fff;
    background-color: #071f43;
    background-position: center 48%;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}
.ecr-inner-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(5,24,57,.20), transparent 72%);
}
.ecr-inner-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, #e23c4f 0%, #e23c4f 20%, rgba(226,60,79,0) 72%);
}
.ecr-inner-hero > .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    padding-top: 70px;
    padding-bottom: 10px;
}
.ecr-inner-hero__content {
    max-width: 820px;
    animation: ecrHeroReveal .65s ease both;
}
.ecr-inner-hero__breadcrumb {
    margin: 0 0 10px;
}
.ecr-inner-hero__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ecr-inner-hero__breadcrumb li {
    color: rgba(255,255,255,.96);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.ecr-inner-hero__breadcrumb li + li::before {
    display: inline-block;
    margin: 0 12px;
    color: rgba(255,255,255,.58);
    content: "/";
}
.ecr-inner-hero__breadcrumb a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    transition: color .2s ease;
}
.ecr-inner-hero__breadcrumb a:hover { color: #fff; }
.ecr-inner-hero__breadcrumb [aria-current="page"] { color: #fff; }
.ecr-inner-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    color: #b9d8f4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
}
.ecr-inner-hero__eyebrow::before {
    width: 28px;
    height: 2px;
    content: "";
    background: #e23c4f;
}
.ecr-inner-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.45rem, 5.2vw, 4.25rem);
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.ecr-inner-hero__content > p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.75;
}
.ecr-content-page {
    padding: clamp(48px, 6vw, 82px) 0 90px;
    background: #fff;
}
.ecr-content-page .container { max-width: 1320px; }
.ecr-page-content {
    color: #43556b;
    font-size: 16px;
    line-height: 1.9;
}
.ecr-page-content p {
    margin: 0 0 1.15em;
    color: #43556b;
    font-size: 16px;
    line-height: 1.9;
}
.ecr-page-content strong { color: #102f55; font-weight: 750; }
.ecr-page-content > *:first-child { margin-top: 0; }
.ecr-page-content > *:last-child { margin-bottom: 0; }
.ecr-split-layout { --bs-gutter-y: 2rem; }
.ecr-feature-image,
.ecr-feature-video {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #edf2f7;
    border: 1px solid #e4eaf1;
    border-radius: 13px;
    box-shadow: 0 20px 48px rgba(6,27,59,.12);
}
.ecr-feature-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.ecr-feature-image figcaption,
.ecr-feature-video figcaption {
    padding: 13px 17px;
    color: #65788d;
    background: #fff;
    font-size: 12px;
    line-height: 1.5;
}
.ecr-feature-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #061b3b;
}
.ecr-photo-gallery {
    margin-top: 54px;
    padding-top: 36px;
    border-top: 1px solid #e7edf3;
}
.ecr-gallery-item {
    overflow: hidden;
    background: #f4f7fa;
    border: 1px solid #e7edf3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(6,27,59,.05);
}
.ecr-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s ease;
}
.ecr-gallery-item:hover img { transform: scale(1.05); }
.ecr-gallery-item span {
    display: block;
    padding: 12px 14px;
    color: #183d66;
    background: #fff;
    font-size: 13px;
    font-weight: 650;
}
.ecr-media-empty {
    display: grid;
    min-height: 250px;
    place-items: center;
    padding: 26px;
    color: #6b7c90;
    text-align: center;
    background: #f5f8fb;
    border: 1px dashed #d1dce7;
    border-radius: 13px;
}
@keyframes ecrHeroReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767.98px) {
    .ecr-inner-hero { min-height: 275px; background-position: center center; }
    .ecr-inner-hero > .container { padding-top: 38px; padding-bottom: 38px; }
    .ecr-inner-hero__breadcrumb { margin-bottom: 20px; }
    .ecr-inner-hero__breadcrumb li { font-size: 11px; }
    .ecr-inner-hero__breadcrumb li + li::before { margin: 0 8px; }
    .ecr-inner-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
    .ecr-content-page { padding: 42px 0 60px; }
    .ecr-page-content, .ecr-page-content p { font-size: 15px; }
    .ecr-photo-gallery { margin-top: 38px; padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .ecr-inner-hero__content { animation: none; }
    .ecr-gallery-item img { transition: none; }
}


/* =========================================================
   ECR MAKINE - YAPI 3: ÖNE ÇIKAN MEDYA + METİN + FOTOĞRAF GALERİSİ
   Ana medya alanı: video varsa video, yoksa ilk fotoğraf.
   Galeri: mevcut Swiper kütüphanesi ile otomatik kayan fotoğraflar.
========================================================= */
.ecr-yapi3-content {
    padding-top: clamp(42px, 5.5vw, 72px);
    padding-bottom: clamp(58px, 6vw, 88px);
    background: #fff;
}
.ecr-yapi3-content > .container { max-width: 1320px; }
.ecr-yapi3-main-row { --bs-gutter-y: 2rem; }
.ecr-yapi3-main-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    color: #fff;
    background: #071f43;
    border: 1px solid #e2e9f0;
    border-radius: 15px;
    box-shadow: 0 18px 42px rgba(6,27,59,.12);
    isolation: isolate;
}
.ecr-yapi3-main-media::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3,17,36,0) 45%, rgba(3,17,36,.32) 100%);
    opacity: .8;
    transition: opacity .25s ease;
}
.ecr-yapi3-main-media:hover::after { opacity: 1; }
.ecr-yapi3-main-media img,
.ecr-yapi3-main-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #071f43;
}
.ecr-yapi3-media-action {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #fff;
    background: rgba(5,24,57,.78);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease;
}
.ecr-yapi3-media-action i { font-size: 16px; }
.ecr-yapi3-main-media:hover .ecr-yapi3-media-action {
    background: #e23c4f;
    transform: translateY(-2px);
}
.ecr-yapi3-media-empty {
    display: grid;
    min-height: 310px;
    place-items: center;
    padding: 30px;
    color: #718196;
    text-align: center;
    background: #f4f7fa;
    border: 1px dashed #d1dce7;
    border-radius: 15px;
}
.ecr-yapi3-media-empty i { display: block; margin-bottom: 10px; color: #9aabba; font-size: 32px; }
.ecr-yapi3-copy { min-width: 0; }
.ecr-yapi3-copy .ecr-page-content { color: #43556b; }
.ecr-yapi3-gallery-section {
    margin-top: clamp(42px, 5vw, 66px);
    padding-top: 30px;
    border-top: 1px solid #e6edf3;
}
.ecr-yapi3-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.ecr-yapi3-gallery-heading__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #168bd0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ecr-yapi3-gallery-heading h2 {
    margin: 0;
    color: #102f55;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.ecr-yapi3-gallery-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.ecr-yapi3-gallery-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: #fff;
    background: #168bd0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(22,139,208,.2);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.ecr-yapi3-gallery-arrow:hover { color: #fff; background: #102f55; transform: translateY(-2px); }
.ecr-yapi3-gallery-arrow.swiper-button-disabled { opacity: .35; cursor: default; transform: none; }
.ecr-yapi3-gallery-arrow i { font-size: 18px; line-height: 1; }
.ecr-yapi3-swiper { width: 100%; overflow: hidden; padding: 2px 2px 15px; }
.ecr-yapi3-swiper .swiper-slide { height: auto; }
.ecr-yapi3-gallery-item {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #edf2f7;
    border: 1px solid #e1e8ef;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(6,27,59,.06);
}
.ecr-yapi3-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ecr-yapi3-gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 45%, rgba(5,24,57,.25));
    pointer-events: none;
}
.ecr-yapi3-gallery-item:hover img { transform: scale(1.055); }
.ecr-yapi3-gallery-item__zoom {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: rgba(5,24,57,.78);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 15px;
}
@media (max-width: 767.98px) {
    .ecr-yapi3-content { padding-top: 34px; padding-bottom: 58px; }
    .ecr-yapi3-main-media { border-radius: 12px; }
    .ecr-yapi3-media-action { right: 12px; bottom: 12px; padding: 9px 12px; font-size: 11px; }
    .ecr-yapi3-gallery-section { margin-top: 38px; padding-top: 25px; }
    .ecr-yapi3-gallery-heading { align-items: center; margin-bottom: 16px; }
    .ecr-yapi3-gallery-arrow { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .ecr-yapi3-main-media::after,
    .ecr-yapi3-media-action,
    .ecr-yapi3-gallery-item img,
    .ecr-yapi3-gallery-arrow { transition: none; }
}


/* -------------------------------------------------
   GLightbox - Ücretsiz görsel/video büyütme
------------------------------------------------- */
.glightbox-clean .gslide-description {
    background: #061b3b;
}
.glightbox-clean .gdesc-inner {
    padding: 12px 18px;
}
.glightbox-clean .gslide-title {
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}
.glightbox-clean .gslide-desc {
    color: rgba(255,255,255,.82);
}
.ecr-feature-image__link {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}
.ecr-feature-image__link img {
    display: block;
    width: 100%;
}

/* =========================================================
   ECR MAKINE - PAYLASILAN IC SAYFA / BREADCRUMB DUZENLEMELERI
   custom(10).css kullanicinin son gonderdigi surum korunarak eklendi.
========================================================= */
.ecr-inner-hero__breadcrumb li > span {
    display: inline-block;
    color: rgba(255,255,255,.76);
    cursor: default;
    text-decoration: none;
}
.ecr-inner-hero__breadcrumb li > span[aria-current="page"] {
    color: #fff;
    font-weight: 750;
}
.ecr-template-update-notice-wrap {
    max-width: 1320px;
    margin-top: 24px;
}
.ecr-template-update-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 19px;
    color: #31516f;
    background: #eef7fd;
    border: 1px solid #d4eafa;
    border-left: 4px solid #168bd0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.65;
}
.ecr-template-update-notice i { color: #168bd0; font-size: 18px; }
.ecr-content-page--contact {
    padding: 58px 0 82px;
    background: #f4f7fb;
}
.ecr-content-page--contact > .container { max-width: 1320px; }
.ecr-content-page--contact .contact-page-section { padding: 0; }
.ecr-content-page--contact .contact-page__intro { margin-bottom: 30px; }
.ecr-content-page--contact .contact-page__intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    letter-spacing: -.04em;
}
.ecr-content-page--contact .contact-page__grid { gap: 24px; }
.ecr-content-page--contact .contact-info-card,
.ecr-content-page--contact .contact-map,
.ecr-content-page--contact .contact-form-card {
    box-shadow: 0 12px 34px rgba(16,45,78,.055);
}
@media (max-width: 767.98px) {
    .ecr-content-page--contact { padding: 38px 0 58px; }
    .ecr-template-update-notice-wrap { margin-top: 18px; }
}
