/* ===================================================================
   Dr. Amol Bhandkar Clinic — design tokens
=================================================================== */
:root {
  --ink: #2a2118;
  --ink-soft: #5b4d3f;
  --canvas: #fbf6ef;
  --canvas-soft: #f3e8da;
  --card: #ffffff;
  --gold: #d89a3b;
  --gold-deep: #b97c22;
  --clay: #6b4226;
  --teal: #2f4858;
  --line: rgba(42, 33, 24, 0.12);

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'Space Mono', monospace;

  --max: 1180px;
  --radius: 18px;
  --shadow-soft: 0 12px 30px -10px rgba(42, 33, 24, 0.18);
  --shadow-lift: 0 20px 40px -12px rgba(42, 33, 24, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.01em; }
h2 em { font-style: italic; font-weight: 500; color: var(--clay); }
h3 { font-size: 1.25rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--canvas-soft); transform: translateY(-2px); }

/* ===================================================================
   HERO
=================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding-bottom: 4px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.6) contrast(1.05);
  transform: scale(1.04);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  100% { transform: scale(1.18) translate3d(-1%, -1%, 0); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 65% at 16% 42%, rgba(216,154,59,0.38), transparent 68%),
    linear-gradient(105deg, rgba(18,13,9,0.93) 0%, rgba(32,24,17,0.86) 48%, rgba(42,33,24,0.74) 100%),
    linear-gradient(to top, rgba(10,7,5,0.55) 0%, transparent 38%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 28px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 56px;
}
.hero-portrait {
  position: relative;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  animation: heroFadeUp 0.9s ease-out both;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,154,59,0.5), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.portrait-img {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 18px 40px -8px rgba(216,154,59,0.4), 0 10px 24px rgba(10,7,5,0.45);
}
.halo {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(216, 154, 59, 0.55);
}
.halo-1 { width: 200px; height: 200px; animation: pulse 3.6s ease-out infinite; }
.halo-2 { width: 200px; height: 200px; animation: pulse 3.6s ease-out infinite 1.2s; }
.halo-3 { width: 200px; height: 200px; animation: pulse 3.6s ease-out infinite 2.4s; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: heroFadeUp 0.9s ease-out 0.15s both; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.hero-content h1 span { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-location {
  color: #f1e3cd;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 14px 0 4px;
}
.hero-location i { color: var(--gold); margin-right: 6px; }
.hero-tagline {
  color: #e8dcc8;
  font-size: 1.08rem;
  max-width: 480px;
  margin: 10px 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-content .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.hero-content .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.quick-contacts {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.quick-contacts a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}
.quick-contacts a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--ink);
}

/* ===================================================================
   ABOUT
=================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 18px; }
.about-tags {
  list-style: none;
  margin: 6px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-tags li {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 18px;
  background: var(--canvas-soft);
  border-radius: 10px;
  color: var(--clay);
  position: relative;
  padding-left: 32px;
}
.about-tags li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===================================================================
   PORTFOLIO
=================================================================== */
.portfolio { background: var(--canvas-soft); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
  margin-top: 36px;
}
.gallery-item {
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  background: rgba(42,33,24,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.span-tall { grid-row: span 2; }
.span-wide { grid-column: span 2; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ===================================================================
   SERVICES
=================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 40px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--canvas-soft);
  margin-bottom: 18px;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin-bottom: 14px; }
.service-card ul { list-style: none; margin: 0; padding: 0; }
.service-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===================================================================
   REVIEWS
=================================================================== */
.reviews { background: var(--ink); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.reviews .eyebrow { color: var(--gold); }
.reviews h2 { color: #fff; }
.reviews-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.reviews .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.reviews .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.reviews-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

/* ===================================================================
   CONTACT
=================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-info .address {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: 1.02rem;
  display: flex;
  gap: 10px;
}
.contact-info .address i { color: var(--gold-deep); margin-top: 4px; }
.phone-line { margin-top: 12px; font-size: 1.05rem; font-weight: 600; }
.phone-line a { text-decoration: none; }
.phone-line i { color: var(--gold-deep); margin-right: 8px; }
.follow-label {
  margin-top: 36px;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.social-row {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
}
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--canvas-soft);
  color: var(--clay);
  transition: all 0.25s ease;
}
.social-row a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; }

/* ===================================================================
   FOOTER
=================================================================== */
/* ── FOOTER ── */
 footer {
  background: #060F09;
  padding: 52px 5% 28px;
  text-align: center;
}
.footer-powered { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-powered span { font-size: 0.7rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.12em; }
.footer-powered img { height: 38px; width: auto; object-fit: contain; vertical-align: middle; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--sun); }
.footer-section-label { font-size: 0.68rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a:nth-child(1):hover { background: #3b5999; border-color: #3b5999; color: #fff; }
.footer-social a:nth-child(2):hover { background: #1d9bf0; border-color: #1d9bf0; color: #fff; }
.footer-social a:nth-child(3):hover { background: #e4405f; border-color: #e4405f; color: #fff; }
.footer-social a:nth-child(4):hover { background: #ff0000; border-color: #ff0000; color: #fff; }
.footer-social a.wa-icon { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); color: #25D366; }
.footer-social a.wa-icon:hover { background: #25D366; border-color: #25D366; color: #fff; }
.footer-share-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.fsr-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.fsr-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.fsr-wa  { background: #25D366; }
.fsr-fb  { background: #3b5999; }
.fsr-tw  { background: #1d9bf0; }
.fsr-li  { background: #0077b5; }
.fsr-em  { background: #e8593f; }
.fsr-sm  { background: #4c53ef; }
.footer-bottom { font-size: 0.78rem; color: rgba(255,255,255,.28); border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px; }



/* ===================================================================
   FLOATING ELEMENTS
=================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-lift);
  z-index: 90;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.share-tab {
  position: fixed;
  right: 0;
  bottom: 100px;
  z-index: 90;
  display: flex;
  align-items: center;
}
.share-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50% 0 0 50%;
  border: none;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.share-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border-radius: 12px 0 0 12px;
  padding: 10px 8px;
  box-shadow: var(--shadow-soft);
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease;
}
.share-tab.open .share-options { max-width: 60px; opacity: 1; }
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.share-btn.whatsapp { background: #25d366; }
.share-btn.fb { background: #3b5999; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: var(--clay); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 70px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions, .quick-contacts { justify-content: center; }
  .about-grid, .reviews-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-tags { padding-top: 0; border-top: none; flex-direction: row; flex-wrap: wrap; }
  .reviews-image { margin: 0 auto; max-width: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .span-wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .section-inner { padding: 64px 20px; }
  .hero-inner { padding: 64px 20px 56px; }
  .hero-portrait { width: 180px; height: 180px; }
  .portrait-img, .halo-1, .halo-2, .halo-3 { width: 150px; height: 150px; }
  .gallery { grid-auto-rows: 130px; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; left: 18px; bottom: 18px; }
  .back-to-top { right: 18px; bottom: 18px; }
}