/* ===========================
   Fen Mühendislik ve Doğalgaz   Global Tokens & Hero Styles
   =========================== */

/* 1) CSS Reset (lightweight) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }

/* 2) Design Tokens */
:root {
  /* Brand colors */
  --fen-pink: #D62E6B;
  --fen-blue: #1E55D6;
  --fen-ink: #0E2A47;      /* dark text/UI */
  --fen-surface: #F7F8FA;  /* light backgrounds */

  /* Semantic */
  --c-text: var(--fen-ink);
  --c-bg: var(--fen-surface);
  --c-primary: var(--fen-blue);
  --c-primary-contrast: #ffffff;
  --c-gradient: linear-gradient(135deg, var(--fen-pink), var(--fen-blue));

  /* Spacing & layout */
  --container-max: 1200px;
  --pad-1: 0.5rem;
  --pad-2: 1rem;
  --pad-3: 1.5rem;
  --pad-4: 2rem;
  --pad-6: 3rem;

  /* Radius & shadows */
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(30, 85, 214, 0.15);

  /* Typography with clamp() for responsiveness */
  --fz-body: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  --fz-h1: clamp(1.9rem, 2.5vw + 1.2rem, 3rem);
  --fz-h2: clamp(1.35rem, 1.2vw + 1rem, 1.9rem);
  --fz-small: 0.9rem;
  --lh: 1.6;
}

/* 3) Base */
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: var(--fz-body);
  line-height: var(--lh);
  text-rendering: optimizeLegibility;
}
.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

/* 4) Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  line-height: 1;
  min-height: 44px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  will-change: transform;
}
.btn:focus-visible {
  outline: 3px solid rgba(30,85,214,0.35);
  outline-offset: 2px;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-image: var(--c-gradient);
  color: var(--c-primary-contrast);
}
.btn-outline {
  border: 2px solid currentColor;
  color: var(--fen-blue);
  background: transparent;
}

/* 5) Hero (text-only, gradient accent via ::before) */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 6vw, 8rem) 0;
  overflow: hidden;
}
.hero::before {
  /* Soft gradient “halo” behind text without images */
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 40%, rgba(214,46,107,0.20), transparent 60%),
              radial-gradient(60% 60% at 70% 20%, rgba(30,85,214,0.25), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.hero h1 {
  font-size: var(--fz-h1);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
}
.hero .hero-accent {
  display: block;
  font-size: var(--fz-h2);
  font-weight: 800;
  background: var(--c-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .hero-sub {
  max-width: 65ch;
  margin: 0 0 var(--pad-4) 0;
  color: color-mix(in oklab, var(--fen-ink) 85%, black);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 6) Responsive tweaks */
@media (max-width: 768px) {
  .hero .hero-sub { margin-bottom: var(--pad-3); }
}

/* 7) Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .hero::before { filter: none; }
}


/* ===== Section: Hizmetler ===== */
.section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}
.section-head h2 {
  font-size: var(--fz-h2);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem 0;
}
.section-sub {
  max-width: 70ch;
  margin: 0 auto;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.5rem;
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--fen-blue) 16%, #0000);
}

.svc-icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 15%, #0000);
  margin-bottom: 0.25rem;
}

.svc-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.service-card h3 {
  margin: 0.2rem 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.service-card p {
  margin: 0 0 0.75rem 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
}

.svc-link {
  align-self: end;
  font-weight: 700;
  color: var(--fen-blue);
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.svc-link::after {
  content: "→";
  transition: transform 160ms ease;
}
.svc-link:hover::after { transform: translateX(2px); }

.services-cta {
  text-align: center;
  margin-top: clamp(1rem, 2.5vw, 2rem);
}

/* Responsive grid */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-icon-wrap { width: 52px; height: 52px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
  .svc-link::after { transition: none; }
}


/* ===== Section: Neden Fen Doğal Gaz & Mühendislik ===== */
.why { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 1.8vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--fen-blue) 16%, #0000);
}
.why-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 0.35rem;
  border-radius: 14px;
  background: color-mix(in oklab, #fff 85%, var(--fen-pink));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-pink) 15%, #0000);
}
.why-card h3 {
  margin: 0.25rem 0 0.25rem;
  font-size: 1.02rem; font-weight: 800;
}
.why-card p {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
}

/* Bottom row: stats + badges */
.why-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
}
.stat {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
}
.stat-num {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  color: var(--fen-blue);
}
.stat-label {
  margin-top: 0.35rem;
  font-size: var(--fz-small);
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
}

.why-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.badge {
  display: grid;
  justify-items: center;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
  color: var(--fen-ink);
}
.badge span {
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .why-card { transition: none; }
}


/* ===== Section: İletişim ===== */
.contact { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* Quick actions (icons row) */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  min-height: 56px;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--fen-blue) 16%, #0000);
}
.contact-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 15%, #0000);
}
.contact-label { display: grid; line-height: 1.1; }
.contact-label strong { font-weight: 800; }
.contact-label span { font-size: var(--fz-small); color: color-mix(in oklab, var(--fen-ink) 75%, black); }

/* Map + Form grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.2rem, 3vw, 2rem);
}
.map-card, .form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 8%, #0000);
  box-shadow: var(--shadow-sm);
  padding: clamp(0.75rem, 1.8vw, 1rem);
}
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-caption {
  margin-top: 0.5rem;
  font-size: var(--fz-small);
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
}

/* Form */
#contact-form { display: grid; gap: 0.9rem; }
#contact-form h3 { margin: 0 0 0.25rem; font-size: 1.1rem; font-weight: 900; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 700; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 15%, #0000);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}
.form-row input:focus-visible, .form-row textarea:focus-visible {
  outline: 3px solid rgba(30,85,214,0.25);
  border-color: var(--fen-blue);
}
.err {
  min-height: 1.1em;
  color: #b00020;
  font-size: 0.85rem;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-note { margin: 0; font-size: var(--fz-small); color: color-mix(in oklab, var(--fen-ink) 70%, black); }
.form-success {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: color-mix(in oklab, #fff 85%, var(--fen-pink));
  border: 1px solid color-mix(in oklab, var(--fen-pink) 25%, #0000);
  border-radius: 12px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-actions { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .contact-card { transition: none; }
}


/* ===== Ürünlerimiz (Önizleme) — Fluid, Even Cards on ALL widths ===== */

/* Wider container only for this section (so it can scale on 1400–1920px) */
.products .f-container {
  /* expand up to 1600px while keeping page margins */
  width: min(100% - 2rem, 1600px);
  margin-inline: auto;
}

.products {
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
}

/* Fluid grid: as many columns as fit, with a sane minimum card width */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: clamp(0.75rem, 1.6vw, 1.25rem);
}

/* Card container (equal height via fixed media ratio + flex body) */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--fen-blue) 18%, #0000);
  box-shadow: 0 8px 20px rgba(30, 85, 214, 0.10);
}

/* Fixed thumbnail ratio = rows line up perfectly on all screens */
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;          /* change to 16/10 if you prefer shorter thumbs */
  background: #eaf0ff;          /* graceful placeholder */
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}

/* Body fills remainder so links align at the bottom */
.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.9rem 1rem;
}
.product-title {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
}
.product-desc {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
  font-size: 0.9rem;
  line-height: 1.35;

  /* clamp = consistent card heights even if copy varies */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--fen-blue);
  font-size: 0.9rem;
}
.product-link::after { content: "→"; transition: transform 120ms ease; }
.product-link:hover::after { transform: translateX(2px); }

/* CTA */
.products-cta {
  text-align: center;
  margin-top: clamp(0.7rem, 2vw, 1.2rem);
}

/* Optional: on very small screens, make thumbs a bit shorter for less scrolling */
@media (max-width: 767px) {
  .product-media { aspect-ratio: 16 / 10; }
}


/* ===== Section: Müşterilerimiz Ne Dedi? — Centered, No Scroll, Grid Only ===== */
.testimonials {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

/* Keep this section aligned with others (and centered) */
.testimonials .f-container {
  width: min(100% - 2rem, 1200px); /* adjust if you want wider (e.g., 1400px) */
  margin-inline: auto;
}

/* Viewport: no horizontal scrolling */
.ts-viewport {
  overflow: visible;        /* turn off scroll behavior */
  padding-bottom: 0;        /* remove extra space for scrollbars */
}

/* List: a clean, centered grid at all sizes */
.ts-list {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;                 /* phones */
}

/* 2 columns on tablets */
@media (min-width: 768px) {
  .ts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 3 columns on desktops */
@media (min-width: 992px) {
  .ts-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Testimonial card */
.ts-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.7rem;
  min-height: 180px;
}

/* Quote icon */
.ts-quote { line-height: 0; }

/* Text (clamped so all cards stay similar height) */
.ts-text {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
  font-size: 0.95rem;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.ts-meta {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.6rem;
  align-items: center;
}
.ts-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: color-mix(in oklab, #fff 80%, var(--fen-blue));
  display: grid; place-items: center;
  font-weight: 800; color: var(--fen-ink);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 18%, #0000);
}
.ts-name { font-weight: 800; }
.ts-role { color: color-mix(in oklab, var(--fen-ink) 70%, black); }

/* Dots nav: not needed anymore */
.ts-dots { display: none; }


/* ===== Section: Kısa CTA (Modern Card) ===== */
.cta-band {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;

  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(30,85,214,0.08);
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.8vw, 1.5rem);
}

.cta-copy h2 {
  margin: 0 0 0.2rem 0;
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--fen-ink);
}
.cta-sub {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
  font-size: clamp(0.92rem, 0.5vw + 0.8rem, 1rem);
}

/* Actions: chips + button */
.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: end;
}

/* Minimal contact chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  border: 1px solid color-mix(in oklab, var(--fen-blue) 18%, #0000);
  color: var(--fen-ink);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.cta-btn {
  padding: 0.75rem 1.1rem;
  border-radius: 999px; /* pill */
}

/* Responsive: stack neatly on small screens */
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { justify-content: start; }
}
@media (max-width: 600px) {
  .chip { width: 100%; justify-content: center; }
  .cta-btn { width: 100%; text-align: center; }
}


/* ===== Global Header / Modern Gradient Navbar ===== */

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--fen-ink);
  padding: 0.5rem 0.75rem; border-radius: 8px; box-shadow: var(--shadow-sm);
  z-index: 10000;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* Header container */
.site-header {
  position: sticky; top: 0; z-index: 9999;
  backdrop-filter: saturate(120%) blur(8px);
  background: color-mix(in oklab, #ffffff 92%, var(--fen-blue));
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  transition: box-shadow 160ms ease;
}
.site-header.scrolled { box-shadow: 0 10px 24px rgba(14,42,71,0.08); }

.nav-shell {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
}

/* Brand (gradient text) */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name{
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.4rem);
  text-transform: uppercase;
  background: var(--c-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 0 rgba(0,0,0,0); /* crisp */
}

/* Desktop nav */
.nav-desktop { display: none; }
.nav-desktop ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; gap: 0.3rem;
}
.nav-desktop a{
  position: relative;
  display: block; padding: 0.6rem 0.75rem; border-radius: 10px;
  font-weight: 800; color: var(--fen-ink);
}
.nav-desktop a::after{
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 6px;
  height: 2px; border-radius: 2px;
  background: var(--c-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 160ms ease;
}
.nav-desktop a:hover::after{ transform: scaleX(1); }
.nav-desktop a[data-current="true"]{ color: var(--fen-blue); }
.nav-desktop a[data-current="true"]::after{ transform: scaleX(1); }

/* ===== Hamburger with MENU label ===== */
.nav-toggle{
  justify-self:end;
  appearance:none;border:0;background:none;padding:0.55rem;
  display:flex;align-items:center;gap:8px;border-radius:10px;color:var(--fen-ink);
}
.nav-toggle:focus-visible{ outline:3px solid rgba(30,85,214,0.25); }

/* MENU label */
.nav-toggle .menu-text{
  display:inline-block;
  background: linear-gradient(90deg, var(--fen-blue), var(--fen-pink));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  font-weight:700;font-size:.9rem; letter-spacing:.5px;
}

/* Hamburger icon */
.hamburger{ display:inline-grid; gap:5px; }
.hamburger i{
  width:22px; height:2px; background: currentColor; border-radius:2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Animate to X when open */
.site-header.is-open .hamburger i:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-header.is-open .hamburger i:nth-child(2){ opacity:0; }
.site-header.is-open .hamburger i:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile sheet (solid background) ===== */
:root { --nav-h: 64px; } /* reuse header height */

.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--nav-h));

  /* SOLID background so page never shows through */
  background: #ffffff;

  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 9998;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  overflow-y: auto;
  padding: 16px;
  transition: transform 200ms ease, opacity 200ms ease, visibility 0s linear 200ms;
}

/* Open state */
.site-header.is-open .nav-mobile {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Mobile menu content */
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.5rem 1.25rem;
  display: grid;
  gap: 0.25rem;
}
.nav-mobile a {
  display: block;
  padding: 0.95rem 0.85rem;
  border-radius: 12px;
  font-weight: 900;
  color: var(--fen-ink);
}
.nav-mobile a:hover {
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
}
.nav-mobile a[data-current="true"] { color: var(--fen-blue); }

/* Lock scroll when open */
body.nav-open { overflow: hidden; }

/* Desktop breakpoint */
@media (min-width: 992px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
  .nav-shell { grid-template-columns: auto 1fr; }
}


/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, var(--fen-blue) 0%, var(--fen-pink) 100%);
  color: #fff;
  padding: 2rem 1rem 0;
  margin-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about h3 {
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.2s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact p {
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}


/* ===== Hizmetler: Page Intro ===== */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background:
    radial-gradient(120% 120% at 10% -20%, rgba(214,46,107,0.08), transparent 60%),
    radial-gradient(120% 120% at 90% 120%, rgba(30,85,214,0.10), transparent 60%);
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}

.page-hero .breadcrumb {
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  font-size: 0.92rem;
  color: color-mix(in oklab, var(--fen-ink) 65%, black);
}
.page-hero .breadcrumb ol {
  margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.page-hero .breadcrumb a {
  color: var(--fen-blue); font-weight: 800;
}
.page-hero .breadcrumb li[aria-current="page"] {
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}
.page-hero .breadcrumb li + li::before {
  content: "›";
  margin: 0 0.35rem;
  color: color-mix(in oklab, var(--fen-ink) 55%, black);
}

.page-hero .hero-head h1 {
  margin: 0 0 0.4rem 0;
  font-size: var(--fz-h1);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.page-hero .hero-head .eyebrow {
  display: block;
  font-size: clamp(0.9rem, 0.4vw + 0.8rem, 1rem);
  font-weight: 800;
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
  margin-bottom: 0.15rem;
}
.page-hero .hero-head .title-accent {
  display: inline-block;
  background: var(--c-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.page-hero .hero-lead {
  margin: 0;
  margin-top: 0.35rem;
  max-width: 72ch;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
}

.page-hero .hero-points {
  margin: clamp(0.9rem, 1.8vw, 1.25rem) 0 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
  font-weight: 700;
}
.page-hero .hero-points li {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .page-hero { padding: clamp(2rem, 6vw, 3rem) 0; }
  .page-hero .hero-points { gap: 0.45rem 0.6rem; }
  .page-hero .hero-points li { padding: 0.45rem 0.65rem; }
}



/* ===== Hizmetler: Overview Grid ===== */
.service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-grid > * {
  display: flex; /* This allows children to stretch */
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Keep content top-aligned */
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;

  /* Equal height fix */
  height: 100%;
  min-height: 220px; /* Keeps them consistent even if content is small */
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-weight: 800;
  margin: 0 0 0.35rem 0;
}

.service-card p {
  font-size: 0.95rem;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
  flex-grow: 1; /* Makes text area push footer or buttons evenly */
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .service-card { 
    padding: 1.25rem; 
    min-height: 200px; /* Slightly smaller for mobile */
  }
  .service-card .icon { font-size: 1.8rem; }
}


/* ===== Hizmetler: Detailed Service Blocks ===== */
.services-detail {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.services-detail .section-title {
  font-size: var(--fz-h2);
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.4rem;
}
.services-detail .section-lead {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(1.2rem, 2.5vw, 2rem);
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

/* Each block */
.svc-block {
  border-top: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  background: #fff;
}
.svc-block.alt {
  background: var(--c-bg);
}
.svc-block:target {
  scroll-margin-top: var(--nav-h, 64px);
  animation: focusGlow 1200ms ease 1;
}
@keyframes focusGlow {
  0%   { box-shadow: inset 0 0 0 0 rgba(30,85,214,0); }
  40%  { box-shadow: inset 0 0 0 3px rgba(30,85,214,0.20); }
  100% { box-shadow: inset 0 0 0 0 rgba(30,85,214,0); }
}

.svc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr; /* media+title | body */
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

/* Head (icon + title + intro) */
.svc-head {
  display: grid;
  gap: 0.65rem;
}
.svc-media {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 18%, #0000);
}
.svc-emoji { font-size: 36px; line-height: 1; }
.svc-svg { display: block; }

.svc-head h3 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.2rem, 0.9vw + 1rem, 1.6rem);
  letter-spacing: -0.01em;
}
.svc-intro {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
}

/* Body (scope list + aside chips) */
.svc-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}
.svc-list {
  margin: 0; padding-left: 1rem;
  display: grid; gap: 0.45rem;
}
.svc-list li { margin: 0; }
.svc-aside h4 {
  margin: 0 0 0.5rem 0;
  font-weight: 900;
}
.chip-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0; padding: 0; list-style: none;
}
.chip {
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 18%, #0000);
  box-shadow: var(--shadow-sm);
}

/* Alternating visual rhythm on large screens */
.svc-block.alt .svc-grid {
  grid-template-columns: 1.6fr 1.6fr; /* symmetrical */
}
.svc-block.alt .svc-head { order: 2; }
.svc-block.alt .svc-body { order: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-block.alt .svc-head,
  .svc-block.alt .svc-body { order: initial; }
  .svc-body {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .svc-block:target { animation: none; }
}


/* ===== Hizmetler: Detailed Service Blocks — Orderly Layout ===== */
.services-detail { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.services-detail .section-title {
  font-size: var(--fz-h2);
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.4rem;
}
.services-detail .section-lead {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(1.2rem, 2.5vw, 2rem);
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

/* Each block uses the same structure (no alternation) */
.svc-block {
  background: #fff;
  border-top: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}
.svc-block:target {
  scroll-margin-top: var(--nav-h, 64px);
  animation: svcFocus 1000ms ease 1;
}
@keyframes svcFocus {
  0% { box-shadow: inset 0 0 0 0 rgba(30,85,214,0); }
  40% { box-shadow: inset 0 0 0 3px rgba(30,85,214,0.18); }
  100% { box-shadow: inset 0 0 0 0 rgba(30,85,214,0); }
}

/* Two-column grid: consistent everywhere */
.svc-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr; /* left = head, right = body */
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.3rem, 3vw, 1.9rem) 0;
}

/* Head column */
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem 0.8rem; align-items: start; }
.svc-media {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 18%, #0000);
}
.svc-emoji { font-size: 34px; line-height: 1; }
.svc-svg { display: block; }

.svc-head h3 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.15rem, 0.9vw + 1rem, 1.55rem);
  letter-spacing: -0.01em;
  align-self: center;
}
.svc-intro {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
}

/* Body column: scope list + chips */
.svc-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(0.9rem, 2.2vw, 1.4rem);
  align-items: start;
}

.svc-list {
  margin: 0; padding-left: 1rem;
  display: grid; gap: 0.5rem;
}
.svc-list li { margin: 0; line-height: 1.5; }

.svc-aside h4 { margin: 0 0 0.5rem 0; font-weight: 900; }
.chip-list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.chip {
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 18%, #0000);
  box-shadow: var(--shadow-sm);
}

/* Readability helpers */
.svc-grid + .svc-grid { border-top: 1px dashed color-mix(in oklab, var(--fen-blue) 10%, #0000); }
.svc-list strong { color: var(--fen-ink); }

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-body { grid-template-columns: 1fr; }
  .svc-head { grid-template-columns: auto 1fr; }
}



/* ===== CTA Band (CSS-only art) ===== */
.cta-band {
  position: relative;
  overflow: clip;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--fen-blue) 15%, #fff) 0%,
    color-mix(in oklab, var(--fen-pink) 20%, #fff) 100%
  );
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-top: 3rem;
  text-align: center;
  border-top: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}

/* Decorative pattern behind content */
.css-art::before,
.css-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Subtle “pipes” (thin lines) */
.css-art::before {
  opacity: 0.18;
  background:
    /* vertical lines */
    linear-gradient(90deg, rgba(30,85,214,.15) 1px, transparent 1px) 0 0 / 90px 100%,
    /* horizontal lines */
    linear-gradient(0deg, rgba(214,46,107,.12) 1px, transparent 1px) 0 0 / 120px 80px;
  mask-image: radial-gradient(100% 100% at 50% 50%, #000 70%, transparent 100%);
}

/* Soft diagonal band at the bottom */
.css-art::after {
  opacity: 0.12;
  background: linear-gradient(
    -6deg,
    rgba(14,42,71,.25) 0%,
    rgba(14,42,71,0) 35%
  );
  transform: translateY(12%);
}

/* Foreground content */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 1.1vw + 1.4rem, 2rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  color: var(--fen-ink);
}

.cta-content p {
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.125rem);
  margin-bottom: 1.5rem;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

.cta-btn {
  display: inline-block;
  background-image: var(--c-gradient);
  color: #fff;
  padding: 0.75rem 1.4rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(30,85,214,0.18); }
.cta-btn:active { transform: translateY(0); }

@media (max-width: 640px) {
  .cta-btn { width: 100%; max-width: 300px; }
}



/* ===== Testimonials Page: Intro ===== */
.testimonials-hero {
  /* subtle background halo consistent with other heroes */
  background:
    radial-gradient(120% 120% at 12% -20%, rgba(214,46,107,0.08), transparent 60%),
    radial-gradient(120% 120% at 88% 120%, rgba(30,85,214,0.10), transparent 60%);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}

.testimonials-hero .breadcrumb {
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  font-size: 0.92rem;
  color: color-mix(in oklab, var(--fen-ink) 65%, black);
}
.testimonials-hero .breadcrumb ol {
  margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.testimonials-hero .breadcrumb a { color: var(--fen-blue); font-weight: 800; }
.testimonials-hero .breadcrumb li[aria-current="page"] {
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}
.testimonials-hero .breadcrumb li + li::before {
  content: "›";
  margin: 0 0.35rem;
  color: color-mix(in oklab, var(--fen-ink) 55%, black);
}

.testimonials-hero .hero-head h1 {
  margin: 0 0 0.4rem 0;
  font-size: var(--fz-h1);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.testimonials-hero .hero-head .eyebrow {
  display: block;
  font-size: clamp(0.9rem, 0.4vw + 0.8rem, 1rem);
  font-weight: 800;
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
  margin-bottom: 0.15rem;
}
.testimonials-hero .hero-head .title-accent {
  display: inline-block;
  background: var(--c-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.testimonials-hero .hero-lead {
  margin: 0;
  margin-top: 0.35rem;
  max-width: 72ch;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
}

.testimonials-hero .hero-points {
  margin: clamp(0.9rem, 1.8vw, 1.25rem) 0 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
  font-weight: 700;
}
.testimonials-hero .hero-points li {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .testimonials-hero { padding: clamp(2rem, 6vw, 3rem) 0; }
  .testimonials-hero .hero-points { gap: 0.45rem 0.6rem; }
  .testimonials-hero .hero-points li { padding: 0.45rem 0.65rem; }
}


/* ===== Testimonials Page: Grid (Orderly) ===== */
.testimonials-grid {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  background: #fff;
}

.testimonials-grid .section-title {
  font-size: var(--fz-h2);
  font-weight: 900;
  margin: 0 0 0.4rem 0;
  text-align: center;
}
.testimonials-grid .section-lead {
  max-width: 65ch;
  margin: 0 auto 1.6rem;
  text-align: center;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

/* Grid columns */
.tlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}
@media (max-width: 1200px) {
  .tlist { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .tlist { grid-template-columns: 1fr; }
}

/* Card with consistent internal grid */
.tcard { display: block; }
.tquote {
  height: 100%;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto auto auto auto; /* quote | sep | meta | tags */
  row-gap: 0.8rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.tquote:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Quote: clamp for even rows */
.tquote blockquote {
  margin: 0;
  color: color-mix(in oklab, var(--fen-ink) 78%, black);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 6;   /* adjust 4–7 lines to taste */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Divider */
.tsep {
  height: 1px;
  background: color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 1px;
}

/* Meta row (avatar + person) */
.tmeta {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.65rem;
}
.tavatar {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 900;
  color: var(--fen-ink);
  background: color-mix(in oklab, #fff 85%, var(--fen-blue));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fen-blue) 18%, #0000);
}
.tperson { display: grid; gap: 0.15rem; }
.tperson strong { font-weight: 900; }
.tsub { color: color-mix(in oklab, var(--fen-ink) 70%, black); font-size: 0.92rem; }

/* Tags under meta; always left-aligned and wrapping */
.ttags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 18%, #0000);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* Fine-tune mobile spacing */
@media (max-width: 560px) {
  .tquote { row-gap: 0.7rem; }
}


/* ===== Ürünlerimiz (Products) ===== */
.catalog-hero {
  background:
    radial-gradient(120% 120% at 12% -20%, rgba(214,46,107,0.08), transparent 60%),
    radial-gradient(120% 120% at 88% 120%, rgba(30,85,214,0.10), transparent 60%);
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}
.catalog-hero .breadcrumb { margin-bottom: 0.75rem; }
.catalog-hero .breadcrumb ol {
  margin: 0; padding: 0; list-style: none; display: flex; gap: .35rem;
}
.catalog-hero .breadcrumb a { color: var(--fen-blue); font-weight: 800; }
.catalog-hero .breadcrumb li + li::before { content: "›"; color: #6b7785; margin: 0 .35rem; }
.catalog-hero .hero-head h1 { margin: 0 0 .35rem 0; font-size: var(--fz-h1); font-weight: 900; letter-spacing: -0.02em; }
.catalog-hero .eyebrow { display:block; font-weight:800; color:#516274; margin-bottom:.15rem; }
.catalog-hero .title-accent { background: var(--c-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.catalog-hero .hero-lead { max-width: 70ch; margin: 0; color: color-mix(in oklab, var(--fen-ink) 78%, black); }

.catalog { padding: clamp(1.8rem, 4vw, 3rem) 0; }
.catalog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Product card */
.p-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.p-card figure {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto; /* image | title */
  gap: .6rem;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: .8rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.p-card:hover figure {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--fen-blue) 20%, #0000);
}

/* Image area — portrait support (250×400 -> 5:8) */
.p-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 8;          /* keeps all cards even with tall images */
  border-radius: 12px;
  overflow: hidden;
  background: #eef2ff;
}
.p-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;             /* handles small crops gracefully */
  transform: scale(1.01);
  transition: transform 300ms ease;
}
.p-card:hover .p-media img { transform: scale(1.04); }

/* Title */
.p-title {
  margin: 0;
  font-weight: 800;
  text-align: center;
  font-size: 0.98rem;
  color: var(--fen-ink);
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}


.blog-list {
  padding: 2rem 0;
}
.blog-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.blog-posts {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.blog-posts li a {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-posts li a:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.blog-posts h2 {
  margin-top: 0;
  font-size: 1.3rem;
}
.blog-posts time {
  font-size: 0.9rem;
  color: #666;
}

/* Single post */
.blog-post {
  padding: 2rem 0;
}
.blog-post article {
  max-width: 750px;
  margin: auto;
}
.blog-post h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.blog-post time {
  display: block;
  margin-bottom: 2rem;
  color: #777;
}
.blog-post h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}
.blog-post p {
  line-height: 1.6;
  margin-bottom: 1rem;
}



.blog-posts li {
  position: relative;
  padding-bottom: 2rem; /* extra space for the indicator */
}

.blog-posts a {
  display: block;
  padding: 1.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.blog-posts a:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.blog-posts h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.blog-posts time {
  display: block;
  color: #718096;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.blog-posts .read-more {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #3182ce;
  margin-top: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-posts a:hover .read-more {
  color: #2b6cb0;
  text-decoration: underline;
}



/* ===== İletişim: Page Intro ===== */
.contact-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  /* soft brand halo */
  background:
    radial-gradient(120% 120% at 15% -20%, rgba(214,46,107,0.08), transparent 60%),
    radial-gradient(110% 110% at 90% 120%, rgba(30,85,214,0.10), transparent 60%);
}

/* Breadcrumb */
.contact-hero .breadcrumb { margin-bottom: clamp(0.6rem, 1.5vw, 1rem); font-size: 0.95rem; }
.contact-hero .breadcrumb ol {
  margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.contact-hero .breadcrumb a { color: var(--fen-blue); font-weight: 800; }
.contact-hero .breadcrumb li[aria-current="page"] {
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
}
.contact-hero .breadcrumb li + li::before {
  content: "›"; margin: 0 0.35rem; color: color-mix(in oklab, var(--fen-ink) 55%, black);
}

/* Headline */
.contact-hero .hero-head h1 {
  margin: 0 0 0.4rem 0;
  font-size: var(--fz-h1);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.contact-hero .eyebrow {
  display: block;
  font-size: clamp(0.9rem, 0.4vw + 0.8rem, 1rem);
  font-weight: 800;
  color: color-mix(in oklab, var(--fen-ink) 70%, black);
  margin-bottom: 0.15rem;
}
.contact-hero .title-accent {
  display: inline-block;
  background: var(--c-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-hero .hero-lead {
  margin: 0;
  margin-top: 0.35rem;
  max-width: 72ch;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
}

/* Small highlights row */
.contact-hero .hero-points {
  margin: clamp(0.9rem, 1.8vw, 1.25rem) 0 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
  font-weight: 700;
}
.contact-hero .hero-points li {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .contact-hero { padding: clamp(2rem, 6vw, 3rem) 0; }
  .contact-hero .hero-points { gap: 0.45rem 0.6rem; }
  .contact-hero .hero-points li { padding: 0.45rem 0.65rem; }
}


/* ===== Terms: Page Intro tweaks (reuse .page-hero) ===== */
.terms-hero {
  /* subtle brand halo consistent with other pages */
  background:
    radial-gradient(120% 120% at 10% -20%, rgba(214,46,107,0.08), transparent 60%),
    radial-gradient(120% 120% at 90% 120%, rgba(30,85,214,0.10), transparent 60%);
}

/* ===== Terms: Content ===== */
.terms-section {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  background: #fff;
}

.terms-content {
  max-width: 900px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 2rem);
}

/* Headings inside terms */
.terms-content h3 {
  margin: 1.25rem 0 0.35rem 0;
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--fen-ink);
  position: relative;
}

/* Underline accent for h3 */
.terms-content h3::after {
  content: "";
  display: block;
  height: 2px;
  width: 48px;
  margin-top: 6px;
  background: var(--c-gradient);
  border-radius: 2px;
}

/* Paragraphs & links */
.terms-content p {
  margin: 0 0 0.85rem 0;
  color: color-mix(in oklab, var(--fen-ink) 80%, black);
  line-height: 1.7;
}
.terms-content a {
  color: var(--fen-blue);
  font-weight: 800;
  text-decoration: none;
}
.terms-content a:hover {
  text-decoration: underline;
}

/* Section head above the card */
.terms-section .section-head {
  text-align: center;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}
.terms-section .section-head h2 {
  font-size: var(--fz-h2);
  font-weight: 900;
  margin: 0 0 0.3rem 0;
}
.terms-section .section-head .section-sub {
  max-width: 65ch;
  margin: 0 auto;
  color: color-mix(in oklab, var(--fen-ink) 75%, black);
}

/* Mobile comfort */
@media (max-width: 640px) {
  .terms-content { padding: 1rem 1rem; }
}



/* Floating contact actions (bottom-right, subtle until hover) */
.float-contacts{
  position: fixed;
  right: clamp(12px, 2.2vw, 20px);
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9998; /* below header (9999) to avoid overlap */
}

.fc-item{
  --fc-size: 56px;
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--fen-blue); /* default color (overridden per type) */
  text-decoration: none;
  filter: drop-shadow(0 4px 12px rgba(14,42,71,.12));
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
  opacity: .95;
}
.fc-item svg{
  width: var(--fc-size);
  height: var(--fc-size);
  display: block;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 12%, #0000);
  padding: 8px;
}
.fc-label{
  margin-top: 6px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-weight: 800;
  font-size: .85rem;
  color: var(--fen-ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  white-space: nowrap;
}

.fc-item:hover{ transform: translateY(-2px); filter: drop-shadow(0 8px 22px rgba(30,85,214,.18)); }
.fc-item:active{ transform: translateY(0); }

/* Brand tints */
.fc-whatsapp{ color: #25D366; }               /* WhatsApp green */
.fc-phone    { color: var(--fen-blue); }       /* Site brand */

/* Slightly smaller on mobile and avoid being annoying */
@media (max-width: 600px){
  .fc-item{ --fc-size: 52px; opacity: .92; }
  .float-contacts{ right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* If you expect a cookie bar at the bottom, lift them a bit */
body.has-cookiebar .float-contacts{
  bottom: calc(90px + env(safe-area-inset-bottom));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fc-item{ transition: none; }
}


/* ===== Hizmetler (svc-min) — orta boy kartlar ===== */
.services .container{
  width: min(100% - 2rem, 1400px); /* 1600 yerine 1400: daha kompakt grid */
  margin-inline: auto;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* 520 yerine 450 */
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
}

.service-card.svc-min{
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: block;
}
.service-card.svc-min:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--fen-blue) 18%, #0000);
}

.svc-linkwrap{
  display: grid;
  grid-template-rows: auto auto;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-media{
  position: relative;
  aspect-ratio: 4 / 3; /* Oran aynı */
  overflow: hidden;
  background: #eaf0ff;
  border-bottom: 1px solid color-mix(in oklab, var(--fen-blue) 10%, #0000);
}
.service-media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .26s ease;
}
.service-card.svc-min:hover .service-media img{ transform: scale(1.04); }

.service-title{
  margin: 0;
  padding: 1rem 1.1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--fen-ink);
  background: #fff;
}

@media (max-width: 1024px){
  .services-grid{
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Tablet daha dar */
  }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-media{ aspect-ratio: 16 / 10; }
}



/* Hero konteynerini konumlandırma alanı yap */
.hero .container { 
  position: relative; 
  /* Logo için sağda yer aç (metin taşmasın) */
  padding-right: clamp(180px, 24vw, 360px);
}

/* Sağdaki logo kutusu */
.hero-logo-frame {
  position: absolute;
  top: 50%;
  right: 18%;                /* daha içeri almak için artırdım (önceden 8% idi) */
  transform: translateY(-50%);
  
  width: clamp(180px, 24vw, 300px);   /* boyutu büyüttüm */
  height: clamp(180px, 24vw, 300px);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;         /* dairesel çerçeve */
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
  border: 2px solid rgba(30,85,214,.15);

  padding: clamp(16px, 2.5vw, 28px);
  z-index: 2;
}

.hero-logo-frame img {
  max-width: 85%;   /* içeride logonun daha büyük görünmesi için */
  max-height: 85%;
  object-fit: contain;
}

/* Mobilde hero'daki logo gizlensin (navbar’daki küçük logo kalacak) */
@media (max-width: 991px){
  .hero-logo-frame{ display: none; }
  .hero .container{ padding-right: 0; }
}


/* Mobil logo kapsayıcı */
.mobile-logo-frame {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;          /* daire */
  background: #fff;            /* beyaz arka plan */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* hafif gölge */
  border: 1px solid rgba(30,85,214,.15);   /* ince şık çerçeve */
}

/* Logonun kendisi */
.mobile-logo {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* Sadece mobilde görünsün */
@media (min-width: 992px) {
  .mobile-logo-frame { display: none; }
}


.form-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: grid;
  place-items: center;
}

.form-confirm-box {
  background: white;
  padding: 2rem;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.form-confirm-box p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.form-confirm-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-open {
  overflow: hidden;
}
