@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');
:root {
  --teal: #0EA5A4; --teal-d: #0B7F7E; --teal-l: #E6F7F6; --ink: #0F2A3D; --muted: #5B7083; --line: #E3ECF1;
  --bg: #F7FBFC; --card: #fff; --pink: #DB2777; --amber: #F59E0B; --red: #E5484D; --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', Tahoma, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.demo-bar { background: var(--ink); color: #cfe3ea; font-size: 13.5px; text-align: center; padding: 8px 16px; }
.demo-bar a { color: #7FE3E1; font-weight: 800; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), #38BDF8); display: grid; place-items: center; color: #fff; font-size: 20px; }
.nav-links { display: flex; gap: 26px; font-weight: 700; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 14px; font-weight: 800; border: 0; cursor: pointer; font-size: 15.5px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(14,165,164,.3); }
.btn-teal:hover { background: var(--teal-d); transform: translateY(-2px); }
.btn-line { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }

/* hero */
.hero { padding: 70px 0 50px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: var(--teal-l); color: var(--teal-d); font-weight: 800; font-size: 14px; padding: 6px 16px; border-radius: 30px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.25; font-weight: 900; margin: 18px 0 14px; }
.hero h1 span { color: var(--teal); }
.hero p { color: var(--muted); font-size: 18px; margin-bottom: 28px; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.trust div b { display: block; font-size: 26px; font-weight: 900; color: var(--teal-d); line-height: 1.2; }
.trust div span { color: var(--muted); font-size: 14px; font-weight: 700; }
.hero-art { position: relative; }
.hero-card { background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 30px 70px rgba(15,42,61,.12); border: 1px solid var(--line); }
.hero-card h3 { font-size: 18px; margin-bottom: 14px; }
.mini-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-slots span { text-align: center; padding: 8px 0; border-radius: 10px; background: var(--teal-l); color: var(--teal-d); font-weight: 800; font-size: 14px; }
.mini-slots span.off { background: #F1F4F6; color: #A7B4BE; text-decoration: line-through; }
.mini-slots span.on { background: var(--teal); color: #fff; }
.float-badge { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(15,42,61,.14); font-weight: 800; font-size: 14px; display: flex; gap: 10px; align-items: center; animation: bob 5s ease-in-out infinite; }
.float-badge.b1 { top: -22px; inset-inline-start: -14px; }
.float-badge.b2 { bottom: -24px; inset-inline-end: -10px; animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

section { padding: 70px 0; }
.head { text-align: center; margin-bottom: 40px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; }
.head p { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,61,.08); }
.svc-icon { font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; background: var(--teal-l); border-radius: 16px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 800; }
.card .meta { color: var(--muted); font-size: 14.5px; margin-top: 6px; display: flex; justify-content: space-between; }
.card .meta b { color: var(--teal-d); }
.doc-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; margin-bottom: 12px; }

/* booking */
.booking { background: linear-gradient(180deg, #fff, var(--bg)); border-block: 1px solid var(--line); }
.book-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.step h3 i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: 14.5px; color: var(--ink); }
.chip:hover { border-color: var(--teal); }
.chip.sel { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip:disabled { background: #F4F6F8; color: #B3BEC6; text-decoration: line-through; cursor: not-allowed; border-color: #EEF2F4; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 4px; text-align: center; cursor: pointer; }
.day small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.day b { font-size: 19px; }
.day.sel { background: var(--teal); border-color: var(--teal); color: #fff; }
.day.sel small { color: #d9fbfa; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea, select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,165,164,.12); }
textarea { grid-column: 1 / -1; min-height: 80px; }
.summary { position: sticky; top: 90px; background: var(--ink); color: #fff; border-radius: 24px; padding: 24px; }
.summary h3 { font-size: 18px; margin-bottom: 14px; }
.summary .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: 15px; }
.summary .row span { color: #9FB7C4; }
.summary .total { font-size: 20px; font-weight: 900; border: 0; }
.summary .btn { width: 100%; margin-top: 16px; }
.err { color: var(--red); font-weight: 700; font-size: 14px; margin-top: 8px; min-height: 20px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(15,42,61,.55); display: none; place-items: center; z-index: 100; padding: 16px; }
.modal.open { display: grid; }
.modal-box { background: #fff; border-radius: 26px; padding: 32px; max-width: 420px; width: 100%; text-align: center; animation: pop .35s cubic-bezier(.2,.8,.3,1.2); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.check { width: 74px; height: 74px; border-radius: 50%; background: var(--teal-l); color: var(--teal); display: grid; place-items: center; font-size: 38px; margin: 0 auto 12px; }
.modal-box h3 { font-size: 22px; font-weight: 900; }
.modal-box p { color: var(--muted); margin: 6px 0 18px; }
.ref { font-family: monospace; background: var(--teal-l); color: var(--teal-d); padding: 4px 12px; border-radius: 8px; font-weight: 800; }

footer { background: var(--ink); color: #9FB7C4; padding: 34px 0; margin-top: 40px; font-size: 14.5px; }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
  .hero .container, .book-wrap, .grid3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .summary { position: static; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .float-badge.b1 { inset-inline-start: 0; }
}
