/* ==========================================================================
   DERMAZEN SKIN, HAIR & LASER CLINIC - ULTRA-LUXURY DESIGN SYSTEM (CRO OPTIMIZED)
   Primary Brand Theme: Deep Royal Midnight Navy (#061426, #0B192C) + Metallic Warm Gold (#D4AF37)
   Lead Aesthetic Physician: Dr. Nidhi Shukla (BPT, Master's in Cosmetology, Trichology & Laser)
   Clinic Location: 1st Floor, B-38, Sector-P, Aliganj, Lucknow - 226024
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
/* --- Root Design Tokens --- */
:root {
  /* Navy Tones */
  --navy-midnight: #040D1A;
  --navy-dark: #061426;
  --navy-primary: #0B192C;
  --navy-card: #0F2544;
  --navy-light: #162F56;
  --navy-mesh: radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.05) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(11, 25, 44, 0.9) 0px, transparent 50%),
                 #061426;

  /* Metallic Gold Palette */
  --gold-highlight: #FFF3BF;
  --gold-light: #FDE047;
  --gold-primary: #C5A85A;
  --gold-dark: #A17112;
  --gold-deep: #634500;
  --gold-gradient: linear-gradient(135deg, #F0E6D2 0%, #C5A85A 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #D4BB7E 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);
  --gold-glow-lg: 0 10px 40px rgba(212, 175, 55, 0.35);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-subtle: rgba(212, 175, 55, 0.08);

  /* Light Theme & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  
  /* Text & Typography */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-gold: #D4AF37;
  
  /* Borders & Shadows */
  --border-subtle: #E2E8F0;
  --border-gold-glass: rgba(212, 175, 55, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(11, 25, 44, 0.08);
  --shadow-sm: 0 6px 18px rgba(11, 25, 44, 0.07);
  --shadow-card-hover: 0 20px 40px -10px rgba(11, 25, 44, 0.16);
  --shadow-gold-hover: 0 15px 35px rgba(212, 175, 55, 0.25);

  /* Fonts */
  --font-serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Speeds */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* --- Headings & Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.font-serif-brand {
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 95px 0;
}

.section-padding-sm {
  padding: 55px 0;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.justify-center {
  justify-content: center !important;
}

.align-center {
  align-items: center !important;
}

/* Page Banner */
.page-banner {
  background: var(--navy-mesh);
  color: #FFFFFF;
  padding: 80px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
  position: relative;
}

.page-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-banner .section-eyebrow {
  margin: 0 auto 18px auto;
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  margin-bottom: 16px;
  text-align: center;
  max-width: 900px;
}

.page-banner p {
  color: #CBD5E1;
  font-size: 1.08rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow.dark-mode {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-highlight);
  border-color: rgba(212, 175, 55, 0.4);
}

.text-center .section-eyebrow,
.section-header .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.text-left {
  text-align: left !important;
  margin-left: 0 !important;
  align-items: flex-start !important;
}

.section-header.text-left .section-eyebrow {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.section-header h2 {
  font-size: 2.45rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- High-Conversion CTA Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-midnight);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.38);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.btn-navy {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.2);
}

.btn-navy:hover {
  background: var(--navy-midnight);
  color: var(--gold-highlight);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(11, 25, 44, 0.35);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: var(--navy-midnight);
  box-shadow: var(--gold-glow);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--navy-primary);
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --- Top Announcement & Info Bar --- */
.top-notification-bar {
  background: #030A14;
  color: #CBD5E1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info-left, .top-info-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-item i {
  color: var(--gold-primary);
  font-size: 0.92rem;
}

.top-item a:hover {
  color: var(--gold-highlight);
}

.top-urgency-chip {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-highlight);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* --- Sticky Luxury Header --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 20, 38, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  z-index: 100;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(4, 13, 26, 0.98);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.brand-text-fallback {
  display: flex;
  flex-direction: column;
}

.brand-text-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-highlight);
  letter-spacing: 0.08em;
}

.brand-text-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-highlight);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #040D1A;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
  z-index: 1000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-highlight);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-link {
  color: #E2E8F0;
  font-size: 1.12rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-highlight);
  border-color: rgba(212, 175, 55, 0.3);
}

.drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- Hero Section (CRO Optimized) --- */
.hero-section {
  position: relative;
  background: var(--navy-mesh);
  color: #FFFFFF;
  padding: 100px 0 130px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: 3.25rem;
  line-height: 1.16;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: #CBD5E1;
  font-size: 1.14rem;
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 45px;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #E2E8F0;
  font-weight: 500;
}

.trust-item i {
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-visual-card {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(11, 25, 44, 0.9) 100%);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.hero-image-placeholder {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: var(--navy-card);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-floating-badge {
  position: absolute;
  background: rgba(6, 20, 38, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  animation: floatAnim 4s ease-in-out infinite;
}

.hero-floating-badge.badge-top {
  top: -20px;
  right: -15px;
}

.hero-floating-badge.badge-bottom {
  bottom: -25px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: var(--navy-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-text h5 {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-text p {
  color: var(--gold-highlight);
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- High-Conversion Quick Booking Strip --- */
.quick-booking-strip {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(11, 25, 44, 0.15);
  border: 1px solid var(--border-subtle);
  padding: 34px 40px;
  margin-top: -65px;
  position: relative;
  z-index: 10;
}

.quick-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-strip-header h3 {
  font-size: 1.35rem;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-strip-header h3 i {
  color: var(--gold-primary);
}

.inline-cf7-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.wpcf7 form.inline-cf7-form,
.inline-cf7-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
}

.form-group-field {
  position: relative;
  width: 100%;
}

.form-group-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-group-field i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}

.form-input-inline {
  width: 100%;
  padding: 14px 18px 14px 46px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.form-input-inline:focus {
  border-color: var(--gold-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

/* Contact Form 7 Native Elements Styling */
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: #E11D48;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  border: 1.5px solid !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #10B981 !important;
  background: #ECFDF5 !important;
  color: #065F46 !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #F43F5E !important;
  background: #FFF1F2 !important;
  color: #9F1239 !important;
}

.wpcf7-spinner {
  margin-left: 10px !important;
}

/* --- Doctor Spotlight & About Section --- */
.about-welcome-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.doctor-spotlight-card {
  position: relative;
  background: linear-gradient(145deg, #061426 0%, #0F2544 100%);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 45px rgba(6, 20, 38, 0.25);
}

.doctor-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-highlight);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.doctor-name {
  color: #FFFFFF;
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.doctor-title {
  color: var(--gold-primary);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.doctor-qual-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.doctor-qual-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #E2E8F0;
}

.doctor-qual-list li i {
  color: var(--gold-primary);
  font-size: 1rem;
}

.doctor-quote-box {
  border-left: 3px solid var(--gold-primary);
  padding-left: 18px;
  font-style: italic;
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Bespoke Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 38px 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-card-hover), 0 10px 30px rgba(212, 175, 55, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card-icon-wrap i {
  font-size: 1.8rem;
  color: var(--gold-dark);
  transition: var(--transition);
}

.service-card:hover .service-card-icon-wrap {
  background: var(--gold-gradient);
  border-color: transparent;
  transform: scale(1.08) rotate(4deg);
}

.service-card:hover .service-card-icon-wrap i {
  color: var(--navy-midnight);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy-primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.service-tag {
  background: var(--bg-surface-alt);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-primary);
  margin-top: auto;
}

.service-link i {
  color: var(--gold-primary);
  transition: transform 0.2s ease;
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* --- Differentiators / Why Us Grid --- */
.why-choose-section {
  background: var(--navy-mesh);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.why-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 14px;
  display: inline-block;
}

.why-card h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-card p {
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* --- Patient Journey Timeline --- */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
  margin-top: 45px;
}

.journey-step {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.journey-step:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.journey-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--navy-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 8px 20px rgba(11, 25, 44, 0.2);
}

.journey-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.journey-step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Patient Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212, 175, 55, 0.45);
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 26px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--navy-primary);
  color: var(--gold-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  border: 1.5px solid var(--gold-primary);
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 18px;
}

.faq-question i {
  color: var(--gold-primary);
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

/* --- Bottom CTA Banner --- */
.cta-banner-section {
  background: var(--navy-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-banner-inner {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.22) 0%, rgba(6, 20, 38, 0.98) 75%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 65px 45px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.cta-banner-inner h2 {
  color: #FFFFFF;
  font-size: 2.45rem;
  margin-bottom: 18px;
}

.cta-banner-inner p {
  color: #CBD5E1;
  font-size: 1.12rem;
  max-width: 660px;
  margin: 0 auto 36px auto;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* --- Category Filter Tabs --- */
.filter-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-body);
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
  background: var(--navy-primary);
  color: var(--gold-highlight);
  border-color: var(--gold-primary);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.2);
}

/* --- Clinical Comparison Table --- */
.comparison-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background: var(--navy-primary);
  color: #FFFFFF;
  padding: 20px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.comparison-table th.th-dermazen {
  background: #102647;
  color: var(--gold-highlight);
  border-left: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

.comparison-table td {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
}

.comparison-table tr:nth-child(even) td {
  background: #F8FAFC;
}

.comparison-table td.td-dermazen {
  background: rgba(212, 175, 55, 0.05);
  font-weight: 600;
  color: var(--navy-primary);
  border-left: 2px solid rgba(212, 175, 55, 0.35);
  border-right: 2px solid rgba(212, 175, 55, 0.35);
}

/* --- Gallery & Case Cards --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212, 175, 55, 0.5);
}

.case-img-holder {
  background: #061426;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-content {
  padding: 26px;
}

.case-cat-label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.case-content h4 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.case-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface-alt);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.case-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.case-meta-item strong {
  color: var(--navy-primary);
  flex-shrink: 0;
}

/* --- Contact Page Styles --- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.contact-card-box:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--gold-border);
}

.contact-text-wrap h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--navy-primary);
}

.contact-text-wrap p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-card-hover);
}

.form-title-wrap {
  margin-bottom: 30px;
}

.form-title-wrap h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 22px;
}

.form-field-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.form-field-group label span.req {
  color: #E11D48;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

textarea.form-control {
  min-height: 125px;
  resize: vertical;
}

/* --- Floating Quick Action Widget --- */
.floating-action-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
}

.quick-action-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.quick-action-btn.whatsapp-btn {
  background: #25D366;
}

.quick-action-btn.call-btn {
  background: var(--navy-primary);
  border: 2px solid var(--gold-primary);
  color: var(--gold-highlight);
}

.quick-action-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

/* --- Master Footer --- */
.site-footer {
  background: var(--navy-midnight);
  color: #CBD5E1;
  padding-top: 85px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1.1fr;
  gap: 45px;
  padding-bottom: 65px;
}

.footer-about .footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 24px;
  color: #94A3B8;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-midnight);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: #94A3B8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a i {
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.footer-links li a:hover {
  color: var(--gold-highlight);
  transform: translateX(5px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #94A3B8;
}

.footer-contact-item i {
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
  font-size: 0.88rem;
  color: #64748B;
  text-align: center;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid, .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-welcome-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-notification-bar {
    display: none;
  }
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-trust-row {
    grid-template-columns: 1fr;
  }
  .quick-booking-strip {
    padding: 26px 20px;
    margin-top: -30px;
  }
  .inline-cf7-form {
    grid-template-columns: 1fr;
  }
  .services-grid, .testimonials-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .why-grid, .journey-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .section-padding {
    padding: 65px 0;
  }
  .section-header h2 {
    font-size: 1.9rem;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
}


/* ==========================================================================
   ENHANCED MOBILE RESPONSIVENESS & ZERO OVERFLOW FIXES
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Fix Hero Visual on Mobile */
@media (max-width: 991px) {
  .hero-visual-card {
    max-width: 460px;
    margin: 0 auto;
  }
  .hero-floating-badge.badge-top {
    left: 0;
    top: 10px;
  }
  .hero-floating-badge.badge-bottom {
    right: 0;
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  .hero-floating-badge {
    position: static !important;
    margin-top: 12px;
    width: 100%;
  }
  .hero-content h1 {
    font-size: 2rem !important;
    line-height: 1.22 !important;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }
  .quick-booking-strip {
    padding: 22px 18px !important;
    margin-top: -20px !important;
  }
}

/* --- Contact Form 7 Form Robust Grid & Mobile Stacking --- */
.inline-cf7-form,
.cf7-inline-container .wpcf7-form {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  width: 100% !important;
}

@media (max-width: 991px) {
  .inline-cf7-form,
  .cf7-inline-container .wpcf7-form {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.form-group-field {
  position: relative;
  width: 100%;
}

.form-group-field i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1rem;
  z-index: 2;
  pointer-events: none;
}

.form-group-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form-input-inline,
.form-group-field input,
.form-group-field select {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input-inline:focus,
.form-group-field input:focus,
.form-group-field select:focus,
.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.cf7-inline-container .wpcf7-form .wpcf7-response-output,
.cf7-standard-container .wpcf7-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 12px 0 0 0;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.cf7-inline-container .wpcf7-form p,
.cf7-standard-container .wpcf7-form p {
  margin: 0;
  padding: 0;
}

/* --- Floating Action Button (Single Clean WhatsApp) --- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* --- Mobile Sticky Action Bar --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 10px 14px;
  border-top: 1px solid #E2E8F0;
}

.mobile-sticky-bar-inner {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mobile-sticky-bar .btn-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
}

.mobile-sticky-bar .btn-call {
  background: var(--navy-primary);
  color: #FFFFFF !important;
}

.mobile-sticky-bar .btn-book {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important;
  }
  .mobile-sticky-bar {
    display: block !important;
  }
  .floating-whatsapp {
    bottom: 84px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 28px !important;
  }
  .floating-action-widget {
    display: none !important;
  }
}

/* ==========================================================================
   V4 CROSS-PAGE RESPONSIVE HARDENING
   Shared safeguards for Home, About, Services, Gallery, Contact, Thank You,
   and the WordPress fallback template.
   ========================================================================== */

[hidden] {
  display: none !important;
}

body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10050;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--navy-primary);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-primary);
  outline-offset: 3px;
}

#main-content,
section,
.container,
.hero-grid > *,
.about-welcome-grid > *,
.services-grid > *,
.why-grid > *,
.journey-timeline > *,
.testimonials-grid > *,
.gallery-grid > *,
.contact-layout-grid > *,
.footer-grid > *,
.form-grid-2col > * {
  min-width: 0;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.responsive-media {
  width: 100%;
  height: auto;
  display: block;
}

.section-muted {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-soft {
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
}

.content-heading-lg {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin-bottom: 20px;
}

.content-lead {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.75;
}

.content-copy-muted {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
  line-height: 1.75;
}

.content-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-strip-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.drawer-logo-img {
  width: auto;
  height: 50px;
}

.credentials-panel {
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.08);
}

.credentials-title {
  color: var(--gold-highlight);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.doctor-qual-list.credentials-list {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.profile-content-heading {
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.profile-copy {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.profile-copy-lead {
  color: var(--text-body);
  font-size: 1.05rem;
}

.profile-copy-spaced {
  margin-bottom: 22px;
}

.profile-copy-final {
  color: var(--text-body);
  margin-bottom: 26px;
}

.compact-section-header {
  margin-bottom: 32px;
}

.compact-section-header-sm {
  margin-bottom: 22px;
}

.form-section-heading {
  font-size: clamp(1.65rem, 3vw, 1.95rem) !important;
}

.contact-section-heading {
  font-size: clamp(1.75rem, 3vw, 2.1rem) !important;
}

.form-intro {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.contact-link {
  color: var(--navy-primary);
  font-weight: 700;
}

.contact-link-whatsapp {
  color: #047A3D;
}

.reach-card-icon {
  color: var(--gold-primary);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.reach-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.reach-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.directions-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 45px 40px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  background: var(--navy-dark);
  color: #FFFFFF;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.directions-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.directions-copy h3 {
  color: #FFFFFF;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 8px;
}

.directions-copy p {
  color: #CBD5E1;
  font-size: 0.98rem;
}

.directions-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.case-summary {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.results-disclaimer {
  padding: 26px 30px;
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
}

.results-disclaimer h5 {
  color: var(--navy-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.results-disclaimer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.btn-block {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-wrap {
  min-width: 0;
  flex-shrink: 1;
}

.mobile-drawer {
  right: 0;
  width: min(88vw, 380px);
  height: 100vh;
  height: 100dvh;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  visibility: hidden;
  z-index: 10020;
  overscroll-behavior: contain;
}

.mobile-drawer.open {
  right: 0;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 10010;
}

.drawer-footer {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.service-card,
.why-card,
.journey-step,
.testimonial-card,
.case-card,
.contact-card-box,
.philosophy-card,
.reach-grid > * {
  overflow-wrap: anywhere;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-content > .btn {
  margin-top: auto;
}

.case-img-holder img {
  width: 100%;
  height: auto;
}

.contact-text-wrap,
.contact-text-wrap p,
.footer-contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.comparison-table {
  min-width: 720px;
}

.comparison-table-wrap {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--bg-surface-alt);
}

.comparison-table-wrap:focus-visible {
  outline-offset: 6px;
}

.cf7-inline-container,
.cf7-standard-container,
.wpcf7,
.wpcf7-form {
  width: 100%;
  min-width: 0;
}

.cf7-standard-container .wpcf7-form .form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.cf7-standard-container .wpcf7-submit {
  width: 100%;
}

#dermazen-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 10040;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: min(90vw, 620px);
  padding: 14px 24px;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-full);
  background: var(--navy-primary);
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--gold-glow);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 100px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#dermazen-toast i {
  color: var(--gold-highlight);
  flex: 0 0 auto;
}

#dermazen-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Navigation changes before the desktop header becomes crowded. */
@media (max-width: 1120px) {
  .nav-menu,
  .nav-actions > .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-inner {
    height: 78px;
  }

  .top-info-left,
  .top-info-right {
    gap: 14px;
  }

  .top-bar-inner {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .top-notification-bar {
    display: none;
  }

  .page-banner {
    padding: 64px 0;
  }

  .hero-section {
    padding: 72px 0 95px;
  }

  .hero-image-placeholder {
    min-height: 0;
  }

  .contact-layout-grid {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-inner {
    height: 70px;
  }

  .brand-logo-img {
    height: 52px;
  }

  .brand-text-name {
    font-size: 1.08rem;
  }

  .brand-text-sub {
    font-size: 0.58rem;
  }

  .page-banner {
    padding: 50px 0;
  }

  .page-banner h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .page-banner p {
    font-size: 0.98rem;
  }

  .section-eyebrow {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
  }

  .section-header.text-left .section-eyebrow {
    text-align: left;
    justify-content: flex-start;
  }

  .hero-section {
    padding: 54px 0 78px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-content h1 {
    font-size: clamp(1.95rem, 8vw, 2.35rem) !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    margin-bottom: 32px;
  }

  .hero-image-wrap {
    padding: 7px;
  }

  .hero-floating-badge {
    animation: none;
  }

  .quick-strip-header {
    align-items: flex-start;
  }

  .quick-strip-header h3 {
    font-size: 1.18rem;
  }

  .quick-strip-meta {
    line-height: 1.5;
  }

  .doctor-spotlight-card,
  .service-card,
  .why-card,
  .journey-step,
  .testimonial-card {
    padding: 26px 22px;
  }

  .doctor-name {
    font-size: 1.6rem;
  }

  .content-actions,
  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .content-actions .btn,
  .cta-banner-actions .btn {
    width: 100%;
  }

  .filter-tabs-wrap {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 -18px 34px;
    padding: 3px 18px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .filter-tab-btn {
    flex: 0 0 auto;
    padding: 10px 18px;
    scroll-snap-align: start;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .case-content {
    padding: 22px;
  }

  .contact-card-box {
    padding: 22px 20px;
    gap: 16px;
  }

  .directions-card {
    padding: 30px 22px;
  }

  .directions-actions,
  .directions-actions .btn {
    width: 100%;
  }

  .results-disclaimer {
    padding: 22px 20px;
  }

  .contact-icon-bubble {
    width: 48px;
    height: 48px;
    font-size: 1.18rem;
  }

  .cf7-standard-container .wpcf7-form .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-banner-inner {
    padding: 44px 22px;
  }

  .cta-banner-inner h2 {
    font-size: clamp(1.75rem, 7vw, 2.1rem);
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-grid {
    gap: 38px;
    padding-bottom: 45px;
  }

  .mobile-sticky-bar {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .floating-whatsapp {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #dermazen-toast {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 28px);
    max-width: 540px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.86rem;
  }
}

@media (max-width: 560px) {
  .brand-text-fallback {
    display: none;
  }

  .mobile-drawer {
    width: min(92vw, 380px);
    padding: 24px 18px;
  }

  .btn:not(.btn-half) {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .contact-card-box {
    flex-direction: column;
  }

  .contact-form-card,
  .embedded-booking-card,
  .thank-you-card {
    padding: 26px 18px !important;
  }

  .form-control,
  .form-input-inline,
  .form-group-field input,
  .form-group-field select {
    font-size: 16px;
  }

  .faq-question {
    padding: 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .cta-banner-inner {
    padding: 38px 16px;
  }

  .thank-you-section {
    padding: 58px 16px;
  }

  .thank-you-card h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo-img {
    height: 46px;
  }

  .mobile-toggle {
    width: 42px;
    height: 42px;
  }

  .filter-tabs-wrap {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-sticky-bar .btn-half {
    gap: 4px !important;
    padding: 10px 4px !important;
    font-size: 0.76rem !important;
  }

  .mobile-sticky-bar .btn-half i {
    margin-right: 0 !important;
  }
}

@media (max-width: 330px) {
  .mobile-sticky-bar .btn-book i {
    display: none;
  }
}

@media (hover: none) {
  .btn:hover,
  .service-card:hover,
  .why-card:hover,
  .case-card:hover,
  .quick-action-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Thank You Page Styles --- */
.thank-you-section {
  padding: 90px 20px;
  text-align: center;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
}

.thank-you-card {
  background: #FFFFFF;
  padding: 45px 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  max-width: 580px;
  width: 100%;
  border: 1px solid var(--border-subtle);
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon-wrap i {
  color: #FFFFFF;
  font-size: 36px;
}

.thank-you-card h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.thank-you-card p {
  color: var(--text-body);
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.next-steps {
  background: var(--bg-surface-alt);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  text-align: left;
  margin-bottom: 24px;
}

.next-steps h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.next-steps ul {
  padding-left: 18px;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.88rem;
}


/* ==========================================================================
   DEDICATED RESPONSIVE GRIDS & COMPACT MOBILE STICKY BAR
   ========================================================================== */

/* Philosophy Grid (About Page) */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.philosophy-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

/* Principles Grid (About Page) */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Reach Grid (Contact Page) */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.reach-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Embedded Booking Card */
.embedded-booking-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card-hover);
}

/* --- Media Queries for 991px (Tablets) --- */
@media (max-width: 991px) {
  .philosophy-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .philosophy-card {
    padding: 28px 22px !important;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .reach-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .embedded-booking-card {
    padding: 32px 22px !important;
  }
}

/* --- Media Queries for 768px (Mobile Phones) --- */
@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .philosophy-card {
    padding: 24px 18px !important;
  }
  .philosophy-card h3 {
    font-size: 1.35rem !important;
  }
  .principles-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .reach-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .embedded-booking-card {
    padding: 24px 16px !important;
  }
  .reach-card {
    padding: 20px 16px !important;
  }
  .section-padding {
    padding: 50px 0 !important;
  }
  .section-header {
    margin-bottom: 30px !important;
  }
  .section-header h2 {
    font-size: 1.85rem !important;
  }
  
  /* Compact Single-Line Sticky Bar */
  .mobile-sticky-bar {
    display: block !important;
    padding: 8px 10px !important;
  }
  .mobile-sticky-bar-inner {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .mobile-sticky-bar .btn-half {
    flex: 1 1 50% !important;
    padding: 10px 6px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    justify-content: center !important;
    display: inline-flex !important;
  }
  .mobile-sticky-bar .btn-half i {
    font-size: 0.85rem !important;
    margin-right: 4px !important;
  }
  body {
    padding-bottom: 65px !important;
  }
  .floating-whatsapp {
    bottom: 74px !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
  }
}

/* Final cascade layer: critical controls and safe-area values must win. */
.menu-icon {
  display: inline-flex;
  width: 22px;
  flex-direction: column;
  gap: 4px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.drawer-close-symbol {
  display: block;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-bar .btn-half {
    min-width: 0 !important;
  }

  .mobile-sticky-bar .btn-book {
    color: var(--navy-midnight) !important;
  }

  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .floating-whatsapp {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 380px) {
  .mobile-sticky-bar .btn-half {
    gap: 4px !important;
    padding: 10px 4px !important;
    font-size: 0.76rem !important;
  }

  .mobile-sticky-bar .btn-half i {
    margin-right: 0 !important;
  }
}

@media (max-width: 330px) {
  .mobile-sticky-bar .btn-book i {
    display: none !important;
  }
}

/* ========================================================================== 
   V4.1 ABOUT PAGE MOBILE REFINEMENT, BRAND LOCKUP & CALL ICON DIRECTION
   ========================================================================== */
.call-icon-corrected {
  display: inline-block;
  transform: scaleX(1) !important;
  transform-origin: center;
}

.philosophy-title {
  color: var(--navy-primary);
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.philosophy-copy {
  line-height: 1.75;
}

.philosophy-copy-lead {
  color: var(--text-body);
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.philosophy-copy-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.principles-heading {
  color: #FFFFFF;
}

.principles-intro {
  color: #CBD5E1;
}

.principle-icon {
  color: var(--gold-primary);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  /* Keep the complete Dermazen brand lockup visible on phones. */
  .nav-inner {
    height: 78px;
    gap: 10px;
  }

  .brand-logo-wrap {
    flex: 1 1 auto;
    gap: 8px;
    overflow: hidden;
  }

  .brand-logo-img,
  .brand-logo-img:hover {
    flex: 0 0 auto;
    height: 58px;
    transform: none;
  }

  .brand-text-fallback {
    display: flex !important;
    min-width: 0;
    overflow: hidden;
  }

  .brand-text-name {
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .brand-text-sub {
    font-size: 0.5rem;
    line-height: 1.35;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .mobile-toggle {
    flex: 0 0 auto;
  }

  /* About page: tighter, clearer content hierarchy without clipped cards. */
  .about-page-banner {
    padding: 38px 0 42px !important;
  }

  .about-page-banner .section-eyebrow {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 7px 14px;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .about-page-banner h1 {
    max-width: 340px;
    margin: 0 auto 16px;
    font-size: clamp(1.72rem, 8.4vw, 2.05rem) !important;
    line-height: 1.17;
    letter-spacing: -0.025em;
  }

  .about-page-banner p {
    max-width: 345px;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .about-profile-section {
    padding: 36px 0 44px !important;
  }

  .about-welcome-grid {
    gap: 30px !important;
    align-items: start;
  }

  .doctor-spotlight-card {
    width: 100%;
    padding: 22px 16px;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(6, 20, 38, 0.2);
  }

  .doctor-badge-top {
    max-width: 100%;
    padding: 7px 11px;
    margin-bottom: 18px;
    font-size: 0.69rem;
    line-height: 1.35;
  }

  .doctor-name {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .doctor-title {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .credentials-panel {
    padding: 15px 13px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  .credentials-title {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .doctor-qual-list.credentials-list {
    gap: 10px;
  }

  .doctor-qual-list.credentials-list li {
    align-items: flex-start;
    gap: 9px;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .doctor-qual-list.credentials-list li i {
    flex: 0 0 auto;
    margin-top: 4px;
  }

  .doctor-quote-box {
    padding: 14px 14px 14px 16px;
    border-left-width: 3px;
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .about-profile-content {
    padding: 0 2px;
  }

  .about-profile-content .section-eyebrow {
    justify-content: flex-start;
    width: fit-content;
    margin-left: 0;
    margin-bottom: 13px;
    text-align: left;
  }

  .about-profile-content .profile-content-heading {
    font-size: 1.75rem;
    line-height: 1.22;
    margin-bottom: 15px;
  }

  .about-profile-content .profile-copy,
  .about-profile-content .profile-copy-lead {
    font-size: 0.92rem;
    line-height: 1.68;
    margin-bottom: 14px;
  }

  .about-profile-content .profile-copy-final {
    margin-bottom: 22px;
  }

  .about-profile-content > .btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  .about-philosophy-section {
    padding: 44px 0 !important;
  }

  .about-philosophy-section .section-header {
    margin-bottom: 24px !important;
  }

  .about-philosophy-section .section-header h2,
  .why-choose-section .section-header h2 {
    font-size: 1.72rem !important;
    line-height: 1.22;
  }

  .philosophy-grid {
    gap: 14px !important;
  }

  .philosophy-card {
    padding: 21px 17px !important;
    border-radius: 16px;
  }

  .philosophy-title,
  .philosophy-card h3 {
    font-size: 1.22rem !important;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .philosophy-copy-lead,
  .philosophy-copy-muted {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .why-choose-section {
    padding: 44px 0 !important;
  }

  .why-choose-section .section-header {
    margin-bottom: 24px !important;
  }

  .principles-grid {
    gap: 12px !important;
  }

  .principles-grid .why-card {
    min-height: 0;
    padding: 20px 17px !important;
    border-radius: 16px;
  }

  .principle-icon {
    font-size: 1.65rem;
    margin-bottom: 10px;
  }

  .principles-grid .why-card h4 {
    margin-bottom: 7px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .principles-grid .why-card p {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .about-page .embedded-booking-card {
    padding: 24px 16px !important;
    border-radius: 18px;
  }

  .about-page .compact-section-header {
    margin-bottom: 24px !important;
  }

  .about-page .form-section-heading {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .about-page .form-field-group {
    margin-bottom: 15px;
  }

  .about-page .form-control {
    width: 100%;
  }

  .footer-bottom-bar {
    padding: 20px 12px calc(20px + env(safe-area-inset-bottom, 0px));
    font-size: 0.78rem;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .brand-logo-img,
  .brand-logo-img:hover {
    height: 54px;
  }

  .brand-text-name {
    font-size: 0.92rem;
  }

  .brand-text-sub {
    font-size: 0.46rem;
    letter-spacing: 0.055em;
  }

  .about-page-banner h1 {
    font-size: 1.68rem !important;
  }
}

@media (max-width: 330px) {
  .nav-inner {
    gap: 6px;
  }

  .brand-logo-wrap {
    gap: 5px;
  }

  .brand-logo-img,
  .brand-logo-img:hover {
    height: 49px;
  }

  .brand-text-name {
    font-size: 0.82rem;
  }

  .brand-text-sub {
    font-size: 0.4rem;
    letter-spacing: 0.035em;
  }
}

/* ========================================================================== 
   V4.2 DOCTOR PORTRAIT & SIMPLIFIED GALLERY
   ========================================================================== */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.doctor-spotlight-card {
  padding: 0;
  overflow: hidden;
}

.doctor-photo-frame {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #E6E0D6;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.doctor-photo-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(6, 20, 38, 0.2));
}

.doctor-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.doctor-card-content {
  padding: 28px 28px 32px;
}

.hero-doctor-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-coming-soon-page {
  background:
    radial-gradient(circle at 50% 12%, rgba(212, 175, 55, 0.12), transparent 34%),
    var(--bg-page);
}

.gallery-coming-soon-section {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: clamp(48px, 7vw, 90px) 0;
}

.gallery-coming-soon-frame {
  width: min(100%, 660px);
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 24px 60px rgba(6, 20, 38, 0.18);
}

.gallery-coming-soon-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 1024px) {
  .about-welcome-grid .doctor-spotlight-card {
    width: 100%;
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .doctor-spotlight-card {
    padding: 0;
  }

  .doctor-photo-frame {
    height: clamp(320px, 98vw, 390px);
  }

  .doctor-profile-photo {
    object-position: center 20%;
  }

  .doctor-card-content {
    padding: 21px 16px 22px;
  }

  .hero-doctor-photo {
    height: clamp(360px, 112vw, 460px);
    object-position: center 18%;
  }

  .gallery-coming-soon-section {
    min-height: 62vh;
    padding: 34px 0 42px;
  }

  .gallery-coming-soon-frame {
    width: min(100%, 560px);
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(6, 20, 38, 0.16);
  }

  .gallery-coming-soon-image {
    border-radius: 11px;
  }
}

@media (max-width: 380px) {
  .doctor-photo-frame {
    height: 330px;
  }

  .gallery-coming-soon-section {
    padding-top: 24px;
  }

  .hero-doctor-photo {
    height: 370px;
  }
}
