/* =============================================================
   Uygun Web Tasarım — marketing site foundation
   Shared primitives: tokens, buttons, header, section heading,
   section grid, reveal, footer.
   ============================================================= */

:root {
  /* --- Brand identity (inherited from the product) --- */
  --brand-primary: #142b51;
  --brand-accent: #faa41a;
  --brand-accent-secondary: #f47521;

  /* THE accent system — every orange accent on the site (text, primary CTAs,
     active indicators, highlight lines, icon accents) uses this one gradient.
     Flat orange is never used for primary visual emphasis. */
  --brand-gradient: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-secondary));

  /* Flat accent, kept only as an accessibility fallback for the rare case
     where a gradient genuinely cannot be applied to text on white. */
  --accent-ink: #dd6412;

  /* --- Neutrals (defined for this marketing page) --- */
  --surface: #ffffff;
  --surface-warm: #fdfcfa;
  --surface-muted: #f5f6f8;
  --text-strong: var(--brand-primary);
  --text-body: #46546d;
  --text-muted: #6a7688;
  --border-subtle: #e7e9ee;
  --border-strong: #d4d8e0;

  /* --- Shape --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 22px;

  /* Sticky header height — scales with the (large) brand logo. Shared so the
     order-summary sticky offset can track it without magic numbers. */
  --site-header-h: clamp(72px, 5vw + 52px, 118px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.15;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }

/* Container uses Bootstrap's own responsive caps (…/1140/1320). */

/* ---- Shared accent utility -------------------------------------- */
/* Orange brand gradient rendered as text fill. */
.u-gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Button system ------------------------------------------------- */
.btn-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease,
              background-image .2s ease, background-color .2s ease,
              filter .2s ease, border-color .2s ease;
}
.btn-brand > span { position: relative; z-index: 2; }

/* Diagonal reflection — sweeps across only on hover / focus, once. */
.btn-brand::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 40%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent,
              var(--btn-shine, rgba(255, 255, 255, .40)), transparent);
  transform: rotate(20deg);
  transition: left .6s ease;
}
.btn-brand:hover { transform: translateY(-1px); }
.btn-brand:active { transform: translateY(0); }
.btn-brand:hover::after,
.btn-brand:focus-visible::after { left: 130%; }
.btn-brand:focus-visible {
  outline: 3px solid rgba(20, 43, 81, .40);
  outline-offset: 2px;
}

/* Flat-premium: no elevation. Separation comes from the gradient, the
   crisp edge and the label — never a shadow. */
.btn-brand--primary {
  color: #fff;
  background-image: var(--brand-gradient);
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(90, 34, 0, .35);   /* keeps the white label legible on the brand gradient */
}
.btn-brand--primary:hover {
  box-shadow: none;
  filter: brightness(1.05);                       /* subtle lift, no glow underneath */
}

.btn-brand--secondary {
  --btn-shine: rgba(20, 43, 81, .06);
  color: var(--brand-primary);
  background-color: #fff;
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn-brand--secondary:hover {
  border-color: rgba(20, 43, 81, .22);
  background-color: #fafbfc;
  box-shadow: none;
}

/* ---- Form fields — shared primitive (order page + login page) --------- */
.order-field { display: flex; flex-direction: column; }
.order-field > label {
  margin-bottom: .45rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.order-field > label .req { color: var(--text-muted); font-weight: 400; }

.order-input {
  width: 100%;
  padding: .8rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--brand-primary);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.order-input::placeholder { color: var(--text-muted); }
.order-input:hover { border-color: rgba(20, 43, 81, .3); }
.order-input:focus {
  outline: none;
  border-color: var(--brand-accent-secondary);
  box-shadow: 0 0 0 3px rgba(250, 164, 26, .18);   /* brand focus ring — a ring, not elevation */
}
.order-field.is-invalid .order-input { border-color: #d64d47; }
.order-field.is-invalid .order-input:focus { box-shadow: 0 0 0 3px rgba(214, 77, 71, .16); }
.order-field__error {
  margin-top: .4rem;
  font-size: .8125rem;
  line-height: 1.4;
  color: #c0403b;
}
.order-field:not(.is-invalid) .order-field__error { display: none; }

/* ---- Motion foundation ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* keep the button reflection parked off-screen (no sweep) */
  .btn-brand:hover::after,
  .btn-brand:focus-visible::after { left: -70%; }
}


/* =============================================================
   Site header — sticky top navigation
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 43, 81, .05);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: rgba(20, 43, 81, .09);
}
.site-header .navbar {
  padding: 0;
  /* keep every Bootstrap nav-link state (default / hover / .active / .show)
     on the brand navy — Bootstrap's defaults resolve to near-black */
  --bs-navbar-color: var(--brand-primary);
  --bs-navbar-hover-color: #0c1c38;
  --bs-navbar-active-color: var(--brand-primary);
}
.site-header .container { min-height: var(--site-header-h); column-gap: 1rem; }

/* solid fallback where backdrop-filter is unavailable */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, .98); }
  .site-header.is-stuck { background: #fff; }
}

/* ---- Logo — the real brand SVG is the only brand mark on the site ---- */
.site-brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  flex: none;
}
.site-logo {
  display: block;
  width: auto;                 /* fluid height + auto width preserves the SVG's aspect ratio */
  height: clamp(48px, 5vw + 30px, 96px);
  max-width: 100%;
}

/* Between the lg breakpoint and true desktop the horizontal nav gains an item
   (Kaynaklar) and the row gets tight — trim the logo and nav gap just here so
   the header stays on a single row without changing the desktop or mobile look. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-logo { height: clamp(46px, 2.6vw + 20px, 60px); }
  .site-nav { column-gap: clamp(1rem, 1.5vw, 1.5rem); }
}
.site-brand:focus-visible {
  outline: 2px solid rgba(20, 43, 81, .4);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- Primary navigation ---- */
.site-nav { column-gap: clamp(1.5rem, 2vw, 2.125rem); }
.site-nav .nav-link {
  position: relative;
  padding: .5rem 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-primary);
  white-space: nowrap;
  transition: color .2s ease;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .05rem;
  height: 2px;
  border: 0;                        /* kills Bootstrap's .dropdown-toggle::after navy caret border
                                       that otherwise bleeds a dark line above the gradient underline */
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible { color: #0c1c38; }
.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { font-weight: 600; }
.site-nav .nav-link:focus-visible {
  outline: 2px solid rgba(20, 43, 81, .4);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---- "Kaynaklar" dropdown — clean, light, on-brand (not a mega menu) ---- */
.site-nav .nav-item.dropdown { position: relative; }
.site-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  background: none;                 /* never a filled nav item */
  border: 0;
  cursor: pointer;
}
/* the toggle is a normal nav link: navy text, shared brand-gradient underline
   on hover / open (.site-nav .nav-link::after handles the underline) */
.site-nav .dropdown-toggle,
.site-nav .dropdown-toggle.show,
.site-nav .dropdown-toggle:hover { color: var(--brand-primary); }
.site-nav .dropdown-toggle.show::after,
.site-nav .dropdown-toggle:hover::after { transform: scaleX(1); }

/* disclosure caret — on ::before with flex order so it trails the label and
   never collides with the shared .nav-link::after underline */
.site-nav .dropdown-toggle::before {
  content: "";
  order: 2;
  width: .4em;
  height: .4em;
  margin-left: .4em;
  border: solid var(--brand-primary);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12em) rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}
.site-nav .dropdown-toggle:hover::before,
.site-nav .dropdown-toggle[aria-expanded="true"]::before { border-color: var(--brand-accent-secondary); }
.site-nav .dropdown-toggle[aria-expanded="true"]::before { transform: translateY(.06em) rotate(-135deg); }

.site-nav .dropdown-menu {
  /* Bootstrap dropdown tokens — pinned light so no state can go dark */
  --bs-dropdown-min-width: 12rem;
  --bs-dropdown-bg: #fff;
  --bs-dropdown-border-color: var(--border-subtle);
  --bs-dropdown-link-color: var(--brand-primary);
  --bs-dropdown-link-hover-color: var(--brand-primary);
  --bs-dropdown-link-hover-bg: transparent;      /* white surface — orange stays an accent, not a fill */
  --bs-dropdown-link-active-color: var(--brand-primary);
  --bs-dropdown-link-active-bg: transparent;
  margin-top: .5rem;
  padding: .35rem;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 16px 28px -20px rgba(20, 43, 81, .22);   /* soft — matches the mobile nav panel */
}
.site-nav .dropdown-item {
  position: relative;
  padding: .6rem .8rem .6rem .95rem;
  border-radius: 9px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--brand-primary);
  transition: background-color .18s ease, color .18s ease;
}
/* tiny brand-gradient indicator that grows in on hover / focus / current page */
.site-nav .dropdown-item::before {
  content: "";
  position: absolute;
  left: .35rem;
  top: 50%;
  width: 3px;
  height: 1.05rem;
  border-radius: 3px;
  background: var(--brand-gradient);
  transform: translateY(-50%) scaleY(0);
  transition: transform .18s ease;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: transparent;            /* white surface; the gradient left bar is the only accent */
  color: var(--brand-primary);
}
.site-nav .dropdown-item:hover::before,
.site-nav .dropdown-item:focus::before,
.site-nav .dropdown-item.active::before { transform: translateY(-50%) scaleY(1); }
.site-nav .dropdown-item:focus-visible {
  outline: 2px solid rgba(20, 43, 81, .4);
  outline-offset: -2px;
}
.site-nav .dropdown-item.active {
  background: transparent;            /* current page — left gradient bar + bold navy, no fill */
  color: var(--brand-primary);
  font-weight: 600;
}

/* ---- WhatsApp action ---- */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  padding: .46rem .95rem .46rem .62rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wa-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 211, 102, .55);
  box-shadow: 0 6px 16px -10px rgba(20, 43, 81, .25);
}
.wa-btn:focus-visible {
  outline: 2px solid rgba(20, 43, 81, .4);
  outline-offset: 2px;
}
.wa-btn__icon {
  position: relative;
  display: inline-flex;
  color: #25d366;                    /* WhatsApp brand green — service identity */
  transition: color .18s ease;
}
.wa-btn:hover .wa-btn__icon { color: #1fbd58; }
.wa-btn__icon svg { display: block; width: 18px; height: 18px; }
.wa-btn__label { white-space: nowrap; }

.wa-btn__status,
.wa-btn__ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
}
.wa-btn__status {
  z-index: 1;
  box-shadow: 0 0 0 2px #fff;         /* separates the dot from the icon */
}
.wa-btn__ping {
  opacity: 0;
  animation: wa-ping 2.1s ease-out infinite;
}
@keyframes wa-ping {
  0%   { transform: scale(1);   opacity: .5; }
  75%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.wa-btn--compact {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* ---- Mobile toggle ---- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-primary);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible {
  outline: 2px solid rgba(20, 43, 81, .4);
  outline-offset: 2px;
}

.site-header__actions { column-gap: .5rem; }

/* ---- Mobile layout ---- */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid rgba(20, 43, 81, .07);
    border-bottom: 1px solid rgba(20, 43, 81, .1);
    box-shadow: 0 16px 26px -20px rgba(20, 43, 81, .25);
    padding: .25rem clamp(1.25rem, 5vw, 2.5rem) .9rem;
  }
  .site-nav { column-gap: 0; }
  .site-nav .nav-item + .nav-item .nav-link { border-top: 1px solid rgba(20, 43, 81, .06); }
  .site-nav .nav-link {
    padding: .95rem .1rem;
    font-size: .95rem;
  }
  .site-nav .nav-link::after {
    left: .1rem;
    right: auto;
    width: 1.5rem;
    bottom: .62rem;
  }

  /* dropdown collapses inline — the two links sit indented under "Kaynaklar" */
  .site-nav .nav-item.dropdown { border-top: 1px solid rgba(20, 43, 81, .06); }
  .site-nav .nav-item.dropdown .nav-link { border-top: 0; }
  .site-nav .dropdown-toggle::before,
  .site-nav .dropdown-item::before { display: none; }          /* always-open on mobile — no caret / indicator */
  .site-nav .dropdown-toggle {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
    pointer-events: none;                                      /* it's a group label here */
  }
  .site-nav .dropdown-menu {
    position: static;
    display: block;
    margin: 0 0 .6rem;
    padding: 0 0 0 .9rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-nav .dropdown-item {
    padding: .7rem .1rem;
    border-radius: 0;
    font-size: .9rem;
    color: var(--text-body);
  }
  .site-nav .dropdown-item + .dropdown-item { border-top: 1px solid rgba(20, 43, 81, .06); }
  .site-nav .dropdown-item:hover,
  .site-nav .dropdown-item:focus,
  .site-nav .dropdown-item:focus-visible { background: none; color: var(--brand-primary); }
  .site-nav .dropdown-item.active { background: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-btn__ping { display: none; }
}


/* =============================================================
   Section heading — reusable title block for every page section
   ============================================================= */
.section-heading {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.section-heading__eyebrow {
  display: inline-block;
  margin-bottom: .7rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-heading__title {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--brand-primary);
}
.section-heading__accent {
  display: block;
  width: 46px;
  height: 4px;
  margin: 1.05rem auto 0;
  border-radius: 999px;
  background: var(--brand-gradient);
}
/* Optional supporting line under the underline — reusable across sections. */
.section-heading__lead {
  margin: 1.15rem auto 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-body);
}

/* Last-word accent — the final word of a section title rendered in the brand
   gradient, with a soft navy highlight tucked under its lower part, followed by
   a small navy dot on its own matching backing circle. Reusable: wrap the last
   word in <span class="heading-accent"> and place
   <span class="heading-accent-dot" aria-hidden="true"></span> right after it,
   inside any .section-heading__title. */
.heading-accent {
  position: relative;
  display: inline-block;
  isolation: isolate;
  white-space: nowrap;
  background: var(--brand-gradient);       /* standard brand-gradient text */
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.heading-accent::after {
  content: "";
  position: absolute;
  z-index: -1;                             /* behind the gradient text */
  left: -.05em;
  right: -.05em;
  bottom: .02em;
  height: .34em;                           /* soft thick underline under the lower third only */
  border-radius: 5px;
  background: rgba(20, 43, 81, .1);        /* soft translucent navy */
}

.heading-accent-dot {
  display: inline-block;
  position: relative;
  width: .44em;                            /* soft backing circle */
  height: .44em;
  margin-left: .2em;                       /* small gap after the word */
  vertical-align: baseline;
  border-radius: 50%;
  background: rgba(20, 43, 81, .1);        /* same soft navy family as the word backing */
}
.heading-accent-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .16em;                            /* inner navy dot */
  height: .16em;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand-primary);
}

/* =============================================================
   Section grid — continues the hero's faint technical texture
   through the sections below (same square rhythm, top/bottom fade)
   ============================================================= */
.section-grid {
  position: relative;
  isolation: isolate;
}
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right,  rgba(20, 43, 81, .028) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(to bottom, rgba(20, 43, 81, .014) 0 1px, transparent 1px 78px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 90%, transparent 100%);
}

/* =============================================================
   Scroll reveal — reusable fade-up (JS adds .reveal-ready, then
   .is-revealed when the block scrolls into view). No JS / reduced
   motion => content simply shows.
   ============================================================= */
.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--d, 0) * .06s);
}
.reveal-ready.is-revealed .reveal-item {
  opacity: 1;
  transform: none;
}


/* =============================================================
   Site footer — the brand-gradient close to the page.
   Full-width orange gradient on the shared .container:
   logo · three large contact cards · secure-payment · centred copyright.
   White content; key text carries a soft warm shadow so it stays
   legible on the gradient (same trick as the primary CTA button).
   ============================================================= */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.75rem, 2.1rem + 2.6vw, 4.25rem);
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);        /* crisp top edge, not elevation */
}
/* almost-invisible depth: faint technical grid, soft corner lights and a
   whisper of warm shade to firm up the white-text contrast */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right,  rgba(255, 255, 255, .05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .04) 0 1px, transparent 1px 88px),
    radial-gradient(90% 120% at 12% 0%,  rgba(255, 255, 255, .16), transparent 55%),
    radial-gradient(70% 90% at 88% 100%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(180deg, rgba(120, 45, 0, .04), rgba(120, 45, 0, .12));
}

/* ---- three large contact cards ---- */
.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, .5rem + 1.4vw, 1.4rem);
}
.footer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .6rem;
  padding: clamp(1.35rem, 1.1rem + .8vw, 1.75rem) clamp(1.1rem, .85rem + 1vw, 1.6rem);
  border-radius: clamp(18px, 1rem + .6vw, 22px);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);         /* glass top-edge sheen */
  color: #fff;
  text-decoration: none;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1),
              border-color .28s ease, background-color .28s ease;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .footer-card { background: rgba(255, 255, 255, .15); }
}
/* soft diagonal shine — one calm pass on hover / focus */
.footer-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 45%;
  height: 200%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: rotate(20deg);
  transition: left .6s ease;
}
.footer-card:hover,
.footer-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .4);
  background-color: rgba(255, 255, 255, .17);
}
.footer-card:hover::after,
.footer-card:focus-visible::after { left: 135%; }
.footer-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 3px;
}
.footer-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
.footer-card__icon svg { display: block; width: 21px; height: 21px; }
.footer-card__icon--wa svg { width: 22px; height: 22px; }
.footer-card__label {
  margin-top: .1rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .76);
}
.footer-card__value {
  font-size: clamp(.95rem, .9rem + .2vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(120, 45, 0, .28);
}

/* ---- secure payment — centred under the cards ---- */
.footer-pay {
  margin-top: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  text-align: center;
}
.footer-pay__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
/* a faint frosted chip behind the payment graphic — matches the contact cards,
   keeps whatever PNG is supplied readable on the gradient without a jarring
   white plate (the supplied asset is white logos on transparent) */
.footer-pay__img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: .7rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
}
.footer-pay__img img {
  display: block;
  width: clamp(300px, 52vw, 440px);
  max-width: 100%;
  height: auto;
}
.footer-pay__img.is-empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, .3);
}
.footer-pay__img.is-empty img { display: none; }
.footer-pay__img.is-empty::after {
  content: "Güvenli ödeme görseli";
  font-family: "Poppins", system-ui, sans-serif;
  font-size: .75rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .7);
}

/* ---- tax information — compact frosted chip below the payment area ---- */
.footer-tax {
  margin: clamp(1.15rem, .9rem + 1vw, 1.75rem) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: .6rem 1.1rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  text-align: left;
}
.footer-tax__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.footer-tax__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-tax__item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.footer-tax__label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.footer-tax__value {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(120, 45, 0, .22);
}
@media (max-width: 400px) {
  .footer-tax {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
  }
}

/* ---- centred copyright row ---- */
.site-footer__bottom {
  margin-top: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  padding-top: clamp(1.15rem, .95rem + .8vw, 1.6rem);
  border-top: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
}
.site-footer__copy {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .75);
}

/* ---- responsive ---- */
@media (max-width: 899.98px) {
  .footer-cards {                          /* 2 + 1: two cards, the third centred below */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-card { flex: 1 1 260px; max-width: 380px; }
}
@media (max-width: 539.98px) {
  .footer-card { flex-basis: 100%; max-width: none; }   /* clean stack */
}

@media (prefers-reduced-motion: reduce) {
  .footer-card:hover,
  .footer-card:focus-visible { transform: none; }
  .footer-card:hover::after,
  .footer-card:focus-visible::after { left: -75%; }
}
