/* ==========================================================================
   WEBSITE BÁC SĨ LÊ NGUYỄN QUỲNH THƯ - quynhthu.com
   Design System & Motion Architecture inspired by Crafto Medical
   ========================================================================== */

/* Google Fonts Import: Manrope */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Core Medical Color Palette */
  --base-color: #18bcc7;
  --base-color-hover: #14a2ac;
  --base-color-light: #edf9fa;
  --base-color-alpha15: rgba(24, 188, 199, 0.15);
  --base-color-alpha30: rgba(24, 188, 199, 0.3);
  
  --dark-gray: #303334;
  --dark-gray-hover: #222425;
  --dark-navy: #1f2223;
  
  --red: #f45959;
  --red-sonar: rgba(244, 89, 89, 0.6);
  --yellow: #fabb18;
  
  --text-primary: #303334;
  --text-secondary: #65696b;
  --text-muted: #8b9092;
  --text-light: #f7fcfd;
  
  --white: #ffffff;
  --bg-page: #fbfdfd;
  --bg-turquoise: #edf9fa;
  --bg-subtle: #f4fbfc;
  
  --border-subtle: rgba(48, 51, 52, 0.08);
  --border-card: rgba(24, 188, 199, 0.12);
  
  /* Elevation & Shadows */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.08);
  --shadow-cyan: 0 15px 35px rgba(24, 188, 199, 0.2);
  
  /* Typography & Sizing */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --radius-circle: 50%;
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Box Layout Framing (Crafto signature desktop margin) */
.box-layout {
  padding: 0 100px;
  max-width: 1760px;
  margin: 0 auto;
  position: relative;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-gray);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h2 {
  font-size: 2.65rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.85rem;
  margin-bottom: 15px;
}

h4 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--base-color-hover);
}

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

/* Pill / Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 18px;
}

.section-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-circle);
  background-color: var(--base-color-alpha15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-color);
  flex-shrink: 0;
}

.section-badge-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--base-color);
}

/* ==========================================================================
   BUTTONS (Crafto Switch Text Animation)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-small {
  font-size: 14px;
  padding: 10px 22px;
}

.btn-medium {
  font-size: 16px;
  padding: 14px 32px;
}

.btn-large {
  font-size: 17px;
  padding: 16px 36px;
}

/* Primary Base Button */
.btn-base-color {
  background-color: var(--base-color);
  color: var(--white);
  box-shadow: var(--shadow-cyan);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-base-color:hover {
  background-color: var(--dark-gray);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Dark Gray Button */
.btn-dark-gray {
  background-color: var(--dark-gray);
  color: var(--white);
}

.btn-dark-gray:hover {
  background-color: var(--base-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-cyan);
}

/* Outline / Transparent Button */
.btn-outline {
  background-color: transparent;
  border-color: rgba(48, 51, 52, 0.2);
  color: var(--dark-gray);
}

.btn-outline:hover {
  background-color: var(--base-color);
  border-color: var(--base-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-cyan);
}

/* Rolling Text Effect (.btn-switch-text) */
.btn-switch-text {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-switch-text .btn-text-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
  vertical-align: middle;
}

.btn-switch-text .btn-double-text {
  display: inline-block;
  position: relative;
  transition: transform var(--transition-normal);
}

.btn-switch-text .btn-double-text::before {
  content: attr(data-text);
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.btn-switch-text:hover .btn-double-text {
  transform: translateY(-100%);
}

.btn-icon {
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 85px;
  max-width: 1760px;
  margin: 0 auto;
}

/* Brand Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark-gray);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-circle);
  background-color: var(--base-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(24, 188, 199, 0.35);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--base-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.navbar-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.nav-item .nav-link {
  font-weight: 700;
  font-size: 17px;
  color: var(--dark-gray);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

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

.nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--base-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-item .nav-link:hover::after,
.nav-item .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Hamburger Button */
.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.navbar-toggler span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--dark-gray);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.navbar-toggler.active span:nth-child(1) {
  transform: translateY(9.75px) rotate(45deg);
}

.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
  transform: translateY(-9.75px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(48, 51, 52, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1006;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-gray);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--base-color);
  padding-left: 8px;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-section {
  margin-top: 90px;
  padding-bottom: 0;
  position: relative;
}

.hero-card-container {
  background-color: #e9f8f9;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: clamp(540px, 38vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Standalone Hero Banner Backdrop Layer (Preserve full intrinsic composition, no destructive crop) */
.hero-media-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.hero-backdrop-picture {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.hero-backdrop-img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  margin: 0 0 0 auto;
  display: block;
  opacity: 1;
}

/* Subtle Hexagonal Background Pattern */
.hero-pattern-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 320px;
  height: 320px;
  background-image: url('../assets/icons/medical-pattern.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.hero-main-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  padding: 60px 80px;
  position: relative;
  z-index: 3;
  gap: 40px;
  min-height: 540px;
}

/* Left Hero Typography */
.hero-tagline {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--base-color);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 540px;
}

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

/* Right Hero Composition (Heart Badge & Floating Verified Badge) */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  min-height: 440px;
}

/* ==========================================================================
   PULSING RED HEART BADGE (Crafto Medical target style: Infinite heartbeat pulse)
   ========================================================================== */
.hero-heart-badge {
  position: absolute;
  top: 260px;
  left: -70px;
  width: 74px;
  height: 74px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.heart-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, #ff5e62 0%, #f45959 50%, #e03b3b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(244, 89, 89, 0.45);
  animation: heartPulseMotion 1.8s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

.heart-svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.heart-pulse-ring {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-circle);
  border: 2px solid rgba(244, 89, 89, 0.6);
  pointer-events: none;
  animation: heartPulseRings 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.heart-pulse-ring.ring-2 {
  animation-delay: 0.6s;
}

@keyframes heartPulseMotion {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(244, 89, 89, 0.4);
  }
  14% {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(244, 89, 89, 0.6);
  }
  28% {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(244, 89, 89, 0.45);
  }
  42% {
    transform: scale(1.15);
    box-shadow: 0 14px 34px rgba(244, 89, 89, 0.65);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(244, 89, 89, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(244, 89, 89, 0.4);
  }
}

@keyframes heartPulseRings {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.d-none-mobile {
  display: inline;
}

@media (max-width: 991px) {
  .d-none-mobile {
    display: none;
  }
}

/* Floating Verified Badge (Scaled down ~20% on desktop) */
.hero-floating-badge-wrap {
  position: absolute;
  bottom: 50px;
  right: -25px;
  z-index: 10;
}

.hero-floating-badge {
  position: relative;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: gentleFloat 4s ease-in-out infinite alternate;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-circle);
  background-color: var(--base-color-alpha15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-color);
  flex-shrink: 0;
}

.floating-badge-icon svg {
  width: 20px;
  height: 20px;
}

.floating-badge-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.25;
  white-space: nowrap;
}

.floating-badge-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* Hero Bottom Ticker Banner (Overlaid across bottom edge of Hero banner) */
.hero-ticker-bar {
  background-color: var(--base-color);
  color: var(--white);
  padding: 18px 45px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 10;
  margin-top: -36px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 10px 30px rgba(24, 188, 199, 0.25);
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.ticker-label svg {
  width: 22px;
  height: 22px;
}

.ticker-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.4);
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  flex: 1;
}

.ticker-track {
  display: inline-flex;
  gap: 50px;
  animation: tickerScroll 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 500;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-circle);
  background-color: rgba(255, 255, 255, 0.7);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 110px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

/* Left Overlapping Images & Card */
.about-visual-wrap {
  position: relative;
  padding-left: 0;
}

.about-main-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-turquoise);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
}

.about-card-inner {
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #edf9fa 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.about-quote-box {
  border-left: 4px solid var(--base-color);
  padding-left: 20px;
  margin-top: 20px;
  font-style: italic;
  color: var(--dark-gray);
  font-weight: 600;
}

/* Rotating Seal Emblem */
.about-rotating-seal {
  position: absolute;
  top: -30px;
  left: -15px;
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 8px;
}

.seal-img-rotating {
  width: 100%;
  height: 100%;
  animation: continuousRotate 20s linear infinite;
}

@keyframes continuousRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Right Content Column */
.about-content-col h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.about-intro-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Factual Highlight Boxes (Respecting rule: NO fake numbers) */
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 35px 0 40px;
}

.highlight-box {
  background-color: var(--bg-turquoise);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--base-color);
}

.highlight-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CLINICAL DEPARTMENTS / SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 90px 0;
  position: relative;
}

.services-boxed-container {
  background-color: var(--bg-turquoise);
  border-radius: var(--radius-md);
  padding: 80px 85px;
  position: relative;
  overflow: hidden;
}

.services-header-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 40px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Service Card Styling */
.service-card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 45px 35px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(48, 51, 52, 0.08);
  will-change: transform, box-shadow;
}

.service-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-circle);
  background-color: var(--bg-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon-wrap svg {
  width: 44px;
  height: 44px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon-wrap img {
  width: 44px;
  height: 44px;
  display: block;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 12px;
  transition: color 0.35s ease;
}

.service-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
  transition: color 0.35s ease;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark-gray);
  transition: color 0.35s ease;
}

.service-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--base-color);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.35s ease;
}

/* Service Card Hover / Active State (Crafto Medical Style) */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    background-color: var(--base-color);
    border-color: var(--base-color);
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 25px 50px rgba(24, 188, 199, 0.3), 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .service-card:hover .service-title {
    color: var(--white);
  }

  .service-card:hover .service-text {
    color: rgba(255, 255, 255, 0.9);
  }

  .service-card:hover .service-link {
    color: var(--white);
  }

  .service-card:hover .service-link svg {
    stroke: var(--white);
    transform: translateX(8px);
  }

  .service-card:hover .service-icon-wrap {
    background-color: rgba(255, 255, 255, 0.22);
    transform: scale(1.08) rotate(-4deg);
  }

  .service-card:hover .service-icon-wrap img {
    filter: brightness(0) invert(1);
  }

  .service-card:hover .service-icon-wrap svg,
  .service-card:hover .service-icon-wrap path,
  .service-card:hover .service-icon-wrap circle,
  .service-card:hover .service-icon-wrap rect {
    stroke: var(--white);
  }
}

/* Bottom 3-Pillar Commitment Strip (Crafto layout adaptation) */
.clinical-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid rgba(48, 51, 52, 0.1);
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--base-color);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   PATIENT CARE / CHRONIC MANAGEMENT SECTION
   ========================================================================== */
.monitoring-section {
  padding: 90px 0;
  position: relative;
}

.monitoring-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.monitoring-visual-card {
  background: linear-gradient(135deg, #18bcc7 0%, #0d96a0 100%);
  border-radius: var(--radius-md);
  padding: 50px 45px;
  color: var(--white);
  box-shadow: var(--shadow-cyan);
  position: relative;
  overflow: hidden;
}

.monitoring-visual-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.card-callout-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.monitoring-checklist {
  list-style: none;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.checklist-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Centered Patient Motto Banner */
.motto-banner-row {
  margin-top: 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px 30px;
  background-color: var(--bg-turquoise);
  border-radius: var(--radius-pill);
}

.motto-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-circle);
  background-color: var(--base-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.motto-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-gray);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   3-STEP INFORMATIONAL PROCESS BANNER
   ========================================================================== */
.process-section {
  padding: 30px 0 80px;
}

.process-banner-box {
  background-color: var(--base-color);
  border-radius: var(--radius-md);
  padding: 55px 70px;
  color: var(--white);
  box-shadow: var(--shadow-cyan);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 40px;
  align-items: center;
}

.process-title-area h3 {
  color: var(--white);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.process-title-highlight {
  position: relative;
  display: inline-block;
}

.process-title-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--yellow);
  border-radius: 2px;
}

.process-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-number {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-circle);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-info-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* ==========================================================================
   HEALTH GUIDANCE & EDUCATION CARDS (Crafto 4-card adaptation)
   ========================================================================== */
.guidance-section {
  padding: 80px 0;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.guidance-card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-subtle);
  will-change: transform, box-shadow;
}

.guidance-icon-circle {
  width: 95px;
  height: 95px;
  border-radius: var(--radius-circle);
  background-color: var(--bg-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.guidance-icon-circle svg {
  width: 44px;
  height: 44px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.guidance-icon-circle svg,
.guidance-icon-circle path,
.guidance-icon-circle circle,
.guidance-icon-circle rect {
  stroke: var(--base-color);
  transition: stroke 0.35s ease;
}

.guidance-icon-circle img {
  transition: filter 0.35s ease;
}

.guidance-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--base-color);
  margin-bottom: 10px;
  transition: color 0.35s ease;
}

.guidance-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.35s ease;
}

.guidance-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  transition: color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .guidance-card:hover {
    background-color: var(--base-color);
    border-color: var(--base-color);
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 25px 50px rgba(24, 188, 199, 0.3), 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .guidance-card:hover .guidance-icon-circle {
    background-color: rgba(255, 255, 255, 0.22);
    transform: scale(1.08) rotate(-4deg);
  }

  .guidance-card:hover .guidance-icon-circle img {
    filter: brightness(0) invert(1);
  }

  .guidance-card:hover .guidance-icon-circle svg,
  .guidance-card:hover .guidance-icon-circle path,
  .guidance-card:hover .guidance-icon-circle circle,
  .guidance-card:hover .guidance-icon-circle rect {
    stroke: var(--white);
  }

  .guidance-card:hover .guidance-category {
    color: rgba(255, 255, 255, 0.85);
  }

  .guidance-card:hover .guidance-title {
    color: var(--white);
  }

  .guidance-card:hover .guidance-desc {
    color: rgba(255, 255, 255, 0.9);
  }

  .guidance-card:hover .service-link {
    color: var(--white);
  }

  .guidance-card:hover .service-link svg {
    stroke: var(--white);
    transform: translateX(8px);
  }
}

/* Bottom Trust Pill */
.guidance-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

.trust-tag {
  background-color: var(--base-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-statement {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-gray);
}

/* ==========================================================================
   CONTACT / ADVICE INFORMATION (NO FORM - STRICT ADAPTATION)
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  position: relative;
}

.contact-boxed-wrap {
  background-color: var(--bg-turquoise);
  border-radius: var(--radius-md);
  padding: 75px 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-intro-side h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.contact-intro-side p {
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.direct-call-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.call-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-circle);
  background-color: var(--base-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cyan);
  flex-shrink: 0;
}

.call-icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
}

.call-info-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.call-info-target {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.35;
}

/* Contact Details Cards (Right Column) */
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateX(6px);
  border-color: var(--base-color-alpha30);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background-color: var(--bg-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--base-color);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--base-color);
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding-top: 30px;
}

.footer-top-box {
  background-color: var(--dark-gray);
  border-radius: var(--radius-md);
  padding: 50px 70px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background-image: url('../assets/icons/medical-pattern.svg');
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-nav-links {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-nav-links a:hover {
  color: var(--base-color);
}

.footer-social-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-link-circle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-circle);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-link-circle svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
}

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

.footer-bottom-bar {
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-bottom-bar a {
  color: var(--text-secondary);
}

.footer-bottom-bar a:hover {
  color: var(--base-color);
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-indicator {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  background-color: var(--white);
  color: var(--dark-gray);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-subtle);
}

.scroll-top-indicator.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-indicator:hover {
  background-color: var(--base-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan);
}

.scroll-top-indicator svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* ==========================================================================
   3D CARD TILT (Crafto Atropos simulation)
   ========================================================================== */
.tilt-effect {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   HERO ENTRANCE SEQUENCE (Crafto signature hero entry)
   ========================================================================== */
@keyframes heroEntranceFadeUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPortraitEntrance {
  0% {
    opacity: 0;
    transform: translateY(45px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroPopBadge {
  0% {
    opacity: 0;
    transform: scale(0.65) translateY(20px);
  }
  70% {
    transform: scale(1.06) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-anim-tagline {
  animation: heroEntranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-anim-headline {
  animation: heroEntranceFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-anim-desc {
  animation: heroEntranceFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.hero-anim-actions {
  animation: heroEntranceFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-anim-portrait {
  animation: heroPortraitEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-anim-sonar {
  animation: heroPopBadge 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both;
}

.hero-anim-badge {
  animation: heroPopBadge 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver Support)
   ========================================================================== */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed,
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
  opacity: 1;
}

/* Staggered Grid Item Transitions */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.18s; }
.stagger-3 { transition-delay: 0.28s; }
.stagger-4 { transition-delay: 0.38s; }
.stagger-5 { transition-delay: 0.48s; }
.stagger-6 { transition-delay: 0.58s; }

/* Container Stagger Cascade */
.reveal-stagger.revealed > .stagger-1,
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.revealed > .stagger-2,
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.revealed > .stagger-3,
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.28s; }
.reveal-stagger.revealed > .stagger-4,
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.revealed > .stagger-5,
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.revealed > .stagger-6,
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.58s; }

.reveal-stagger.revealed .reveal-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   PARALLAX DECORATIVE ACCENTS
   ========================================================================== */
.hero-pattern-bg {
  will-change: transform;
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
/* Safely reduce intense continuous loops for users who request it,
   without wiping out normal UI interaction and local review */
@media (prefers-reduced-motion: reduce) {
  body:not(.allow-motion) .sonar-ring {
    animation-iteration-count: 3;
  }
}
