/* Simis Medikal - site stilleri
   Vurgu rengi admin panelinden (Site Ayarları > Vurgu rengi) değişir: --accent */
:root {
    --accent: #9B2A4C;
    --ink: #2A1A21;
    --muted: #5E4B54;
    --line: #EBDFE4;
    --bg: #FAF6F7;
    --surface: #FFFFFF;
    --soft: #F4E8ED;
    --dark: #2B1420;
    --dark-2: #3E1F2E;
    --dark-text: #E4CFD8;
    --radius: 18px;
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: color-mix(in srgb, var(--accent) 75%, #000); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, #fff); outline-offset: 2px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 80%, #000); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: #DFCDD4; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); color: var(--ink); }

/* Üst şerit + header */
.topbar { background: var(--dark); color: #EBD9E0; font-size: 14px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: #EBD9E0; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { height: 54px; width: auto; }
.footer-logo { width: 220px; height: auto; margin-bottom: 6px; }
.logo-mark { color: var(--accent); display: inline-flex; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.main-nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 600; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--surface); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 88px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-text h1 { margin: 0; }
.hero-text .lead { margin: 0; }
.hero-media { flex: 1 1 440px; min-width: 0; }
.hero-media img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; }
.hero-media .hero-empty { height: 440px; border-radius: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-actions.center { justify-content: center; }
.pill { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.media-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--soft); color: #B898A6; }

/* Güven şeridi */
.trust { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon { color: var(--accent); flex: none; display: inline-flex; }
.trust-title { font-weight: 700; }
.trust-sub { font-size: 14px; color: var(--muted); }

/* Bölümler */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.kicker-light { color: #F2AFC4; }
.more-link { font-weight: 700; }
.center-title { text-align: center; font-size: 28px; margin-bottom: 28px; }

/* Kartlar */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.card-media { height: 190px; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-contain img { object-fit: contain; padding: 12px; background: #fff; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card-text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-link { font-size: 15px; font-weight: 700; color: var(--accent); margin-top: auto; padding-top: 6px; text-decoration: none; }

/* Hizmetler bandı */
.services-band { background: var(--dark); color: #fff; border-radius: 28px; padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.services-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.services-intro h2 { margin: 0; color: #fff; }
.services-intro p { color: var(--dark-text); font-size: 17px; margin: 0; }
.services-grid { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.service-card { background: var(--dark-2); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #fff; border: 1px solid transparent; }
.service-card:hover { border-color: #F2AFC4; color: #fff; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.service-title { font-size: 19px; font-weight: 700; }
.service-text { font-size: 15px; line-height: 1.55; color: var(--dark-text); }
.service-tile .service-icon { margin-bottom: 4px; }

/* Logolar */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.logo-tile { height: 92px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; text-decoration: none; color: var(--muted); font-weight: 700; }
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
a.brand-card:hover { border-color: var(--accent); color: var(--ink); }
.brand-logo { height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--muted); font-weight: 800; font-size: 20px; }
.brand-logo img { max-height: 100%; width: auto; object-fit: contain; }

/* Teklif bölümü + form */
.quote-section { background: var(--surface); border-top: 1px solid var(--line); padding: 88px 0; }
.quote-inner { display: flex; flex-wrap: wrap; gap: 56px; }
.quote-intro { flex: 1 1 340px; min-width: 0; }
.quote-intro p { color: var(--muted); font-size: 17px; }
.quote-form-wrap { flex: 1 1 520px; min-width: 0; }
.request-form { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input:not([type=checkbox]), .field textarea, .field select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #D3BFC7; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 20%, transparent); outline-offset: 0; }
.field textarea { resize: vertical; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.field-error, .form-errors { color: #B42318; font-size: 14px; }
.form-errors ul { margin: 0 0 12px; padding-left: 18px; }
.input-validation-error { border-color: #B42318 !important; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines strong { display: block; font-size: 14px; }
.cl-icon { width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Sayfa başlığı */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.page-header h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0 0; }
.page-header p { color: var(--muted); font-size: 18px; margin: 12px 0 0; max-width: 720px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Katalog */
.catalog { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.catalog-side { flex: 1 1 240px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.catalog-main { flex: 999 1 560px; min-width: 0; }
.search-box { display: flex; gap: 8px; }
.search-box input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid #D3BFC7; border-radius: 10px; }
.side-nav { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.side-nav a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.side-nav a:hover { background: var(--bg); }
.side-nav a.active { background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); }
.side-title { font-weight: 800; margin-bottom: 10px; }
.catalog-desc { margin-bottom: 28px; }
.empty-state { background: #fff; border: 1px dashed #D3BFC7; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; justify-content: center; }
.pager-item { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; }
.pager-item.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Ürün detay */
.product-detail { display: flex; flex-wrap: wrap; gap: 48px; }
.product-gallery { flex: 1 1 460px; min-width: 0; }
.product-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.product-name { font-size: clamp(28px, 3vw, 38px); margin: 0; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 460px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumb { width: 76px; height: 76px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-tabs { display: grid; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel-title { font-size: 24px; }

/* Zengin içerik */
.rich-content { font-size: 17px; line-height: 1.75; }
.rich-content h2 { font-size: 28px; margin-top: 1.4em; }
.rich-content h3 { font-size: 22px; margin-top: 1.3em; }
.rich-content img { height: auto; border-radius: 12px; margin: 1em 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.rich-content th, .rich-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.rich-content tr:nth-child(even) td { background: var(--bg); }
.rich-content blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: 4px 0 4px 18px; color: var(--muted); }
.content-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.content-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.content-main { flex: 999 1 560px; min-width: 0; }
.content-side { flex: 1 1 260px; }
.cta-band { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { font-size: 26px; margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }
.thanks-icon { color: var(--accent); display: inline-flex; margin-bottom: 12px; }
.error-code { font-size: 72px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--dark-text); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #F2AFC4; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #4A2737; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1A7F4B; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(43, 20, 32, .25); z-index: 60; }
.whatsapp-float:hover { background: #156B3F; color: #fff; }

/* Mobil */
@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
    .main-nav.open { display: flex; }
    .main-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .main-nav a:not(.btn).active { border-bottom-color: var(--line); }
    .nav-cta { margin-top: 14px; }
    .site-header { position: sticky; }
    .header-inner { position: relative; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
    .hero-media img, .hero-media .hero-empty { height: 260px; }
    .section { padding: 56px 0; }
    .section-tight { padding: 40px 0; }
    .services-band { padding: 36px 22px; border-radius: 20px; }
    .request-form { padding: 22px; }
    .quote-section { padding: 56px 0; }
    .gallery-main { height: 320px; }
    .panel { padding: 22px; }
    .main-nav { padding-left: 16px; padding-right: 16px; }
}

/* Hero slider */
.hero-slider { position: relative; overflow: hidden; }
.slider-track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .7s ease, visibility 0s; }
.slide .hero-inner { padding-bottom: 104px; }
.slide-title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 32px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 28px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: #DFCDD4; cursor: pointer; position: relative; transition: width .3s, background .3s; }
.slider-dot::before { content: ""; position: absolute; inset: -19px -4px; }
.slider-dot.is-active { width: 48px; background: var(--accent); }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #DFCDD4; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-arrow:hover { border-color: var(--accent); color: var(--accent); }
.slider-arrow .ic-play { display: none; }
.hero-slider.is-paused .ic-pause { display: none; }
.hero-slider.is-paused .ic-play { display: inline; }

/* Logo bantları (sürekli akan) */
.logos-section .center-title-sub { margin-top: 48px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 16px; padding-right: 16px; }
.marquee .logo-tile { width: 190px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
    .slide .hero-inner { padding-bottom: 76px; }
    .slider-controls { bottom: 16px; }
    .marquee .logo-tile { width: 150px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .slide, .slide.is-active { transition: none; transform: none; }
    .marquee-track { animation: none; }
    .marquee { overflow-x: auto; }
}

@media (max-width: 640px) { .logo img { height: 42px; } }
