/* ═══════════════════════════════════════════════════════════════
   DILAMED — Main CSS
   Colors: #0a0a0a (black), #fff (white), #c9a96e (gold), #faf8f5 (cream)
   Fonts : Playfair Display (headings), Poppins (body)
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black:    #0a0a0a;
  --white:    #ffffff;
  --gold:     #c9a96e;
  --gold-dk:  #a8884e;
  --cream:    #faf8f5;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-500: #888;
  --gray-700: #444;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins', system-ui, sans-serif;
  --radius:   4px;
  --shadow:   0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:0 12px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { margin-bottom: 1rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: .9rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--white); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--gray-700); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

.btn-ig {
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: var(--white);
  border: none;
  font-size: .8rem;
  padding: 8px 20px;
}
.btn-ig:hover { opacity: .9; color: var(--white); }

.btn-ig-sm {
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: var(--white);
  border: none;
  font-size: .75rem;
  padding: 6px 14px;
  border-radius: 3px;
}
.btn-sm { padding: 8px 20px; font-size: .8rem; }

/* ── Section Helpers ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-sub {
  display: block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.section-title { margin-bottom: 16px; }
.title-line {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  overflow: visible;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 8px 10px;
  color: var(--black);
  text-transform: uppercase;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--gold); }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  border-top: 2px solid var(--gold);
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: .85rem;
  color: var(--gray-700);
}
.nav-menu .sub-menu li a:hover { color: var(--gold); background: var(--cream); }

.header-cta { font-size: .8rem; padding: 10px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb .container {
  padding: 12px 24px;
  font-size: .82rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.5) 100%);
}
/* Animated gold shimmer */
.hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201,169,110,.04), transparent 60%);
  animation: shimmer 12s linear infinite;
}
@keyframes shimmer { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}
.hero-tagline {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,.4);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 32px;
  background: rgba(201,169,110,.06);
}
.hero-logo {
  width: 240px;
  max-width: 60vw;
  margin: 0 auto 28px;
  filter: brightness(0) invert(1);
}
.hero-subtitle {
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.8)} 50%{opacity:1;transform:scaleY(1)} }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 72px; /* header height */
}
.page-hero-sm {
  height: 280px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1e1e1e 100%);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.3));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
  color: var(--white);
}
.page-hero-content h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero-content p { color: rgba(255,255,255,.7); margin: 8px 0 0; font-size: .95rem; }
.page-hero-content::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 12px;
}

/* ── Stats Strip ────────────────────────────────────────────── */
.stats-strip {
  background: var(--cream);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 48px 0;
}
.stats-strip-dark { background: var(--black); }
.stats-strip-dark .stat-number { color: var(--gold); }
.stats-strip-dark .stat-label { color: rgba(255,255,255,.6); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ── Services ───────────────────────────────────────────────── */
.section-services { padding: 100px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: inherit; }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-icon svg { stroke: var(--gold); }

.service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 20px;
}
.service-icon svg { width: 36px; height: 36px; stroke: var(--black); transition: stroke var(--transition); }
.service-name { font-size: 1rem; font-weight: 600; margin-bottom: 4px; color: var(--black); }
.service-count { font-size: .78rem; color: var(--gray-500); margin-bottom: 12px; }
.service-arrow { font-size: 1.2rem; color: var(--gold); transition: transform var(--transition); }
.service-card:hover .service-arrow { transform: translateX(4px); }

/* Services Page */
.section-services-page { padding: 80px 0; }
.service-category-block { margin-bottom: 72px; }
.service-cat-header { margin-bottom: 40px; }
.service-cat-header h2 { font-size: 1.8rem; }
.service-cat-header .title-line { margin: 12px 0; }

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-item-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-item-thumb { height: 200px; overflow: hidden; }
.service-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.service-item-card:hover .service-item-thumb img { transform: scale(1.04); }
.service-item-body { padding: 24px; }
.service-item-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-item-body p { font-size: .88rem; color: var(--gray-500); margin-bottom: 12px; }

/* ── About Section ──────────────────────────────────────────── */
.section-about {
  padding: 100px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-frame {
  position: relative;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 60%;
  height: 60%;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}
.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%;
  height: 60%;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}
.about-img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f9f7f4; padding: 24px; }
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-year { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; }
.badge-text { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

.about-text .section-sub { margin-bottom: 8px; }
.about-text .section-title { margin-bottom: 16px; }
.about-text .title-line { margin: 0 0 24px; }
.about-text p { font-size: .95rem; margin-bottom: 16px; }

.about-features { margin: 20px 0 28px; }
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-200);
}
.check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Timeline ───────────────────────────────────────────────── */
.section-story { padding: 100px 0; background: var(--cream); }
.section-milestones { padding: 80px 0; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 91px;
  top: 40px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  width: 80px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  padding-top: 24px;
  text-align: right;
}
.timeline-content {
  flex: 1;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* ── Values ─────────────────────────────────────────────────── */
.section-values { padding: 80px 0; background: var(--black); }
.section-values .section-title { color: var(--white); }
.section-values .section-sub { color: var(--gold); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 40px 28px;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.value-card:hover { border-color: var(--gold); background: rgba(201,169,110,.04); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: rgba(255,255,255,.55); font-size: .88rem; margin: 0; }

/* Founder quote */
.founder-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  background: rgba(201,169,110,.06);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--black);
}

/* ── Instagram ──────────────────────────────────────────────── */
.section-instagram { padding: 80px 0; background: var(--white); }

.ig-feed-block {
  margin-bottom: 64px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ig-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--gray-200);
}
.ig-profile-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.ig-profile-info strong { display: block; font-size: .9rem; color: var(--black); }
.ig-profile-info span { font-size: .78rem; color: var(--gray-500); }

.ig-posts-slider {
  position: relative;
  padding: 20px;
  overflow: hidden;
}
.ig-posts-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.ig-posts-track::-webkit-scrollbar { display: none; }

.ig-post-item {
  flex: 0 0 calc(100% / 5 - 10px);
  min-width: 140px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.ig-post-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.ig-post-item:hover img { transform: scale(1.06); }
.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--white);
  text-align: center;
  font-size: .75rem;
}
.ig-post-item:hover .ig-post-overlay { opacity: 1; }
.ig-heart { font-size: .9rem; margin-bottom: 6px; }

.ig-skeleton {
  flex: 0 0 calc(100% / 5 - 10px);
  min-width: 140px;
  aspect-ratio: 1;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes skeleton { 0%{background-position:200%} 100%{background-position:-200%} }

.ig-loading { display: flex; gap: 12px; width: 100%; }

.ig-prev, .ig-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  z-index: 10;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.ig-prev:hover, .ig-next:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.ig-prev { left: 8px; }
.ig-next { right: 8px; }

.ig-fallback { padding: 32px; text-align: center; }

/* ── Branches Home ──────────────────────────────────────────── */
.section-branches-home { padding: 80px 0; background: var(--cream); }
.branches-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.branch-home-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
}
.branch-home-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.branch-city-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}
.branch-home-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.branch-phone { font-size: .82rem; color: var(--gray-500); margin-bottom: 14px; }
.branch-home-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ── Branches Page ──────────────────────────────────────────── */
.section-branches-page { padding: 60px 0 100px; }

.branches-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  border: 1px solid var(--gray-200);
}
.branches-map { height: 420px; }

.branches-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.branch-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition);
  background: var(--white);
}
.branch-card:hover { box-shadow: var(--shadow); }

.branch-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.branch-card.open .branch-card-header { border-color: var(--gold); }
.branch-icon { color: var(--gold); flex-shrink: 0; }
.branch-title { flex: 1; font-size: 1.05rem; font-family: var(--font-heading); }
.branch-toggle {
  color: var(--gray-500);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.branch-card.open .branch-toggle { transform: rotate(180deg); color: var(--gold); }

.branch-card-body {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  display: none;
}
.branch-card.open .branch-card-body { display: block; }

.branch-info-grid { margin-bottom: 16px; }
.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--gray-100);
}
.bi-icon { flex-shrink: 0; }
.branch-info-item a { color: var(--gold); }
.branch-info-item a:hover { color: var(--gold-dk); }

.branch-form-toggle { margin-top: 16px; }
.branch-contact-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--gray-200); }
.branch-contact-form h4 { font-size: .95rem; margin-bottom: 12px; color: var(--gray-700); }

/* ── Blog ────────────────────────────────────────────────────── */
.section-blog { padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-thumb { height: 220px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 24px; }
.blog-date { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p { font-size: .88rem; color: var(--gray-500); margin-bottom: 12px; }
.read-more { font-size: .82rem; color: var(--gold); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.read-more:hover { color: var(--gold-dk); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.section-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a, #1e1e1e);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(201,169,110,.02) 40px, rgba(201,169,110,.02) 41px);
}
.cta-banner-content {
  position: relative;
  z-index: 2;
}
.cta-banner-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner-content p { color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 32px; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ─────────────────────────────────────────────────── */
.section-contact { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-sub { margin-bottom: 8px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info .title-line { margin: 0 0 20px; }
.contact-info p { font-size: .95rem; margin-bottom: 24px; color: var(--gray-500); }

.contact-details { margin-bottom: 28px; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cd-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail-item strong { display: block; font-size: .85rem; margin-bottom: 2px; color: var(--black); }
.contact-detail-item span, .contact-detail-item a { font-size: .88rem; color: var(--gray-500); }
.contact-detail-item a:hover { color: var(--gold); }

.contact-social { margin-top: 20px; }
.contact-social p { font-size: .85rem; margin-bottom: 10px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 4px;
  font-size: .82rem;
  margin-right: 10px;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.social-btn:hover { opacity: .9; color: var(--white); }

.contact-form-wrap {
  background: var(--cream);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 { font-size: 1.3rem; margin-bottom: 24px; }

.contact-map-wrap { border-top: 1px solid var(--gray-200); }

/* ── CF7 Styles ─────────────────────────────────────────────── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  margin-bottom: 4px;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form p { margin-bottom: 12px; }
.wpcf7-form input[type="submit"] {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.wpcf7-form input[type="submit"]:hover { background: var(--gold-dk); }

/* ── Single Post ────────────────────────────────────────────── */
.section-single { padding: 60px 0 80px; }
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
.single-featured { margin-bottom: 28px; border-radius: 8px; overflow: hidden; }
.single-featured img { width: 100%; max-height: 500px; object-fit: cover; }
.entry-content { font-size: .95rem; line-height: 1.8; }
.entry-content h2,.entry-content h3 { margin: 28px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content img { border-radius: 6px; margin: 16px 0; }
.entry-content a { color: var(--gold); text-decoration: underline; }

.post-tags { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-200); font-size: .85rem; color: var(--gray-500); }
.post-tags a { color: var(--gold); margin: 0 4px; }

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.post-nav-prev,.post-nav-next { font-size: .85rem; color: var(--gold); font-weight: 500; }
.post-nav-next { text-align: right; }

/* Sidebar */
.single-sidebar {}
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.sidebar-links li { padding: 6px 0; border-bottom: 1px solid var(--gray-100); font-size: .88rem; }
.sidebar-links a:hover { color: var(--gold); }

/* ── Archive ─────────────────────────────────────────────────── */
.section-archive { padding: 60px 0 80px; }
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: .85rem;
  color: var(--black);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── Page Content ───────────────────────────────────────────── */
.section-page-content { padding: 60px 0 80px; }
.page-content-wrap { max-width: 800px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,.6); }
.footer-top { padding: 72px 0 56px; border-bottom: 1px solid rgba(255,255,255,.08); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-desc { font-size: .84rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

.footer-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .95rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,169,110,.3);
}
.footer-links li { padding: 5px 0; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  background: rgba(0,0,0,.4);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-inner strong { color: var(--gold); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { bottom: -20px; right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { left: 80px; }
  .timeline-year { width: 60px; }
  .timeline-item::before { left: 71px; }
}

@media (max-width: 768px) {
  .site-header .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
    border-top: 2px solid var(--gold);
    box-sizing: border-box;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-menu { flex-direction: column; gap: 0; }
  .nav-menu > li > a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--gray-100); }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--cream);
    border-top: none;
  }
  .main-nav .btn { margin: 12px 24px; display: block; text-align: center; }

  .hero-logo { width: 180px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-list { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { position: static; margin-top: 16px; display: inline-block; }
  .about-img-frame::before,.about-img-frame::after { display: none; }

  .timeline::before { display: none; }
  .timeline-item { flex-direction: column; gap: 8px; }
  .timeline-item::before { display: none; }
  .timeline-year { width: auto; text-align: left; padding: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .ig-post-item { flex: 0 0 calc(50% - 6px); min-width: 120px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .branches-home-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}
.hero-slide.slide-out {
  opacity: 0;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}

/* Animate-up keyframe */
@keyframes animUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-slide.active .animate-up {
  animation: animUp .7s ease both;
}
.hero-slide:not(.active) .animate-up {
  opacity: 0;
  transform: translateY(28px);
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero-slide-title em {
  font-style: italic;
  color: var(--gold);
}

/* Slider Controls */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hero-prev:hover, .hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: none;
}
.hero-progress-bar.animating {
  transition: width 5s linear;
  width: 100%;
}

/* ── Additional Animations ─────────────────────────────────── */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Apply animations on section-header elements */
.section-header {
  animation: fadeInLeft .6s ease both;
}
.service-card:nth-child(odd) { animation-name: fadeInLeft; }
.service-card:nth-child(even) { animation-name: fadeInRight; }

/* Hover lift effect for cards */
.service-card,
.branch-home-card,
.blog-card,
.value-card,
.service-item-card {
  will-change: transform;
}

/* ── Smooth section transitions ───────────────────────────── */
section {
  position: relative;
}

/* Gold divider between sections */
.stats-strip::before,
.section-about::before,
.section-instagram::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--gold);
}

/* ── Pulse animation for CTA buttons ──────────────────────── */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(201,169,110,0); }
}
.hero-btns .btn-gold {
  animation: pulse 2.5s ease-in-out infinite;
}
.hero-btns .btn-gold:hover {
  animation: none;
}

/* ── Scroll reveal class ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Single Hizmet ─────────────────────────────────────────── */
.section-single-hizmet { padding: 60px 0 80px; }
.single-hizmet-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.service-lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}
.hizmet-cta-box {
  margin-top: 40px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}
.hizmet-cta-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.hizmet-cta-box p { font-size: .88rem; color: var(--gray-500); margin-bottom: 16px; }
.hizmet-cta-box .btn { margin-right: 10px; margin-bottom: 8px; }

.sidebar-cta {
  background: var(--black);
  padding: 24px;
  border-radius: 6px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 16px; }

@media (max-width: 768px) {
  .single-hizmet-layout { grid-template-columns: 1fr; }
}

/* ── Instagram Fallback Kartı ──────────────────────────────── */
.ig-follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}
.ig-follow-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 4px;
}
.ig-follow-card h4 { font-size: 1.1rem; margin: 0; color: var(--black); }
.ig-follow-card p  { font-size: .88rem; color: var(--gray-500); margin: 0; max-width: 320px; }

/* ── Dilamed Contact Form ───────────────────────────────────── */
.dilamed-contact-form { width: 100%; }
.dcf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dcf-field { display: flex; flex-direction: column; gap: 6px; }
.dcf-field-full { margin-bottom: 16px; }
.dcf-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: .03em;
}
.dcf-field label span { color: var(--gold); }
.dcf-field input,
.dcf-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  box-sizing: border-box;
}
.dcf-field input:focus,
.dcf-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.dcf-field textarea { resize: vertical; min-height: 120px; }
.dcf-submit-row { margin-top: 8px; }
.dcf-submit { width: 100%; justify-content: center; padding: 13px 24px; font-size: .95rem; }
.dcf-response {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dcf-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.dcf-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@media (max-width: 600px) {
  .dcf-row { grid-template-columns: 1fr; }
}

/* ── Branch Contact Modal ───────────────────────────────────── */
.branch-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.branch-modal.open { display: flex; }

.branch-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  animation: modalFadeIn .25s ease;
}
.branch-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn .28s ease;
}
.branch-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}
.branch-modal-header h3 {
  font-size: 1.1rem;
  margin: 0;
  font-family: var(--font-heading);
}
.branch-modal-close {
  color: var(--gray-500);
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.branch-modal-close:hover { color: var(--black); }
.branch-modal-body {
  padding: 24px;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .branch-modal { padding: 12px; align-items: flex-end; }
  .branch-modal-box { border-radius: 12px 12px 0 0; max-height: 85vh; }
  @keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ── Contact Page Map ──────────────────────────────────────── */
.contact-map-section { background: var(--cream); padding-bottom: 60px; }
.contact-map-section .branches-map-wrap { border-radius: 0; margin: 0; box-shadow: none; border-left: none; border-right: none; }
.contact-map-section #contact-map { height: 480px; }

/* ── Subdomain Hero ────────────────────────────────────────── */
.subdomain-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: #0a0a0a center/cover no-repeat;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.subdomain-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.65) 100%);
}
.subdomain-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  width: 100%;
}
.subdomain-back {
  display: inline-block;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .05em;
  margin-bottom: 24px;
  transition: color var(--transition);
  text-decoration: none;
}
.subdomain-back:hover { color: var(--gold); }
.subdomain-logo {
  height: 64px;
  display: block;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
}
.subdomain-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
  font-weight: 700;
}
.subdomain-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}

/* ── Home Section Sliders (Hizmetler & Şubeler) ────────────── */
.home-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.home-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
  flex: 1;
  scroll-snap-type: x mandatory;
}
.home-slider-track::-webkit-scrollbar { display: none; }
.home-slider-item {
  flex: 0 0 220px;
  min-width: 220px;
  scroll-snap-align: start;
}
/* service-card already has text-decoration:none; keep flex column */
a.home-slider-item { text-decoration: none; }
.home-slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: all var(--transition);
  z-index: 2;
  box-shadow: var(--shadow);
}
.home-slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.home-slider-prev { margin-right: 12px; }
.home-slider-next { margin-left: 12px; }

@media (max-width: 768px) {
  .home-slider-item { flex: 0 0 180px; min-width: 180px; }
}
@media (max-width: 480px) {
  .home-slider-item { flex: 0 0 150px; min-width: 150px; }
  .home-slider-btn { width: 36px; height: 36px; }
}
