﻿/* ===== DESIGN TOKENS ===== */
:root {
  --color-burgundy: #600d21;
  --color-burgundy-dark: #3d0815;
  --color-burgundy-light: #851d36;
  --color-rose: #daa994;
  --color-rose-light: #e8c4b5;
  --color-rose-pale: #f5e6df;
  --color-coral: #d57b6b;
  --color-white: #ffffff;
  --color-cream: #fef9f6;
  --color-text-dark: #2d0a14;
  --color-text-light: #f5e6df;
  --color-gold: #c9a87c;
  --color-gold-light: #e0cba8;

  --font-heading: 'Questrial', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 8px rgba(96, 13, 33, 0.08);
  --shadow-md: 0 4px 24px rgba(96, 13, 33, 0.12);
  --shadow-lg: 0 8px 48px rgba(96, 13, 33, 0.18);
  --shadow-glow: 0 0 40px rgba(218, 169, 148, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Responsive vertical rhythm */
  --space-section: 120px;

  /* Height of the fixed "Atendimento particular" bar above the navbar */
  --topbar-h: 34px;

  /* Refined focus ring */
  --focus-ring: 0 0 0 3px rgba(218, 169, 148, 0.55);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keep anchored sections clear of the fixed top bar + navbar */
section[id] {
  scroll-margin-top: calc(84px + var(--topbar-h));
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  overflow-x: hidden;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

/* Accessible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* Elegant text selection */
::selection {
  background: var(--color-rose);
  color: var(--color-burgundy-dark);
}

/* <picture> só embrulha o <img> para servir WebP; ele não deve existir no
   layout, senão vira o filho flex no lugar da imagem e quebra os alinhamentos */
picture {
  display: contents;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-rose);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--color-burgundy);
}

.section-title em {
  font-style: italic;
  color: var(--color-rose);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(218, 169, 148, 0.3); }
  50% { box-shadow: 0 0 40px rgba(218, 169, 148, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER / NAVBAR ===== */
/* ===== TOP BAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--color-rose), var(--color-gold-light), var(--color-rose));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.topbar p {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-burgundy-dark);
}

.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(61, 8, 21, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-img {
  height: 46px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-logo-img {
  height: 40px;
}

.navbar-wordmark {
  height: 30px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-wordmark {
  height: 26px;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
}

.navbar-logo span {
  color: var(--color-rose);
  font-style: italic;
}

.navbar-subtitle {
  font-size: 0.65rem;
  color: var(--color-rose-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.8;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-white);
  position: relative;
  letter-spacing: 0.5px;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-rose);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  background: linear-gradient(135deg, var(--color-rose), var(--color-coral));
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(218, 169, 148, 0.4);
  transition: var(--transition-smooth) !important;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(218, 169, 148, 0.6);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background-color: var(--color-burgundy);
  background-image: url('img/grain.png'),
    linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 40%, var(--color-burgundy-light) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 320px 320px, cover;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(218, 169, 148, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(213, 123, 107, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: calc(80px + var(--topbar-h));
}

.hero-content {
  animation: fadeInLeft 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(218, 169, 148, 0.15);
  border: 1px solid rgba(218, 169, 148, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-rose-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 5.8vw, 4.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--color-rose);
  display: inline-block;
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.02em;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-rose), var(--color-coral), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-rose-light);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Soft light sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn:hover::before {
  left: 130%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-rose), var(--color-coral));
  color: var(--color-white);
  box-shadow: 0 8px 30px rgba(218, 169, 148, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(218, 169, 148, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-rose);
  transform: translateY(-3px);
}

/* The photo column hugs the bottom of the section, so the photo's lower
   edge (and the arms) end exactly at the fold — no fades needed there */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  animation: fadeInRight 1s ease-out 0.3s both;
  min-height: 600px;
}

/* Glow backdrop behind photo */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
    rgba(248, 236, 229, 0.55) 0%,
    rgba(232, 196, 181, 0.40) 28%,
    rgba(218, 169, 148, 0.18) 52%,
    transparent 72%);
  border-radius: 50%;
  filter: blur(34px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.7; 
    transform: translate(-50%, -50%) scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1.15); 
  }
}

/* Decorative rotating rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  z-index: 1;
}

.hero-ring--1 {
  width: 480px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(218, 169, 148, 0.15);
  border-top-color: rgba(218, 169, 148, 0.5);
  border-right-color: rgba(218, 169, 148, 0.3);
  animation: rotateRing 20s linear infinite;
}

.hero-ring--2 {
  width: 540px;
  height: 540px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(201, 168, 124, 0.08);
  border-bottom-color: rgba(201, 168, 124, 0.3);
  border-left-color: rgba(201, 168, 124, 0.15);
  animation: rotateRing 30s linear infinite reverse;
}

.hero-ring--3 {
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(218, 169, 148, 0.1);
  border-top-color: rgba(213, 123, 107, 0.35);
  animation: rotateRing 15s linear infinite;
  border-style: dashed;
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Rotating brand logo behind photo */
.hero-logo-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: logoSway 7s ease-in-out infinite;
  opacity: 0.32;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.25));
  pointer-events: none;
  will-change: transform;
}

@keyframes logoSway {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  50%      { transform: translate(-50%, -50%) rotate(6deg); }
}

/* Floating particles */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-rose);
  z-index: 1;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

.hero-particle--1 {
  width: 6px;
  height: 6px;
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.hero-particle--2 {
  width: 4px;
  height: 4px;
  top: 25%;
  left: 5%;
  background: var(--color-gold);
  animation-delay: 1.2s;
}

.hero-particle--3 {
  width: 8px;
  height: 8px;
  bottom: 30%;
  right: 5%;
  background: var(--color-coral);
  animation-delay: 2.4s;
}

.hero-particle--4 {
  width: 5px;
  height: 5px;
  top: 40%;
  left: 0%;
  animation-delay: 3.6s;
}

.hero-particle--5 {
  width: 3px;
  height: 3px;
  bottom: 20%;
  left: 15%;
  background: var(--color-gold-light);
  animation-delay: 4.8s;
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0px) scale(0.5);
  }
  20% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1);
  }
  80% {
    opacity: 0.6;
    transform: translateY(-30px) scale(0.8);
  }
}

/* Photo container — sits above every hero decoration (badges are z-index 5) */
.hero-photo-container {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-photo-container img {
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  transform: scaleX(-1);
}

/* Floating credential badges — always in front of the photo */
.hero-float-badge {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(61, 8, 21, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(218, 169, 148, 0.25);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-float-badge i {
  font-size: 1.3rem;
  color: var(--color-rose);
}

.hero-float-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.hero-float-badge span {
  font-size: 0.7rem;
  color: var(--color-rose-light);
  opacity: 0.7;
}

.hero-float-badge--top {
  top: 18%;
  right: -10px;
  animation: floatBadge 5s ease-in-out infinite;
}


@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(218, 169, 148, 0.2);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-rose);
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.78rem;
  color: var(--color-rose-light);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

/* ===== ABOUT SECTION ===== */
/* ===== PROCEDURES TICKER ===== */
/* Transition band between the dark hero and the light "about" section */
.ticker {
  background: var(--color-burgundy-dark);
  border-top: 1px solid rgba(218, 169, 148, 0.18);
  border-bottom: 1px solid rgba(218, 169, 148, 0.18);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

/* Fade the strip into the background at both ends */
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-burgundy-dark), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-burgundy-dark), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticker-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 26px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  color: var(--color-rose-light);
}

/* Lotus-like separator drawn between items */
.ticker-list li::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 26px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.65;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== STATS BAND =====
   Moved out of the hero so the first fold no longer depends on screen height */
.stats-band {
  background: var(--color-white);
  padding: 46px 0;
  border-bottom: 1px solid rgba(96, 13, 33, 0.07);
}

.stats-band .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: center;
}

.stats-band .hero-stat + .hero-stat {
  border-left: 1px solid rgba(96, 13, 33, 0.1);
}

.stats-band .hero-stat h3 {
  font-size: 2.5rem;
  color: var(--color-burgundy);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats-band .hero-stat p {
  color: var(--color-text-dark);
  opacity: 0.55;
}

.about {
  padding: var(--space-section) 0;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(218, 169, 148, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 85%;
  background: linear-gradient(135deg, var(--color-rose-pale), var(--color-rose-light));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 0;
  animation: blob-morph 8s ease-in-out infinite;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(96, 13, 33, 0.15) 0%, transparent 70%);
  z-index: 0;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.about-image-wrapper img {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 30px rgba(96, 13, 33, 0.2));
  transition: transform var(--transition-spring);
}

.about-image-wrapper:hover img {
  transform: translateY(-6px);
}

.about-image-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-light));
  color: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.about-image-float h4 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-rose);
}

.about-image-float p {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  opacity: 0.85;
  line-height: 1.8;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-rose-pale);
  color: var(--color-burgundy);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.credential-tag:hover {
  background: var(--color-rose-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.credential-tag i {
  color: var(--color-coral);
}

/* ===== SPECIALTIES SECTION ===== */
.specialties {
  padding: var(--space-section) 0;
  background-color: var(--color-burgundy);
  background-image: url('img/grain.png'),
    linear-gradient(180deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 320px 320px, cover;
  position: relative;
  overflow: hidden;
}

.specialties::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-rose), transparent);
}

.specialties .section-label {
  color: var(--color-rose-light);
}

.specialties .section-label::before {
  background: var(--color-rose-light);
}

.specialties .section-title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.specialties-subtitle {
  color: var(--color-rose-light);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 64px;
  max-width: 600px;
  opacity: 0.8;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.specialty-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(218, 169, 148, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-coral));
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.specialty-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(218, 169, 148, 0.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(218, 169, 148, 0.2), rgba(213, 123, 107, 0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
  color: var(--color-rose);
  transition: var(--transition-smooth);
}

.specialty-card:hover .specialty-icon {
  background: linear-gradient(135deg, var(--color-rose), var(--color-coral));
  color: var(--color-white);
  transform: scale(1.1);
}

.specialty-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 14px;
}

.specialty-card p {
  font-size: 0.88rem;
  color: var(--color-rose-light);
  opacity: 0.75;
  line-height: 1.7;
}

/* ===== PROCEDURES / SERVICES ===== */
.procedures {
  padding: var(--space-section) 0;
  background: var(--color-cream);
  position: relative;
}

.procedures-header {
  text-align: center;
  margin-bottom: 64px;
}

.procedures-header .section-label {
  justify-content: center;
}

.procedures-header .section-label::before {
  display: none;
}

.procedures-header .section-title {
  margin-bottom: 16px;
}

.procedures-header p {
  font-size: 1rem;
  color: var(--color-text-dark);
  opacity: 0.65;
  max-width: 560px;
  margin: 0 auto;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.procedure-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(218, 169, 148, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.procedure-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-burgundy), var(--color-rose));
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.procedure-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.procedure-card:hover::after {
  transform: scaleX(1);
}

.procedure-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-rose), var(--color-coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.55;
  transition: opacity var(--transition-smooth);
}

.procedure-card:hover .procedure-number {
  opacity: 1;
}

.procedure-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-burgundy);
  margin-bottom: 14px;
  font-weight: 600;
}

.procedure-card p {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  opacity: 0.7;
  line-height: 1.75;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--color-rose-pale), var(--color-cream));
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-header .section-label::before {
  display: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Google rating badge under the section title */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 20px;
  background: var(--color-white);
  border: 1px solid rgba(96, 13, 33, 0.1);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.google-rating:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-rating .fa-google {
  font-size: 1.1rem;
  color: #4285f4;
}

.google-rating strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-burgundy);
  line-height: 1;
}

.google-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-gold);
  font-size: 0.8rem;
}

.google-rating-count {
  font-size: 0.8rem;
  color: var(--color-text-dark);
  opacity: 0.6;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
}

/* Google "G" marking each card as a real published review */
.testimonial-source {
  position: absolute;
  top: 28px;
  right: 30px;
  font-size: 1.05rem;
  color: #4285f4;
  opacity: 0.85;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card p {
  font-size: 0.88rem;
  color: var(--color-text-dark);
  opacity: 0.75;
  line-height: 1.75;
  font-style: italic;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--color-gold);
  font-size: 0.85rem;
}

/* Reviewer identity sits at the top of the card, as it does on Google */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-right: 28px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-avatar--initial {
  background: #0b8043;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.15rem;
}

.testimonial-author-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-burgundy);
}

.testimonial-author-info span {
  font-size: 0.75rem;
  color: var(--color-text-dark);
  opacity: 0.5;
}

/* ===== LOCATION SECTION ===== */
.location {
  padding: var(--space-section) 0;
  background: var(--color-white);
  position: relative;
}

.location .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-content h2 {
  margin-bottom: 24px;
}

.location-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  opacity: 0.7;
  margin-bottom: 32px;
  line-height: 1.8;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-rose-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
  font-size: 1.1rem;
}

.location-item-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-burgundy);
  margin-bottom: 2px;
}

.location-item-text p {
  font-size: 0.85rem;
  color: var(--color-text-dark);
  opacity: 0.65;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/12;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background-color: var(--color-burgundy);
  background-image: url('img/grain.png'),
    linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 50%, var(--color-burgundy-light) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 320px 320px, cover;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(218, 169, 148, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .section-title {
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--color-rose-light);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  opacity: 0.85;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* A green glow over the burgundy background muddies into brown, so depth
   comes from a neutral drop shadow plus a light edge on the button itself */
.btn-whatsapp {
  background: linear-gradient(180deg, #2fdc74 0%, #23c45e 100%);
  color: var(--color-white);
  box-shadow:
    0 10px 22px rgba(20, 4, 10, 0.32),
    0 2px 6px rgba(20, 4, 10, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(180deg, #36e57d 0%, #26d066 100%);
  transform: translateY(-3px);
  box-shadow:
    0 16px 30px rgba(20, 4, 10, 0.38),
    0 3px 8px rgba(20, 4, 10, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-burgundy-dark);
  background-image: url('img/grain.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  color: var(--color-white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-wordmark {
  height: 38px;
  width: auto;
  display: block;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-lockup .footer-logo-img,
.footer-lockup .footer-wordmark {
  margin-bottom: 0;
}

.footer-brand .navbar-logo {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-rose-light);
  opacity: 0.65;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(218, 169, 148, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rose);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--color-rose);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-rose);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--color-rose-light);
  opacity: 0.65;
  padding: 4px 0;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--color-rose);
  width: 18px;
  text-align: center;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--color-rose-light);
  opacity: 0.65;
}

.footer-bottom {
  border-top: 1px solid rgba(218, 169, 148, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--color-rose-light);
  opacity: 0.5;
}

.footer-privacy {
  color: var(--color-rose);
  text-decoration: underline;
  transition: var(--transition-fast);
}

.footer-privacy:hover {
  color: var(--color-white);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: pulse-glow 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 0;
    align-self: auto;
  }

  /* Stacked layout: the photo sits above the headline instead of resting on
     the fold, so its bottom edge needs to dissolve into the background */
  .hero-photo-container img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 22%);
    mask-image: linear-gradient(to top, transparent 0%, black 22%);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 100%;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .procedures-grid {
    grid-template-columns: 1fr;
  }

  .location .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  :root {
    --space-section: 88px;
  }

  /* Shrink hero decorations so they never overflow on tablets */
  .hero-ring--1 { width: 380px; height: 380px; }
  .hero-ring--2 { width: 430px; height: 430px; }
  .hero-ring--3 { width: 300px; height: 300px; }
  .hero-logo-spin { width: 500px; }
  .hero-glow { width: 340px; height: 340px; }

  /* The horizontal menu stops fitting below ~1025px: the links would wrap
     over the logo and shatter the CTA, so switch to the slide-in panel here */
  .navbar-links {
    position: fixed;
    top: var(--topbar-h);
    right: -100%;
    width: min(320px, 78%);
    height: calc(100vh - var(--topbar-h));
    background: var(--color-burgundy-dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition-smooth);
    gap: 24px;
  }

  .navbar-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar-logo-img {
    height: 34px;
  }

  .navbar-wordmark {
    height: 24px;
  }

  :root {
    --space-section: 72px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 7.5vw, 3.4rem);
  }

  /* Compact hero so the headline reaches the first fold */
  .hero {
    min-height: auto;
    padding-top: calc(78px + var(--topbar-h));
    padding-bottom: 48px;
  }

  .hero .container {
    gap: 18px;
    padding-top: 0;
  }

  .hero-image-wrapper {
    min-height: 320px;
  }

  .hero-photo-container img {
    max-width: 300px;
  }

  .hero-badge {
    margin-bottom: 18px;
  }

  .hero-subtitle {
    margin-bottom: 28px;
  }

  /* Tighter decorations around the smaller mobile photo — rings sit a bit
     higher and smaller so they never poke out below the photo's bottom */
  .hero-ring--1 { width: 210px; height: 210px; top: 45%; }
  .hero-ring--2 { width: 240px; height: 240px; top: 45%; }
  .hero-ring--3 { width: 170px; height: 170px; top: 45%; }
  .hero-logo-spin { width: 210px; opacity: 0.16; }
  .hero-glow { width: 220px; height: 220px; top: 45%; }

  /* Pull floating badges in so they stay on screen */
  /* Keep the badge clear of the photo: the doctor's silhouette is narrowest
     at the top, so the badge rides the upper-right corner of the wrapper */
  .hero-float-badge--top { right: 0; top: 0; }
  .hero-float-badge { padding: 9px 13px; }
  .hero-float-badge i { font-size: 1rem; }

  .stats-band {
    padding: 32px 0;
  }

  .stats-band .hero-stat h3 {
    font-size: 1.9rem;
  }

  .stats-band .hero-stat p {
    font-size: 0.68rem;
    letter-spacing: 0.6px;
  }

  .specialty-card { padding: 32px 26px; }
  .procedure-card { padding: 32px 28px; }
  .testimonial-card { padding: 30px 28px; }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
  }

  .about-image-wrapper img {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .stats-band .hero-stat h3 {
    font-size: 1.5rem;
  }

  .stats-band .hero-stat + .hero-stat {
    border-left-width: 1px;
  }

  .hero-stat p {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  .about-image-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about-image-wrapper img {
    max-width: 250px;
  }

  .about-image-float {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: -26px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    z-index: 2;
    padding: 14px 24px;
  }

  .about-image-float h4 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .container {
    padding: 0 20px;
  }

  /* Declutter the hero on the smallest screens */
  .hero-ring--2,
  .hero-particle--4,
  .hero-particle--5 {
    display: none;
  }

  .hero-photo-container img {
    max-width: 265px;
  }

  .hero-image-wrapper {
    min-height: 285px;
  }

  .hero-logo-spin { width: 175px; opacity: 0.13; }

  /* Keep the remaining rings inside the smaller photo's height */
  .hero-ring--1 { width: 185px; height: 185px; top: 45%; }
  .hero-ring--3 { width: 150px; height: 150px; top: 45%; }

  .hero-float-badge span {
    display: none;
  }

  .hero-float-badge strong {
    font-size: 0.72rem;
  }

  /* Smaller floating buttons so they cover less text on narrow screens */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    bottom: 18px;
    right: 18px;
  }

  .scroll-top {
    width: 38px;
    height: 38px;
    bottom: 18px;
    left: 18px;
  }

  .topbar p {
    font-size: 0.63rem;
    letter-spacing: 1.1px;
  }

  .ticker {
    padding: 14px 0;
  }

  .ticker-list li {
    font-size: 0.92rem;
    padding: 0 16px;
  }

  .ticker-list li::after {
    margin-left: 16px;
    width: 5px;
    height: 5px;
  }

  .ticker::before,
  .ticker::after {
    width: 48px;
  }
}

/* The global reduced-motion rule would freeze the ticker mid-scroll,
   so park it at its starting position instead */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
    transform: translateX(0) !important;
  }

  .ticker {
    overflow-x: auto;
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-burgundy-light);
  transform: translateY(-3px);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== BRAND WATERMARKS =====
   Subtle lotus / feminine-silhouette motifs from the logo,
   always behind content, cropped at the section edges. */
.container {
  position: relative;
  z-index: 1;
}

.about,
.specialties,
.procedures,
.testimonials,
.location,
.cta-section,
.footer {
  position: relative;
}

.procedures,
.testimonials,
.location,
.footer {
  overflow: hidden;
}

.about::after,
.procedures::after,
.testimonials::after,
.location::after,
.footer::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Light sections → burgundy motif */
.about::after {
  left: -55px;
  bottom: -30px;
  width: 330px;
  height: 330px;
  background-image: url('img/wm-lotus-burgundy.png');
  background-position: left bottom;
  opacity: 0.06;
}

.procedures::after {
  right: -70px;
  top: -40px;
  width: 320px;
  height: 533px;
  background-image: url('img/wm-woman-burgundy.png');
  background-position: right top;
  opacity: 0.05;
}

.testimonials::after {
  left: -50px;
  top: -35px;
  width: 300px;
  height: 300px;
  background-image: url('img/wm-lotus-burgundy.png');
  background-position: left top;
  opacity: 0.055;
}

.location::after {
  right: -50px;
  bottom: -40px;
  width: 330px;
  height: 330px;
  background-image: url('img/wm-lotus-burgundy.png');
  background-position: right bottom;
  opacity: 0.05;
}

/* Dark sections → rose motif */
.footer::after {
  right: -40px;
  bottom: -70px;
  width: 250px;
  height: 416px;
  background-image: url('img/wm-woman-rose.png');
  background-position: right bottom;
  opacity: 0.05;
}

/* Trim watermarks on small screens */
@media (max-width: 768px) {
  .about::after,
  .testimonials::after,
  .location::after { width: 210px; height: 210px; }

  .procedures::after,
  .footer::after { width: 200px; height: 333px; }
}

/* ===== FILM GRAIN TEXTURE =====
   Applied only on the dark (burgundy) sections — layered on top of
   each section's gradient/color. Kept off the light/cream sections. */

/* ===== TESTIMONIALS DRAG CAROUSEL ===== */
.testimonials-marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}

.testimonials-marquee::-webkit-scrollbar {
  display: none;                  /* Chrome/Safari */
}

.testimonials-marquee.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;         /* free drag, snap re-applies on release */
}

.testimonials-track {
  display: flex;
  width: max-content;
  padding: 8px 2px 12px;
}

.testimonials-track .testimonial-card {
  flex: 0 0 360px;
  width: 360px;
  margin-right: 28px;
  scroll-snap-align: start;
}

/* Cards in the carousel are always visible (not scroll-revealed) */
.testimonials-track .animate-on-scroll {
  opacity: 1;
  transform: none;
}

/* Hint that the row is draggable */
.testimonials-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dark);
  opacity: 0.5;
  margin-top: 18px;
}

.testimonials-hint i {
  margin: 0 6px;
  color: var(--color-rose);
}

@media (max-width: 480px) {
  .testimonials-track .testimonial-card {
    flex-basis: 300px;
    width: 300px;
    margin-right: 18px;
  }
}
