/* ==========================================================================
   Inner pages  (loaded after style.css – reuses the same tokens & language)
   ========================================================================== */
.nav__link.is-current { color: var(--primary-color); font-weight: 700; }
.dropdown-menu a.is-current { color: var(--primary-color); }

.page-top { background: var(--white); padding: 12px 0 28px; }
.page-main { background: var(--white); }
.band { padding: 54px 0; background: var(--white); }
.band--gray { background: #f9f9f9; }
.band--tight { padding: 38px 0; }

/* ---------- Banner + breadcrumb ---------- */
.page-banner {
    position: relative;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(100deg, #2b2b2d 0%, #3a2a2b 55%, #4a2326 100%);
    color: var(--white);
}
.page-banner__img {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 58%; height: 100%; object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    opacity: .95;
}
.page-banner::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 120px;
    background: var(--primary-color);
}
.page-banner__content { position: relative; z-index: 2; padding: 36px 44px; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #cfcfcf; margin-bottom: 14px; }
.breadcrumb a { color: #e8e8e8; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.page-banner__title { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; color: var(--white); }
.page-banner__desc { font-size: 14px; line-height: 1.7; color: #e4e4e4; max-width: 520px; }

/* ---------- Generic helpers ---------- */
.section-head { margin-bottom: 30px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.lead { font-size: 15px; line-height: 1.8; color: #444; }
.prose p { font-size: 14px; line-height: 1.85; color: #444; margin-bottom: 14px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 26px 0 12px; color: #111; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; color: #111; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.prose li { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 4px; }
.prose a { color: var(--primary-color); }
.prose img { border-radius: 6px; margin: 8px auto; }
.prose figure.article__fig { margin: 18px 0; text-align: center; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 14px; font-size: 13px; }
.prose td, .prose th { border: 1px solid var(--border-color); padding: 8px 10px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__img { border-radius: var(--radius); overflow: hidden; }
.split__img img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }

.card {
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 6px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.09); border-color: #e0e0e0; }

.badge {
    display: inline-block; font-size: 11px; font-weight: 600; line-height: 1;
    padding: 6px 10px; border-radius: 30px; background: #fdecee; color: var(--primary-color);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; }
.stat__num { font-size: 38px; font-weight: 800; color: var(--primary-color); line-height: 1.1; }
.stat__label { margin-top: 8px; font-size: 13px; color: #555; }

/* ---------- Icon cards (mission / values / contact / process) ---------- */
.icon-card { padding: 28px 24px; }
.icon-card__icon {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fdecee; color: var(--primary-color); font-size: 18px; margin-bottom: 16px;
}
.icon-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.icon-card p, .icon-card li { font-size: 13.5px; line-height: 1.75; color: #555; }
.icon-card a { color: var(--primary-color); font-weight: 600; }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; }
.awards li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13.5px; line-height: 1.6; color: #333;
    padding: 12px 14px; background: var(--white); border: 1px solid #ececec; border-radius: 6px;
}
.awards i { color: var(--primary-color); margin-top: 4px; font-size: 12px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #e4e4e4; transform: translateX(-50%); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 36px; align-items: center; }
.tl-item::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
    border-radius: 50%; background: var(--primary-color); border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color); transform: translate(-50%, -50%);
}
.tl-item__body { padding: 22px 24px; text-align: right; }
.tl-item__year { font-size: 30px; font-weight: 800; color: var(--primary-color); line-height: 1; margin-bottom: 8px; }
.tl-item__body p { font-size: 13.5px; line-height: 1.75; color: #444; }
.tl-item__img { border-radius: 6px; overflow: hidden; }
.tl-item__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tl-item:nth-child(even) .tl-item__body { order: 2; text-align: left; }
.tl-item:nth-child(even) .tl-item__img { order: 1; }

/* ---------- Filter tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab {
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 0 20px; height: 38px; border-radius: 30px;
    background: var(--white); color: #333; border: 1px solid #dcdcdc; transition: var(--transition);
}
.tab:hover { border-color: var(--primary-color); color: var(--primary-color); }
.tab.is-active { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }
.filter-empty { display: none; text-align: center; color: #777; padding: 40px 0; }

/* ---------- Category tiles ---------- */
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%); }
.cat-tile__label {
    position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700;
}
.cat-tile__label i { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-color); font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Product cards (listing) ---------- */
.p-card { display: block; overflow: hidden; }
.p-card__img { background: #f4f4f4; aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.p-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s; mix-blend-mode: multiply; }
.p-card:hover .p-card__img img { transform: scale(1.05); }
.p-card__body { padding: 16px 18px 18px; }
.p-card__cat { font-size: 11px; font-weight: 600; color: var(--primary-color); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.p-card__title { font-size: 14.5px; font-weight: 700; line-height: 1.45; color: #111; min-height: 42px; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__meta { font-size: 12px; color: #777; margin-bottom: 12px; }
.p-card__link { font-size: 12.5px; font-weight: 600; color: var(--primary-color); display: inline-flex; gap: 6px; align-items: center; }
.p-card__link i { font-size: 10px; transition: transform .3s; }
.p-card:hover .p-card__link i { transform: translateX(4px); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd__main { background: #f4f4f4; border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd__thumb { width: 78px; height: 78px; padding: 0; border: 1px solid #e6e6e6; border-radius: 6px; background: #f4f4f4; cursor: pointer; overflow: hidden; transition: var(--transition); }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pd__thumb.is-active, .pd__thumb:hover { border-color: var(--primary-color); }
.pd__title { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 12px 0 18px; color: #111; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; font-size: 13.5px; border-bottom: 1px solid #eee; vertical-align: top; }
.spec th { width: 34%; color: #666; font-weight: 500; background: #fafafa; }
.spec td { color: #111; font-weight: 500; }
.spec td a { color: var(--primary-color); }
.pd__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd__actions .btn { height: 44px; padding: 0 26px; font-size: 13px; }
.pd__desc { margin-top: 44px; max-width: 860px; }

/* ---------- News ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; margin-bottom: 28px; }
.news-feature__img img, .n-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-feature__img { overflow: hidden; min-height: 280px; }
.news-feature__img img { transition: transform .6s; }
.news-feature:hover .news-feature__img img { transform: scale(1.05); }
.news-feature__body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.news-feature__body h2 { font-size: 22px; line-height: 1.4; font-weight: 700; margin: 10px 0; color: #111; }
.news-feature__body p { font-size: 13.5px; line-height: 1.75; color: #666; margin-bottom: 14px; }
.n-meta { font-size: 12px; color: #888; display: flex; align-items: center; gap: 6px; }
.n-card { display: flex; flex-direction: column; overflow: hidden; }
.n-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.n-card__img img { transition: transform .6s; }
.n-card:hover .n-card__img img { transform: scale(1.05); }
.n-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.n-card__title { font-size: 15px; font-weight: 700; line-height: 1.5; color: #111;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.n-card:hover .n-card__title, .news-feature:hover h2 { color: var(--primary-color); }
.n-card__excerpt { font-size: 13px; line-height: 1.7; color: #666;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 90px; }
.widget { padding: 22px; }
.widget h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.widget h3::before { content: ''; width: 20px; height: 2px; background: var(--primary-color); }
.widget li a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; color: #333; border-bottom: 1px dashed #eaeaea; }
.widget li:last-child a { border-bottom: 0; }
.widget li a:hover { color: var(--primary-color); padding-left: 4px; }
.mini-news a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eaeaea; }
.mini-news li:last-child a { border-bottom: 0; }
.mini-news img { width: 76px; height: 56px; object-fit: cover; border-radius: 4px; }
.mini-news span { font-size: 13px; line-height: 1.45; font-weight: 600; color: #222;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-news a:hover span { color: var(--primary-color); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a, .pager span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid #dcdcdc; font-size: 13px; font-weight: 600; background: #fff; }
.pager .is-active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.pager a:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* ---------- Article ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article__title { font-size: 32px; line-height: 1.35; font-weight: 700; margin: 14px 0; color: #111; }
.article__meta { font-size: 13px; color: #888; padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.article__meta i { color: var(--primary-color); margin-right: 6px; }
.article__back { margin-top: 32px; padding-top: 24px; border-top: 1px solid #eee; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Projects ---------- */
.proj-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 10 / 7; background: #ddd; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.proj-card:hover img { transform: scale(1.06); }
.proj-card__overlay {
    position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.78) 100%);
    display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.proj-card__overlay h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.proj-card__overlay span { font-size: 11px; opacity: .85; display: block; margin-bottom: 4px; }

/* ---------- Offices / agents ---------- */
.office { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.office h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.office h3 i { color: var(--primary-color); }
.office p { font-size: 13.5px; line-height: 1.7; color: #555; display: flex; gap: 10px; }
.office p i { color: var(--primary-color); width: 14px; margin-top: 5px; flex: none; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid #ececec; height: 100%; min-height: 360px; }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card { padding: 34px; }
.form-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.form-card > p { font-size: 13.5px; color: #666; margin-bottom: 22px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: #333; }
.field label b { color: var(--primary-color); }
.field input, .field textarea, .field select {
    font-family: inherit; font-size: 13.5px; color: #111; background: #fff;
    border: 1px solid #dcdcdc; border-radius: 6px; padding: 0 14px; height: 44px; outline: none; transition: var(--transition);
}
.field textarea { height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(227,6,19,.1); }
.form-card .btn { height: 44px; padding: 0 28px; margin-top: 8px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 6px; background: #eaf7ee; color: #17703a; font-size: 13.5px; line-height: 1.6; }
.form-msg.is-visible { display: block; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.acc-item { border: 1px solid #ececec; border-radius: 6px; background: #fff; overflow: hidden; }
.acc-head {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-family: inherit; font-size: 15px; font-weight: 700; color: #111; text-align: left;
    padding: 18px 22px; background: none; border: 0; cursor: pointer;
}
.acc-head i { color: var(--primary-color); font-size: 12px; transition: transform .3s; }
.acc-item.is-open .acc-head { color: var(--primary-color); }
.acc-item.is-open .acc-head i { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body__inner { padding: 0 22px 20px; }
.acc-body__inner p, .acc-body__inner li { font-size: 13.5px; line-height: 1.8; color: #555; margin-bottom: 6px; }
.acc-body__inner ul { list-style: disc; padding-left: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 28px 22px; position: relative; text-align: center; }
.step::before {
    counter-increment: step; content: counter(step);
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary-color); color: #fff;
    font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 17px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; line-height: 1.7; color: #666; }

/* ---------- Jobs ---------- */
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; }
.job h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #111; }
.job p { font-size: 12.5px; color: #777; display: flex; gap: 16px; flex-wrap: wrap; }
.job p i { color: var(--primary-color); margin-right: 5px; }
.job-list { display: grid; gap: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: var(--radius); padding: 44px 50px; color: #fff;
    background: linear-gradient(100deg, #b8000d 0%, #e30613 100%);
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.cta-band p { font-size: 14px; color: #ffe3e5; }
.cta-band .btn { height: 44px; padding: 0 28px; }

.quote { border-left: 3px solid var(--primary-color); padding: 6px 0 6px 22px; font-size: 20px; line-height: 1.6; font-weight: 600; color: #222; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid--4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .awards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .band { padding: 38px 0; }
    .page-banner { min-height: 220px; }
    .page-banner__img { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
    .page-banner__content { padding: 28px 24px; }
    .page-banner__title { font-size: 28px; }
    .split, .pd, .news-feature, .grid--2, .form-grid { grid-template-columns: 1fr; }
    .split--rev > :first-child { order: 0; }
    .split { gap: 24px; }
    .timeline::before { left: 12px; }
    .tl-item { grid-template-columns: 1fr; gap: 12px; padding-left: 36px; }
    .tl-item::before { left: 12px; top: 28px; }
    .tl-item__body, .tl-item:nth-child(even) .tl-item__body { text-align: left; order: 0; padding: 0; }
    .tl-item:nth-child(even) .tl-item__img { order: 0; }
    .sidebar { grid-template-columns: 1fr; }
    .cta-band { padding: 30px 24px; }
    .job { flex-direction: column; align-items: flex-start; }
    .article__title { font-size: 24px; }
    .awards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .grid--3, .grid--4, .stats, .steps { grid-template-columns: 1fr; }
    .form-card { padding: 22px; }
}
