/* ============================================================
   Güvencem360 — global styles
   ============================================================ */

:root {
  /* Brand palette */
  --navy-900: #0D1B3D;
  --navy-800: #142552;
  --navy-700: #1c3274;
  --navy-50:  #f1f3f9;

  --teal-600: #008e8d;
  --teal-500: #00AFAE;
  --teal-400: #2cc4c3;
  --teal-200: #7ED6D6;
  --teal-50:  #e5f7f7;

  --ink-900: #0D1B3D;
  --ink-700: #243355;
  --ink-500: #6B7280;
  --ink-400: #8a93a3;
  --ink-300: #c4cad4;

  --bg:       #ffffff;
  --bg-soft:  #f7f8fb;
  --bg-mute:  #E6E9EE;
  --line:     #e2e6ee;
  --line-strong: #cdd3de;

  --success: #15a36b;
  --warn:    #d97706;
  --danger:  #c0392b;

  /* Type */
  --font-display: "Sora", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", system-ui, sans-serif;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(13, 27, 61, 0.06);
  --shadow-sm: 0 2px 6px rgba(13, 27, 61, 0.06), 0 1px 2px rgba(13,27,61,0.04);
  --shadow-md: 0 10px 24px -8px rgba(13, 27, 61, 0.18), 0 2px 6px rgba(13,27,61,0.06);
  --shadow-lg: 0 24px 60px -20px rgba(13, 27, 61, 0.32), 0 4px 12px rgba(13,27,61,0.08);

  /* Layout */
  --max: 1240px;
  --gutter: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ====== Container ====== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal-500);
  color: white;
  box-shadow: 0 8px 18px -8px rgba(0,175,174,.6);
}
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 12px 24px -10px rgba(0,175,174,.7); }
.btn-dark {
  background: var(--navy-900);
  color: white;
}
.btn-dark:hover { background: var(--navy-800); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--navy-900); }
.btn-light {
  background: white;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--bg-mute); }
.btn-link {
  padding: 0;
  background: transparent;
  color: var(--teal-600);
  font-weight: 600;
}
.btn-link:hover { color: var(--navy-900); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ====== Cards / surfaces ====== */
.surface {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.surface-soft {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
}

/* ====== Section ====== */
section.section { padding: 88px 0; }
section.section-tight { padding: 56px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 720px; }
.section-head p { color: var(--ink-500); max-width: 480px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--teal-500);
}

/* ====== Form ====== */
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,175,174,.12);
}
.label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.help { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

/* ====== Pill / chip ====== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
}
.chip-navy { background: rgba(13,27,61,.06); color: var(--navy-900); }
.chip-warn { background: #fff4e3; color: #b76e00; }

/* ====== Hover lift ====== */
.lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* ====== Animations ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }

@keyframes spin360 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 14px 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-700);
  transition: color .15s ease, background .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-link.active { color: var(--navy-900); background: var(--bg-soft); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: -16px;
  height: 3px;
  background: var(--teal-500);
  border-radius: 3px 3px 0 0;
}

/* Mega menu */
.has-menu { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  z-index: 60;
}
.mega-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background .15s ease;
  align-items: flex-start;
}
.mega-item:hover { background: var(--bg-soft); }
.mega-item .ico {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mega-item .ttl { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 14.5px; }
.mega-item .sub { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }

/* ====== Footer ====== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  padding: 80px 0 32px;
}
.site-footer h4 {
  color: white;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,.7); font-size: 14px; }
.site-footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ====== Utility ====== */
.grid { display: grid; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.col { flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.muted { color: var(--ink-500); }
.divider { height: 1px; background: var(--line); }

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section.section { padding: 60px 0; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; font-size: 12px; }
  .footer-bottom .flex { flex-wrap: wrap; justify-content: center; gap: 8px; }
  section.section { padding: 44px 0; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }
  h1 { font-size: clamp(24px, 7vw, 40px) !important; }
  h2 { font-size: clamp(20px, 5.5vw, 32px); }
}

@media (max-width: 480px) {
  :root { --gutter: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-card { padding: 28px 20px; border-radius: 16px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
}
