/* AFY Bilişim – hizmet sayfaları */
:root {
  --afy-navy: #0f1b2d;
  --afy-blue: #1d4ed8;
  --afy-blue-d: #1e3a8a;
  --afy-sky: #eff6ff;
  --afy-red: #dc2626;
  --afy-red-d: #b91c1c;
  --afy-green: #16a34a;
  --afy-text: #1f2937;
  --afy-muted: #64748b;
  --afy-line: #e3e8ef;
  --afy-bg: #f4f6fa;
  --afy-radius: 14px;
}
body.afy { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--afy-text); background: var(--afy-bg); margin: 0; }
.afy-wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.afy-section { padding: 46px 0; }
.afy-section.white { background: #fff; border-top: 1px solid var(--afy-line); border-bottom: 1px solid var(--afy-line); }
.afy-h2 { font-size: 28px; line-height: 1.2; color: var(--afy-navy); margin: 0 0 8px; font-weight: 800; letter-spacing: -.3px; }
.afy-lead { color: var(--afy-muted); font-size: 16px; line-height: 1.6; margin: 0 0 26px; max-width: 760px; }
.afy-kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--afy-blue); margin-bottom: 8px; }

/* Düğmeler */
.afy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; line-height: 1.1; font-family: inherit; }
.afy-btn:hover { transform: translateY(-1px); }
.afy-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.afy-btn-red { background: var(--afy-red); color: #fff; box-shadow: 0 6px 16px rgba(220, 38, 38, .25); }
.afy-btn-red:hover { background: var(--afy-red-d); }
.afy-btn-blue { background: var(--afy-blue); color: #fff; }
.afy-btn-blue:hover { background: var(--afy-blue-d); }
.afy-btn-wa { background: #16a34a; color: #fff; }
.afy-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.afy-btn-line { background: #fff; color: var(--afy-navy); border-color: var(--afy-line); }
.afy-btn-block { width: 100%; }

/* Hero */
.afy-hero { background: radial-gradient(1200px 500px at 85% -10%, #1e40af 0%, transparent 60%), linear-gradient(135deg, #0b1424 0%, #0f1b2d 55%, #172554 100%); color: #fff; padding: 58px 0 50px; }
.afy-hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 36px; align-items: center; }
.afy-hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 14px; font-weight: 850; letter-spacing: -.6px; }
.afy-hero h1 em { font-style: normal; color: #93c5fd; }
.afy-hero p { color: #cbd5e1; font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 620px; }
.afy-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.afy-rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #e2e8f0; margin-bottom: 18px; text-decoration: none; }
.afy-rating b { color: #fff; font-size: 16px; }
.afy-stars { color: #fbbf24; letter-spacing: 1px; }
.afy-hero-card { background: #fff; color: var(--afy-text); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.afy-hero-card h3 { margin: 0 0 6px; font-size: 19px; color: var(--afy-navy); }
.afy-hero-card p { color: var(--afy-muted); font-size: 14.5px; margin: 0 0 14px; }
.afy-steps-mini { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.afy-steps-mini li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.afy-steps-mini span { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--afy-sky); color: var(--afy-blue); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* Kartlar */
.afy-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.afy-cards.three { grid-template-columns: repeat(3, 1fr); }
.afy-cards.two { grid-template-columns: repeat(2, 1fr); }
.afy-card { background: #fff; border: 1px solid var(--afy-line); border-radius: var(--afy-radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.afy-card:hover { box-shadow: 0 12px 30px rgba(15, 27, 45, .10); transform: translateY(-2px); border-color: #bfdbfe; }
.afy-card h3 { margin: 4px 0 0; font-size: 18px; color: var(--afy-navy); }
.afy-card p { margin: 0; color: var(--afy-muted); font-size: 14.5px; line-height: 1.55; }
.afy-card .afy-more { margin-top: auto; padding-top: 8px; color: var(--afy-blue); font-weight: 800; font-size: 14px; }
.afy-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--afy-sky); color: var(--afy-blue); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.afy-card.highlight { border: 2px solid var(--afy-red); }
.afy-card.highlight .afy-ico { background: #fef2f2; color: var(--afy-red); }
.afy-badge { display: inline-block; background: #fef2f2; color: var(--afy-red); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.afy-badge.blue { background: var(--afy-sky); color: var(--afy-blue); }

/* Kampanya şeridi */
.afy-promo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #172554, #1d4ed8); color: #fff; border-radius: 20px; padding: 30px; }
.afy-promo h2 { margin: 0 0 8px; font-size: 28px; }
.afy-promo p { margin: 0 0 16px; color: #dbeafe; }
.afy-price-big { font-size: 46px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.afy-price-big small { font-size: 16px; font-weight: 700; color: #bfdbfe; margin-left: 6px; }
.afy-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.afy-check-list li { padding-left: 26px; position: relative; line-height: 1.45; }
.afy-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; color: #22c55e; }
.afy-promo .afy-check-list li::before { color: #86efac; }

/* Tablo */
.afy-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--afy-line); border-radius: var(--afy-radius); overflow: hidden; }
.afy-table th, .afy-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--afy-line); font-size: 15px; }
.afy-table th { background: #f8fafc; color: var(--afy-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.afy-table tr:last-child td { border-bottom: 0; }
.afy-table td:nth-child(2) { font-weight: 800; color: var(--afy-navy); white-space: nowrap; }

/* Referans şeridi */
.afy-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.afy-ref { background: #fff; border: 1px solid var(--afy-line); border-radius: 12px; padding: 16px; min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.afy-ref img { max-height: 46px; max-width: 150px; object-fit: contain; }
.afy-ref b { font-size: 15px; color: var(--afy-navy); line-height: 1.3; }
.afy-ref span { font-size: 12.5px; color: var(--afy-muted); }

/* Formlar */
.afy-form { background: #fff; border: 1px solid var(--afy-line); border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(15, 27, 45, .06); }
.afy-form h3 { margin: 0 0 4px; font-size: 20px; color: var(--afy-navy); }
.afy-form .afy-sub { color: var(--afy-muted); margin: 0 0 18px; font-size: 14.5px; }
.afy-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afy-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.afy-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.afy-field label, .afy-label { font-size: 13.5px; font-weight: 700; color: #334155; }
.afy-field input, .afy-field select, .afy-field textarea { font: inherit; font-size: 15px; padding: 12px 13px; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--afy-text); width: 100%; box-sizing: border-box; }
.afy-field input:focus, .afy-field select:focus, .afy-field textarea:focus { outline: none; border-color: var(--afy-blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.afy-field small { color: var(--afy-muted); font-size: 12.5px; }
.afy-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #334155; margin: 6px 0 14px; line-height: 1.45; }
.afy-check input { margin-top: 3px; width: 17px; height: 17px; flex: 0 0 auto; }
.afy-check a { color: var(--afy-blue); }
.afy-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.afy-alert { padding: 13px 16px; border-radius: 12px; margin: 0 0 16px; font-weight: 600; font-size: 14.5px; }
.afy-alert.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.afy-alert.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Seçim kutuları (tür, durum, teslim) */
.afy-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.afy-choices.three { grid-template-columns: repeat(3, 1fr); }
.afy-choices.two { grid-template-columns: repeat(2, 1fr); }
.afy-choice { position: relative; }
.afy-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.afy-choice span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px 10px; border: 1.5px solid #cbd5e1; border-radius: 12px; font-weight: 700; font-size: 14px; background: #fff; min-height: 64px; transition: border-color .12s, background .12s; }
.afy-choice span i { font-style: normal; font-size: 22px; }
.afy-choice span small { font-weight: 500; color: var(--afy-muted); font-size: 12px; }
.afy-choice input:checked + span { border-color: var(--afy-blue); background: var(--afy-sky); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.afy-choice input:focus-visible + span { outline: 3px solid #93c5fd; }

/* Teklif sihirbazı */
.afy-wizard { max-width: 820px; margin: 0 auto; }
.afy-progress { display: flex; gap: 8px; margin-bottom: 16px; }
.afy-progress div { flex: 1; height: 6px; border-radius: 999px; background: #e2e8f0; }
.afy-progress div.on { background: var(--afy-blue); }
.afy-step { display: none; }
.afy-step.on { display: block; }
.afy-only-pc { display: none; }
.afy-result { text-align: center; padding: 10px 0 4px; }
.afy-result .afy-range { font-size: 38px; font-weight: 900; color: var(--afy-navy); letter-spacing: -.8px; margin: 6px 0; }
.afy-result .afy-note { font-size: 13.5px; color: var(--afy-muted); max-width: 560px; margin: 0 auto 18px; line-height: 1.5; }
.afy-spinner { width: 42px; height: 42px; border: 4px solid #dbeafe; border-top-color: var(--afy-blue); border-radius: 50%; animation: afyspin 0.9s linear infinite; margin: 18px auto; }
@keyframes afyspin { to { transform: rotate(360deg); } }
.afy-loading { text-align: center; padding: 26px 0; color: var(--afy-muted); }
.afy-loading b { display: block; color: var(--afy-navy); font-size: 18px; margin-bottom: 4px; }
.afy-done { text-align: center; padding: 16px 0; }
.afy-done .big { font-size: 54px; }

/* Adımlar şeridi */
.afy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.afy-steps > div { background: #fff; border: 1px solid var(--afy-line); border-radius: var(--afy-radius); padding: 20px 20px 20px 66px; position: relative; }
.afy-steps > div::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--afy-blue); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.afy-steps h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--afy-navy); }
.afy-steps p { margin: 0; color: var(--afy-muted); font-size: 14px; line-height: 1.5; }

/* İletişim */
.afy-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.afy-map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 18px; }
.afy-info-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.afy-info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.afy-info-list li b { display: block; font-size: 13px; color: var(--afy-muted); font-weight: 700; }
.afy-info-list a { color: var(--afy-navy); font-weight: 800; text-decoration: none; }

/* Fiyat paketleri */
.afy-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.afy-plan { background: #fff; border: 1px solid var(--afy-line); border-radius: 18px; padding: 24px; }
.afy-plan.pro { border: 2px solid var(--afy-blue); }
.afy-plan h3 { margin: 0; font-size: 20px; color: var(--afy-navy); }
.afy-plan .price { font-size: 34px; font-weight: 900; color: var(--afy-navy); margin: 8px 0 2px; }
.afy-plan .price small { font-size: 15px; color: var(--afy-muted); font-weight: 600; }
.afy-plan .meta { color: var(--afy-muted); font-size: 13px; margin-bottom: 14px; }

/* Sabit WhatsApp / Ara */
.afy-float { position: fixed; right: 16px; bottom: 88px; display: flex; flex-direction: column; gap: 10px; z-index: 9990; }
.afy-float a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.afy-float-wa { background: #22c55e; }
.afy-float-tel { background: var(--afy-blue); }

.afy-faq details { background: #fff; border: 1px solid var(--afy-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.afy-faq summary { font-weight: 800; color: var(--afy-navy); cursor: pointer; }
.afy-faq p { color: var(--afy-muted); margin: 10px 0 0; line-height: 1.6; }

@media (max-width: 980px) {
  .afy-cards { grid-template-columns: repeat(2, 1fr); }
  .afy-cards.three { grid-template-columns: 1fr 1fr; }
  .afy-hero-grid, .afy-promo, .afy-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .afy-section { padding: 32px 0; }
  .afy-hero { padding: 34px 0 30px; }
  .afy-hero h1 { font-size: 29px; }
  .afy-hero p { font-size: 15.5px; }
  .afy-h2 { font-size: 23px; }
  .afy-cards, .afy-cards.three, .afy-cards.two, .afy-steps, .afy-plans { grid-template-columns: 1fr; }
  .afy-grid2, .afy-grid3 { grid-template-columns: 1fr; gap: 0; }
  .afy-choices { grid-template-columns: 1fr 1fr; }
  .afy-choices.three { grid-template-columns: 1fr; }
  .afy-result .afy-range { font-size: 29px; }
  .afy-price-big { font-size: 38px; }
  .afy-form { padding: 18px; }
  .afy-float { bottom: 80px; right: 12px; }
  .afy-table th:nth-child(3), .afy-table td:nth-child(3) { display: none; }
}
