:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --surface: #ffffff;
  --text: #16202c;
  --muted: #5b6776;
  --line: #e3e8ef;
  --primary: #e30613;
  --primary-dark: #b0040e;
  --accent: #ff2a35;
  --tint: #fdeced;
  --tint-soft: #fff5f5;
  --dark: #1b1c1f;
  --font-head: Montserrat, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
.btn, .eyebrow, .main-nav a, .stat strong, .chip, .ref-no, .tl-year, .value-label, .dash-num, .link-arrow { font-family: var(--font-head); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 10px; border: 2px solid var(--primary);
  background: var(--primary); color: #fff; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background .15s, transform .15s, border-color .15s; font-family: inherit;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--text); }
.btn-light { background: #fff; border-color: #fff; color: var(--primary); }
.btn-light:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-danger { background: #d93025; border-color: #d93025; }
.btn-danger:hover { background: #b3261e; border-color: #b3261e; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); border-color: #cfd6df; }
.link-arrow { font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 44px; height: 44px; flex: none; }
.brand-logo-wrap { background: #fff; border-radius: 12px; padding: 4px; display: inline-flex; }
.brand-logo-wrap .brand-logo { width: 40px; height: 40px; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head);
  border-left: 3px solid var(--primary); padding-left: 10px;
}
.brand-text strong { font-size: 1.3rem; font-weight: 900; letter-spacing: .02em; color: #1d1d1f; }
.brand-text small { font-size: .66rem; color: var(--primary); font-weight: 800; letter-spacing: .04em; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) {
  padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .96rem;
}
.main-nav > a:not(.btn):hover { background: var(--bg-alt); }
.main-nav a.active { color: var(--primary); background: var(--tint); }
.nav-cta { margin-left: 8px; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }

/* Sosyal medya ikonları */
.social { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); background: var(--bg-alt); transition: background .15s, color .15s, transform .15s;
}
.social a:hover { color: #fff; transform: translateY(-1px); }
.social .s-whatsapp:hover { background: #25d366; }
.social .s-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social .s-facebook:hover { background: #1877f2; }
.social .s-youtube:hover { background: #ff0000; }
.social .s-linkedin:hover { background: #0a66c2; }
.social-header { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.social-header .s-whatsapp { display: none; }
.social-header a { width: 32px; height: 32px; }
.social-header svg { width: 17px; height: 17px; }
.social-footer { margin-top: 16px; }
.social-footer a { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.social-contact { margin-top: 6px; }
.info-card .social a { display: grid; place-items: center; }
.social svg { display: block; }
.info-icon.info-icon-wa { background: #e6f9ee; color: #1ea952; }
@media (max-width: 1180px) and (min-width: 961px) { .social-header { display: none; } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px;
    box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .social-header { margin: 10px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: center; }
  .social-header a { width: 40px; height: 40px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,14,16,.9) 0%, rgba(14,14,16,.66) 45%, rgba(14,14,16,.12) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--primary) 0 60%, #1d1d1f 60%);
}
.hero-content { position: relative; padding: 80px 20px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; max-width: 720px; }
.hero .accent { color: var(--accent); font-style: italic; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

@media (max-width: 640px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(14,14,16,.72), rgba(14,14,16,.9)); }
  .hero-content { padding: 64px 20px; }
}

.stats { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat span { color: rgba(255,255,255,.75); font-size: .92rem; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-hero { background: linear-gradient(180deg, var(--tint-soft), #fff); padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
@media (max-width: 640px) { .section { padding: 56px 0; } .page-hero { padding: 44px 0 28px; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.check-list { list-style: none; margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); font-weight: 500; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 50%;
  background: #e7f6ec; color: #1a8f4c; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid-2 { grid-template-columns: 1fr; } }

.service-card { display: block; color: var(--text); }
.service-card:hover { color: var(--text); }
.service-img {
  aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
  border: 1px solid var(--line); margin-bottom: 14px;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.service-card:hover .service-img img { transform: scale(1.05); }
.service-card h3 { margin-bottom: .2em; }
.service-card p { color: var(--muted); margin: 0; }
.service-card-lg h2 { font-size: 1.5rem; margin-bottom: .15em; }
.service-card-lg .service-sub { color: var(--primary); font-weight: 600; margin-bottom: .6em; }
.service-card-lg p:not(.service-sub) { color: var(--muted); }
.service-card-lg { scroll-margin-top: 90px; }

/* ---------- References ---------- */
.ref-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--text);
}
.search-box { margin-top: 20px; max-width: 480px; }
.search-box input {
  width: 100%; padding: 14px 16px 14px 44px; border-radius: 12px; border: 1px solid var(--line); font: inherit;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235b6776' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 16px center;
  box-shadow: var(--shadow);
}
.search-box input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.ref-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.ref-no {
  flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); color: var(--primary);
  display: grid; place-items: center; font-weight: 700; font-size: .88rem;
}
.ref-card h3 { font-size: 1rem; margin: 0 0 2px; }
.ref-city { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.ref-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.ref-card li { margin: 4px 0; }
.ref-card li::marker { color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.gallery-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-card figcaption { padding: 16px 18px 18px; }
.gallery-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.gallery-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,12,20,.92);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: 14px; }
.lightbox figcaption strong { display: block; font-size: 1.1rem; }
.lightbox figcaption span { color: rgba(255,255,255,.75); font-size: .95rem; white-space: pre-line; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- About ---------- */
.prose p { font-size: 1.08rem; color: #2c3744; }
.signature { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.signature span { color: var(--muted); font-style: italic; }
.timeline { border-left: 2px solid var(--line); padding-left: 28px; }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
}
.tl-year { font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.tl-item p { margin: 2px 0 0; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.value-label { font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--primary); }
.value p { margin: 8px 0 0; font-size: 1.08rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow);
}
a.info-card:hover { border-color: var(--primary); color: var(--text); }
.info-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.info-card > div { min-width: 0; flex: 1; }
.info-card .phone-list a { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.phone-list a:last-child { border-bottom: 0; }
.phone-list a:hover strong { color: var(--primary); }
.phone-list span { color: var(--muted); font-weight: 600; }
.addr { display: block; color: var(--text); margin: 2px 0 4px; }
.addr-link { display: block; color: var(--primary); font-size: .95rem !important; font-weight: 600; }
.footer-addr { margin-top: 12px !important; color: rgba(255,255,255,.6); line-height: 1.5; }
.info-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.info-card strong { font-size: 1.05rem; }
.info-card div a { display: block; word-break: break-all; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 22px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfd6df; border-radius: 10px; background: #fff; color: var(--text); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.form textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: #e7f6ec; color: #13673a; border: 1px solid #bfe5cd; }
.alert-err { background: #fdecea; color: #a1261b; border: 1px solid #f5c6c1; }

/* ---------- CTA & Footer ---------- */
.cta { background: linear-gradient(115deg, var(--primary) 0 62%, #1d1d1f 62%); color: #fff; padding: 56px 0; }
@media (max-width: 760px) { .cta { background: var(--primary); } }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .2em; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }
.cta .hero-actions { margin-top: 0; }

.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.brand-footer { margin-bottom: 14px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--accent); }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: rgba(255,255,255,.75); word-break: break-all; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
