/* ==========================================================
   Asiatogel88 Dental Care — main stylesheet
   ========================================================== */
:root {
  --primary: #0b7285;
  --primary-dark: #075563;
  --primary-light: #e6f6f8;
  --accent: #f08c5a;
  --navy: #0f2a3d;
  --text: #33475b;
  --muted: #6b7c8f;
  --line: #e3ebf0;
  --bg: #ffffff;
  --bg-soft: #f5f9fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 42, 61, .08);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #d9733f; color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }

/* Topbar */
.topbar { background: var(--navy); color: #cfe0ea; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar span + span { margin-left: 18px; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.1rem; line-height: 1.1; }
.logo img { width: 44px; height: 44px; }
.logo small { display: block; font-weight: 600; font-size: .72rem; color: var(--primary); letter-spacing: .14em; text-transform: uppercase; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: .95rem; border-radius: 10px; }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-light); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .2s; }

/* Hero slider */
.hero { position: relative; background: linear-gradient(135deg, #e6f6f8 0%, #f7fbfc 60%, #fff4ed 100%); overflow: hidden; }
.slides { position: relative; }
.slide { display: none; }
.slide.active { display: block; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slide .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 560px; padding-top: 40px; padding-bottom: 60px; }
.hero p.lead { max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: #b8d4da; cursor: pointer; padding: 0; transition: .2s; }
.hero-dots button.active { width: 32px; background: var(--primary); }

/* Stats */
.stats { margin-top: -40px; position: relative; z-index: 2; }
.stats .grid { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--primary); }
.stat span { color: var(--muted); font-size: .92rem; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 58px; height: 58px; border-radius: 14px; background: var(--primary-light); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 30px; height: 30px; stroke: var(--primary); }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { font-weight: 700; font-size: .92rem; }
.card-img { padding: 0; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-img .card-body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* Doctor */
.doctor { text-align: center; }
.doctor img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); background: var(--primary-light); margin-bottom: 16px; }
.doctor h3 { margin-bottom: 4px; }
.doctor .spec { color: var(--primary); font-weight: 600; font-size: .92rem; }
.doctor .note { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Branch */
.branch h3 { display: flex; align-items: center; gap: 8px; }
.branch ul { list-style: none; padding: 0; margin: 12px 0 18px; color: var(--muted); font-size: .93rem; }
.branch li { margin-bottom: 6px; }
.branch-img { width: calc(100% + 56px); max-width: none; margin: -28px -28px 18px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.hero-img.photo { border-radius: 24px; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 24px 60px rgba(11,114,133,.18); }
.credits { font-size: .78rem; opacity: .75; margin-top: 10px; }

/* Testimonial */
.quote { font-style: italic; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #e8f7f9; border-radius: 24px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, #e6f6f8 0%, #f7fbfc 70%); padding: 60px 0 50px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Content */
.content { max-width: 800px; }
.content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.content h3 { margin-top: 1.4em; }
.content img { border-radius: var(--radius); margin: 24px 0; }
.layout-side { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar .card { position: sticky; top: 100px; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 20px; }
.sidebar li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.sidebar li a:hover { color: var(--primary); }
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--primary-light); color: var(--navy); }

/* Form */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: .95rem; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Promo badge */
.promo-badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.pos-rel { position: relative; }

/* Footer */
.footer { background: var(--navy); color: #b9cbd8; padding: 70px 0 0; margin-top: 80px; font-size: .93rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: #b9cbd8; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--primary); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* WhatsApp floating */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Placeholder notice */
.placeholder { background: #fff8e6; border: 1px dashed #e0b44c; color: #7a5a00; border-radius: 10px; padding: 2px 8px; font-size: .85em; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .layout-side { grid-template-columns: 1fr; }
  .sidebar .card { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 14px 20px 20px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .slide .container, .split { grid-template-columns: 1fr; }
  .slide .container { min-height: auto; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .slide .hero-img { max-width: 420px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .footer .grid, .form-row { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 36px 24px; text-align: center; justify-content: center; }
  .topbar .container { justify-content: center; }
}
