/* Maharania Skin Clinic — brand: navy #133f6b, orange #f26a21 */
:root {
  --navy: #133f6b;
  --navy-dark: #0d2f52;
  --orange: #f26a21;
  --orange-dark: #d8570f;
  --ink: #25313c;
  --muted: #5b6b7a;
  --bg-soft: #f3f7fb;
  --line: #dfe7ee;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(13, 47, 82, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy-dark); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-title p { color: var(--muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb957; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand strong { color: var(--navy-dark); font-size: 1.05rem; line-height: 1.2; display: block; }
.brand span { color: var(--muted); font-size: .78rem; display: block; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--orange); }
.site-nav a.nav-cta { background: var(--orange); color: #fff; padding: 9px 18px; border-radius: 999px; }
.site-nav a.nav-cta:hover { background: var(--orange-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1d5a96 100%);
  color: #fff;
  padding: 72px 0;
}
.hero h1 { color: #fff; max-width: 620px; }
.hero p { max-width: 560px; font-size: 1.08rem; color: #d8e4f0; }
.hero .actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .credentials { margin-top: 30px; color: #b9cde1; font-size: .9rem; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.card .card-body { padding: 16px 18px 20px; }
.card .card-body p { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.card h3 a { text-decoration: none; color: var(--navy-dark); }
.card h3 a:hover { color: var(--orange); }

/* Doctor block */
.doctor { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.doctor img { border-radius: var(--radius); box-shadow: var(--shadow); }
.doctor ul { list-style: none; padding: 0; color: var(--muted); }
.doctor ul li { padding: 4px 0; }
.doctor ul li::before { content: "✓ "; color: var(--orange); font-weight: 700; }

/* Steps (consult page) */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px 18px 64px; position: relative; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }
.notice {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius);
  padding: 14px 18px; color: #7c4a12; font-size: .92rem;
}

/* Testimonials */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.testimonial p { color: var(--ink); font-size: .95rem; margin-top: 0; }
.testimonial footer { color: var(--orange-dark); font-weight: 600; font-size: .9rem; }

/* Locations */
.location { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.location h3 { color: var(--navy); }
.location p { color: var(--muted); margin: 6px 0; }
.location a.map-link { font-weight: 600; }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Service detail */
.service-detail { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.service-detail img { border-radius: var(--radius); box-shadow: var(--shadow); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d9ea; }

/* Services index */
.service-list { columns: 3; column-gap: 28px; list-style: none; padding: 0; }
.service-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); }
.service-list a { text-decoration: none; }
.service-list a:hover { color: var(--orange); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 240px; object-fit: cover; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c4d4e4; margin-top: 56px; }
.site-footer .container { padding-top: 44px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 32px; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #c4d4e4; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 3px 0; }
.site-footer .copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 16px; font-size: .85rem; color: #8da6bf; text-align: center; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 13px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.float-wa:hover { background: #1eb957; }

/* Page banner */
.page-banner { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 44px 0; }
.page-banner h1 { color: #fff; margin: 0; }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .doctor, .service-detail { grid-template-columns: 1fr; }
  .service-list { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .service-list { columns: 1; }
  h1 { font-size: 1.7rem; }
}
