/*
 * Custom Theme – Design System
 * Version: 1.0
 * Compatible with: WordPress + Twenty Twenty-Four / Twenty Twenty-Three (default themes)
 * Strato Hosting: Drop into /wp-content/themes/[child-theme]/css/
 *
 * TABLE OF CONTENTS
 * 1. Design Tokens (CSS Variables)
 * 2. Google Fonts Import
 * 3. Reset & Base
 * 4. Typography
 * 5. Custom Cursor
 * 6. Navigation Override
 * 7. Utility Classes
 * 8. Components: Eyebrow, Section Title, Divider, Button
 * 9. Components: Stats Strip
 * 10. Components: Service Card
 * 11. Components: Credentials / Approach List
 * 12. Components: Contact Form
 * 13. Components: Testimonial
 * 14. Components: Footer
 * 15. Scroll Reveal Animations
 * 16. Responsive
 */

/* =============================================
   1. DESIGN TOKENS
   ============================================= */
:root {
  --dr-gold:        #C9A96E;
  --dr-gold-light:  #E8D5B0;
  --dr-dark:        #1A1612;
  --dr-cream:       #F7F3EE;
  --dr-warm-grey:   #8A7F74;
  --dr-accent:      #D4B896;
  --dr-body-text:   #5a5048;
  --dr-muted:       rgba(255,255,255,0.5);

  --dr-font-serif:  'Cormorant Garamond', Georgia, serif;
  --dr-font-sans:   'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --dr-radius:      0px; /* intentionally sharp / luxury */
  --dr-transition:  0.3s ease;
  --dr-transition-slow: 0.8s ease;

  --dr-max-width:   1400px;
  --dr-section-pad: 120px 60px;
}

/* =============================================
   2. GOOGLE FONTS – preloaded in functions.php
   Fallback @import for standalone use
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* =============================================
   3. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.dr-page {
  background: var(--dr-cream);
  color: var(--dr-dark);
  font-family: var(--dr-font-sans);
  overflow-x: hidden;
  cursor: none;
}

/* =============================================
   4. TYPOGRAPHY
   ============================================= */
.dr-serif {
  font-family: var(--dr-font-serif);
}

.dr-h1, .dr-h2, .dr-h3 {
  font-family: var(--dr-font-serif);
  font-weight: 300;
  line-height: 1.1;
}

.dr-h1 { font-size: clamp(48px, 6vw, 80px); }
.dr-h2 { font-size: clamp(36px, 4vw, 56px); }
.dr-h3 { font-size: 24px; font-weight: 400; }

.dr-body-copy {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dr-body-text);
  font-weight: 300;
  margin-bottom: 20px;
}

/* =============================================
   5. CUSTOM CURSOR
   ============================================= */
.dr-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--dr-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.dr-cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--dr-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.6;
}

/* =============================================
   6. NAVIGATION OVERRIDE
   (Works on top of TT4 / TT3 nav)
   ============================================= */
.dr-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 60px;
  padding-top: max(24px, env(safe-area-inset-top, 24px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(26,22,18,0.4) 0%, transparent 100%);
}

.dr-nav-logo {
  font-family: var(--dr-font-serif);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

.dr-nav-logo--short { display: none; }

@media (max-width: 900px) {
  .dr-nav-logo--full  { display: none; }
  .dr-nav-logo--short { display: inline; }
}

.dr-nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}

.dr-nav-links a {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 300;
  transition: color var(--dr-transition);
}
.dr-nav-links a:hover { color: var(--dr-gold); }

/* =============================================
   7. UTILITY CLASSES
   ============================================= */
.dr-bg-dark   { background: var(--dr-dark); }
.dr-bg-cream  { background: var(--dr-cream); }
.dr-bg-black  { background: #0F0D0A; }

.dr-text-gold  { color: var(--dr-gold); }
.dr-text-white { color: #fff; }
.dr-text-muted { color: var(--dr-warm-grey); }

.dr-max-w { max-width: var(--dr-max-width); margin: 0 auto; }
.dr-section { padding: var(--dr-section-pad); }

.dr-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.dr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* =============================================
   8. COMPONENTS: EYEBROW, SECTION TITLE, DIVIDER, BUTTON
   ============================================= */

/* Eyebrow label */
.dr-eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dr-gold);
  font-weight: 400;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--dr-font-sans);
}
.dr-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--dr-gold);
  flex-shrink: 0;
}
.dr-eyebrow--center {
  justify-content: center;
}
.dr-eyebrow--center::before { display: none; }

/* Section title */
.dr-section-title {
  font-family: var(--dr-font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dr-dark);
  margin-bottom: 8px;
}
.dr-section-title em {
  font-style: italic;
  color: var(--dr-warm-grey);
}
.dr-section-title--light { color: #fff; }
.dr-section-title--light em { color: var(--dr-gold-light); }

/* Gold divider */
.dr-divider {
  width: 60px;
  height: 1px;
  background: var(--dr-gold);
  margin: 30px 0;
}

/* Buttons */
.dr-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--dr-font-sans);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dr-transition);
  cursor: none;
  border: none;
}

.dr-btn--primary {
  background: var(--dr-gold);
  color: var(--dr-dark);
  padding: 16px 36px;
}
.dr-btn--primary:hover {
  background: var(--dr-gold-light);
  color: var(--dr-dark);
  text-decoration: none;
}

.dr-btn--ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.8);
  padding: 16px 36px;
  font-weight: 300;
  background: transparent;
}
.dr-btn--ghost:hover {
  border-color: var(--dr-gold);
  color: var(--dr-gold);
  text-decoration: none;
}

.dr-btn--dark {
  background: var(--dr-dark);
  color: #fff;
  padding: 18px 48px;
  font-weight: 400;
  width: 100%;
  justify-content: center;
}
.dr-btn--dark:hover {
  background: var(--dr-gold);
  color: var(--dr-dark);
  text-decoration: none;
}

.dr-btn-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* =============================================
   9. COMPONENTS: STATS STRIP
   ============================================= */
.dr-strip {
  background: var(--dr-dark);
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.dr-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.dr-strip-item:not(:last-child) {
  padding-right: 40px;
  border-right: 1px solid rgba(201,169,110,0.2);
}

.dr-strip-num {
  font-family: var(--dr-font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--dr-gold);
}

.dr-strip-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.dr-strip-label strong {
  display: block;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  font-size: 11px;
}

/* =============================================
   10. COMPONENTS: SERVICE CARD
   ============================================= */
.dr-service-card {
  display: block;
  background: #211d18;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: none;
  text-decoration: none;
}
.dr-service-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.dr-service-card__link:focus-visible {
  outline: 2px solid var(--dr-gold);
  outline-offset: -8px;
}
.dr-service-card__link:link,
.dr-service-card__link:visited,
.dr-service-card__link:hover,
.dr-service-card__link:focus {
  color: inherit !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.dr-service-card:hover { background: #2a2520; }

.dr-service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--dr-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.dr-service-card:hover::before { transform: scaleX(1); }

.dr-service-num {
  font-family: var(--dr-font-serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(201,169,110,0.1);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.4s;
}
.dr-service-card:hover .dr-service-num { color: rgba(201,169,110,0.2); }

.dr-service-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
  color: var(--dr-gold);
}

.dr-service-name {
  font-family: var(--dr-font-serif);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.dr-service-desc {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 28px;
}

.dr-service-link {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dr-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  transition: gap 0.3s;
  font-family: var(--dr-font-sans);
}
.dr-service-link:hover { gap: 16px; color: var(--dr-gold); text-decoration: none; }
.dr-service-link::after { content: '→'; }
.dr-service-whatsapp-link {
  appearance: none;
  background: none;
  border: 0;
  cursor: none;
  padding: 0;
  position: relative;
  z-index: 2;
}
.dr-service-whatsapp-dialog {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 13px;
  background: #15120f;
  border: 1px solid rgba(201,169,110,0.45);
  border-radius: 3px;
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0;
  position: relative;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  visibility: hidden;
  z-index: 2;
}
.dr-service-whatsapp-dialog.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Regenesis highlight box */
.dr-regenesis-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(201,169,110,0.03));
  border: 1px solid rgba(201,169,110,0.25);
  text-align: center;
  margin-bottom: 50px;
}

.dr-regenesis-box h3 {
  font-family: var(--dr-font-serif);
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
}
.dr-regenesis-box h3 em {
  font-style: italic;
  color: var(--dr-gold-light);
}

.dr-regenesis-box p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto;
}

/* =============================================
   11. COMPONENTS: CREDENTIALS & APPROACH LIST
   ============================================= */
.dr-credentials {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dr-credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.dr-credential-dot {
  width: 6px;
  height: 6px;
  background: var(--dr-gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.dr-credential-text {
  font-size: 12px;
  color: #6a6058;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.dr-credential-text strong {
  display: block;
  color: var(--dr-dark);
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 2px;
}

/* About badge */
.dr-about-visual { position: relative; }
.dr-about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.dr-about-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--dr-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dr-about-badge-num {
  font-family: var(--dr-font-serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--dr-dark);
  line-height: 1;
}
.dr-about-badge-text {
  font-size: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dr-dark);
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4px;
}

/* Approach list (Philosophy section) */
.dr-approach-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.dr-approach-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,169,110,0.2);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  cursor: default;
  transition: padding-left 0.3s;
}
.dr-approach-item:hover { padding-left: 8px; }

.dr-approach-step {
  font-family: var(--dr-font-serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--dr-gold);
  min-width: 28px;
  padding-top: 2px;
}

.dr-approach-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dr-dark);
  margin-bottom: 4px;
}
.dr-approach-text span {
  font-size: 12px;
  color: var(--dr-warm-grey);
  line-height: 1.7;
  font-weight: 300;
}

/* =============================================
   12. COMPONENTS: CONTACT FORM
   ============================================= */
.dr-contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--dr-gold);
}

.dr-contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.dr-contact-item-text strong {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dr-warm-grey);
  font-weight: 400;
  margin-bottom: 6px;
}
.dr-contact-item-text span {
  font-size: 14px;
  color: var(--dr-dark);
  font-weight: 300;
  line-height: 1.6;
}

.dr-contact-whatsapp-icon svg {
  width: 20px;
  height: 20px;
}

.dr-contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dr-dark);
  text-decoration: none;
}

.dr-contact-whatsapp-link:hover,
.dr-contact-whatsapp-link:focus-visible {
  color: var(--dr-gold);
}

.dr-contact-whatsapp-link__icon {
  display: inline-flex;
  color: var(--dr-gold);
  line-height: 0;
}

.dr-contact-detail {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Form field styles — override WP / wpcf7 defaults */
.dr-form .dr-form-group {
  margin-bottom: 24px;
}
.dr-form label,
.dr-form .dr-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dr-warm-grey);
  margin-bottom: 10px;
  font-weight: 400;
  font-family: var(--dr-font-sans);
}
.dr-form input[type="text"],
.dr-form input[type="email"],
.dr-form input[type="tel"],
.dr-form textarea,
.dr-form select,
.dr-form .wpcf7-text,
.dr-form .wpcf7-email,
.dr-form .wpcf7-textarea,
.dr-form .wpcf7-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding: 12px 0;
  font-family: var(--dr-font-sans);
  font-size: 13px;
  color: var(--dr-dark);
  font-weight: 300;
  outline: none;
  transition: border-color var(--dr-transition);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  box-shadow: none;
}
.dr-form input:focus,
.dr-form textarea:focus,
.dr-form select:focus {
  border-bottom-color: var(--dr-gold);
  box-shadow: none;
  outline: none;
}
.dr-form textarea { resize: none; height: 80px; }

/* Reserved slot above the form — prevents layout shift when a notice appears */
.dr-form-notice-area {
  margin: 0 0 24px;
  min-height: 5.5rem;
  display: flex;
  align-items: flex-start;
}

.dr-form-notice {
  margin: 0;
  width: 100%;
  padding: 14px 18px;
  font-family: var(--dr-font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  text-transform: none;
}

.dr-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.dr-form-notice--success {
  color: var(--dr-charcoal);
  background: rgba(201, 169, 110, 0.15);
  border-left: 3px solid var(--dr-gold);
}
.dr-form-notice--error {
  color: var(--dr-charcoal);
  background: rgba(120, 40, 40, 0.08);
  border-left: 3px solid #8b3a3a;
}

/* =============================================
   13. COMPONENTS: TESTIMONIAL
   ============================================= */
.dr-testimonial {
  background: linear-gradient(135deg, #1A1612 0%, #2D2820 100%);
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dr-testimonial::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--dr-font-serif);
  font-size: 300px;
  color: rgba(201,169,110,0.04);
  line-height: 1;
  pointer-events: none;
}
.dr-testimonial-text {
  font-family: var(--dr-font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}
.dr-testimonial-author {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dr-gold);
  font-weight: 400;
  font-family: var(--dr-font-sans);
}

/* =============================================
   14. COMPONENTS: FOOTER
   ============================================= */
.dr-footer {
  background: #0F0D0A;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.dr-footer-logo {
  font-family: var(--dr-font-serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--dr-gold);
  letter-spacing: 2px;
}
.dr-footer-copy {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  font-family: var(--dr-font-sans);
}
.dr-footer-links {
  display: flex;
  gap: 24px;
}
.dr-footer-links a {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--dr-transition);
  font-family: var(--dr-font-sans);
}
.dr-footer-links a:hover { color: var(--dr-gold); }

/* =============================================
   15. SCROLL REVEAL ANIMATIONS
   ============================================= */
.dr-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.dr-reveal.dr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
@keyframes dr-fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dr-heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
@keyframes dr-scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

.dr-hero-content {
  animation: dr-fadeUp 1.4s ease 0.3s both;
}
.dr-hero-image {
  animation: dr-heroZoom 12s ease-out forwards;
}
.dr-scroll-hint {
  animation: dr-fadeUp 1.4s ease 1s both;
}
.dr-scroll-line {
  animation: dr-scrollPulse 2s ease-in-out infinite;
}

/* =============================================
   16. RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  :root {
    --dr-section-pad: 80px 30px;
  }

  .dr-nav {
    padding: 20px 30px;
    padding-top: max(20px, env(safe-area-inset-top, 20px));
    background: rgba(10, 8, 5, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .dr-nav-links { display: none; }

  .dr-strip {
    flex-direction: column;
    padding: 40px 30px;
  }
  .dr-strip-item:not(:last-child) {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(201,169,110,0.2);
    padding-bottom: 20px;
    width: 100%;
  }

  .dr-grid-2 {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .dr-grid-3 {
    grid-template-columns: 1fr;
  }

  .dr-about-badge {
    right: 0;
    bottom: -20px;
    width: 110px;
    height: 110px;
  }

  .dr-footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }
  .dr-footer-links { justify-content: center; }

  .dr-testimonial { padding: 60px 30px; }
}

/* =============================================
   IMPRESSUM / DATENSCHUTZ PAGES
   (Shared layout for legal pages)
   ============================================= */
.dr-legal-page {
  background: var(--dr-cream);
  padding: 160px 60px 100px;
  max-width: 860px;
  margin: 0 auto;
}

.dr-legal-page h1 {
  font-family: var(--dr-font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--dr-dark);
  margin-bottom: 16px;
}

.dr-legal-page h2 {
  font-family: var(--dr-font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--dr-dark);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,169,110,0.25);
}

.dr-legal-page h3 {
  font-family: var(--dr-font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--dr-dark);
  margin: 32px 0 12px;
}

.dr-legal-page p,
.dr-legal-page li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dr-body-text);
  font-weight: 300;
  margin-bottom: 14px;
  font-family: var(--dr-font-sans);
}

.dr-legal-page a {
  color: var(--dr-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  transition: border-color var(--dr-transition);
}
.dr-legal-page a:hover { border-bottom-color: var(--dr-gold); }

.dr-legal-page ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .dr-legal-page {
    padding: 120px 30px 80px;
  }
}

/* =============================================
   17. WHATSAPP FLOAT BUTTON
   ============================================= */
.dr-whatsapp-float-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
}

.dr-whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--dr-gold);
  color: var(--dr-dark);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.45);
  transition: transform var(--dr-transition), box-shadow var(--dr-transition), background var(--dr-transition);
}

.dr-whatsapp-float:hover,
.dr-whatsapp-float:focus-visible {
  background: var(--dr-gold-light);
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(201, 169, 110, 0.55);
  outline: none;
}

.dr-whatsapp-float:focus-visible {
  outline: 2px solid var(--dr-gold);
  outline-offset: 3px;
}

.dr-whatsapp-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* Validation-style phone balloon (like native form validity UI) */
.dr-whatsapp-phone-dialog {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 200px;
  max-width: 280px;
  padding: 10px 14px;
  background: #fff;
  color: #1a1612;
  border: 1px solid #c9a96e;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(26, 22, 18, 0.12);
  font-family: var(--dr-font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

.dr-whatsapp-phone-dialog.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dr-whatsapp-phone-dialog::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid #c9a96e;
  border-bottom: 1px solid #c9a96e;
  transform: rotate(45deg);
}

.dr-whatsapp-phone-dialog__number {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .dr-whatsapp-float-wrap {
    bottom: 20px;
    right: 20px;
  }

  .dr-whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .dr-whatsapp-float__icon svg {
    width: 26px;
    height: 26px;
  }

  .dr-whatsapp-phone-dialog {
    font-size: 12px;
    min-width: 180px;
    padding: 8px 12px;
  }
}

/* =============================================
   18. CONTACT LOCATION NOTE
   ============================================= */
.dr-contact-location {
  margin-top: 36px;
}

.dr-contact-location .dr-eyebrow {
  margin-bottom: 18px;
}

.dr-contact-location-title {
  font-family: var(--dr-font-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dr-dark);
  margin-bottom: 22px;
}

.dr-contact-location strong {
  color: var(--dr-dark);
  font-weight: 500;
}

.dr-contact-location-route {
  margin-top: 28px;
}

.dr-contact-location-route h4 {
  font-family: var(--dr-font-serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--dr-dark);
  margin-bottom: 10px;
}

.dr-contact-location-route .dr-body-copy {
  font-size: 13px;
  margin-bottom: 0;
}

.dr-contact-private-note {
  margin-top: 24px;
  color: var(--dr-warm-grey);
  font-size: 13px;
  font-style: italic;
}
