/* =========================================================
   Gürhanlar İnşaat · Ön yüz teması
   Renkler panelden gelir: --primary (kırmızı), --accent (sarı), --dark (siyah)
   ========================================================= */
:root {
    --primary: #D7191F;
    --accent: #FFC20E;
    --dark: #111111;
    --ink: #1b1d21;
    --muted: #6b7078;
    --soft: #f5f5f3;
    --line: #e7e7e4;
    --radius: 18px;
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .25);
    --font-head: Montserrat, "Segoe UI", sans-serif;
    --font-body: Inter, "Segoe UI", sans-serif;
    --hazard: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--dark) 14px 28px);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.7; }
/* Animasyon kaydırmaları ve satır boşlukları yatay taşma yapmasın (clip, sticky header'ı bozmaz) */
main, .site-footer { overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 800; color: var(--dark); line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--dark); }
.text-brand { color: var(--primary) !important; }
.bg-soft { background: var(--soft); }
.section { padding: 110px 0; position: relative; }
@media (max-width: 991.98px) { .section { padding: 72px 0; } }

/* ---------- loader */
.page-loader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity .45s, visibility .45s; }
.page-loader img { animation: pulse 1s ease-in-out infinite; }
body.loaded .page-loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }

/* ---------- buttons */
.btn { font-family: var(--font-head); font-weight: 700; border-radius: 0; padding: .8rem 1.6rem; display: inline-flex; align-items: center; gap: .55rem; letter-spacing: .2px; transition: all .25s; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-primary-brand { background: var(--primary); color: #fff; border: 2px solid var(--primary); position: relative; overflow: hidden; z-index: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.btn-primary-brand::before { content: ""; position: absolute; inset: 0; background: var(--dark); transform: translateX(-101%); transition: transform .35s ease; z-index: -1; }
.btn-primary-brand:hover { color: #fff; border-color: var(--dark); }
.btn-primary-brand:hover::before { transform: none; }
.btn-dark-brand { background: var(--dark); color: #fff; border: 2px solid var(--dark); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.btn-dark-brand:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-outline-light-brand { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light-brand:hover { background: #fff; color: var(--dark); }
.link-more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; }
.link-more i { transition: transform .25s; }

/* ---------- top bars */
.announcement { background: var(--accent); color: var(--dark); text-align: center; font-weight: 600; font-size: .9rem; padding: 8px 12px; }
.topbar { background: var(--dark); color: #a6a8ad; font-size: .85rem; padding: 9px 0; position: relative; z-index: 1001; }
.topbar a, .topbar span { color: #c9cbd0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); }
.social { display: inline-flex; gap: 6px; }
.social a { width: 32px; height: 32px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 50%; color: inherit; transition: .25s; }
.social a:hover { background: var(--primary); color: #fff !important; }
.topbar .social a i { color: inherit; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; border-bottom: 1px solid var(--line); }
.site-header .brand img { height: 56px; width: auto; transition: height .3s; }
.site-header .logo-light { display: none; }
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .18); padding: 8px 0; }
.site-header.scrolled .brand img { height: 46px; }

body.is-home .site-header:not(.scrolled) { position: fixed; left: 0; right: 0; top: auto; background: transparent; border-color: rgba(255, 255, 255, .12); }
body.is-home .site-header:not(.scrolled) .logo-dark { display: none; }
body.is-home .site-header:not(.scrolled) .logo-light { display: inline; }
body.is-home .site-header:not(.scrolled) .main-nav > ul > li > a { color: #fff; }
body.is-home .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
body.is-home .site-header.scrolled { position: fixed; left: 0; right: 0; top: 0; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 12px 14px; font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--dark); position: relative; }
.main-nav > ul > li > a i { font-size: .7rem; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--primary); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
.main-nav li:hover > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 9px 22px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.main-nav .sub a:hover { color: var(--primary); padding-left: 28px; background: var(--soft); }

.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--dark); transition: .3s; }
.nav-backdrop { display: none; }

@media (max-width: 991.98px) {
    .site-header .brand img { height: 46px; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--dark); padding: 90px 24px 30px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; z-index: 1002; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a, body.is-home .site-header:not(.scrolled) .main-nav > ul > li > a { color: #fff; padding: 14px 0; border-bottom: 1px solid #262626; justify-content: space-between; }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; display: none; padding: 4px 0 10px 12px; }
    .main-nav li.open > .sub { display: block; }
    .main-nav .sub a { color: #bbb; padding: 7px 0; }
    .main-nav .sub a:hover { background: transparent; padding-left: 6px; }
    body.nav-open .main-nav { transform: none; }
    body.nav-open .nav-toggle { position: relative; z-index: 1003; }
    body.nav-open .nav-toggle span { background: #fff !important; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 999; }
}

/* ---------- section heads */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 900; letter-spacing: -.5px; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #b8bbc0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--primary); }
.eyebrow::before { content: ""; width: 34px; height: 8px; background: var(--hazard); flex: none; }
.eyebrow.light { color: var(--accent); }
.text-center .eyebrow { justify-content: center; }

/* ---------- hero */
.hero { position: relative; height: 100vh; min-height: 640px; background: var(--dark); overflow: hidden; }
.hero-swiper, .hero-swiper .swiper-slide { height: 100%; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.swiper-slide-active .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .65) 45%, rgba(10, 10, 10, .1) 100%), linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 40%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 120px; color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; font-size: .85rem; color: var(--accent); }
.hero-eyebrow::before { content: ""; width: 48px; height: 10px; background: var(--hazard); }
.hero .hero-title { color: #fff; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; max-width: 820px; margin: 22px 0; }
.hero-content p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #d2d4d8; max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-content > * { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.swiper-slide-active .hero-content > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.swiper-slide-active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.swiper-slide-active .hero-content > *:nth-child(4) { transition-delay: .45s; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.hero-pagination { position: static !important; display: flex; gap: 10px; width: auto !important; }
.hero-pagination .swiper-pagination-bullet { width: 42px; height: 4px; border-radius: 0; background: rgba(255, 255, 255, .35); opacity: 1; margin: 0 !important; transition: .3s; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--accent); width: 72px; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.2rem; transition: .25s; }
.hero-arrows button:hover { background: var(--primary); border-color: var(--primary); }
.hero-badge { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 5; flex-direction: column; align-items: center; background: var(--primary); color: #fff; padding: 28px 26px; text-align: center; }
.hero-badge strong { font-family: var(--font-head); font-size: 3.4rem; font-weight: 900; line-height: 1; }
.hero-badge span { text-transform: uppercase; font-size: .75rem; letter-spacing: 2px; font-weight: 700; }
.scroll-down { position: absolute; left: 50%; bottom: 40px; z-index: 5; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; transform: translateX(-50%); }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--accent); border-radius: 4px; transform: translateX(-50%); animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 24px; } }
@media (max-width: 767.98px) { .scroll-down { display: none; } .hero-nav { bottom: 28px; } }

/* ---------- about */
.about-media { position: relative; padding: 0 0 40px 40px; }
.about-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; position: relative; z-index: 1; }
.about-frame { position: absolute; left: 0; bottom: 0; width: 70%; height: 75%; border: 10px solid var(--accent); z-index: 0; }
.about-years { position: absolute; right: -16px; bottom: 0; z-index: 2; background: var(--primary); color: #fff; padding: 26px 30px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.about-years strong { font-family: var(--font-head); font-size: 3.6rem; font-weight: 900; line-height: 1; }
.about-years span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: 1.5px; line-height: 1.3; }
.lead-text { font-size: 1.1rem; color: #4a4d52; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 0; }
.check-list li { display: flex; gap: 10px; font-weight: 600; }
.check-list i { color: var(--primary); font-size: 1.2rem; }
.call-box { display: inline-flex; align-items: center; gap: 14px; color: var(--dark); }
.call-box i { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: .3s; }
.call-box:hover i { background: var(--primary); color: #fff; }
.call-box small { display: block; color: var(--muted); font-size: .8rem; }
.call-box strong { font-family: var(--font-head); font-size: 1.15rem; }
@media (max-width: 575.98px) { .check-list { grid-template-columns: 1fr; } .about-years { right: 0; padding: 18px; } .about-years strong { font-size: 2.6rem; } }

/* ---------- services */
.service-card { display: block; height: 100%; background: #fff; padding: 40px 34px; position: relative; overflow: hidden; color: var(--ink); border: 1px solid var(--line); transition: transform .35s, box-shadow .35s, border-color .35s; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .link-more i { transform: translateX(5px); }
.service-num { position: absolute; right: 26px; top: 18px; font-family: var(--font-head); font-weight: 900; font-size: 3.6rem; color: transparent; -webkit-text-stroke: 1.5px #e4e4e1; line-height: 1; }
.service-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; background: var(--dark); color: var(--accent); font-size: 2rem; margin-bottom: 26px; clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); transition: background .3s, color .3s; }
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.service-card.with-image { padding-top: 0; }
.service-card .service-photo { display: block; margin: 0 -34px 0; height: 210px; overflow: hidden; }
.service-card .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-photo img { transform: scale(1.08); }
.service-card.with-image .service-icon { margin-top: -36px; position: relative; }

/* ---------- counters */
.counters { background: var(--dark); color: #fff; padding: 90px 0 80px; position: relative; overflow: hidden; }
.counters::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 60px 60px; }
.counters .hazard { position: absolute; top: 0; left: 0; right: 0; }
.hazard { height: 12px; background: var(--hazard); }
.counter { text-align: center; position: relative; }
.counter i { font-size: 2.4rem; color: var(--accent); }
.counter div { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; margin-top: 8px; }
.counter div span { color: var(--primary); }
.counter p { color: #b8bbc0; text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; font-weight: 700; margin: 6px 0 0; }

/* ---------- projects */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-pills button, .filter-pills a { border: 2px solid var(--line); background: #fff; color: var(--dark); padding: 9px 22px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; transition: .25s; }
.filter-pills button:hover, .filter-pills a:hover { border-color: var(--dark); color: var(--dark); }
.filter-pills .active { background: var(--dark) !important; border-color: var(--dark) !important; color: #fff !important; }
.filter-pills.subtle { margin-top: -22px; }
.filter-pills.subtle a { border: 0; background: var(--soft); padding: 6px 16px; font-size: .85rem; }
.filter-pills.subtle .active { background: var(--primary) !important; }
.filter-item.hide { display: none; }

.project-card { display: block; height: 100%; background: #fff; color: var(--ink); box-shadow: 0 2px 0 var(--line); transition: box-shadow .35s, transform .35s; }
.project-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-6px); }
.project-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--soft); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%); opacity: 0; transition: .35s; }
.project-card:hover .project-img::after { opacity: 1; }
.project-arrow { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 52px; height: 52px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transform: scale(0) rotate(-45deg); transition: .35s; }
.project-card:hover .project-arrow { transform: none; }
.status-badge { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 6px 14px; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; }
.status-Ongoing { background: var(--accent); color: var(--dark); }
.status-Completed { background: var(--dark); color: #fff; }
.status-Planned { background: #fff; color: var(--dark); }
.project-body { padding: 24px 26px 26px; border-left: 4px solid transparent; transition: border-color .35s; }
.project-card:hover .project-body { border-color: var(--primary); }
.project-body small { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; font-size: .75rem; }
.project-body h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.project-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.progress-line { height: 6px; background: #ececea; margin-top: 16px; overflow: hidden; }
.progress-line span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--accent) 0 8px, #f0a800 8px 16px); animation: stripes 1s linear infinite; background-size: 22px 22px; }
.progress-line.big { height: 14px; margin-top: 12px; }
@keyframes stripes { to { background-position: 22px 0; } }
.progress-text { display: block; margin-top: 6px; color: var(--muted) !important; text-transform: none !important; letter-spacing: 0 !important; }
.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }
.empty-state i { font-size: 3rem; color: #ccc; }

/* ---------- features */
.features { background: linear-gradient(90deg, var(--dark) 0 38%, #fff 38%); }
@media (max-width: 991.98px) { .features { background: #fff; } }
.features-intro { background: var(--dark); color: #b8bbc0; padding: 50px 40px 50px 0; position: relative; height: 100%; overflow: hidden; }
@media (max-width: 991.98px) { .features-intro { padding: 40px 30px; } }
.features-intro .section-head { margin-bottom: 20px; }
.features-mark { position: absolute; right: -50px; bottom: -50px; width: 220px; opacity: .08; }
.feature { display: flex; gap: 20px; padding: 26px; border: 1px solid var(--line); height: 100%; transition: .3s; background: #fff; }
.feature:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feature-icon { flex: none; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(215, 25, 31, .08); color: var(--primary); font-size: 1.6rem; transition: .3s; }
.feature:hover .feature-icon { background: var(--primary); color: #fff; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- cta */
.cta { padding: 0; position: relative; z-index: 2; }
.cta-box { background: var(--primary); color: #fff; padding: 56px 60px; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; margin: 0 0 -60px; box-shadow: var(--shadow); }
.cta-box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 50px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.cta-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--hazard); }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin: 10px 0; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 560px; }
.cta-box > div { position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cta-phone { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; display: inline-flex; align-items: center; gap: 10px; }
.cta-phone:hover { color: var(--accent); }
.cta + .section, .cta + section { padding-top: 160px; }
.cta-inner { padding: 30px 0 0; margin-bottom: 0; }
.cta-inner .cta-box { margin-bottom: -60px; }
.cta:last-child .cta-box, main > .cta-inner:last-child .cta-box { margin-bottom: 0; }
main > .cta-inner:last-child { padding-bottom: 90px; }
@media (max-width: 767.98px) { .cta-box { padding: 40px 28px; } }

/* ---------- testimonials */
.testimonial-swiper { padding-bottom: 60px !important; }
.testimonial { background: #fff; padding: 40px 36px; height: 100%; position: relative; border-bottom: 4px solid var(--primary); }
.testimonial .quote { position: absolute; right: 26px; top: 6px; font-size: 5rem; color: var(--soft); line-height: 1; }
.stars { color: var(--accent); margin-bottom: 14px; }
.testimonial p { font-size: 1.05rem; color: #3e4146; font-style: italic; position: relative; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.who img, .who .initial { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.who .initial { background: var(--dark); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; }
.who strong { display: block; font-family: var(--font-head); }
.who small { color: var(--muted); }
.swiper-pagination-bullet-active { background: var(--primary); }
.testimonial-swiper .swiper-slide { height: auto; }

/* ---------- blog */
.post-card { background: #fff; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: .35s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.post-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-date { position: absolute; left: 20px; bottom: 0; background: var(--primary); color: #fff; text-align: center; padding: 10px 14px; font-size: .75rem; text-transform: uppercase; font-weight: 700; line-height: 1.1; }
.post-date strong { display: block; font-family: var(--font-head); font-size: 1.6rem; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body small { color: var(--muted); font-size: .82rem; }
.post-body h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.post-body h3 a { color: var(--dark); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card:hover .link-more i { transform: translateX(5px); }

/* ---------- partners */
.partners { padding: 60px 0; border-top: 1px solid var(--line); }
.partners-title { text-align: center; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--muted); margin-bottom: 30px; }
.partner { display: flex; align-items: center; justify-content: center; height: 90px; padding: 10px 20px; filter: grayscale(1); opacity: .6; transition: .3s; }
.partner:hover { filter: none; opacity: 1; }
.partner img { max-height: 60px; }

/* ---------- page header */
.page-header { position: relative; padding: 140px 0 110px; background: var(--dark); color: #fff; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: 0; background-image: var(--bg); background-size: cover; background-position: center; opacity: .35; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .95), rgba(10, 10, 10, .5)); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 900; letter-spacing: -1px; margin: 14px 0 10px; max-width: 900px; }
.page-header p { color: #c7c9cd; font-size: 1.1rem; max-width: 700px; margin: 0; }
.page-header .hazard { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .88rem; color: #9da0a6; }
.crumbs a { color: #d5d7db; }
.crumbs a:hover { color: var(--accent); }
.crumbs i.bi-chevron-right { font-size: .7rem; color: var(--primary); }
.crumbs span { color: var(--accent); }
@media (max-width: 991.98px) { .page-header { padding: 90px 0 80px; } }

/* ---------- detail pages */
.detail-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 32px; }
.detail-cover-link { display: block; position: relative; }
.detail-cover-link { margin-bottom: 32px; }
.detail-cover-link .detail-cover { margin-bottom: 0; }
.image-credit { font-size: .8rem; color: var(--muted); margin: 8px 0 28px; display: flex; gap: 6px; align-items: center; }
.detail-cover-link + .image-credit { margin-top: -24px; }
.rich-content { font-size: 1.05rem; color: #3b3e43; }
.rich-content h2, .rich-content h3 { margin: 32px 0 14px; }
.rich-content h2 { font-size: 1.7rem; }
.rich-content h3 { font-size: 1.35rem; }
.rich-content ul { padding-left: 0; list-style: none; }
.rich-content ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rich-content ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 6px; background: var(--hazard); }
.rich-content blockquote { border-left: 5px solid var(--primary); background: var(--soft); padding: 22px 28px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--dark); margin: 28px 0; }
.rich-content img { height: auto; margin: 14px 0; }
.sub-title { font-size: 1.5rem; margin: 48px 0 22px; padding-left: 16px; border-left: 5px solid var(--primary); }
.sticky-side { position: sticky; top: 110px; }
.side-box { background: var(--soft); padding: 30px; margin-bottom: 24px; }
.side-box h4, .spec-box h4 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--line); position: relative; }
.side-box h4::after, .spec-box h4::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--primary); }
.side-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.side-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; color: var(--dark); font-family: var(--font-head); font-weight: 700; font-size: .95rem; transition: .25s; }
.side-menu a i:first-child { color: var(--primary); }
.side-menu li.active a, .side-menu a:hover { background: var(--dark); color: #fff; }
.side-menu li.active a i, .side-menu a:hover i { color: var(--accent); }
.side-cta { background: var(--dark); color: #b8bbc0; padding: 36px 32px; text-align: center; position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--hazard); }
.side-cta h4 { color: #fff; margin: 18px 0 10px; font-size: 1.25rem; }
.side-phone { display: block; margin-top: 16px; color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.spec-box { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--primary); padding: 30px; margin-bottom: 24px; box-shadow: var(--shadow); }
.spec-box ul { list-style: none; padding: 0; margin: 0; }
.spec-box li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.spec-box li:last-child { border: 0; }
.spec-box li i { color: var(--primary); }
.spec-box li span { color: var(--muted); }
.spec-box li strong { font-family: var(--font-head); text-align: right; }
.progress-card { background: var(--soft); padding: 22px 26px; margin-bottom: 30px; font-family: var(--font-head); }
.feature-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.feature-grid li { background: var(--soft); padding: 14px 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.feature-grid i { color: var(--primary); font-size: 1.15rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(215, 25, 31, .75); color: #fff; font-size: 1.6rem; opacity: 0; transition: .3s; }
.gallery a:hover span { opacity: 1; }
.gallery a:hover img { transform: scale(1.1); }

.post-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.post-meta i { color: var(--primary); }
.post-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--soft); color: var(--dark); padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.tags a:hover { background: var(--primary); color: #fff; }
.share { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.share a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; }
.share a:hover { background: var(--primary); }
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--dark); }
.recent-posts img { width: 84px; height: 64px; object-fit: cover; flex: none; }
.recent-posts strong { display: block; font-family: var(--font-head); font-size: .95rem; line-height: 1.35; }
.recent-posts small { color: var(--muted); }
.recent-posts a:hover strong { color: var(--primary); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); color: var(--dark); font-family: var(--font-head); font-weight: 800; }
.pager a.active, .pager a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- team */
.team-card { background: #fff; text-align: center; height: 100%; border: 1px solid var(--line); transition: .35s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.team-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, var(--dark), #2b2b2e); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 4rem; color: var(--accent); }
.team-social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; padding: 16px; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); transform: translateY(100%); transition: .35s; }
.team-card:hover .team-social { transform: none; }
.team-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; }
.team-body { padding: 24px 20px; border-top: 4px solid var(--primary); }
.team-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-body span { color: var(--primary); font-weight: 600; font-size: .9rem; }
.team-body p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

/* ---------- faq */
.faq .accordion-item { border: 1px solid var(--line); margin-bottom: 12px; border-radius: 0 !important; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; padding: 22px 24px; gap: 14px; border-radius: 0 !important; }
.faq .accordion-button:not(.collapsed) { background: var(--dark); color: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed)::after { filter: invert(1); }
.faq .accordion-button:focus { box-shadow: none; }
.q-num { color: var(--primary); font-weight: 900; }
.faq .accordion-button:not(.collapsed) .q-num { color: var(--accent); }
.faq .accordion-body { padding: 22px 24px; }

/* ---------- contact */
.contact-card { display: flex; flex-direction: column; height: 100%; padding: 30px; background: var(--soft); color: var(--dark); border-bottom: 4px solid transparent; transition: .3s; }
.contact-card:hover { border-color: var(--primary); background: #fff; box-shadow: var(--shadow); color: var(--dark); }
.contact-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 14px; }
.contact-card small { color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: .75rem; }
.contact-card strong { font-family: var(--font-head); font-size: 1.05rem; margin-top: 4px; }
.contact-card span { color: var(--muted); }
.form-card { background: #fff; padding: 46px; box-shadow: var(--shadow); border-top: 6px solid var(--primary); }
.form-card h2 { font-size: 1.8rem; margin: 10px 0 28px; }
.form-card .form-control { border-radius: 0; border: 2px solid var(--line); padding: 14px 16px; background: var(--soft); }
.form-card .form-control:focus { border-color: var(--primary); background: #fff; box-shadow: none; }
.form-card .form-label { font-weight: 700; font-size: .88rem; }
.field-error { color: var(--primary); font-size: .85rem; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert-success-brand { display: flex; gap: 16px; align-items: center; background: #e9f8ef; border-left: 5px solid #19a35a; padding: 18px 22px; margin-bottom: 26px; }
.alert-success-brand i { font-size: 2rem; color: #19a35a; }
.map-box { height: 420px; overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.wa-card { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 22px 26px; background: #25d366; color: #fff; }
.wa-card:hover { background: #1ebe5a; color: #fff; }
.wa-card > i:first-child { font-size: 2.2rem; }
.wa-card strong { display: block; font-family: var(--font-head); }
@media (max-width: 575.98px) { .form-card { padding: 28px 22px; } }

/* ---------- error */
.error-page { padding: 120px 0; }
.error-code { font-family: var(--font-head); font-weight: 900; font-size: clamp(7rem, 20vw, 13rem); line-height: 1; color: var(--dark); letter-spacing: -6px; }
.hazard-tape { background: var(--hazard); padding: 8px 0; margin: 10px auto 30px; max-width: 640px; transform: rotate(-3deg); }
.hazard-tape span { background: var(--dark); color: var(--accent); font-family: var(--font-head); font-weight: 900; letter-spacing: 3px; padding: 6px 20px; display: inline-block; }
.error-page p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

/* ---------- footer */
.site-footer { background: #0b0b0c; color: #9a9da3; position: relative; padding-top: 0; }
.cta + .site-footer, main:has(> .cta:last-child) + .site-footer { padding-top: 60px; }
.site-footer .hazard { margin-bottom: 80px; }
.footer-logo { height: 64px; width: auto; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9a9da3; display: inline-flex; gap: 6px; }
.footer-links a::before { content: "›"; color: var(--primary); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--accent); font-size: 1.1rem; }
.footer-contact a { color: #c7c9cd; }
.site-footer .social a { background: #1a1a1c; color: #fff; }
.footer-bottom { border-top: 1px solid #1d1d20; margin-top: 70px; padding: 22px 0; font-size: .85rem; }
.footer-bottom .credit a { color: #fff; font-weight: 700; border-bottom: 2px solid var(--primary); }
.footer-bottom .credit a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- floating */
.float-wa { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); animation: wa 2.5s infinite; }
.float-wa:hover { color: #fff; transform: scale(1.08); }
@keyframes wa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border: 0; background: var(--primary); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--dark); }
