/* ==========================================================================
   TEMALAR
   1) Mali Müşavir Mavisi (data-theme="mali-mavi") — Varsayılan
   2) Lacivert & Altın   (data-theme="lacivert-altin") — Alternatif
   ========================================================================== */

:root,
[data-theme="mali-mavi"] {
  --brand-950: #062145;
  --brand-900: #0b356b;
  --brand-800: #124d96;
  --brand-700: #1b66c2;
  --accent: #2575d6;
  --accent-hover: #1b5eb0;
  --accent-on-dark: #7cc0ff;
  --accent-text-on-solid: #ffffff;
  --accent-soft: rgba(27, 102, 194, 0.11);
  --accent-border-dark: rgba(124, 192, 255, 0.48);
  --accent-glow: rgba(37, 117, 214, 0.34);
  --badge-text: #dbeeff;
  --badge-dot: #60b3ff;
  --badge-dot-ring: rgba(96, 179, 255, 0.28);
  --brand-mark-bg: #0b356b;
  --brand-mark-ring: #60b3ff;
  --header-glass: rgba(6, 33, 69, 0.42);
  --strip-glass: rgba(6, 33, 69, 0.80);
  --hero-scrim:
    linear-gradient(96deg, rgba(5, 27, 58, 0.93) 0%, rgba(11, 53, 107, 0.78) 48%, rgba(18, 77, 150, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 27, 58, 0.42) 0%, rgba(11, 53, 107, 0.08) 45%, rgba(5, 27, 58, 0.86) 100%);
  --dark-section-bg: linear-gradient(135deg, #062145 0%, #0b356b 55%, #124d96 100%);
  --grid-line-dark: rgba(148, 197, 255, 0.06);
  --grid-line-light: rgba(11, 53, 107, 0.045);
  --icon-fg-on-brand: #8ac7ff;
  --icon-fg-hover: #ffffff;
  --tint: #f1f6fc;
  --border: #dce6f2;
  --border-strong: #c2d3e8;
  --ink: #0b2240;
  --ink-secondary: #3f556f;
  --ink-muted: #5d738d;
  --white: #ffffff;
  --whatsapp: #1ea851;
  --whatsapp-hover: #178e43;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(11, 53, 107, 0.06);
  --shadow-md: 0 14px 36px rgba(11, 53, 107, 0.09);
  --shadow-lg: 0 24px 54px rgba(6, 33, 69, 0.20);
  --container: 1180px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="lacivert-altin"] {
  --brand-950: #071220;
  --brand-900: #0b192c;
  --brand-800: #13294b;
  --brand-700: #1e3a5f;
  --accent: #c8a25a;
  --accent-hover: #b68e44;
  --accent-on-dark: #e6c687;
  --accent-text-on-solid: #071220;
  --accent-soft: rgba(200, 162, 90, 0.14);
  --accent-border-dark: rgba(200, 162, 90, 0.45);
  --accent-glow: rgba(200, 162, 90, 0.28);
  --badge-text: #f3dfb8;
  --badge-dot: #c8a25a;
  --badge-dot-ring: rgba(200, 162, 90, 0.22);
  --brand-mark-bg: #0b192c;
  --brand-mark-ring: #c8a25a;
  --header-glass: rgba(11, 25, 44, 0.40);
  --strip-glass: rgba(7, 18, 32, 0.78);
  --hero-scrim:
    linear-gradient(96deg, rgba(7, 18, 32, 0.91) 0%, rgba(11, 25, 44, 0.72) 48%, rgba(11, 25, 44, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 18, 32, 0.40) 0%, rgba(7, 18, 32, 0.08) 45%, rgba(7, 18, 32, 0.84) 100%);
  --dark-section-bg: linear-gradient(135deg, #071220 0%, #0b192c 55%, #13294b 100%);
  --grid-line-dark: rgba(230, 198, 135, 0.055);
  --grid-line-light: rgba(11, 25, 44, 0.04);
  --icon-fg-on-brand: #c8a25a;
  --icon-fg-hover: #071220;
  --tint: #f4f6fa;
  --border: #e3e8ef;
  --border-strong: #cdd6e2;
  --ink: #0f1f33;
  --ink-secondary: #435368;
  --ink-muted: #64748b;
  --shadow-sm: 0 2px 10px rgba(11, 25, 44, 0.05);
  --shadow-md: 0 14px 36px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 54px rgba(7, 18, 32, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--header-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .brand-name {
  color: var(--brand-900);
}

.site-header.is-scrolled .brand-sub {
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: var(--white);
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-secondary);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--brand-900);
}

.site-nav a.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text-on-solid);
  font-weight: 700;
}

.site-nav a.nav-phone:hover {
  background: var(--accent-hover);
  color: var(--accent-text-on-solid);
}

.site-header.is-scrolled .site-nav a.nav-phone {
  background: var(--brand-900);
  color: var(--white);
}

.site-header.is-scrolled .site-nav a.nav-phone:hover {
  background: var(--brand-800);
  color: var(--white);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--border-strong);
  background: var(--white);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--brand-900);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--brand-950);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
  transition: background 0.3s ease;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding: clamp(138px, 17vh, 186px) 0 clamp(60px, 7vh, 88px);
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-border-dark);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--badge-dot);
  box-shadow: 0 0 0 4px var(--badge-dot-ring);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.38vw, 1.14rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 62ch;
  margin-bottom: 34px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-text-on-solid);
  box-shadow: 0 10px 24px var(--accent-glow);
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-whatsapp {
  background: rgba(30, 168, 81, 0.94);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  background: var(--brand-900);
  color: var(--white);
}

.btn-primary-sm:hover {
  background: var(--brand-800);
}

/* Hero Bottom Institutional Strip */
.hero-strip {
  position: relative;
  z-index: 1;
  background: var(--strip-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-item {
  padding: 20px 22px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.strip-item:not(:first-child) {
  padding-left: 24px;
}

.strip-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.strip-label {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-on-dark);
}

.strip-item strong {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--white);
}

/* Generic Sections */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-white {
  background: var(--white);
}

.section-tint {
  background-color: var(--tint);
  background-image:
    radial-gradient(var(--grid-line-light) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--dark-section-bg);
  color: var(--white);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head {
  max-width: 68ch;
  margin-bottom: 48px;
}

.section-head h2,
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.38rem);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--ink-secondary);
}

.section-head-light .eyebrow {
  color: var(--accent-on-dark);
}

.section-head-light .eyebrow::before {
  background: var(--accent-on-dark);
}

.section-head-light h2 {
  color: var(--white);
}

.section-head-light .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--brand-900);
  color: var(--icon-fg-on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--icon-fg-hover);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--border-strong);
  letter-spacing: 0.04em;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 9px;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.855rem;
  line-height: 1.48;
  color: var(--ink);
  font-weight: 500;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--brand-900);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  right: 18px;
  bottom: -20px;
  background: var(--brand-900);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-on-dark);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-badge-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white);
}

.about-badge-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
}

.about-lead {
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

.about-body {
  font-size: 0.96rem;
  margin-bottom: 26px;
}

.pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.pillars-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pillar-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pillar-check svg {
  width: 15px;
  height: 15px;
}

.pillars-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.pillars-list span {
  font-size: 0.885rem;
  color: var(--ink-secondary);
}

/* Misyon & Vizyon Cards */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}

.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-900);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.mv-card:last-child {
  border-top-color: var(--accent);
}

.mv-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mv-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* Official Portals & Tax Calendar (Dark Section) */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 46px 22px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portal-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-on-dark);
  transform: translateY(-2px);
}

.portal-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.portal-org {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.portal-arrow {
  position: absolute;
  right: 20px;
  top: 22px;
  color: var(--accent-on-dark);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.portal-tile:hover .portal-arrow {
  transform: translate(2px, -2px);
}

.calendar-panel {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.calendar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.calendar-head h3 {
  font-size: 1.06rem;
  color: var(--white);
}

.calendar-head span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.calendar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-day {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-on-dark);
}

.calendar-item strong {
  font-size: 0.96rem;
  color: var(--white);
}

.calendar-item span:last-child {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

/* Contact & Google Maps */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-channel:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

a.contact-channel-wa:hover {
  border-color: var(--whatsapp);
}

.channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.channel-primary {
  background: var(--brand-900);
  color: var(--white);
}

.channel-wa {
  background: var(--whatsapp);
  color: var(--white);
}

.channel-accent-soft {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.channel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.phone-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.channel-value-sub {
  font-size: 0.98rem;
  color: var(--ink-secondary);
}

.channel-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.channel-address {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
}

.channel-hint {
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.copy-btn {
  padding: 4px 11px;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-900);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.copy-btn:hover {
  border-color: var(--brand-900);
  background: var(--tint);
}

/* Map Card */
.map-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 450px;
}

.map-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 365px;
  background: var(--tint);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 365px;
  border: 0;
  display: block;
}

/* Mobil dokunmatik harita örtüsü (masaüstünde gizli, telefonda doğrudan Haritalar uygulamasını açar) */
.mobile-map-overlay {
  display: none;
}

.mobile-dock {
  display: none;
}

.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.map-footer strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
}

.map-footer span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.76);
  padding: 52px 0 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-slot:empty {
  display: none;
}

.footer-logo-slot img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  font-size: 1.12rem;
  color: var(--white);
}

.footer-brand span {
  font-size: 0.88rem;
}

.footer-domain {
  color: var(--accent-on-dark);
  font-weight: 600;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 82ch;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.back-top {
  color: var(--accent-on-dark);
  font-weight: 600;
}

.back-top:hover {
  text-decoration: underline;
}

/* Önizleme Tema Karşılaştırıcı (Sol Alt) */
.theme-switcher {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.theme-switcher[hidden] {
  display: none;
}

.theme-switcher-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-right: 2px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.theme-btn:hover {
  background: var(--tint);
  color: var(--ink);
}

.theme-btn.is-active {
  background: var(--brand-900);
  color: var(--white);
}

.swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.swatch-mavi {
  background: linear-gradient(135deg, #0b356b 50%, #2575d6 50%);
}

.swatch-altin {
  background: linear-gradient(135deg, #0b192c 50%, #c8a25a 50%);
}

/* Floating WhatsApp Button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(30, 168, 81, 0.38);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(30, 168, 81, 0.45);
}

.whatsapp-fab svg {
  width: 22px;
  height: 22px;
}

/* Subtle reveal animation */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .portals-grid,
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
  }

  .strip-item:not(:first-child) {
    padding-left: 0;
  }

  .about-grid,
  .contact-layout,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .about-badge-card {
    bottom: 14px;
    right: 14px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark,
  .brand-mark img.brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-sub {
    display: block;
    font-size: 0.68rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: var(--ink) !important;
    padding: 12px 10px;
    border-radius: 8px;
  }

  .site-nav a.nav-phone {
    justify-content: center;
    margin-top: 8px;
    background: var(--brand-900);
    color: var(--white) !important;
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    padding: 106px 0 42px;
  }

  .hero-badge {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 1.82rem;
    line-height: 1.16;
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.62;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.94rem;
  }

  .hero-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .strip-item {
    padding: 13px 0;
  }

  .strip-label {
    font-size: 0.66rem;
  }

  .strip-item strong {
    font-size: 0.84rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2,
  .about-content h2 {
    font-size: 1.52rem;
  }

  .services-grid,
  .portals-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 22px 20px;
  }

  .about-badge-card {
    position: static;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
  }

  .mv-grid {
    margin-top: 28px;
    gap: 14px;
  }

  .mv-card {
    padding: 22px 20px;
  }

  .calendar-panel {
    padding: 20px 18px;
    margin-top: 22px;
  }

  .contact-channel {
    padding: 16px;
    gap: 14px;
  }

  .channel-icon {
    width: 44px;
    height: 44px;
  }

  .channel-value {
    font-size: 0.98rem;
  }

  .map-card {
    min-height: 320px;
  }

  .map-frame-wrap,
  .map-frame-wrap iframe {
    min-height: 250px;
  }

  /* Mobilde haritaya dokununca doğrudan Haritalar uygulamasını aç */
  .mobile-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(180deg, rgba(6, 33, 69, 0.04) 40%, rgba(6, 33, 69, 0.45) 100%);
  }

  .mobile-map-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--brand-900);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(6, 33, 69, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .mobile-map-pill svg {
    width: 17px;
    height: 17px;
    color: var(--accent-on-dark);
  }

  .map-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .map-footer .btn-primary-sm {
    width: 100%;
    padding: 12px 16px;
  }

  .site-footer {
    padding: 40px 0 calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .theme-switcher {
    display: none !important;
  }

  /* Masaüstü yüzen WhatsApp yerine mobilde 3'lü sabit alt çubuk */
  .whatsapp-fab {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(6, 33, 69, 0.12);
  }

  .dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 8px;
    border-radius: 10px;
    background: var(--tint);
    color: var(--brand-900);
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid var(--border);
  }

  .dock-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .dock-btn-wa {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
  }

  .dock-btn-map {
    background: var(--brand-900);
    color: var(--white);
    border-color: var(--brand-900);
  }
}
