/* ============================================================
   DRA. PHAULA FERREIRA — SITE INSTITUCIONAL
   Design System baseado na Identidade Visual
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Raleway:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --color-rose-deep: #7A2938;
  --color-rose: #956070;
  --color-rose-light: #B08090;
  --color-rose-pale: #EDE0E3;
  --color-rose-glass: rgba(122, 41, 56, 0.06);

  --color-gold-deep: #8B7355;
  --color-gold: #B8A690;
  --color-gold-light: #C8B8A0;
  --color-gold-pale: #F0EAE0;
  --color-gold-shimmer: linear-gradient(135deg, #C8B8A0, #B8A690, #C8B8A0);

  --color-cream: #FDF8F0;
  --color-cream-warm: #FAF3E8;
  --color-ivory: #FFFEF9;
  --color-white: #FFFFFF;

  --color-text-primary: #2C1810;
  --color-text-secondary: #5A4235;
  --color-text-muted: #8B7355;
  --color-text-light: #B8A690;

  /* Typography */
  --font-display: 'Great Vibes', cursive;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft: 0 2px 15px rgba(122, 41, 56, 0.05);
  --shadow-medium: 0 4px 30px rgba(122, 41, 56, 0.08);
  --shadow-elevated: 0 8px 40px rgba(122, 41, 56, 0.1);
  --shadow-gold: 0 4px 20px rgba(184, 166, 144, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 166, 144, 0.3); }
  50% { box-shadow: 0 0 20px 5px rgba(184, 166, 144, 0.1); }
}

@keyframes roseBloom {
  0% { transform: scale(0.8) rotate(-5deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 80px; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Gold Divider --- */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: var(--color-gold-shimmer);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.gold-divider .divider-icon {
  color: var(--color-gold);
  font-size: 1.2rem;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-smooth);
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 166, 144, 0.1);
}

.site-header.scrolled {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: var(--shadow-soft);
  height: 70px;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-image {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: all var(--transition-smooth);
}

/* HD Logo in Header — wider, shows full brand */
.logo-image.logo-image-hd {
  width: auto;
  height: 55px;
  max-width: 240px;
}

/* Lotus icon in Header */
.logo-image.logo-image-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.site-header.scrolled .logo-image {
  width: 38px;
  height: 38px;
}

.site-header.scrolled .logo-image.logo-image-hd {
  width: auto;
  height: 45px;
  max-width: 200px;
}

.site-header.scrolled .logo-image.logo-image-icon {
  width: 38px;
  height: 38px;
}

.logo-wrapper:hover .logo-image {
  transform: scale(1.03);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--space-sm);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: var(--color-rose);
  background: var(--color-rose-glass);
}

.nav-link.active {
  color: var(--color-rose-deep);
  background: var(--color-rose-glass);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f0e8e0;
  background: linear-gradient(135deg, #3D0A0A, #2B0000);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-left: var(--space-md);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(43, 0, 0, 0.3);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(43, 0, 0, 0.45);
  color: #f0e8e0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-rose-deep);
  border-radius: 2px;
  transition: all 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: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-cream-warm) 50%,
    var(--color-gold-pale) 100%
  );
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(253, 248, 240, 0.7) 0%,
    rgba(253, 248, 240, 0.4) 40%,
    rgba(253, 248, 240, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--space-xl);
  animation: fadeInUp 1.2s ease;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-xl);
  animation: roseBloom 1s ease 0.3s both;
  filter: drop-shadow(0 4px 15px rgba(139, 26, 43, 0.15));
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* HD Logo — Full brand logo as hero centerpiece */
.hero-logo.hero-logo-hd {
  width: auto;
  height: auto;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 1.2s ease 0.3s both;
  filter: drop-shadow(0 4px 20px rgba(90, 66, 53, 0.1));
}

.hero-logo.hero-logo-hd img {
  width: 100%;
  height: auto;
  max-height: none;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-rose-deep);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-crm {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-specialties {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--color-gold-deep);
  font-style: italic;
  font-weight: 500;
  margin-top: var(--space-lg);
  animation: fadeInUp 1s ease 1.1s both;
  position: relative;
  display: inline-block;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '❝';
  font-size: 1.8rem;
  color: var(--color-gold-light);
  position: absolute;
  opacity: 0.5;
}

.hero-tagline::before {
  left: -30px;
  top: -10px;
}

.hero-tagline::after {
  content: '❞';
  right: -30px;
  bottom: -10px;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
  animation: fadeInUp 1s ease 1.3s both;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: 0.5px;
}

.btn-primary {
  color: #f0e8e0;
  background: linear-gradient(135deg, #3D0A0A, #2B0000);
  box-shadow: 0 4px 20px rgba(43, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(43, 0, 0, 0.45);
  color: #f0e8e0;
}

.btn-secondary {
  color: var(--color-gold-deep);
  background: transparent;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-arrow {
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-gold-light);
  border-radius: 13px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.scroll-arrow::after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   SECTION STYLES (Shared)
   ============================================================ */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-text-primary);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-title em {
  font-family: var(--font-display);
  color: var(--color-rose-deep);
  font-style: normal;
  font-size: 1.15em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.8;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

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

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--color-gold-shimmer);
  border-radius: var(--radius-lg);
  z-index: -1;
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

.about-image-frame img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-elegant);
}

.about-image-frame:hover img {
  transform: scale(1.03);
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-gold-pale);
  animation: pulseGold 4s ease infinite;
}

.about-floating-card .card-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-rose-deep);
  font-weight: 600;
  line-height: 1;
}

.about-floating-card .card-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  padding: var(--space-xl) 0;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text-primary);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.about-content h3 em {
  font-family: var(--font-display);
  color: var(--color-rose-deep);
  font-style: normal;
  font-size: 1.2em;
}

.about-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.9;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-gold);
  transition: all var(--transition-fast);
}

.credential-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
}

.credential-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold-pale), var(--color-gold-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.credential-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ============================================================
   SERVICES / SPECIALTIES SECTION
   ============================================================ */
.services {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-warm) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/images/section-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(184, 166, 144, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold-shimmer);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-gold-light);
}

.service-card:hover::before {
  opacity: 1;
  animation: shimmer 3s ease-in-out infinite;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-rose-glass), rgba(184, 166, 144, 0.08));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--color-rose-pale), var(--color-gold-pale));
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   APPROACH / PHILOSOPHY SECTION
   ============================================================ */
.approach {
  background: var(--color-white);
  overflow: hidden;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.approach-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text-primary);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.approach-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.approach-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.pillar {
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.pillar:hover {
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.pillar h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-rose-deep);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pillar p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.approach-visual {
  position: relative;
}

.approach-quote-card {
  background: linear-gradient(135deg, var(--color-rose-deep), #6B1520);
  color: var(--color-white);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.approach-quote-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.approach-quote-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-gold-light);
  line-height: 1;
  opacity: 0.7;
}

.approach-quote-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin: var(--space-md) 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.quote-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-light);
  object-fit: cover;
}

.quote-author-info .author-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-gold-light);
}

.quote-author-info .author-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background: linear-gradient(
    135deg,
    var(--color-cream-warm) 0%,
    var(--color-cream) 50%,
    var(--color-gold-pale) 100%
  );
  position: relative;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 166, 144, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gold-pale);
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rose-pale), var(--color-gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-rose-deep);
  font-weight: 600;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text-primary);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.contact-info p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.contact-item:hover {
  border-color: var(--color-gold-pale);
  box-shadow: var(--shadow-soft);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3D0A0A, #2B0000);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(43, 0, 0, 0.2);
}

.contact-item-label {
  font-size: 0.8rem;
  color: var(--color-rose-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.contact-item-value {
  font-size: 1rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

.contact-item-value a {
  color: var(--color-rose);
}

.contact-item-value a:hover {
  color: var(--color-rose-deep);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-gold-pale);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1.5px solid var(--color-gold-pale);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 166, 144, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-submit {
  margin-top: var(--space-md);
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
  animation: pulseGold 3s ease infinite;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(135deg, #1a0a0f 0%, #2c1018 50%, #1a0a0f 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold-shimmer);
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* HD Logo in footer — inverted for dark background */
.footer-logo img.footer-logo-hd {
  width: auto;
  height: auto;
  max-width: 250px;
  filter: brightness(1.8) contrast(0.85);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.footer-logo img.footer-logo-hd:hover {
  opacity: 1;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold-light);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.social-link:hover {
  background: var(--color-rose);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-col ul li a:hover {
  color: var(--color-gold-light);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--color-gold-light);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .approach-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-floating-card {
    right: 10px;
    bottom: -15px;
  }

  .hero-logo.hero-logo-hd {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-image.logo-image-hd {
    height: 40px;
    max-width: 180px;
  }

  .hero-logo.hero-logo-hd {
    max-width: 340px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px var(--space-xl) var(--space-xl);
    transition: right var(--transition-smooth);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
    text-align: center;
    display: block;
  }

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

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .approach-pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-tagline::before,
  .hero-tagline::after {
    display: none;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.2rem;
  }

  .hero-logo {
    width: 70px;
    height: 70px;
  }

  .hero-logo.hero-logo-hd {
    max-width: 280px;
    padding: 0 var(--space-md);
  }

  .logo-image.logo-image-hd {
    height: 35px;
    max-width: 150px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .about-floating-card {
    display: none;
  }

  .footer-logo img.footer-logo-hd {
    max-width: 180px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .hero-scroll-indicator,
  .whatsapp-float,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-pale);
  background: var(--color-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: rotate(15deg) scale(1.05);
}

.theme-toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  /* Background colors */
  --color-cream: #141018;
  --color-cream-warm: #1a1520;
  --color-ivory: #1e1925;
  --color-white: #1e1828;

  /* Text colors — light on dark */
  --color-text-primary: #f0e8e0;
  --color-text-secondary: #c8b8a8;
  --color-text-muted: #9a8a78;
  --color-text-light: #6b5e50;

  /* Rose — wine tone matching light mode */
  --color-rose-deep: #803544;
  --color-rose: #964050;
  --color-rose-light: #B05565;
  --color-rose-pale: rgba(128, 53, 68, 0.15);
  --color-rose-glass: rgba(128, 53, 68, 0.1);

  /* Gold — warm champagne for dark bg */
  --color-gold-deep: #C8B8A0;
  --color-gold: #D8C8B0;
  --color-gold-light: #E0D4C0;
  --color-gold-pale: rgba(216, 200, 176, 0.1);
  --color-gold-shimmer: linear-gradient(135deg, #E0D4C0, #C8B8A0, #E0D4C0);

  /* Shadows — darker, less saturation */
  --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.25);
  --shadow-medium: 0 4px 30px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(216, 200, 176, 0.1);
}

/* Header dark mode */
[data-theme="dark"] .site-header {
  background: rgba(20, 16, 24, 0.88);
  border-bottom-color: rgba(216, 200, 176, 0.08);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(20, 16, 24, 0.95);
}

/* Theme toggle in dark mode */
[data-theme="dark"] .theme-toggle {
  background: #2a2535;
  border-color: rgba(216, 200, 176, 0.2);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--color-gold);
  background: #352e42;
}

/* Hero dark mode */
[data-theme="dark"] .hero {
  background: linear-gradient(
    135deg,
    #141018 0%,
    #1a1520 50%,
    #201828 100%
  );
}

[data-theme="dark"] .hero-bg img {
  opacity: 0.12;
  filter: brightness(0.5);
}

[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(20, 16, 24, 0.8) 0%,
    rgba(20, 16, 24, 0.5) 40%,
    rgba(20, 16, 24, 0.85) 100%
  );
}

/* HD Logo in dark — brighten */
[data-theme="dark"] .hero-logo.hero-logo-hd {
  filter: brightness(1.3) drop-shadow(0 4px 20px rgba(216, 200, 176, 0.15));
}

[data-theme="dark"] .logo-image.logo-image-hd {
  filter: brightness(1.4);
}

/* Nav links dark */
[data-theme="dark"] .nav-link:hover {
  background: rgba(128, 53, 68, 0.1);
}

[data-theme="dark"] .nav-link.active {
  background: rgba(128, 53, 68, 0.12);
}

/* About section dark */
[data-theme="dark"] .about {
  background: #1e1828;
}

[data-theme="dark"] .about-image-frame::before {
  background: linear-gradient(135deg, #f0d070, #d4a843, #f0d070);
}

[data-theme="dark"] .about-floating-card {
  background: rgba(30, 24, 40, 0.95);
  border-color: rgba(216, 200, 176, 0.15);
}

[data-theme="dark"] .credential-item {
  background: #1a1520;
  border-left-color: var(--color-gold);
}

/* Services section dark */
[data-theme="dark"] .services {
  background: linear-gradient(180deg, #141018 0%, #1a1520 100%);
}

[data-theme="dark"] .services::before {
  opacity: 0.04;
}

[data-theme="dark"] .service-card {
  background: rgba(30, 24, 40, 0.8);
  border-color: rgba(216, 200, 176, 0.06);
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(216, 200, 176, 0.2);
}

[data-theme="dark"] .service-icon {
  background: linear-gradient(135deg, rgba(128, 53, 68, 0.12), rgba(216, 200, 176, 0.1));
}

[data-theme="dark"] .service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(128, 53, 68, 0.2), rgba(216, 200, 176, 0.15));
}

/* Approach section dark */
[data-theme="dark"] .approach {
  background: #1e1828;
}

[data-theme="dark"] .pillar {
  background: #1a1520;
  border-color: transparent;
}

[data-theme="dark"] .pillar:hover {
  border-color: rgba(216, 200, 176, 0.15);
}

[data-theme="dark"] .approach-quote-card {
  background: linear-gradient(135deg, #3a1828, #2a1018);
}

/* FIX: Force light text on elements that have colored/dark backgrounds */
[data-theme="dark"] .approach-quote-card,
[data-theme="dark"] .approach-quote-card blockquote {
  color: #f0e4d8;
}

[data-theme="dark"] .approach-quote-card .quote-mark {
  color: var(--color-gold-light);
  opacity: 0.8;
}

[data-theme="dark"] .approach-quote-card .author-name {
  color: var(--color-gold-light);
}

[data-theme="dark"] .approach-quote-card .author-title {
  color: rgba(240, 228, 216, 0.7);
}

[data-theme="dark"] .approach-quote-card::before {
  background: rgba(255, 255, 255, 0.04);
}

/* Buttons — consistent wine color in both modes */

/* Footer text — already on dark bg, ensure readable */
[data-theme="dark"] .site-footer {
  color: rgba(240, 228, 216, 0.8);
}

[data-theme="dark"] .footer-brand p {
  color: rgba(240, 228, 216, 0.6);
}

[data-theme="dark"] .footer-col ul li a {
  color: rgba(240, 228, 216, 0.6);
}

[data-theme="dark"] .footer-bottom p {
  color: rgba(240, 228, 216, 0.4);
}

[data-theme="dark"] .footer-bottom-links a {
  color: rgba(240, 228, 216, 0.4);
}

/* Service card heading in dark mode */
[data-theme="dark"] .service-card h3 {
  color: var(--color-text-primary);
}

/* Scroll indicator in dark */
[data-theme="dark"] .scroll-arrow {
  border-color: var(--color-gold);
}

[data-theme="dark"] .scroll-arrow::after {
  background: var(--color-gold);
}

/* Testimonials dark */
[data-theme="dark"] .testimonials {
  background: linear-gradient(135deg, #1a1520 0%, #141018 50%, #201828 100%);
}

[data-theme="dark"] .testimonial-card {
  background: rgba(30, 24, 40, 0.85);
  border-color: rgba(216, 200, 176, 0.06);
}

[data-theme="dark"] .testimonial-author {
  border-top-color: rgba(216, 200, 176, 0.1);
}

[data-theme="dark"] .testimonial-avatar {
  background: linear-gradient(135deg, rgba(128, 53, 68, 0.2), rgba(216, 200, 176, 0.15));
}

/* Contact section dark */
[data-theme="dark"] .contact {
  background: #1e1828;
}

[data-theme="dark"] .contact-item {
  background: #1a1520;
  border-color: transparent;
}

[data-theme="dark"] .contact-item:hover {
  border-color: rgba(216, 200, 176, 0.1);
}

[data-theme="dark"] .contact-form-wrapper {
  background: #1a1520;
  border-color: rgba(216, 200, 176, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: #241e30;
  border-color: rgba(216, 200, 176, 0.1);
  color: var(--color-text-primary);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: var(--color-text-muted);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(216, 200, 176, 0.08);
}

/* Footer dark — deeper */
[data-theme="dark"] .site-footer {
  background: linear-gradient(135deg, #0a060d 0%, #14101a 50%, #0a060d 100%);
}

/* Gold divider dark */
[data-theme="dark"] .gold-divider::before,
[data-theme="dark"] .gold-divider::after {
  background: linear-gradient(135deg, #f0d070, #d4a843, #f0d070);
  background-size: 200% 100%;
}

/* Menu toggle dark */
[data-theme="dark"] .menu-toggle span {
  background: var(--color-gold-light);
}

/* Mobile nav dark */
[data-theme="dark"] .main-nav {
  background: rgba(20, 16, 24, 0.98);
}

/* Section title em in dark mode */
[data-theme="dark"] .section-title em {
  color: var(--color-rose);
}

[data-theme="dark"] .about-content h3 em {
  color: var(--color-rose);
}

/* Smooth transition for theme switch */
body,
.site-header,
.hero,
.hero-bg img,
.hero-bg::after,
.about,
.services,
.approach,
.testimonials,
.contact,
.site-footer,
.service-card,
.testimonial-card,
.contact-item,
.contact-form-wrapper,
.credential-item,
.pillar,
.theme-toggle,
.logo-image,
.form-group input,
.form-group textarea,
.form-group select {
  transition: background-color 0.5s ease,
              color 0.5s ease,
              border-color 0.5s ease,
              box-shadow 0.5s ease,
              filter 0.5s ease;
}

/* Responsive dark mode toggle */
@media (max-width: 768px) {
  .theme-toggle {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    margin-left: 0;
    width: 36px;
    height: 36px;
  }

  .theme-toggle-icon {
    font-size: 1rem;
  }

  [data-theme="dark"] .main-nav {
    background: rgba(20, 16, 24, 0.98);
    backdrop-filter: blur(20px);
  }
}

/* ============================================================
   PREMIUM ENHANCEMENTS — Visual Effects & Animations
   ============================================================ */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-rose), var(--color-gold-light));
  z-index: 1100;
  transition: none;
  will-change: width;
  pointer-events: none;
}

/* --- Particle Canvas --- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* --- Enhanced Service Card Reveal (stagger with scale + rotation) --- */
.service-card.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95) rotate(-1deg);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* --- Card Glow Effect (mouse-following radial gradient) --- */
.service-card,
.testimonial-card {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-opacity: 0;
}

.service-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--glow-x) var(--glow-y),
    rgba(184, 166, 144, 0.12),
    transparent 60%
  );
  opacity: var(--glow-opacity);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .service-card::after,
[data-theme="dark"] .testimonial-card::after {
  background: radial-gradient(
    300px circle at var(--glow-x) var(--glow-y),
    rgba(216, 200, 176, 0.15),
    transparent 60%
  );
}

/* --- Testimonial Slider (auto-rotate mode) --- */
.testimonials-slider {
  position: relative;
}

.testimonials-slider.slider-active {
  display: block;
  position: relative;
  min-height: 320px;
}

.testimonials-slider.slider-active .testimonial-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-slider.slider-active .testimonial-card.slide-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  border: 1.5px solid var(--color-gold-light);
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(184, 166, 144, 0.4);
}

[data-theme="dark"] .slider-dot {
  background: rgba(216, 200, 176, 0.15);
  border-color: var(--color-gold);
}

[data-theme="dark"] .slider-dot.active {
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(216, 200, 176, 0.5);
}

/* --- Animated Gradient Border on Quote Card --- */
.approach-quote-card {
  background-clip: padding-box;
  position: relative;
}

.approach-quote-card-border-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    var(--color-gold-light),
    var(--color-rose),
    var(--color-gold),
    var(--color-rose-light)
  );
  background-size: 300% 300%;
  animation: gradientBorderRotate 6s ease-in-out infinite;
  z-index: -1;
  opacity: 0.5;
  filter: blur(4px);
}

@keyframes gradientBorderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Text Reveal Animation (word by word) --- */
.text-reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-reveal-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- WhatsApp Button Enhanced Pulse --- */
@keyframes whatsappPulse {
  0%   { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%  { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

/* --- Section Gradient Separators --- */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold-light),
    var(--color-rose-light),
    var(--color-gold-light),
    transparent
  );
  opacity: 0.3;
  pointer-events: none;
}

.section {
  position: relative;
}

.hero::before {
  display: none;
}

/* --- Counter Animation --- */
.card-number {
  display: inline-block;
}

/* --- Magnetic Button --- */
.btn-primary {
  will-change: transform;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .hero-particles,
  .text-reveal-word,
  .slider-dots,
  .approach-quote-card-border-glow {
    animation: none !important;
    transition: none !important;
  }

  .text-reveal-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card.animate-on-scroll {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }

  .service-card.animate-on-scroll.visible {
    transform: none !important;
  }

  .whatsapp-float {
    animation: none !important;
  }

  .testimonials-slider.slider-active .testimonial-card {
    transition: opacity 0.3s ease !important;
  }
}

/* ============================================================
   SVG ICON SYSTEM
   ============================================================ */
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Icons inside buttons - keep small, inline with text */
.btn .icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
}

.icon-lg {
  width: 1.8rem;
  height: 1.8rem;
}

.icon-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  margin-right: 0.3em;
}

.icon-star {
  width: 1rem;
  height: 1rem;
  color: var(--color-gold);
  margin: 0 1px;
}

/* Service & pillar icons inherit section colors */
.service-icon .icon {
  color: var(--color-gold);
  stroke: var(--color-gold);
}

.pillar-icon .icon {
  color: var(--color-gold);
  stroke: var(--color-gold);
  width: 1.8rem;
  height: 1.8rem;
}

.credential-icon .icon {
  color: var(--color-gold);
  stroke: var(--color-gold);
  width: 1.2rem;
  height: 1.2rem;
}

.contact-icon .icon,
.contact-icon svg {
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
  width: 1.4em;
  height: 1.4em;
}

.social-link .icon {
  width: 1.3em;
  height: 1.3em;
}

.theme-toggle-icon .icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

/* Quote mark as elegant serif character */
.quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
}

/* Dark mode icon adjustments */
[data-theme="dark"] .contact-icon .icon {
  color: #fff;
  stroke: #fff;
}

[data-theme="dark"] .icon-star {
  color: var(--color-gold-light);
}

/* Footer inline icons */
.footer-col .icon-inline {
  opacity: 0.7;
}

/* ============================================================
   GOOGLE MAPS EMBED
   ============================================================ */
.contact-map {
  margin-top: var(--space-3xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.contact-map iframe {
  display: block;
}

[data-theme="dark"] .contact-map iframe {
  filter: grayscale(0.4) contrast(0.9) invert(0.92) hue-rotate(180deg);
}

/* --- Responsive adjustments for slider --- */
@media (max-width: 768px) {
  .testimonials-slider.slider-active {
    min-height: 380px;
  }

  .testimonials-slider.slider-active .testimonial-card {
    max-width: 100%;
  }
}
