/* Kadıköy Su Tesisatçısı — main.css
   Zümrüt yeşili palet, mobile-first, WCAG AA, zero dependency.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-primary-dark: #064E3B;
  --color-primary:      #047857;
  --color-accent:       #059669;
  --color-accent-hover: #047857;
  --color-soft:         #ECFDF5;
  --color-mint:         #A7F3D0;

  --color-bg:           #FFFFFF;
  --color-surface:      #F9FAFB;
  --color-surface-2:    #F3F4F6;
  --color-text:         #111827;
  --color-text-2:       #4B5563;
  --color-text-3:       #6B7280;
  --color-border:       #E5E7EB;
  --color-border-strong:#D1D5DB;

  --color-success:      #10B981;
  --color-warning:      #F59E0B;
  --color-danger:       #DC2626;
  --color-info:         #0EA5E9;

  --color-wa:           #25D366;
  --color-wa-dark:      #128C7E;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 2px 6px rgba(15,23,42,.06);
  --shadow:    0 6px 20px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);

  --container:  1200px;
  --container-narrow: 960px;

  --header-h:   72px;
  --header-h-mobile: 64px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--color-text); }
a { color: var(--color-primary); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.3em; }
blockquote { margin: 0; padding-left: 1em; border-left: 3px solid var(--color-primary); color: var(--color-text-2); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus-visible {
  position: absolute;
  top: 0; left: 0;
  width: auto; height: auto; margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 12px 16px;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.container-narrow { max-width: var(--container-narrow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-size: 16px; font-weight: 600; line-height: 1;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: all .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); color: #fff; }

.btn-dark { background: var(--color-primary-dark); color: #fff; }
.btn-dark:hover { background: #052e23; color: #fff; }

.btn-outline { background: transparent; color: var(--color-primary-dark); border-color: var(--color-border-strong); }
.btn-outline:hover { background: var(--color-surface); color: var(--color-primary-dark); }

.btn-whatsapp { background: var(--color-wa); color: #fff; }
.btn-whatsapp:hover { background: var(--color-wa-dark); color: #fff; }

.btn-ghost { background: transparent; color: var(--color-primary-dark); border-color: transparent; }
.btn-ghost:hover { background: var(--color-soft); color: var(--color-primary-dark); }

.btn-lg  { min-height: 56px; font-size: 17px; padding: 14px 28px; }
.btn-sm  { min-height: 40px; font-size: 14px; padding: 8px 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo:hover { text-decoration: none; }
.logo img { width: 48px; height: 48px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { color: var(--color-primary-dark); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.logo-text small { color: var(--color-text-3); font-size: 12px; font-weight: 500; }

.primary-nav { display: none; }
.primary-nav > ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; align-items: center; }
.primary-nav > ul > li { position: relative; list-style: none; }
.primary-nav > ul > li > a {
  display: block; padding: 10px 14px;
  color: var(--color-text); font-weight: 500; font-size: 15px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover { background: var(--color-soft); color: var(--color-primary-dark); text-decoration: none; }
.primary-nav > ul > li > a[aria-current="page"] { color: var(--color-primary); background: var(--color-soft); }
.primary-nav .has-submenu > a span { font-size: 10px; margin-left: 4px; }

.submenu {
  display: none;
  flex-direction: column;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  margin: 4px 0 0; padding: 8px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 41;
}
.submenu li { list-style: none; width: 100%; margin: 0; }
.submenu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.submenu a:hover { background: var(--color-soft); color: var(--color-primary-dark); text-decoration: none; }
.submenu-all { border-top: 1px solid var(--color-border); margin-top: 4px; padding-top: 4px; }
.submenu-all a { font-weight: 600; color: var(--color-primary); }

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu { display: flex; }

.header-cta { display: none; }
.btn-phone svg { flex-shrink: 0; }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; border-radius: var(--radius-sm);
}
.hamburger:hover { background: var(--color-surface); }
.hamburger span {
  display: block; width: 22px; height: 2px; margin: 0 auto;
  background: var(--color-primary-dark); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .15s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: #fff; color: var(--color-text);
  overflow-y: auto;
  display: flex; flex-direction: column;
  padding-bottom: 32px;
  animation: slideDown .25s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--color-border);
}
.mobile-menu-head .logo img { width: 44px; height: 44px; }
.mobile-menu-head strong { color: var(--color-primary-dark); font-size: 16px; margin-left: 8px; }
.close-menu {
  background: transparent; border: 0; padding: 8px; color: var(--color-text);
  min-width: 44px; min-height: 44px; border-radius: 50%;
}
.close-menu:hover { background: var(--color-surface); }
.mobile-cta { display: grid; gap: 10px; padding: 20px; }
.mobile-nav { list-style: none; margin: 0; padding: 0 8px; }
.mobile-nav > li { border-bottom: 1px solid var(--color-border); }
.mobile-nav a { display: block; padding: 14px 16px; color: var(--color-text); font-size: 18px; font-weight: 500; text-decoration: none; }
.mobile-nav a:hover { background: var(--color-soft); text-decoration: none; }
.mobile-nav details summary { padding: 14px 16px; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-nav details summary::after { content: '▾'; font-size: 14px; color: var(--color-text-3); }
.mobile-nav details[open] summary::after { transform: rotate(180deg); }
.mobile-nav details ul { list-style: none; margin: 0; padding: 0 0 8px 16px; background: var(--color-surface); }
.mobile-nav details a { padding: 10px 16px; font-size: 16px; }
.mobile-menu-footer { padding: 20px; color: var(--color-text-3); font-size: 14px; text-align: center; margin-top: auto; }
.mobile-menu-footer p { margin: 4px 0; }

body.menu-open { overflow: hidden; }

/* ---------- Hero (soft mint tint, modern, professional) ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px);
  background:
    linear-gradient(170deg, #F0FDF4 0%, #F7FEF9 55%, #FFFFFF 100%);
  color: var(--color-text);
  overflow: hidden;
  isolation: isolate;
}
/* Sweet mint accent blobs */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(640px 440px at 92% -10%, rgba(52, 211, 153, 0.22), transparent 62%),
    radial-gradient(720px 520px at -5% 112%, rgba(6, 95, 70, 0.10), transparent 62%),
    radial-gradient(360px 260px at 40% 45%, rgba(167, 243, 208, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
/* Faint grid fading to edges — adds depth, stays sweet */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(4, 120, 87, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(4, 120, 87, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}
.hero-inner { display: grid; gap: clamp(32px, 5vw, 56px); position: relative; z-index: 1; align-items: center; }

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--color-soft);
  color: var(--color-primary);
  border: 1px solid rgba(4, 120, 87, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-text .eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text .eyebrow::before { animation: none; }
}

.hero h1 {
  color: var(--color-text);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--color-text-2);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
@media (max-width: 767px) {
  .hero .hero-cta { display: none; }
  .hero .hero-lead { margin-bottom: 24px; }
}
.hero .btn-primary {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}
.hero .btn-primary:hover {
  background: #052e23;
  color: #fff;
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.35);
}
.hero .btn-outline {
  color: var(--color-text);
  border-color: var(--color-border-strong);
  background: #fff;
}
.hero .btn-outline:hover {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.hero-stats div { padding-left: 0; border: 0; }
.hero-stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span {
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-media { position: relative; }
.hero-media::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-soft), rgba(16, 185, 129, 0.08));
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px -20px rgba(6, 78, 59, 0.25), 0 10px 30px -15px rgba(17, 24, 39, 0.12);
  border: 1px solid var(--color-border);
}

/* Subpage hero */
.subpage-hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
  overflow: hidden;
  position: relative;
}
.subpage-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(167,243,208,.18), transparent 60%);
  pointer-events: none;
}
.subpage-hero-inner { display: grid; gap: 32px; align-items: center; position: relative; z-index: 1; }
.subpage-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.subpage-hero .lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }
.subpage-hero .eyebrow {
  display: inline-block; color: var(--color-mint); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 8px;
}
.subpage-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.subpage-hero .btn-primary { background: #fff; color: var(--color-primary-dark); }
.subpage-hero .btn-primary:hover { background: var(--color-mint); }
.subpage-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-height: 380px; width: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-sm { padding: clamp(32px, 5vw, 56px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { display: inline-block; color: var(--color-primary); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--color-text-2); font-size: 1.05rem; }

.section-soft { background: var(--color-soft); }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-primary-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--color-mint); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), border-color .15s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--color-primary); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-2); }

.service-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.service-card:hover { text-decoration: none; color: inherit; }
.service-card-img { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--color-surface); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card h3 { color: var(--color-primary-dark); font-size: 1.2rem; }
.service-card p { flex: 1; font-size: 0.95rem; margin-bottom: 16px; }
.service-card .price-from { font-size: 13px; color: var(--color-primary); font-weight: 600; margin-bottom: 12px; }
.service-card .link { color: var(--color-primary); font-weight: 600; font-size: 14px; }
.service-card .link::after { content: ' →'; transition: transform .2s var(--ease); display: inline-block; }
.service-card:hover .link::after { transform: translateX(4px); }

.neighborhood-card { text-decoration: none; color: inherit; display: block; }
.neighborhood-card:hover { text-decoration: none; color: inherit; }
.neighborhood-card h3 { color: var(--color-primary-dark); font-size: 1.1rem; margin-bottom: 6px; }
.neighborhood-card p { color: var(--color-text-3); font-size: 0.92rem; margin: 0 0 6px; }
.neighborhood-card .time { color: var(--color-primary); font-size: 13px; font-weight: 600; }

/* Trust bar */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.trust-items {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.trust-item {
  display: flex; gap: 8px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.trust-item .ico {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-soft); color: var(--color-primary);
  border-radius: 12px;
}
.trust-item strong { display: block; color: var(--color-primary-dark); font-size: 13px; line-height: 1.25; }
.trust-item span { color: var(--color-text-3); font-size: 11px; line-height: 1.3; }

/* Testimonial card */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.testimonial .stars { color: var(--color-warning); letter-spacing: 2px; font-size: 16px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 14px; padding-left: 0; border: 0; color: var(--color-text); font-size: 15px; line-height: 1.6; }
.testimonial .author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-3); }
.testimonial .author strong { color: var(--color-text); font-weight: 600; font-size: 14px; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  margin-bottom: 10px; padding: 0;
  transition: border-color .15s var(--ease);
}
.faq details[open] { border-color: var(--color-primary); }
.faq summary {
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 16px; color: var(--color-text);
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--color-primary); font-size: 22px; font-weight: 400; flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details .ans { padding: 0 22px 18px; color: var(--color-text-2); line-height: 1.7; }
.faq details .ans p:last-child { margin-bottom: 0; }

/* Content prose */
.prose { color: var(--color-text); font-size: 17px; line-height: 1.75; max-width: 72ch; }
.prose h2 { margin-top: 1.4em; color: var(--color-primary-dark); }
.prose h3 { margin-top: 1.2em; color: var(--color-primary-dark); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--color-primary-dark); }
.prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.wa-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-xs);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--color-text); }
.form-field .req { color: var(--color-danger); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px;
  background: #fff;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius);
  font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; padding: 12px 14px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(4,120,87,0.15);
  outline: 0;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: var(--color-danger); }
.field-err { color: var(--color-danger); font-size: 13px; margin: 0; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--color-text-2);
  margin: 16px 0;
}
.consent input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-primary); flex-shrink: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 13px; color: var(--color-text-3); margin-top: 10px; text-align: center; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 15px; border: 1px solid transparent; }
.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border-color: #FCA5A5; }
.alert-warning { background: #FFFBEB; color: #92400E; border-color: #FCD34D; }
.alert-info { background: #EFF6FF; color: #1E3A8A; border-color: #BFDBFE; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 16px 0; font-size: 14px; color: var(--color-text-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li:not(:first-child)::before { content: '›'; margin: 0 8px; color: var(--color-text-3); }
.breadcrumb a { color: var(--color-text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li[aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--color-surface); position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; font-size: 14px; }

/* Brands strip */
.brands-strip { padding: 40px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.brands-head { text-align: center; color: var(--color-text-3); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.brands-row img { height: 36px; width: auto; filter: grayscale(0.6) opacity(0.6); transition: filter .18s var(--ease); }
.brands-row img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Floating CTA — mobile floating dock ---------- */
.floating-cta { display: none; }
.fab-label { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }

@media (max-width: 767px) {
  body { padding-bottom: 92px; }

  .floating-cta {
    display: flex;
    flex-direction: row;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .fab {
    flex: 1 1 0;
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    width: auto; height: 58px;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
  }
  /* Glossy top highlight */
  .fab::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .fab svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
  .fab .fab-label { position: relative; z-index: 1; }

  .fab:active { transform: translateY(1px) scale(0.985); }
  .fab:hover { color: #fff; text-decoration: none; filter: brightness(1.05); }

  /* Emergency call — red gradient, subtle pulse ring */
  .fab-call {
    background: linear-gradient(180deg, #EF4444 0%, #DC2626 100%);
    box-shadow:
      0 10px 24px -6px rgba(220, 38, 38, 0.55),
      0 4px 10px rgba(15, 23, 42, 0.12),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  }
  .fab-call::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
  }
  @keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .fab-call::after { animation: none; }
  }

  /* WhatsApp — brand gradient */
  .fab-wa {
    background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
    box-shadow:
      0 10px 24px -6px rgba(18, 140, 126, 0.5),
      0 4px 10px rgba(15, 23, 42, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.14);
  }
}

/* ---------- Sale popup (site satılık/kiralık) ---------- */
.sale-popup {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: sale-fade-in .2s var(--ease);
}
.sale-popup[hidden] { display: none; }
@keyframes sale-fade-in { from { opacity: 0; } to { opacity: 1; } }

.sale-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sale-popup-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .4), 0 10px 30px rgba(15, 23, 42, .15);
  padding: 28px 24px 24px;
  animation: sale-slide-up .28s var(--ease);
}
@keyframes sale-slide-up {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .sale-popup, .sale-popup-card { animation: none; }
}

.sale-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #F3F4F6; border: 0; border-radius: 50%;
  color: #4B5563; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.sale-popup-close:hover { background: #E5E7EB; color: #111827; }

.sale-popup-head { text-align: center; margin-bottom: 12px; }
.sale-eyebrow {
  margin: 0 0 6px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em;
  color: #DC2626;
  text-transform: uppercase;
}
.sale-popup-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4.2vw, 1.9rem);
  font-weight: 800;
  color: #DC2626;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sale-popup-lead {
  margin: 0 0 20px;
  padding: 16px 0 0;
  border-top: 1px solid #FEE2E2;
  color: #4B5563;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.sale-popup-form { display: flex; flex-direction: column; gap: 10px; }

.sale-option { display: block; cursor: pointer; }
.sale-option input[type="radio"] {
  position: absolute;
  opacity: 0; pointer-events: none;
}
.option-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s, background-color .15s, box-shadow .15s, transform .1s;
}
.sale-option:hover .option-card { border-color: #6EE7B7; background: #F0FDF4; }
.sale-option input[type="radio"]:checked + .option-card {
  border-color: var(--color-accent);
  background: #ECFDF5;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .15);
}
.sale-option input[type="radio"]:focus-visible + .option-card {
  outline: 3px solid rgba(16, 185, 129, .35);
  outline-offset: 2px;
}
.option-emoji {
  flex-shrink: 0;
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
}
.option-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.option-body strong { font-size: 15px; color: #111827; font-weight: 700; letter-spacing: -0.01em; }
.option-detail { font-size: 13px; color: #6B7280; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.price-input {
  flex-shrink: 0;
  width: 72px;
  padding: 4px 8px;
  font: inherit; font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  border: 0; border-bottom: 1.5px dashed rgba(16, 185, 129, .5);
  border-radius: 0;
  outline: none;
  transition: border-color .15s, background-color .15s;
}
.price-input:focus {
  border-bottom-color: var(--color-primary);
  background: rgba(16, 185, 129, .06);
}

.sale-message-label { display: block; margin-top: 4px; }
.sale-message-label textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #FAFAFA;
  font: inherit; font-size: 14px;
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
  color: #111827;
  transition: border-color .15s, background-color .15s;
}
.sale-message-label textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.sale-message-label textarea::placeholder { color: #9CA3AF; }

.sale-submit {
  margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: 0; border-radius: 14px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(18, 140, 126, .4);
  transition: transform .15s, box-shadow .15s, filter .15s, opacity .15s;
}
.sale-submit:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 10px 26px -4px rgba(18, 140, 126, .5); }
.sale-submit:active:not(:disabled) { transform: translateY(1px); }
.sale-submit:disabled {
  background: linear-gradient(180deg, #A7F3D0 0%, #6EE7B7 100%);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .85;
}

body.sale-popup-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark); color: #D1FAE5;
  padding: clamp(48px, 6vw, 72px) 0 24px;
  margin-top: 64px;
}
.site-footer p,
.site-footer li,
.site-footer address,
.site-footer span:not(.sr-only) { color: inherit; }
.site-footer a { color: #D1FAE5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 28px 20px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
}
/* Mobile: brand + contact span full width, others (Hizmetler / Mahalleler / Kurumsal / Yasal) sit 2-up */
.footer-brand,
.footer-contact { grid-column: 1 / -1; }
.footer-brand { max-width: 100%; }
@media (max-width: 639px) {
  .footer-neighborhoods { columns: 1; }
  .footer-col h2 { font-size: 13px; margin-bottom: 12px; }
  .footer-col li { margin-bottom: 6px; }
  .footer-col a { font-size: 13px; }
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; text-decoration: none; }
.footer-logo img { width: 56px; height: 56px; background: #fff; border-radius: var(--radius); padding: 6px; }
.footer-logo strong { color: #fff; font-size: 18px; }
.footer-tagline { color: var(--color-mint); font-weight: 600; margin-bottom: 12px; }
.footer-about { color: rgba(209,250,229,0.8); font-size: 14px; line-height: 1.6; }
.footer-col h2 { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; }
.footer-neighborhoods { columns: 2; }
.footer-contact address { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer-contact p { margin: 4px 0; color: rgba(209,250,229,0.85); }
.footer-contact strong { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: #D1FAE5;
  text-align: center;
  line-height: 1.6;
}
.footer-bottom p { margin: 0; color: #D1FAE5; }
.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  transition: text-decoration-color .15s var(--ease);
}
.footer-bottom a:hover { text-decoration-color: #fff; }

/* ---------- Error / UX states ---------- */
.error-page {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh; text-align: center; padding: 48px 16px;
}
.error-page .code {
  font-size: clamp(4rem, 12vw, 8rem); font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 8px;
}
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--color-text-2); max-width: 560px; font-size: 17px; margin-bottom: 24px; }
.error-page .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.gap-2 { gap: 16px; }

.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }

.pill { display: inline-block; padding: 4px 10px; background: var(--color-soft); color: var(--color-primary-dark); border-radius: 999px; font-size: 12px; font-weight: 600; }

/* ---------- Two-column content ---------- */
.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; }

/* ---------- Responsive: sm (≥640px) ---------- */
@media (min-width: 640px) {
  .trust-items { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .trust-item { flex-direction: row; text-align: left; gap: 12px; align-items: flex-start; }
  .trust-item .ico { width: 44px; height: 44px; }
  .trust-item strong { font-size: 15px; }
  .trust-item span { font-size: 13px; }
  .footer-brand { max-width: 360px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: md (≥768px) ---------- */
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .subpage-hero-inner { grid-template-columns: 1.2fr 1fr; }
  .two-col { grid-template-columns: 2fr 1fr; }
  .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
}

/* ---------- Responsive: lg (≥1024px) ---------- */
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .floating-cta { display: none; }
  body { color: #000; background: #fff; }
  .hero { background: #fff; color: #000; }
}
