/* ============================================================
   Hayat Medikal Sistemleri — Stil (Manteia tarzı medikal tema)
   ============================================================ */

:root {
  --blue:        #116dff;
  --blue-dark:   #0a4bcc;
  --blue-darker: #0a2a66;
  --navy:        #0a1f44;
  --orange:      #ff7a45;
  --orange-soft: #fff1ea;
  --teal:        #12b3a6;
  --ink:         #14213d;
  --text:        #4a5568;
  --muted:       #7a8699;
  --line:        #e6ebf2;
  --bg:          #ffffff;
  --bg-soft:     #f5f8ff;
  --bg-alt:      #f7faff;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 2px 10px rgba(16,45,95,.06);
  --shadow:      0 14px 40px rgba(16,45,95,.10);
  --shadow-lg:   0 28px 70px rgba(16,45,95,.16);
  --container:   1180px;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.grad {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 600;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow.center { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(17,109,255,.30); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,109,255,.40); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

/* Üst kurumsal bar */
.topbar { background: var(--navy); color: #c7d4ea; overflow: hidden; max-height: 46px; transition: max-height .3s ease, opacity .3s ease; }
.site-header.scrolled .topbar { max-height: 0; opacity: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 42px; font-size: .82rem; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left a, .tb-hours { display: inline-flex; align-items: center; gap: 7px; color: #c7d4ea; font-weight: 500; }
.topbar-left a:hover { color: #fff; }
.topbar-left svg { color: var(--orange); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.tb-tag { background: rgba(255,122,69,.18); color: #ffd0bb; font-weight: 600; font-size: .76rem; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.topbar-right a { color: #c7d4ea; display: grid; place-items: center; transition: .2s; }
.topbar-right a:hover { color: #fff; transform: translateY(-1px); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(17,109,255,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #9dc3ff; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--head); font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: 10px 16px; border-radius: 10px; transition: .2s;
}
.main-nav > ul > li > a:hover { color: var(--blue); background: var(--bg-soft); }
.caret { transition: .2s; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(6px); }
.has-drop:hover .caret { transform: rotate(180deg); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .92rem; color: var(--text); font-family: var(--body); }
.dropdown li a:hover { background: var(--bg-soft); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .9rem; font-family: var(--head); }
.phone-link svg { color: var(--blue); }
.phone-link:hover { color: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(17,109,255,.12), transparent 60%),
    radial-gradient(700px 500px at 5% 30%, rgba(255,122,69,.10), transparent 55%),
    linear-gradient(180deg, #f6faff 0%, #ffffff 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-content h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 1.13rem; color: var(--text); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); font-family: var(--head); }

/* Hero visual */
.hero-visual { position: relative; }
.hv-card { background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hv-pill {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 12px 16px; font-size: .85rem; font-weight: 600;
  font-family: var(--head); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hv-pill-1 { top: 6%; left: -26px; animation: float 5s ease-in-out infinite; }
.hv-pill-2 { bottom: 8%; right: -22px; animation: float 6s ease-in-out infinite .8s; }
.hv-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #18c171; box-shadow: 0 0 0 4px rgba(24,193,113,.18); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip p { text-align: center; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-logos span { font-family: var(--head); font-weight: 600; color: #aeb8c8; font-size: 1.02rem; transition: .2s; }
.trust-logos span:hover { color: var(--blue); }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--text); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-stat-float {
  position: absolute; bottom: -26px; right: -18px; background: #fff;
  border-radius: 18px; padding: 18px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
}
.about-stat-float strong { display: block; font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--blue); }
.about-stat-float span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.about-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.about-content p { margin-bottom: 16px; }
.check-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='%23ff7a45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Distribütör rozeti (hero) ---------- */
.badge-distrib {
  background: linear-gradient(90deg, rgba(17,109,255,.10), rgba(255,122,69,.12));
  color: var(--blue-dark); padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(17,109,255,.20); text-transform: none; letter-spacing: .01em;
  font-size: .84rem;
}

/* ---------- Distribütörlük bandı ---------- */
.manteia-word { font-family: var(--head); font-weight: 800; letter-spacing: .06em; }
.distrib-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.distrib-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.distrib-content h2 sup { color: var(--blue); font-size: .5em; }
.distrib-content > p { margin-bottom: 8px; }
.distrib-badge-wrap { display: grid; place-items: center; }
.auth-badge {
  width: 100%; max-width: 300px; text-align: center; padding: 38px 28px;
  background: linear-gradient(165deg, #0d54d6 0%, #0a2a66 100%);
  border-radius: 24px; box-shadow: var(--shadow-lg); color: #fff; position: relative; overflow: hidden;
}
.auth-badge::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.22); border-radius: 18px; pointer-events: none; }
.auth-seal { width: 70px; height: 70px; margin: 0 auto 16px; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.auth-badge .manteia-word { display: block; font-size: 1.7rem; color: #fff; }
.auth-badge .manteia-word sup { font-size: .5em; color: #9dc3ff; }
.auth-label { display: block; font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb999; margin-top: 6px; }
.auth-region { display: block; font-size: .92rem; color: #cfe0ff; margin-top: 2px; }
.auth-line { height: 1px; background: rgba(255,255,255,.18); margin: 16px auto; width: 70%; }
.auth-by { display: block; font-family: var(--head); font-weight: 500; font-size: .9rem; color: #fff; }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: .3s ease; position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-card.featured { background: linear-gradient(160deg, #0d54d6, #0a2a66); border-color: transparent; }
.service-card.featured h3, .service-card.featured p { color: #fff; }
.service-card.featured p { color: #cfe0ff; }
.service-card.featured .card-link { color: #fff; }
.sc-icon { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; }
.icon-blue { background: #e7f0ff; color: var(--blue); }
.icon-orange { background: rgba(255,255,255,.16); color: #fff; }
.icon-teal { background: #e3faf7; color: var(--teal); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card-tag { font-family: var(--head); font-weight: 600; font-size: .8rem; color: var(--orange); letter-spacing: .02em; margin-bottom: 12px !important; }
.service-card.featured .card-tag { color: #ffc9b0; }
.service-card p { font-size: .94rem; margin-bottom: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--blue); transition: .2s; }
.card-link:hover { gap: 11px; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-item {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px;
  text-align: center; transition: .25s;
}
.cat-item:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.cat-item h4 { font-size: .98rem; margin-bottom: 4px; }
.cat-item p { font-size: .8rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1; }
.stat span { color: #bcd6ff; font-weight: 500; font-size: .98rem; }

/* ---------- Testimonial ---------- */
.quote-card {
  position: relative; max-width: 820px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: 48px; box-shadow: var(--shadow); text-align: center;
}
.quote-mark { position: absolute; top: 24px; left: 28px; }
.quote-card blockquote { font-family: var(--head); font-size: 1.3rem; font-weight: 500; color: var(--ink); line-height: 1.6; margin-bottom: 28px; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.qa-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--orange)); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.quote-author div { text-align: left; }
.quote-author strong { display: block; font-family: var(--head); color: var(--ink); }
.quote-author small { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-info > p { margin-bottom: 30px; max-width: 440px; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: #e7f0ff; display: grid; place-items: center; }
.contact-list strong { font-family: var(--head); color: var(--ink); display: block; margin-bottom: 2px; font-size: .98rem; }
.contact-list p { font-size: .95rem; color: var(--text); }
.contact-list a:hover { color: var(--blue); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: var(--body); font-size: .95rem; color: var(--ink); background: var(--bg-soft); transition: .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(17,109,255,.12); }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: 11px; font-size: .9rem; font-weight: 500; }
.form-note.ok { background: #e6f9f0; color: #0a8a4f; }
.form-note.err { background: #fdeaea; color: #d23b3b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d0e3; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 24px 50px; }
.footer-brand > p { margin: 18px 0 20px; font-size: .94rem; max-width: 300px; color: #93a3bf; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #c4d0e3; transition: .2s; }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-contact li { font-size: .93rem; color: #93a3bf; transition: .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .85rem; color: #7e8eaa; }

/* ---------- Floating buttons ---------- */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: .25s;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .contact-grid, .distrib-grid { grid-template-columns: 1fr; gap: 40px; }
  .distrib-badge-wrap { order: -1; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .about-stat-float { right: 12px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .phone-link { display: none; }
  .nav-toggle { display: flex; }
  .topbar-left a:not(:first-child), .tb-hours, .tb-tag { display: none; }
  .main-nav {
    position: fixed; top: 76px; right: 0; bottom: 0; width: min(320px, 86vw);
    background: #fff; box-shadow: var(--shadow-lg); padding: 24px; overflow-y: auto;
    transform: translateX(105%); transition: .32s ease; border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { padding: 14px 16px; font-size: 1.02rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 60px; }
  .cards-grid, .cat-grid, .stats-grid, .row-2 { grid-template-columns: 1fr; }
  .stats-grid { gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .quote-card { padding: 36px 24px; }
  .quote-card blockquote { font-size: 1.1rem; }
  .contact-form { padding: 26px; }
  .header-actions .btn-sm { display: none; }
}
