
/* =========================================================
   SETHU SKIN & LASER CLINIC
   HTML COMPATIBILITY + BRANCH POPUP + MOBILE FIXES
   Preserve existing treatment explorer and animations
========================================================= */

/* ---------- GLOBAL ---------- */

:root {
  --teal: #0f918d;
  --teal-dark: #087b78;
  --teal-light: #eaf8f6;
  --ink: #193735;
  --muted: #607573;
  --white: #ffffff;
  --border: #d9ece9;
  --page: #f8fcfb;
  --shadow: 0 15px 45px rgba(16, 73, 69, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

body.branch-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 145, 141, 0.4);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.13;
}

p {
  color: var(--muted);
}

.section {
  padding: 76px max(24px, calc((100% - 1180px) / 2));
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 43px;
  height: 48px;
  object-fit: contain;
}

.brand b {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--teal);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 23px);
}

.desktop-nav a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.header-call,
.mobile-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 28px;
  color: white;
  background: var(--teal);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-call:hover,
.mobile-call:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--ink);
  background: white;
  font-size: 1.35rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 12px 22px 20px;
  border-bottom: 1px solid var(--border);
  background: white;
}

.mobile-menu.open:not([hidden]) {
  display: grid;
  gap: 7px;
}

.mobile-menu > a {
  padding: 9px 0;
  color: var(--ink);
  font-weight: 700;
}

.mobile-menu .mobile-call {
  width: 100%;
  margin-top: 8px;
}

/* ---------- HERO ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(25px, 4vw, 55px);
  padding: clamp(42px, 5vw, 68px) max(24px, calc((100% - 1180px) / 2));
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 10px 0 19px;
  font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 em,
.contact-copy h2 em {
  color: var(--teal);
  font-weight: 500;
}

.hero-lead {
  max-width: 600px;
  margin: 0 0 23px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--ink);
}

.doctor-name-nowrap {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 1px solid var(--teal);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  color: white;
  background: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 145, 141, 0.18);
}

.btn-secondary {
  color: var(--teal-dark);
  background: white;
}

.btn-secondary:hover {
  background: var(--teal-light);
}

.hero-doctor {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: white;
  box-shadow: 0 22px 55px rgba(16, 73, 69, 0.11);
}

.doctor-photo {
  overflow: hidden;
  background: white;
}

.doctor-photo img {
  width: 100%;
  height: clamp(340px, 36vw, 440px);
  object-fit: contain;
  object-position: center;
  background: white;
}

.doctor-caption {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: white;
}

.doctor-caption strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  white-space: nowrap;
}

.doctor-caption span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-line span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--teal-dark);
  background: white;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ---------- CARE STRIP ---------- */

.care-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.care-strip > div {
  padding: 7px 12px;
  text-align: center;
}

.care-strip strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.care-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- ABOUT ---------- */

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 65px);
}

.about-image {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--teal-light);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.about-copy p {
  line-height: 1.8;
}

.mini-points,
.doctor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.mini-points span,
.doctor-pills span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--teal-dark);
  background: white;
  font-size: 0.83rem;
  font-weight: 700;
}

/* ---------- QUICK GUIDE ---------- */

.quick-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: 45px max(24px, calc((100% - 1180px) / 2));
  background: var(--teal-light);
}

.quick-guide h2 {
  margin-bottom: 8px;
}

.quick-guide p {
  margin-bottom: 0;
}

.care-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.care-options button {
  padding: 10px 14px;
  border: 1px solid #cce7e3;
  border-radius: 24px;
  color: var(--ink);
  background: white;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.care-options button:hover {
  color: white;
  background: var(--teal);
}

/* ---------- TREATMENT CARDS ---------- */

.services {
  background: white;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-head > div {
  min-width: 0;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-note {
  max-width: 450px;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
}

.service-tabs .tab {
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 25px;
  color: var(--ink);
  background: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-tabs .tab:hover,
.service-tabs .tab.active,
.service-tabs .tab[aria-selected="true"] {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--page);
  box-shadow: 0 6px 22px rgba(16, 73, 69, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card.is-hidden {
  display: none !important;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-num {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-label {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0 0 15px;
  font-size: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
  background: white;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.chips span:hover,
.chips span:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}

/* ---------- DOCTOR SECTION ---------- */

.doctor-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 0.78fr);
  align-items: center;
  gap: 28px;
  background: #f0f9f7;
}

.doctor-portrait-wrap,
.doctor-info,
.doctor-profile {
  min-width: 0;
}

.doctor-portrait {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
}

.doctor-portrait img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  background: white;
}

.portrait-badge {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: white;
}

.portrait-badge strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.85rem, 1vw, 1rem);
  white-space: nowrap;
}

.portrait-badge span {
  color: var(--muted);
  font-size: 0.82rem;
}

.doctor-info h2 {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  letter-spacing: -0.035em;
}

.doctor-info p {
  line-height: 1.8;
}

.doctor-role,
.doctor-cred {
  color: var(--teal-dark);
  font-weight: 700;
}

.doctor-profile {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.profile-kicker {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.profile-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-block: 15px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.doctor-profile h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.doctor-profile p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.profile-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}

.profile-line span {
  color: var(--muted);
  font-size: 0.8rem;
}

.profile-line strong {
  font-size: 0.92rem;
}

/* ---------- CLINIC GALLERY ---------- */

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.visual-grid figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  box-shadow: 0 6px 22px rgba(16, 73, 69, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visual-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.visual-grid figure img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.visual-grid figure:hover img {
  transform: scale(1.035);
}

.visual-grid figcaption {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.visual-grid figure.large {
  grid-column: span 2;
}

/* ---------- LASER FEATURE ---------- */

.laser-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
  background: white;
}

.laser-feature-copy p {
  line-height: 1.8;
}

.laser-feature-art {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.laser-feature-art img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.laser-feature-art > span {
  display: block;
  padding: 14px 18px;
  color: var(--teal-dark);
  font-weight: 700;
}

.wavelength-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.wavelength-pills span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--teal-dark);
  background: var(--teal-light);
  font-weight: 700;
}

/* ---------- CONTACT / BRANCH CARDS ---------- */

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 40px;
  padding: 76px max(24px, calc((100% - 1180px) / 2));
  color: white;
  background: #173d3a;
}

.contact-section h2 {
  color: white;
}

.contact-section p {
  color: #d0e2df;
  line-height: 1.8;
}

.contact-copy > .eyebrow {
  color: #7ce0d7;
}

.contact-note {
  display: grid;
  gap: 5px;
  margin-top: 25px;
  padding: 16px;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  background: #ffffff0b;
}

.contact-note strong {
  color: #7ce0d7;
}

.contact-note span {
  color: #d0e2df;
  font-size: 0.88rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.branch {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  background: #ffffff0b;
}

.branch > span {
  color: #7ce0d7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.branch > strong {
  margin-top: 12px;
  color: white;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.branch > small {
  margin-top: 10px;
  color: #d0e2df;
  font-size: 0.84rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.branch-actions button,
.branch-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid #ffffff40;
  border-radius: 25px;
  color: white;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.branch-actions .branch-call {
  border-color: var(--teal);
  background: var(--teal);
}

.branch-actions .branch-whatsapp {
  border-color: #238f69;
  background: #238f69;
}

.branch-actions button:hover,
.branch-actions a:hover {
  border-color: #7ce0d7;
  background: var(--teal-dark);
}

.email-branch {
  grid-column: 1 / -1;
}

.email-branch .branch-actions {
  margin-top: 0;
}

/* ---------- BRANCH CHOOSER POPUP ---------- */

.branch-modal[hidden] {
  display: none !important;
}

.branch-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.branch-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 37, 35, 0.68);
  backdrop-filter: blur(5px);
  animation: branchBackdropIn 0.18s ease-out;
}

.branch-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 32px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: white;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  animation: branchPopupIn 0.22s ease-out;
}

.branch-modal-panel .eyebrow {
  padding-right: 25px;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.branch-modal-panel h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.branch-modal-panel > p:not(.eyebrow) {
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.branch-modal-close {
  position: absolute;
  top: 9px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--teal-light);
  font-size: 1.7rem;
  cursor: pointer;
}

.branch-modal-close:hover {
  background: #d9f2ee;
}

.branch-modal-options {
  display: grid;
  gap: 11px;
}

.branch-modal-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--ink);
  background: var(--page);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.branch-modal-option:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  background: var(--teal-light);
}

.branch-modal-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 1.15rem;
}

.branch-modal-option strong,
.branch-modal-option small {
  display: block;
}

.branch-modal-option strong {
  font-size: 1rem;
}

.branch-modal-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.85rem;
}

.branch-modal-arrow {
  color: var(--teal-dark);
  font-size: 1.15rem;
}

.branch-modal-note {
  margin: 17px 0 0 !important;
  text-align: center;
  font-size: 0.78rem !important;
}

@keyframes branchPopupIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes branchBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- FLOATING CONTACT BUTTONS ---------- */

.floating-call,
.floating-whatsapp {
  position: fixed;
  right: 18px;
  z-index: 90;
  display: inline-flex;
  min-width: 142px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 30px;
  color: white;
  box-shadow: 0 7px 24px rgba(0, 47, 44, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.floating-call {
  bottom: 78px;
  background: var(--teal);
}

.floating-whatsapp {
  bottom: 18px;
  background: #238f69;
}

.floating-call:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.floating-call:hover {
  background: var(--teal-dark);
}

.floating-whatsapp:hover {
  background: #176e50;
}

/* ---------- FOOTER ---------- */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(24px, calc((100% - 1180px) / 2));
  color: var(--muted);
  background: white;
  font-size: 0.82rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 42px;
  height: 46px;
  object-fit: contain;
}

.footer-brand > div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-brand span,
.footer-brand a {
  overflow-wrap: anywhere;
}

/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
  .site-header {
    gap: 12px;
    padding-inline: 22px;
  }

  .desktop-nav {
    gap: 11px;
  }

  .desktop-nav a {
    font-size: 0.76rem;
  }

  .header-call {
    padding-inline: 13px;
  }

  .doctor-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-profile {
    grid-column: 1 / -1;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 760px) {
  html {
    overflow-x: clip;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 17px;
    gap: 10px;
  }

  .brand img {
    width: 37px;
    height: 43px;
  }

  .brand b {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.49rem;
    letter-spacing: 0.08em;
  }

  .desktop-nav,
  .site-header > .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .mobile-menu.open:not([hidden]) {
    display: grid;
    gap: 5px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 34px 18px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .hero-doctor {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .doctor-photo img {
    height: min(105vw, 410px);
  }

  .doctor-caption strong {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .trust-line {
    gap: 7px;
  }

  .trust-line span {
    font-size: 0.72rem;
  }

  .care-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 17px;
    gap: 10px;
  }

  .section {
    padding: 52px 18px;
  }

  .about-section,
  .quick-guide,
  .laser-feature {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-image,
  .about-image img {
    min-height: 250px;
  }

  .quick-guide {
    padding: 36px 18px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 21px;
  }

  .doctor-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-portrait-wrap {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .doctor-portrait img {
    height: min(105vw, 420px);
  }

  .doctor-info h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    white-space: normal;
  }

  .doctor-profile {
    grid-column: auto;
  }

  .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .visual-grid figure.large {
    grid-column: 1 / -1;
  }

  .visual-grid figure img {
    height: 180px;
  }

  .visual-grid figure.large img {
    height: 245px;
  }

  .contact-section {
    padding: 52px 18px;
    gap: 25px;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .email-branch {
    grid-column: auto;
  }

  .branch-actions > a,
  .branch-actions > button {
    flex: 1 1 auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px;
  }

  .floating-call,
  .floating-whatsapp {
    right: 12px;
    min-width: 0;
    min-height: 46px;
    padding: 11px 15px;
    font-size: 0.8rem;
  }

  .floating-call {
    bottom: 70px;
  }

  .floating-whatsapp {
    bottom: 14px;
  }

  .branch-modal-panel {
    padding: 30px 18px 22px;
  }
}

/* ---------- SMALL PHONES ---------- */

@media (max-width: 380px) {
  .hero {
    padding-inline: 15px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .doctor-name-nowrap {
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid figure.large {
    grid-column: auto;
  }

  .visual-grid figure img,
  .visual-grid figure.large img {
    height: 225px;
  }

  .branch {
    padding: 19px;
  }

  .floating-call,
  .floating-whatsapp {
    right: 10px;
  }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   SETHU CLINIC - REFINED CONTACT DESIGN
   ========================================== */

.redesigned-contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 76px);
}

.redesigned-contact .contact-copy {
  max-width: 470px;
}

.redesigned-contact .contact-copy h2 {
  line-height: 1.2;
  margin: 12px 0 20px;
}

.redesigned-contact .contact-copy > p:not(.eyebrow) {
  line-height: 1.85;
  max-width: 430px;
}

.redesigned-contact .contact-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.contact-note-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(81,220,207,.12);
  color: #73e1d6;
}

.redesigned-contact .contact-note strong,
.redesigned-contact .contact-note span {
  display: block;
}

.redesigned-contact .contact-note strong {
  margin-bottom: 7px;
}

.redesigned-contact .contact-note span {
  line-height: 1.7;
}

.redesigned-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.redesigned-branch {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 10px 32px rgba(0,0,0,.07);
  transition: border-color .2s ease, transform .2s ease;
}

.redesigned-branch:hover {
  border-color: rgba(94,224,211,.42);
  transform: translateY(-3px);
}

.branch-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.branch-location-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(89,220,208,.12);
  color: #72e0d5;
  font-size: 27px;
}

.branch-label {
  display: block;
  margin-bottom: 5px;
  color: #78ded4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.redesigned-branch .branch-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.25;
}

.redesigned-branch .branch-address {
  margin: 0 0 15px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.branch-phone-number,
.branch-email-address {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.branch-phone-number:hover,
.branch-email-address:hover {
  color: #80e5dc;
}

.branch-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.redesigned-branch .branch-primary-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background .2s ease, border-color .2s ease;
}

.redesigned-branch .branch-primary-actions .branch-call {
  background: #149d9a;
  border-color: #149d9a;
  color: #fff;
}

.redesigned-branch .branch-primary-actions .branch-call:hover {
  background: #118783;
  border-color: #118783;
}

.redesigned-branch .branch-primary-actions .branch-whatsapp {
  background: #258f70;
  border-color: #258f70;
  color: #fff;
}

.redesigned-branch .branch-primary-actions .branch-whatsapp:hover {
  background: #207b60;
  border-color: #207b60;
}

.branch-utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.redesigned-branch .branch-utility-actions .branch-map,
.redesigned-branch .branch-utility-actions .copy-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.redesigned-branch .branch-utility-actions .branch-map:hover,
.redesigned-branch .branch-utility-actions .copy-phone:hover {
  color: #83e5dc;
}

.redesigned-branch.email-branch {
  grid-column: 1 / -1;
}

.redesigned-branch .branch-email-address {
  font-size: clamp(14px, 1.3vw, 18px);
  margin-bottom: 22px;
}

.redesigned-branch .email-actions {
  margin-top: auto;
}

/* Tablet */
@media (max-width: 1000px) {
  .redesigned-contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .redesigned-contact .contact-copy {
    max-width: 650px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .redesigned-contact {
    padding: 36px 18px;
    gap: 26px;
  }

  .redesigned-branch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .redesigned-branch.email-branch {
    grid-column: auto;
  }

  .redesigned-branch {
    padding: 22px 19px;
    border-radius: 18px;
  }

  .redesigned-branch .branch-heading h3 {
    font-size: 21px;
  }

  .branch-primary-actions {
    gap: 10px;
  }

  .redesigned-branch .branch-primary-actions > a {
    padding: 10px 8px;
    font-size: 12px;
  }

  .branch-utility-actions {
    gap: 8px 15px;
  }
}

