/*
Theme Name: Dr. Kulthe Premium Dental Theme
Theme URI: https://kulthedental.com/
Author: Dr. Kulthe Dental Digital Agency
Author URI: https://kulthedental.com/
Description: A modern clinical luxury WordPress theme custom-engineered for Dr. Kulthe Dental Clinic (Hadapsar Flagship & Manjri Branch, Pune). Features complete Elementor full-width and canvas compatibility, a one-click starter content installer, accessible dual-branch appointment booking, authentic before-and-after treatment comparison slider, schema.org Dentist structured data, and an editorial design system using Deep Forest Green, Emerald Green, Soft Sage, and Warm Ivory.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-kulthe-premium
Tags: dental, medical, clinic, elementor, full-width-template, theme-options, translation-ready, accessibility-ready, custom-logo, one-column, two-columns
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM TOKENS)
   ========================================================================== */
:root {
  /* Brand Color System */
  --color-forest: #173D30;      /* Deep Forest Green - Headings, footer, dark sections */
  --color-emerald: #287A57;     /* Emerald Green - Primary CTAs, active accents */
  --color-emerald-dark: #1E5C42;/* Darker emerald for button hover states */
  --color-sage: #E8F0E9;        /* Soft Sage - Secondary backgrounds & subtle cards */
  --color-ivory: #FAFAF7;       /* Warm Ivory - Main page background */
  --color-charcoal: #343C38;    /* Charcoal - Body typography */
  --color-charcoal-light: #5A6660; /* Muted text */
  --color-white: #FFFFFF;       /* Pure white */
  --color-border: #E1ECE3;      /* Subtle border */
  --color-border-dark: #C2D9C7; /* Active border */

  /* Typography System */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(23, 61, 48, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 61, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 61, 48, 0.12);
  --shadow-hover: 0 20px 48px rgba(23, 61, 48, 0.16);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-forest);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Layout Container */
.kp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.kp-container-narrow {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow Label */
.kp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-emerald);
  background: var(--color-sage);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.kp-eyebrow-dark {
  color: var(--color-sage);
  background: rgba(255, 255, 255, 0.1);
}

/* Button System */
.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.kp-btn-primary {
  background-color: var(--color-emerald);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(40, 122, 87, 0.28);
}

.kp-btn-primary:hover {
  background-color: var(--color-emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 122, 87, 0.35);
  color: var(--color-white);
}

.kp-btn-secondary {
  background-color: var(--color-white);
  color: var(--color-forest);
  border-color: var(--color-border-dark);
}

.kp-btn-secondary:hover {
  background-color: var(--color-sage);
  border-color: var(--color-emerald);
  transform: translateY(-2px);
  color: var(--color-forest);
}

.kp-btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.kp-btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* SECTION 1: Slim Announcement Bar */
.kp-announcement {
  background-color: var(--color-forest);
  color: var(--color-white);
  font-size: 0.8125rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kp-announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.kp-announcement-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kp-announcement-pill {
  background: var(--color-emerald);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* SECTION 2: Header & Navigation */
.kp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.kp-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: var(--color-white);
}

.kp-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.kp-logo img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.kp-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.kp-nav-menu a {
  position: relative;
  padding: 8px 0;
}

.kp-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-emerald);
  transition: var(--transition-fast);
}

.kp-nav-menu a:hover::after,
.kp-nav-menu .current-menu-item a::after {
  width: 100%;
}

.kp-nav-menu a:hover,
.kp-nav-menu .current-menu-item a {
  color: var(--color-forest);
}

.kp-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-forest);
}

/* Mobile Nav Drawer */
.kp-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(23, 61, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.kp-mobile-nav.open {
  display: block;
}

.kp-mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--color-white);
  padding: 32px 24px;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.kp-mobile-nav-links {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
}

/* SECTION 3: Hero Section */
.kp-hero {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, var(--color-sage) 0%, var(--color-ivory) 100%);
  position: relative;
}

.kp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kp-hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.kp-hero-copy {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-charcoal-light);
  margin-bottom: 32px;
  max-width: 580px;
}

.kp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.kp-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-dark);
}

.kp-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-forest);
}

.kp-hero-trust-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.kp-hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-white);
  background: var(--color-white);
}

.kp-hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.kp-hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* SECTION 4: Trust and Credibility Strip */
.kp-trust-strip {
  background-color: var(--color-forest);
  color: var(--color-white);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kp-trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kp-trust-strip-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.kp-trust-strip-item:last-child {
  border-right: none;
}

.kp-trust-strip-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.kp-trust-strip-desc {
  font-size: 0.8125rem;
  color: var(--color-sage);
  opacity: 0.88;
}

/* SECTION 5: Editorial About Section */
.kp-about-section {
  padding: 96px 0;
  background: var(--color-ivory);
}

.kp-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.kp-about-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  background: var(--color-white);
}

.kp-about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.kp-about-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 20px;
}

.kp-about-content p {
  color: var(--color-charcoal-light);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.kp-about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px;
}

.kp-about-highlight-card {
  background: var(--color-white);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.kp-about-highlight-card strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-forest);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.kp-about-highlight-card span {
  font-size: 0.8125rem;
  color: var(--color-charcoal-light);
}

/* SECTION 6: Specialist Treatments Section */
.kp-treatments-section {
  padding: 96px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.kp-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.kp-section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
}

.kp-section-head p {
  color: var(--color-charcoal-light);
  font-size: 1.0625rem;
}

.kp-treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kp-treatment-card {
  background: var(--color-ivory);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-base);
}

.kp-treatment-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-emerald);
  box-shadow: var(--shadow-hover);
  background: var(--color-white);
}

.kp-treatment-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--color-sage);
}

.kp-treatment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.kp-treatment-card:hover .kp-treatment-thumb img {
  transform: scale(1.05);
}

.kp-treatment-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.kp-treatment-body h3 {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.kp-treatment-body p {
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  line-height: 1.6;
  margin-bottom: 18px;
}

.kp-treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-emerald);
  margin-top: auto;
}

.kp-treatment-link:hover {
  gap: 10px;
  color: var(--color-emerald-dark);
}

/* SECTION 7: Meet Our Specialists */
.kp-specialists-section {
  padding: 96px 0;
  background: var(--color-sage);
}

.kp-specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kp-doctor-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kp-doctor-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-emerald);
  box-shadow: var(--shadow-md);
}

.kp-doctor-card-lead {
  border: 2px solid var(--color-emerald);
  background: var(--color-white);
}

.kp-doctor-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid var(--color-sage);
}

.kp-doctor-name {
  font-size: 1.3125rem;
  margin-bottom: 4px;
}

.kp-doctor-role {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-emerald);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.kp-doctor-meta {
  font-size: 0.84375rem;
  color: var(--color-charcoal-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* SECTION 8: Why Choose Us */
.kp-why-section {
  padding: 96px 0;
  background: var(--color-white);
}

.kp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.kp-why-card {
  padding: 32px 28px;
  background: var(--color-ivory);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.kp-why-card:hover {
  border-color: var(--color-emerald);
  background: var(--color-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.kp-why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-sage);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.kp-why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.kp-why-card p {
  font-size: 0.90625rem;
  color: var(--color-charcoal-light);
  line-height: 1.65;
  margin: 0;
}

/* SECTION 9: Before & After Slider */
.kp-ba-section {
  padding: 96px 0;
  background: var(--color-ivory);
  border-top: 1px solid var(--color-border);
}

.kp-ba-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.kp-ba-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.kp-ba-tab.active,
.kp-ba-tab:hover {
  background: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}

.kp-ba-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.kp-ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  background: var(--color-sage);
}

.kp-ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.kp-ba-before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.kp-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
  pointer-events: none;
}

.kp-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-forest);
  border: 3px solid var(--color-white);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  pointer-events: none;
}

.kp-ba-label {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 5;
}

.kp-ba-label-before {
  left: 18px;
  background: rgba(23, 61, 48, 0.85);
  color: var(--color-white);
}

.kp-ba-label-after {
  right: 18px;
  background: var(--color-emerald);
  color: var(--color-white);
}

.kp-ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.kp-ba-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

/* SECTION 10: Patient Testimonials */
.kp-testimonials-section {
  padding: 96px 0;
  background: var(--color-white);
}

.kp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kp-testimonial-card {
  background: var(--color-ivory);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.kp-testimonial-stars {
  color: #D97706;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.kp-testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
}

.kp-testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-forest);
}

.kp-testimonial-author span {
  font-size: 0.75rem;
  color: var(--color-emerald);
  font-weight: 700;
  text-transform: uppercase;
}

/* SECTION 11: Clinic Locations */
.kp-locations-section {
  padding: 96px 0;
  background: var(--color-sage);
}

.kp-locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.kp-location-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kp-location-card.featured {
  border-color: var(--color-forest);
}

.kp-location-content {
  padding: 36px 32px 24px;
}

.kp-location-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.kp-location-badge-flagship {
  background: var(--color-forest);
  color: var(--color-white);
}

.kp-location-badge-new {
  background: var(--color-emerald);
  color: var(--color-white);
}

.kp-location-title {
  font-size: 1.625rem;
  margin-bottom: 14px;
}

.kp-location-details {
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  line-height: 1.75;
  margin-bottom: 24px;
}

.kp-location-details p {
  margin-bottom: 8px;
}

.kp-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 32px 28px;
  background: var(--color-ivory);
  border-top: 1px solid var(--color-border);
}

.kp-location-map-frame {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* SECTION 12: Final Appointment CTA */
.kp-final-cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--color-forest) 0%, #0F2920 100%);
  color: var(--color-white);
  text-align: center;
}

.kp-final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.kp-final-cta-inner h2 {
  color: var(--color-white);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  margin-bottom: 16px;
}

.kp-final-cta-inner p {
  color: var(--color-sage);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0.92;
}

.kp-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* SECTION 13: Sophisticated Dark Forest Green Footer */
.kp-footer {
  background-color: var(--color-forest);
  color: var(--color-sage);
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kp-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.kp-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.kp-footer-links {
  list-style: none;
  font-size: 0.875rem;
  line-height: 2.2;
}

.kp-footer-links a {
  color: var(--color-sage);
  opacity: 0.85;
}

.kp-footer-links a:hover {
  opacity: 1;
  color: var(--color-white);
  padding-left: 4px;
}

.kp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* WhatsApp Appointment Modal */
.kp-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 61, 48, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kp-modal-backdrop.open {
  display: flex;
}

.kp-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
}

.kp-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.kp-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-charcoal);
}

.kp-form-group {
  margin-bottom: 16px;
}

.kp-form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-forest);
}

.kp-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  background: var(--color-ivory);
  transition: var(--transition-fast);
}

.kp-form-control:focus {
  outline: none;
  border-color: var(--color-emerald);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(40, 122, 87, 0.15);
}

/* ==========================================================================
   ELEMENTOR FULL-WIDTH & COMPATIBILITY STYLES
   ========================================================================== */
.elementor-page .entry-content,
.elementor-template-full-width .entry-content {
  margin: 0;
  max-width: 100%;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1240px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .kp-treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kp-trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kp-trust-strip-item {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .kp-nav-menu, .kp-header-cta {
    display: none;
  }
  .kp-hamburger {
    display: block;
  }
  .kp-hero-grid,
  .kp-about-grid,
  .kp-locations-grid,
  .kp-specialists-grid,
  .kp-why-grid,
  .kp-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .kp-hero-image-wrap img,
  .kp-about-img-box img {
    height: 340px;
  }
  .kp-treatments-grid {
    grid-template-columns: 1fr;
  }
  .kp-footer-grid {
    grid-template-columns: 1fr;
  }
  .kp-trust-strip-grid {
    grid-template-columns: 1fr;
  }
}
