/* ==========================================================================
   angelamorenofisioterapia.com - ULTIMATE SERENE MEDICAL LUXURY DESIGN
   Theme: Soft Rose Warm White (#FAFAF8), Pearl Ivory (#F5EBE6), Sage Emerald (#2D4A3E), Rose Gold (#C89665)
   Features: High-Definition Stock Background Overlays, Glassmorphism, Luxury Nav & Footer
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-page: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-cream: #F5EBE6;
  --bg-sage-light: #EBF1ED;
  --bg-sage-dark: #20352C;
  --bg-forest: #14241E;
  
  --sage-primary: #2D4A3E;
  --sage-accent: #436B5B;
  --rose-gold: #C89665;
  --rose-gold-light: #F4E4D4;
  --rose-gradient: linear-gradient(135deg, #F5EBE6 0%, #F4E4D4 50%, #C89665 100%);
  --sage-gradient: linear-gradient(135deg, #2D4A3E 0%, #14241E 100%);
  --gold-glow: linear-gradient(135deg, #C89665 0%, #E6C687 100%);
  
  --text-main: #2C3E35;
  --text-heading: #14241E;
  --text-muted: #5C6E65;
  --text-light: #F8FAFC;
  
  --border-soft: #E2E8F0;
  --border-rose: rgba(200, 150, 101, 0.35);
  --border-sage: rgba(45, 74, 62, 0.2);
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --max-width: 1320px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  padding-bottom: 75px;
}

/* GLOBAL LINK STYLING - NEVER BLUE */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.3px;
}

.btn-sage {
  background: var(--sage-gradient) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(45, 74, 62, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-sage:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(45, 74, 62, 0.5);
  color: #FFFFFF !important;
}

.btn-rose {
  background: var(--gold-glow) !important;
  color: #14241E !important;
  box-shadow: 0 10px 30px rgba(200, 150, 101, 0.4);
  font-weight: 800;
}

.btn-rose:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(200, 150, 101, 0.6);
  color: #14241E !important;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar-serene {
  background: var(--bg-forest);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-rose);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-serene a {
  color: var(--rose-gold) !important;
  font-weight: 700;
}

/* NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-rose);
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.brand-logo-medical {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
}

.brand-icon-leaf {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: #14241E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 6px 20px rgba(200, 150, 101, 0.4);
}

.brand-title-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading) !important;
  letter-spacing: 0.5px;
}

.brand-title-sub {
  font-size: 0.675rem;
  font-weight: 800;
  color: var(--sage-primary) !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-main) !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--rose-gold);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--sage-primary) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* HERO SECTION WITH HD STOCK BACKGROUND OVERLAY */
.hero-serene-section {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, rgba(250, 250, 248, 0.92) 0%, rgba(245, 235, 230, 0.88) 60%, rgba(235, 241, 237, 0.92) 100%), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  border-bottom: 1px solid var(--border-rose);
}

.hero-serene-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-heading) !important;
}

.rose-gold-text {
  color: var(--rose-gold);
  font-style: italic;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

/* APPOINTMENT SYMPTOM ASSESSOR CARD */
.assessor-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 2px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(45, 74, 62, 0.12);
  position: relative;
}

.section-tag-serene {
  display: inline-block;
  background: rgba(200, 150, 101, 0.15);
  color: var(--sage-primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border-rose);
}

.form-group-serene {
  margin-bottom: 1.25rem;
}

.form-label-serene {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-control-serene {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  background: #FAFAF8;
  border: 1.5px solid var(--border-soft);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control-serene:focus {
  outline: none;
  border-color: var(--rose-gold);
  box-shadow: 0 0 15px rgba(200, 150, 101, 0.25);
}

/* ABOUT SECTION WITH REAL HD MEDICAL STOCK BACKGROUND */
.about-section-serene {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 235, 230, 0.92) 100%), url('https://images.unsplash.com/photo-1584515979956-d9f6e5d09982?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  border-bottom: 1px solid var(--border-rose);
}


/* AUTHENTIC PHOTO GALLERY GRID (3 TOP / 2 BOTTOM CENTERED LARGER) */
.gallery-section {
  padding: 6.5rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-rose);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-rose);
  box-shadow: 0 14px 40px rgba(0,0,0,0.07);
  transition: var(--transition);
  background: var(--bg-cream);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(45, 74, 62, 0.2);
  border-color: var(--rose-gold);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Row 1: 3 Photos Top */
.gallery-card:nth-child(1),
.gallery-card:nth-child(2),
.gallery-card:nth-child(3) {
  grid-column: span 2;
  height: 340px;
}

/* Row 2: 2 Photos Bottom (Centered & Larger) */
.gallery-card:nth-child(4) {
  grid-column: 1 / span 3;
  height: 420px;
}

.gallery-card:nth-child(5) {
  grid-column: 4 / span 3;
  height: 420px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5) {
    grid-column: span 1 !important;
    height: 320px !important;
  }
}

.practice-section {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(135deg, rgba(250, 250, 248, 0.94) 0%, rgba(235, 241, 237, 0.92) 100%), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.practice-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-rose);
  border-radius: var(--radius-md);
  padding: 2.35rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  position: relative;
  text-decoration: none !important;
}

.practice-card:hover {
  transform: translateY(-7px);
  border-color: var(--rose-gold);
  box-shadow: 0 18px 45px rgba(45, 74, 62, 0.15);
}

.practice-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rose-gradient);
  border: 1px solid var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  color: #14241E;
}

.practice-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading) !important;
  margin-bottom: 0.75rem;
}

.practice-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* VERTICAL VIDEO REELS SHOWCASE */
.reels-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(245, 235, 230, 0.95) 0%, rgba(235, 241, 237, 0.95) 100%), url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  border-bottom: 1px solid var(--border-rose);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.85rem;
  margin-top: 3.5rem;
}

.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--rose-gold);
  background: #000;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(200, 150, 101, 0.45);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-glow);
  color: #14241E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 25px rgba(200, 150, 101, 0.7);
  pointer-events: none;
}

/* LUXURY FOOTER */
.site-footer {
  background: var(--bg-forest);
  padding: 5.5rem 0 2.5rem;
  color: #94A3B8;
  border-top: 2px solid var(--rose-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--rose-gold-light) !important;
  margin-bottom: 1.35rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #CBD5E1 !important;
  text-decoration: none !important;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--rose-gold) !important;
}

.footer-cities-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.footer-cities-compact-grid a {
  font-size: 0.825rem;
  color: #CBD5E1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.footer-cities-compact-grid a:hover {
  color: var(--rose-gold) !important;
}

/* PERSISTENT FLOATING WHATSAPP BUTTON */
.floating-wa-widget {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid #FFFFFF;
}

.floating-wa-widget:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
  color: #FFFFFF !important;
}

.floating-wa-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* MOBILE FLOATING ACTION BAR */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 70px;
    background: #14241E;
    border-top: 2px solid var(--rose-gold);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  }

  .mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 0.725rem;
    font-weight: 700;
    gap: 0.15rem;
    flex: 1;
    text-decoration: none !important;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    touch-action: manipulation;
  }

  .floating-wa-widget {
    bottom: 80px;
    right: 15px;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

/* MOBILE NAVIGATION MODAL DRAWER */
.mobile-nav-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 36, 30, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.mobile-nav-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* VIDEO POPUP MODAL */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  max-height: 85vh;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--rose-gold);
  background: #000;
}

.video-modal-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--rose-gold);
  color: #FFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .hero-serene-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-headline {
    font-size: 2.6rem;
  }
}

/* BRAND LOGO IMAGE */
.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}
