/* ==========================================================================
   Design System & Styling for Rejuvenare Dermatology Clinic Landing Page
   ========================================================================== */

/* Typography & Imports */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&display=swap');

/* Color Variables & Styling Tokens */
:root {
  --bg-primary: #FAF6F0;
  /* Warm elegant cream background */
  --bg-secondary: #F3ECE1;
  /* Contrast darker warm cream */
  --color-primary: #B07D3E;
  /* Brand Gold / Warm Brown */
  --color-primary-dark: #8F622C;
  /* Darker Gold for hover/focus */
  --color-primary-light: #F4EADF;
  /* Light cream gold */
  --text-dark: #3D3025;
  /* Deep charcoal brown for headings */
  --text-muted: #6E5E50;
  /* Lighter warm brown for body copy */
  --white: #FFFFFF;
  --border-color: #E6DACB;
  /* Elegant warm beige border */
  --shadow-sm: 0 4px 10px rgba(61, 48, 37, 0.04);
  --shadow-md: 0 10px 25px rgba(61, 48, 37, 0.06);
  --shadow-lg: 0 20px 40px rgba(176, 125, 62, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.25;
}

p {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--white);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Section Title Decorator */
.section-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-meta::before,
.section-meta::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--border-color);
}

.section-meta-left {
  justify-content: flex-start;
}

.section-meta-left::before {
  display: none;
}

/* HEADER & NAVBAR */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-nav.scrolled .logo-block img {
  height: 80px !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo block */
.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-block img {
  transition: var(--transition-smooth);
}

.logo-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-link i,
.nav-link svg {
  color: var(--color-primary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.phone-circle:hover {
  background-color: var(--color-primary);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* HERO SECTION (SECTION 1) */
.hero {
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, #FAF0E2 0%, #FAF6F0 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--color-primary);
  font-style: italic;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Curved Frame Mask */
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 240px 24px 24px 240px;
  overflow: hidden;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  background-color: var(--white);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-shape-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  left: 20px;
  bottom: 20px;
  border-radius: 240px 240px 0 240px;
  background-color: var(--color-primary-light);
  z-index: -1;
}

/* Floating Stats Bar */
.stats-floating-bar {
  margin-top: -60px;
  background-color: #FFFDF9;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(176, 125, 62, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #E6DACB;
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-right: 1px solid #E6DACB;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FAF4EB;
  border: 1px solid #E6DACB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* Scroll Indicator */
.scroll-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.scroll-explore:hover {
  color: var(--color-primary);
}

.scroll-explore svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(-3px);
  }
}


/* WELCOME SECTION (SECTION 2) */
.welcome {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-content {
  display: flex;
  flex-direction: column;
}

.welcome-header {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.welcome-subtitle {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
}

.welcome-title {
  font-size: 52px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 16px 0;
  letter-spacing: -0.5px;
  text-align: center;
}

.welcome-title span {
  color: var(--color-primary);
}

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 10px 0;
}

.leaf-divider svg {
  flex-shrink: 0;
}

.leaf-divider::before,
.leaf-divider::after {
  content: '';
  height: 1px;
  background-color: var(--border-color);
  flex-grow: 1;
  max-width: 180px;
}

.welcome-desc {
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Grid of 4 value props */
.props-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.prop-card {
  display: flex;
  gap: 16px;
}

.prop-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.prop-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.prop-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.welcome-image-wrapper {
  position: relative;
}

.welcome-image-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1.15;
}

.welcome-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* SERVICES SECTION (SECTION 3) */
.services {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
}

.services-subtitle-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
}

.services-title {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1.25;
  color: var(--text-dark);
}

.services-title span {
  color: var(--color-primary);
}

.services-subtitle {
  font-size: 16px;
}

/* Tabs styles */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #FFFDF9;
  border: 1px solid #E6DACB;
  color: #4A3E3D;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn svg {
  flex-shrink: 0;
  stroke: #B07D3E;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background-color: #FAF5EE;
  border-color: #B07D3E;
  color: var(--color-primary);
}

.tab-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

.tab-btn.active svg {
  stroke: var(--white);
}

/* Slider / Carousel layout */
.slider-outer-wrapper {
  position: relative;
  padding: 0 10px;
  margin-bottom: 0;
}

.slider-inner-container {
  overflow: hidden;
  padding: 10px 0 15px;
}

.slider-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Service Cards */
.service-card {
  flex: 0 0 calc(25% - 16.5px);
  /* 4 cards visible side by side on desktop */
  background-color: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ECE3D7;
  box-shadow: 0 4px 18px rgba(74, 62, 61, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(176, 125, 62, 0.12);
  border-color: #D6BA96;
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: visible;
  background-color: #F6F1EA;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .card-img-wrapper img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #B07D3E;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.card-icon-overlay {
  position: absolute;
  bottom: -20px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid #EFE6DA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B07D3E;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 4;
}

.card-body {
  padding: 30px 18px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #FFFFFF;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: #2D2319;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #6E645D;
  margin-bottom: 18px;
  min-height: 38px;
}

.card-bullets {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card-bullets li {
  font-size: 12.5px;
  font-weight: 500;
  color: #3E342E;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.card-bullets svg {
  color: #B07D3E;
  flex-shrink: 0;
}

.card-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: #B07D3E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-link:hover {
  color: #8C5F2B;
  transform: translateX(3px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FAF6F0;
  border: 1px solid #E2D7C7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B07D3E;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background-color: #B07D3E;
  color: #FFFFFF;
  border-color: #B07D3E;
}

.slider-arrow:hover svg {
  stroke: #FFFFFF;
}

.slider-arrow-left {
  left: -16px;
}

.slider-arrow-right {
  right: -16px;
}

.slider-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 22px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E2D7CA;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  background-color: #B07D3E;
  transform: scale(1.15);
}

/* Section Footer Bar - floating icons (Tight, close gap matching Image 1) */
.section-footer-bar {
  background-color: #FAF7F2;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 4px;
  border: 1px solid #ECE3D6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
  box-shadow: 0 2px 14px rgba(176, 125, 62, 0.04);
}

.footer-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 16px;
  border-right: 1px solid #EAE0D2;
}

.footer-bar-item:last-child {
  border-right: none;
}

.footer-bar-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #F4ECE1;
  color: #B07D3E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bar-text-wrapper {
  display: flex;
  flex-direction: column;
}

.footer-bar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #2D2319;
  line-height: 1.3;
  margin-bottom: 2px;
}

.footer-bar-desc {
  font-size: 12px;
  color: #7A6F65;
  line-height: 1.3;
}


/* DOCTOR PROFILE SECTION (SECTION 4) */
.doctor {
  background-color: #FAF7F2;
  border-top: 1px solid #ECE3D6;
  padding: 70px 0 60px;
  position: relative;
}

.doctor .container {
  position: relative;
  z-index: 1;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 50px;
  align-items: center;
}

.doctor-image-container {
  position: relative;
}

.doctor-image-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(61, 48, 37, 0.08);
  aspect-ratio: 0.88;
  border: 1px solid #EAE0D2;
  background-color: #F3ECE1;
}

.doctor-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Testimonial Bubble overlay */
.doctor-quote-card {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 16px 20px 18px;
  box-shadow: 0 10px 30px rgba(60, 45, 30, 0.1);
  max-width: 220px;
  border: 1px solid #EFE8DE;
  z-index: 5;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 36px;
  color: #B07D3E;
  line-height: 0.8;
  margin-bottom: 6px;
}

.quote-text {
  font-size: 12px;
  color: #4A3E3D;
  font-style: normal;
  line-height: 1.45;
  margin-bottom: 8px;
  font-weight: 500;
}

.quote-author {
  font-family: 'Caveat', cursive;
  font-size: 21px;
  font-weight: 700;
  color: #B07D3E;
  line-height: 1;
  display: block;
}

/* Right Content */
.doctor-content {
  display: flex;
  flex-direction: column;
}

.doctor-meta-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.doctor-meta-tag .meta-label {
  font-size: 11px;
  font-weight: 700;
  color: #B07D3E;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.doctor-decor-ornament {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.doctor-decor-ornament .ornament-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #D8C7B2;
}

.doctor-name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: #2D2319;
  margin-bottom: 4px;
  line-height: 1.15;
}

.doctor-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #B07D3E;
  margin-bottom: 12px;
}

.doctor-divider-line {
  width: 50px;
  height: 1.5px;
  background-color: #B07D3E;
  margin-bottom: 16px;
}

.doctor-bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: #63584F;
  margin-bottom: 22px;
}

/* 2x3 Grid of Specializations */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-tag-card {
  background-color: #FFFFFF;
  border: 1px solid #EFE8DE;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(60, 45, 30, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spec-tag-card:hover {
  transform: translateY(-2px);
  border-color: #D4BFA5;
  box-shadow: 0 6px 18px rgba(176, 125, 62, 0.1);
}

.spec-tag-icon-wrapper {
  color: #B07D3E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.spec-tag-text-wrapper {
  display: flex;
  flex-direction: column;
}

.spec-tag-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: #8C5F2B;
  line-height: 1.25;
  margin-bottom: 2px;
}

.spec-tag-desc {
  font-size: 11.5px;
  color: #7A6F65;
  font-family: var(--font-sans);
}

/* Action button & side stats combo */
.doctor-action-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.btn-doctor-cta {
  background-color: #B07D3E;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(176, 125, 62, 0.25);
}

.btn-doctor-cta:hover {
  background-color: #8F622C;
  transform: translateY(-2px);
}

.doctor-action-divider {
  height: 38px;
  width: 1px;
  background-color: #E2D7C8;
  margin: 0 18px;
  flex-shrink: 0;
}

.doctor-inline-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
  justify-content: space-between;
}

.inline-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-stat-icon {
  color: #B07D3E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inline-stat-text {
  display: flex;
  flex-direction: column;
}

.inline-stat-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: #2D2319;
  line-height: 1;
  margin-bottom: 2px;
}

.inline-stat-label {
  font-size: 10px;
  color: #7A6F65;
  line-height: 1.2;
  white-space: nowrap;
}

/* Qualification & Expertise full banner */
.qualifications-panel {
  margin-top: 32px;
  background-color: #FAF6F0;
  border-radius: 16px;
  padding: 22px 28px;
  border: 1px solid #ECE3D6;
  display: grid;
  grid-template-columns: 165px repeat(5, 1fr);
  align-items: center;
  gap: 0;
  box-shadow: 0 2px 14px rgba(176, 125, 62, 0.04);
}

.qual-label-block {
  font-size: 11.5px;
  font-weight: 700;
  color: #B07D3E;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  padding-right: 20px;
  border-right: 1px solid #EAE0D2;
}

.qual-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-right: 1px solid #EAE0D2;
}

.qual-item:last-child {
  border-right: none;
  padding-right: 0;
}

.qual-icon-wrapper {
  color: #B07D3E;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.qual-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: #2D2319;
  line-height: 1.2;
  margin-top: 2px;
}

.qual-desc {
  font-size: 11px;
  color: #7A6F65;
  line-height: 1.35;
}

/* TREATMENTS SECTION (SECTION 5) */
.treatments {
  background-color: #FFFFFF;
  border-top: 1px solid #ECE3D6;
  padding: 70px 0 60px;
}

.treatments-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.treatments-meta-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.treatments-meta-tag .meta-label {
  font-size: 11px;
  font-weight: 700;
  color: #B07D3E;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.treatments-decor-ornament {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.treatments-decor-ornament .ornament-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #D8C7B2;
}

.treatments-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: #2D2319;
  margin-bottom: 8px;
  line-height: 1.2;
}

.treatments-subtitle {
  font-size: 13.5px;
  color: #73675E;
  line-height: 1.5;
}

/* Sub-tabs menu */
.treatment-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid #EAE0D2;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.treatment-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #7A6F65;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 6px 4px;
}

.treatment-tab-btn svg {
  color: inherit;
}

.treatment-tab-btn:hover {
  color: #B07D3E;
}

.treatment-tab-btn.active {
  color: #B07D3E;
  font-weight: 600;
}

.treatment-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #B07D3E;
}

/* 6-Column Grid for treatments list (Desktop single row) */
.treatments-grid-6cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.treatment-grid-card {
  display: flex;
}

.treatment-item-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #EFE8DE;
  box-shadow: 0 2px 10px rgba(60, 45, 30, 0.03);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.treatment-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(176, 125, 62, 0.12);
  border-color: #D4BFA5;
}

.treatment-card-img-wrapper {
  position: relative;
  aspect-ratio: 0.95;
  width: 100%;
  overflow: hidden;
  background-color: #F3ECE1;
}

.treatment-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.treatment-item-card:hover .treatment-card-img-wrapper img {
  transform: scale(1.05);
}

.treatment-card-icon-overlay {
  position: absolute;
  bottom: -16px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid #ECE3D6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B07D3E;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.treatment-card-body {
  padding: 24px 12px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-card-title {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #2D2319;
  margin-bottom: 6px;
  line-height: 1.25;
}

.treatment-card-desc {
  font-size: 10.5px;
  color: #73675E;
  line-height: 1.4;
  margin-bottom: 14px;
}

.treatment-card-link {
  margin-top: auto;
  font-size: 10px;
  font-weight: 700;
  color: #B07D3E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.treatment-card-link:hover {
  color: #8F622C;
}

.view-all-center {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.btn-view-all {
  border: 1px solid #B07D3E;
  color: #B07D3E;
  background: transparent;
  padding: 9px 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-view-all:hover {
  background-color: #B07D3E;
  color: #FFFFFF;
}

/* BOTTOM CALL TO ACTION BANNER */
.cta-banner {
  background-color: #FAF6F0;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid #ECE3D6;
  display: grid;
  grid-template-columns: 210px 1.2fr 1.35fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(176, 125, 62, 0.04);
}

.cta-left-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1.35;
  background-color: #F3ECE1;
  border: 1px solid #EAE0D2;
}

.cta-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-center-content {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: #2D2319;
  margin-bottom: 6px;
}

.cta-desc {
  font-size: 11px;
  color: #73675E;
  margin-bottom: 16px;
  line-height: 1.45;
  max-width: 290px;
}

.cta-buttons-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.btn-cta-primary {
  background-color: #B07D3E;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(176, 125, 62, 0.2);
}

.btn-cta-primary:hover {
  background-color: #8F622C;
  transform: translateY(-2px);
}

.btn-cta-whatsapp {
  border: 1px solid #B07D3E;
  background-color: transparent;
  color: #B07D3E;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-cta-whatsapp:hover {
  background-color: #B07D3E;
  color: #FFFFFF;
}

.cta-right-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  border-left: 1px solid #EAE0D2;
  padding-left: 28px;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-point-icon-wrapper {
  color: #B07D3E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-point-text-wrapper {
  display: flex;
  flex-direction: column;
}

.cta-point-title {
  font-size: 12px;
  font-weight: 700;
  color: #2D2319;
  line-height: 1.25;
  margin-bottom: 2px;
}

.cta-point-desc {
  font-size: 10.5px;
  color: #73675E;
  line-height: 1.2;
  white-space: nowrap;
}


/* FOOTER */
.footer-classic {
  background-color: var(--text-dark);
  color: #DDD4C8;
  padding: 40px 0 20px;
  font-family: var(--font-sans);
}

.footer-classic a {
  color: #DDD4C8;
  text-decoration: none;
}

.footer-classic a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  border-top: 1px solid rgba(230, 218, 203, 0.1);
  padding-top: 20px;
  color: #8C8075;
}


/* RESPONSIVE LAYOUT MEDIA QUERIES */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
  }

  .stats-floating-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    border-right: none;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .welcome-image-wrapper {
    order: -1;
  }

  .welcome-title {
    font-size: 42px;
  }

  .service-card {
    flex: 0 0 calc(50% - 12px);
    /* 2 cards visible */
  }

  .section-footer-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bar-item:nth-child(2) {
    border-right: none;
  }

  .footer-bar-item:nth-child(3),
  .footer-bar-item:nth-child(4) {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }

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

  .doctor-image-container {
    max-width: 440px;
    margin: 0 auto 30px;
  }

  .qual-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qual-card:nth-child(3) {
    border-right: none;
  }

  .treatments-grid-3cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-left-img {
    display: none;
  }

  .cta-right-points {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Mobile menu toggled via class */
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 40px;
  }

  .welcome-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

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

  .service-card {
    flex: 0 0 100%;
    /* 1 card visible */
  }

  .stats-floating-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }

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

  .footer-bar-item {
    border-right: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .footer-bar-item:first-child {
    border-top: none;
    padding-top: 0;
  }

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

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

  .qual-card {
    border-right: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }

  .qual-card:first-child {
    border-top: none;
    padding-top: 0;
  }

  .treatments-grid-3cols {
    grid-template-columns: 1fr;
  }

  .cta-buttons-row {
    flex-direction: column;
    gap: 12px;
  }
}